@ThreadSafe public class AmazonInspectorAsyncClient extends AmazonInspectorClient implements AmazonInspectorAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Amazon Inspector enables you to analyze the behavior of the applications you run in AWS and to identify potential security issues. For more information, see Amazon Inspector User Guide.
LOGGING_AWS_REQUEST_METRIC
Constructor and Description |
---|
AmazonInspectorAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector.
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials.
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials, executor service,
and client configuration options.
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials and executor
service.
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials provider.
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the provided AWS account credentials provider and client
configuration options.
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials provider, executor
service, and client configuration options.
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector using the specified AWS account credentials provider and
executor service.
|
AmazonInspectorAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
Inspector.
|
addAttributesToFindings, attachAssessmentAndRulesPackage, createApplication, createAssessment, createResourceGroup, deleteApplication, deleteAssessment, deleteRun, describeApplication, describeAssessment, describeCrossAccountAccessRole, describeFinding, describeResourceGroup, describeRulesPackage, describeRun, detachAssessmentAndRulesPackage, getAssessmentTelemetry, getCachedResponseMetadata, listApplications, listAssessmentAgents, listAssessments, listAttachedAssessments, listAttachedRulesPackages, listFindings, listRulesPackages, listRuns, listTagsForResource, localizeText, previewAgentsForResourceGroup, registerCrossAccountAccessRole, removeAttributesFromFindings, runAssessment, setTagsForResource, startDataCollection, stopDataCollection, updateApplication, updateAssessment
addRequestHandler, addRequestHandler, configureRegion, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributesToFindings, attachAssessmentAndRulesPackage, createApplication, createAssessment, createResourceGroup, deleteApplication, deleteAssessment, deleteRun, describeApplication, describeAssessment, describeCrossAccountAccessRole, describeFinding, describeResourceGroup, describeRulesPackage, describeRun, detachAssessmentAndRulesPackage, getAssessmentTelemetry, getCachedResponseMetadata, listApplications, listAssessmentAgents, listAssessments, listAttachedAssessments, listAttachedRulesPackages, listFindings, listRulesPackages, listRuns, listTagsForResource, localizeText, previewAgentsForResourceGroup, registerCrossAccountAccessRole, removeAttributesFromFindings, runAssessment, setEndpoint, setRegion, setTagsForResource, startDataCollection, stopDataCollection, updateApplication, updateAssessment
public AmazonInspectorAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AmazonInspectorAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Amazon Inspector (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonInspectorAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonInspectorAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonInspectorAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public ExecutorService getExecutorService()
public Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request)
AmazonInspectorAsync
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindingsAsync
in interface AmazonInspectorAsync
public Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request, AsyncHandler<AddAttributesToFindingsRequest,AddAttributesToFindingsResult> asyncHandler)
AmazonInspectorAsync
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindingsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachAssessmentAndRulesPackageResult> attachAssessmentAndRulesPackageAsync(AttachAssessmentAndRulesPackageRequest request)
AmazonInspectorAsync
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackageAsync
in interface AmazonInspectorAsync
public Future<AttachAssessmentAndRulesPackageResult> attachAssessmentAndRulesPackageAsync(AttachAssessmentAndRulesPackageRequest request, AsyncHandler<AttachAssessmentAndRulesPackageRequest,AttachAssessmentAndRulesPackageResult> asyncHandler)
AmazonInspectorAsync
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackageAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonInspectorAsync
Creates a new application using the resource group ARN generated by CreateResourceGroup. You can create up to 50 applications per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Inspector Applications.
createApplicationAsync
in interface AmazonInspectorAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonInspectorAsync
Creates a new application using the resource group ARN generated by CreateResourceGroup. You can create up to 50 applications per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Inspector Applications.
createApplicationAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAssessmentResult> createAssessmentAsync(CreateAssessmentRequest request)
AmazonInspectorAsync
Creates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.
createAssessmentAsync
in interface AmazonInspectorAsync
public Future<CreateAssessmentResult> createAssessmentAsync(CreateAssessmentRequest request, AsyncHandler<CreateAssessmentRequest,CreateAssessmentResult> asyncHandler)
AmazonInspectorAsync
Creates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.
createAssessmentAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest request)
AmazonInspectorAsync
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Inspector application. The created resource group is then used to create an Inspector application.
createResourceGroupAsync
in interface AmazonInspectorAsync
public Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest request, AsyncHandler<CreateResourceGroupRequest,CreateResourceGroupResult> asyncHandler)
AmazonInspectorAsync
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Inspector application. The created resource group is then used to create an Inspector application.
createResourceGroupAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonInspectorAsync
Deletes the application specified by the application ARN.
deleteApplicationAsync
in interface AmazonInspectorAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonInspectorAsync
Deletes the application specified by the application ARN.
deleteApplicationAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAssessmentResult> deleteAssessmentAsync(DeleteAssessmentRequest request)
AmazonInspectorAsync
Deletes the assessment specified by the assessment ARN.
deleteAssessmentAsync
in interface AmazonInspectorAsync
public Future<DeleteAssessmentResult> deleteAssessmentAsync(DeleteAssessmentRequest request, AsyncHandler<DeleteAssessmentRequest,DeleteAssessmentResult> asyncHandler)
AmazonInspectorAsync
Deletes the assessment specified by the assessment ARN.
deleteAssessmentAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request)
AmazonInspectorAsync
Deletes the assessment run specified by the run ARN.
deleteRunAsync
in interface AmazonInspectorAsync
public Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request, AsyncHandler<DeleteRunRequest,DeleteRunResult> asyncHandler)
AmazonInspectorAsync
Deletes the assessment run specified by the run ARN.
deleteRunAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request)
AmazonInspectorAsync
Describes the application specified by the application ARN.
describeApplicationAsync
in interface AmazonInspectorAsync
public Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request, AsyncHandler<DescribeApplicationRequest,DescribeApplicationResult> asyncHandler)
AmazonInspectorAsync
Describes the application specified by the application ARN.
describeApplicationAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAssessmentResult> describeAssessmentAsync(DescribeAssessmentRequest request)
AmazonInspectorAsync
Describes the assessment specified by the assessment ARN.
describeAssessmentAsync
in interface AmazonInspectorAsync
public Future<DescribeAssessmentResult> describeAssessmentAsync(DescribeAssessmentRequest request, AsyncHandler<DescribeAssessmentRequest,DescribeAssessmentResult> asyncHandler)
AmazonInspectorAsync
Describes the assessment specified by the assessment ARN.
describeAssessmentAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request)
AmazonInspectorAsync
Describes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRoleAsync
in interface AmazonInspectorAsync
public Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request, AsyncHandler<DescribeCrossAccountAccessRoleRequest,DescribeCrossAccountAccessRoleResult> asyncHandler)
AmazonInspectorAsync
Describes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRoleAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFindingResult> describeFindingAsync(DescribeFindingRequest request)
AmazonInspectorAsync
Describes the finding specified by the finding ARN.
describeFindingAsync
in interface AmazonInspectorAsync
public Future<DescribeFindingResult> describeFindingAsync(DescribeFindingRequest request, AsyncHandler<DescribeFindingRequest,DescribeFindingResult> asyncHandler)
AmazonInspectorAsync
Describes the finding specified by the finding ARN.
describeFindingAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourceGroupResult> describeResourceGroupAsync(DescribeResourceGroupRequest request)
AmazonInspectorAsync
Describes the resource group specified by the resource group ARN.
describeResourceGroupAsync
in interface AmazonInspectorAsync
public Future<DescribeResourceGroupResult> describeResourceGroupAsync(DescribeResourceGroupRequest request, AsyncHandler<DescribeResourceGroupRequest,DescribeResourceGroupResult> asyncHandler)
AmazonInspectorAsync
Describes the resource group specified by the resource group ARN.
describeResourceGroupAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRulesPackageResult> describeRulesPackageAsync(DescribeRulesPackageRequest request)
AmazonInspectorAsync
Describes the rules package specified by the rules package ARN.
describeRulesPackageAsync
in interface AmazonInspectorAsync
public Future<DescribeRulesPackageResult> describeRulesPackageAsync(DescribeRulesPackageRequest request, AsyncHandler<DescribeRulesPackageRequest,DescribeRulesPackageResult> asyncHandler)
AmazonInspectorAsync
Describes the rules package specified by the rules package ARN.
describeRulesPackageAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRunResult> describeRunAsync(DescribeRunRequest request)
AmazonInspectorAsync
Describes the assessment run specified by the run ARN.
describeRunAsync
in interface AmazonInspectorAsync
public Future<DescribeRunResult> describeRunAsync(DescribeRunRequest request, AsyncHandler<DescribeRunRequest,DescribeRunResult> asyncHandler)
AmazonInspectorAsync
Describes the assessment run specified by the run ARN.
describeRunAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetachAssessmentAndRulesPackageResult> detachAssessmentAndRulesPackageAsync(DetachAssessmentAndRulesPackageRequest request)
AmazonInspectorAsync
Detaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackageAsync
in interface AmazonInspectorAsync
public Future<DetachAssessmentAndRulesPackageResult> detachAssessmentAndRulesPackageAsync(DetachAssessmentAndRulesPackageRequest request, AsyncHandler<DetachAssessmentAndRulesPackageRequest,DetachAssessmentAndRulesPackageResult> asyncHandler)
AmazonInspectorAsync
Detaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackageAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAssessmentTelemetryResult> getAssessmentTelemetryAsync(GetAssessmentTelemetryRequest request)
AmazonInspectorAsync
Returns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetryAsync
in interface AmazonInspectorAsync
public Future<GetAssessmentTelemetryResult> getAssessmentTelemetryAsync(GetAssessmentTelemetryRequest request, AsyncHandler<GetAssessmentTelemetryRequest,GetAssessmentTelemetryResult> asyncHandler)
AmazonInspectorAsync
Returns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetryAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonInspectorAsync
Lists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplicationsAsync
in interface AmazonInspectorAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonInspectorAsync
Lists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplicationsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssessmentAgentsResult> listAssessmentAgentsAsync(ListAssessmentAgentsRequest request)
AmazonInspectorAsync
Lists the agents of the assessment specified by the assessment ARN.
listAssessmentAgentsAsync
in interface AmazonInspectorAsync
public Future<ListAssessmentAgentsResult> listAssessmentAgentsAsync(ListAssessmentAgentsRequest request, AsyncHandler<ListAssessmentAgentsRequest,ListAssessmentAgentsResult> asyncHandler)
AmazonInspectorAsync
Lists the agents of the assessment specified by the assessment ARN.
listAssessmentAgentsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssessmentsResult> listAssessmentsAsync(ListAssessmentsRequest request)
AmazonInspectorAsync
Lists the assessments corresponding to applications specified by the applications' ARNs.
listAssessmentsAsync
in interface AmazonInspectorAsync
public Future<ListAssessmentsResult> listAssessmentsAsync(ListAssessmentsRequest request, AsyncHandler<ListAssessmentsRequest,ListAssessmentsResult> asyncHandler)
AmazonInspectorAsync
Lists the assessments corresponding to applications specified by the applications' ARNs.
listAssessmentsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAttachedAssessmentsResult> listAttachedAssessmentsAsync(ListAttachedAssessmentsRequest request)
AmazonInspectorAsync
Lists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessmentsAsync
in interface AmazonInspectorAsync
public Future<ListAttachedAssessmentsResult> listAttachedAssessmentsAsync(ListAttachedAssessmentsRequest request, AsyncHandler<ListAttachedAssessmentsRequest,ListAttachedAssessmentsResult> asyncHandler)
AmazonInspectorAsync
Lists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessmentsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAttachedRulesPackagesResult> listAttachedRulesPackagesAsync(ListAttachedRulesPackagesRequest request)
AmazonInspectorAsync
Lists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackagesAsync
in interface AmazonInspectorAsync
public Future<ListAttachedRulesPackagesResult> listAttachedRulesPackagesAsync(ListAttachedRulesPackagesRequest request, AsyncHandler<ListAttachedRulesPackagesRequest,ListAttachedRulesPackagesResult> asyncHandler)
AmazonInspectorAsync
Lists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackagesAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request)
AmazonInspectorAsync
Lists findings generated by the assessment run specified by the run ARNs.
listFindingsAsync
in interface AmazonInspectorAsync
public Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request, AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
AmazonInspectorAsync
Lists findings generated by the assessment run specified by the run ARNs.
listFindingsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest request)
AmazonInspectorAsync
Lists all available Inspector rules packages.
listRulesPackagesAsync
in interface AmazonInspectorAsync
public Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest request, AsyncHandler<ListRulesPackagesRequest,ListRulesPackagesResult> asyncHandler)
AmazonInspectorAsync
Lists all available Inspector rules packages.
listRulesPackagesAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRunsResult> listRunsAsync(ListRunsRequest request)
AmazonInspectorAsync
Lists the assessment runs associated with the assessments specified by the assessment ARNs.
listRunsAsync
in interface AmazonInspectorAsync
public Future<ListRunsResult> listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest,ListRunsResult> asyncHandler)
AmazonInspectorAsync
Lists the assessment runs associated with the assessments specified by the assessment ARNs.
listRunsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonInspectorAsync
Lists all tags associated with a resource.
listTagsForResourceAsync
in interface AmazonInspectorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonInspectorAsync
Lists all tags associated with a resource.
listTagsForResourceAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<LocalizeTextResult> localizeTextAsync(LocalizeTextRequest request)
AmazonInspectorAsync
Translates a textual identifier into a user-readable text in a specified locale.
localizeTextAsync
in interface AmazonInspectorAsync
public Future<LocalizeTextResult> localizeTextAsync(LocalizeTextRequest request, AsyncHandler<LocalizeTextRequest,LocalizeTextResult> asyncHandler)
AmazonInspectorAsync
Translates a textual identifier into a user-readable text in a specified locale.
localizeTextAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PreviewAgentsForResourceGroupResult> previewAgentsForResourceGroupAsync(PreviewAgentsForResourceGroupRequest request)
AmazonInspectorAsync
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroupAsync
in interface AmazonInspectorAsync
public Future<PreviewAgentsForResourceGroupResult> previewAgentsForResourceGroupAsync(PreviewAgentsForResourceGroupRequest request, AsyncHandler<PreviewAgentsForResourceGroupRequest,PreviewAgentsForResourceGroupResult> asyncHandler)
AmazonInspectorAsync
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroupAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request)
AmazonInspectorAsync
Register the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRoleAsync
in interface AmazonInspectorAsync
public Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request, AsyncHandler<RegisterCrossAccountAccessRoleRequest,RegisterCrossAccountAccessRoleResult> asyncHandler)
AmazonInspectorAsync
Register the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRoleAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request)
AmazonInspectorAsync
Removes the entire attribute (key and value pair) from the findings specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindingsAsync
in interface AmazonInspectorAsync
public Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request, AsyncHandler<RemoveAttributesFromFindingsRequest,RemoveAttributesFromFindingsResult> asyncHandler)
AmazonInspectorAsync
Removes the entire attribute (key and value pair) from the findings specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindingsAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RunAssessmentResult> runAssessmentAsync(RunAssessmentRequest request)
AmazonInspectorAsync
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessmentAsync
in interface AmazonInspectorAsync
public Future<RunAssessmentResult> runAssessmentAsync(RunAssessmentRequest request, AsyncHandler<RunAssessmentRequest,RunAssessmentResult> asyncHandler)
AmazonInspectorAsync
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessmentAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest request)
AmazonInspectorAsync
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResourceAsync
in interface AmazonInspectorAsync
public Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest request, AsyncHandler<SetTagsForResourceRequest,SetTagsForResourceResult> asyncHandler)
AmazonInspectorAsync
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResourceAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDataCollectionResult> startDataCollectionAsync(StartDataCollectionRequest request)
AmazonInspectorAsync
Starts data collection for the assessment specified by the assessment ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startDataCollectionAsync
in interface AmazonInspectorAsync
public Future<StartDataCollectionResult> startDataCollectionAsync(StartDataCollectionRequest request, AsyncHandler<StartDataCollectionRequest,StartDataCollectionResult> asyncHandler)
AmazonInspectorAsync
Starts data collection for the assessment specified by the assessment ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startDataCollectionAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDataCollectionResult> stopDataCollectionAsync(StopDataCollectionRequest request)
AmazonInspectorAsync
Stop data collection for the assessment specified by the assessment ARN.
stopDataCollectionAsync
in interface AmazonInspectorAsync
public Future<StopDataCollectionResult> stopDataCollectionAsync(StopDataCollectionRequest request, AsyncHandler<StopDataCollectionRequest,StopDataCollectionResult> asyncHandler)
AmazonInspectorAsync
Stop data collection for the assessment specified by the assessment ARN.
stopDataCollectionAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonInspectorAsync
Updates application specified by the application ARN.
updateApplicationAsync
in interface AmazonInspectorAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AmazonInspectorAsync
Updates application specified by the application ARN.
updateApplicationAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAssessmentResult> updateAssessmentAsync(UpdateAssessmentRequest request)
AmazonInspectorAsync
Updates the assessment specified by the assessment ARN.
updateAssessmentAsync
in interface AmazonInspectorAsync
public Future<UpdateAssessmentResult> updateAssessmentAsync(UpdateAssessmentRequest request, AsyncHandler<UpdateAssessmentRequest,UpdateAssessmentResult> asyncHandler)
AmazonInspectorAsync
Updates the assessment specified by the assessment ARN.
updateAssessmentAsync
in interface AmazonInspectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonInspector
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.