@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 your AWS resources and to identify potential security issues. For more information, see Amazon Inspector User Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonInspectorAsyncClient()
Deprecated.
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonInspectorAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonInspectorAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Future<AddAttributesToFindingsResult> |
addAttributesToFindingsAsync(AddAttributesToFindingsRequest request)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
Future<AddAttributesToFindingsResult> |
addAttributesToFindingsAsync(AddAttributesToFindingsRequest request,
AsyncHandler<AddAttributesToFindingsRequest,AddAttributesToFindingsResult> asyncHandler)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
static AmazonInspectorAsyncClientBuilder |
asyncBuilder() |
Future<CreateAssessmentTargetResult> |
createAssessmentTargetAsync(CreateAssessmentTargetRequest request)
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
Future<CreateAssessmentTargetResult> |
createAssessmentTargetAsync(CreateAssessmentTargetRequest request,
AsyncHandler<CreateAssessmentTargetRequest,CreateAssessmentTargetResult> asyncHandler)
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
Future<CreateAssessmentTemplateResult> |
createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
Future<CreateAssessmentTemplateResult> |
createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request,
AsyncHandler<CreateAssessmentTemplateRequest,CreateAssessmentTemplateResult> asyncHandler)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
Future<CreateExclusionsPreviewResult> |
createExclusionsPreviewAsync(CreateExclusionsPreviewRequest request)
Starts the generation of an exclusions preview for the specified assessment template.
|
Future<CreateExclusionsPreviewResult> |
createExclusionsPreviewAsync(CreateExclusionsPreviewRequest request,
AsyncHandler<CreateExclusionsPreviewRequest,CreateExclusionsPreviewResult> asyncHandler)
Starts the generation of an exclusions preview for the specified assessment template.
|
Future<CreateResourceGroupResult> |
createResourceGroupAsync(CreateResourceGroupRequest request)
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 Amazon Inspector assessment target.
|
Future<CreateResourceGroupResult> |
createResourceGroupAsync(CreateResourceGroupRequest request,
AsyncHandler<CreateResourceGroupRequest,CreateResourceGroupResult> asyncHandler)
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 Amazon Inspector assessment target.
|
Future<DeleteAssessmentRunResult> |
deleteAssessmentRunAsync(DeleteAssessmentRunRequest request)
Deletes the assessment run that is specified by the ARN of the assessment run.
|
Future<DeleteAssessmentRunResult> |
deleteAssessmentRunAsync(DeleteAssessmentRunRequest request,
AsyncHandler<DeleteAssessmentRunRequest,DeleteAssessmentRunResult> asyncHandler)
Deletes the assessment run that is specified by the ARN of the assessment run.
|
Future<DeleteAssessmentTargetResult> |
deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request)
Deletes the assessment target that is specified by the ARN of the assessment target.
|
Future<DeleteAssessmentTargetResult> |
deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request,
AsyncHandler<DeleteAssessmentTargetRequest,DeleteAssessmentTargetResult> asyncHandler)
Deletes the assessment target that is specified by the ARN of the assessment target.
|
Future<DeleteAssessmentTemplateResult> |
deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request)
Deletes the assessment template that is specified by the ARN of the assessment template.
|
Future<DeleteAssessmentTemplateResult> |
deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request,
AsyncHandler<DeleteAssessmentTemplateRequest,DeleteAssessmentTemplateResult> asyncHandler)
Deletes the assessment template that is specified by the ARN of the assessment template.
|
Future<DescribeAssessmentRunsResult> |
describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<DescribeAssessmentRunsResult> |
describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request,
AsyncHandler<DescribeAssessmentRunsRequest,DescribeAssessmentRunsResult> asyncHandler)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<DescribeAssessmentTargetsResult> |
describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
Future<DescribeAssessmentTargetsResult> |
describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request,
AsyncHandler<DescribeAssessmentTargetsRequest,DescribeAssessmentTargetsResult> asyncHandler)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
Future<DescribeAssessmentTemplatesResult> |
describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
Future<DescribeAssessmentTemplatesResult> |
describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request,
AsyncHandler<DescribeAssessmentTemplatesRequest,DescribeAssessmentTemplatesResult> asyncHandler)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
Future<DescribeCrossAccountAccessRoleResult> |
describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
Future<DescribeCrossAccountAccessRoleResult> |
describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request,
AsyncHandler<DescribeCrossAccountAccessRoleRequest,DescribeCrossAccountAccessRoleResult> asyncHandler)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
Future<DescribeExclusionsResult> |
describeExclusionsAsync(DescribeExclusionsRequest request)
Describes the exclusions that are specified by the exclusions' ARNs.
|
Future<DescribeExclusionsResult> |
describeExclusionsAsync(DescribeExclusionsRequest request,
AsyncHandler<DescribeExclusionsRequest,DescribeExclusionsResult> asyncHandler)
Describes the exclusions that are specified by the exclusions' ARNs.
|
Future<DescribeFindingsResult> |
describeFindingsAsync(DescribeFindingsRequest request)
Describes the findings that are specified by the ARNs of the findings.
|
Future<DescribeFindingsResult> |
describeFindingsAsync(DescribeFindingsRequest request,
AsyncHandler<DescribeFindingsRequest,DescribeFindingsResult> asyncHandler)
Describes the findings that are specified by the ARNs of the findings.
|
Future<DescribeResourceGroupsResult> |
describeResourceGroupsAsync(DescribeResourceGroupsRequest request)
Describes the resource groups that are specified by the ARNs of the resource groups.
|
Future<DescribeResourceGroupsResult> |
describeResourceGroupsAsync(DescribeResourceGroupsRequest request,
AsyncHandler<DescribeResourceGroupsRequest,DescribeResourceGroupsResult> asyncHandler)
Describes the resource groups that are specified by the ARNs of the resource groups.
|
Future<DescribeRulesPackagesResult> |
describeRulesPackagesAsync(DescribeRulesPackagesRequest request)
Describes the rules packages that are specified by the ARNs of the rules packages.
|
Future<DescribeRulesPackagesResult> |
describeRulesPackagesAsync(DescribeRulesPackagesRequest request,
AsyncHandler<DescribeRulesPackagesRequest,DescribeRulesPackagesResult> asyncHandler)
Describes the rules packages that are specified by the ARNs of the rules packages.
|
Future<GetAssessmentReportResult> |
getAssessmentReportAsync(GetAssessmentReportRequest request)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
Future<GetAssessmentReportResult> |
getAssessmentReportAsync(GetAssessmentReportRequest request,
AsyncHandler<GetAssessmentReportRequest,GetAssessmentReportResult> asyncHandler)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
Future<GetExclusionsPreviewResult> |
getExclusionsPreviewAsync(GetExclusionsPreviewRequest request)
Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token.
|
Future<GetExclusionsPreviewResult> |
getExclusionsPreviewAsync(GetExclusionsPreviewRequest request,
AsyncHandler<GetExclusionsPreviewRequest,GetExclusionsPreviewResult> asyncHandler)
Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetTelemetryMetadataResult> |
getTelemetryMetadataAsync(GetTelemetryMetadataRequest request)
Information about the data that is collected for the specified assessment run.
|
Future<GetTelemetryMetadataResult> |
getTelemetryMetadataAsync(GetTelemetryMetadataRequest request,
AsyncHandler<GetTelemetryMetadataRequest,GetTelemetryMetadataResult> asyncHandler)
Information about the data that is collected for the specified assessment run.
|
Future<ListAssessmentRunAgentsResult> |
listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<ListAssessmentRunAgentsResult> |
listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request,
AsyncHandler<ListAssessmentRunAgentsRequest,ListAssessmentRunAgentsResult> asyncHandler)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<ListAssessmentRunsResult> |
listAssessmentRunsAsync(ListAssessmentRunsRequest request)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
Future<ListAssessmentRunsResult> |
listAssessmentRunsAsync(ListAssessmentRunsRequest request,
AsyncHandler<ListAssessmentRunsRequest,ListAssessmentRunsResult> asyncHandler)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
Future<ListAssessmentTargetsResult> |
listAssessmentTargetsAsync(ListAssessmentTargetsRequest request)
Lists the ARNs of the assessment targets within this AWS account.
|
Future<ListAssessmentTargetsResult> |
listAssessmentTargetsAsync(ListAssessmentTargetsRequest request,
AsyncHandler<ListAssessmentTargetsRequest,ListAssessmentTargetsResult> asyncHandler)
Lists the ARNs of the assessment targets within this AWS account.
|
Future<ListAssessmentTemplatesResult> |
listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
Future<ListAssessmentTemplatesResult> |
listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request,
AsyncHandler<ListAssessmentTemplatesRequest,ListAssessmentTemplatesResult> asyncHandler)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
Future<ListEventSubscriptionsResult> |
listEventSubscriptionsAsync(ListEventSubscriptionsRequest request)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
Future<ListEventSubscriptionsResult> |
listEventSubscriptionsAsync(ListEventSubscriptionsRequest request,
AsyncHandler<ListEventSubscriptionsRequest,ListEventSubscriptionsResult> asyncHandler)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
Future<ListExclusionsResult> |
listExclusionsAsync(ListExclusionsRequest request)
List exclusions that are generated by the assessment run.
|
Future<ListExclusionsResult> |
listExclusionsAsync(ListExclusionsRequest request,
AsyncHandler<ListExclusionsRequest,ListExclusionsResult> asyncHandler)
List exclusions that are generated by the assessment run.
|
Future<ListFindingsResult> |
listFindingsAsync(ListFindingsRequest request)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<ListFindingsResult> |
listFindingsAsync(ListFindingsRequest request,
AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
Future<ListRulesPackagesResult> |
listRulesPackagesAsync(ListRulesPackagesRequest request)
Lists all available Amazon Inspector rules packages.
|
Future<ListRulesPackagesResult> |
listRulesPackagesAsync(ListRulesPackagesRequest request,
AsyncHandler<ListRulesPackagesRequest,ListRulesPackagesResult> asyncHandler)
Lists all available Amazon Inspector rules packages.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Lists all tags associated with an assessment template.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags associated with an assessment template.
|
Future<PreviewAgentsResult> |
previewAgentsAsync(PreviewAgentsRequest request)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
Future<PreviewAgentsResult> |
previewAgentsAsync(PreviewAgentsRequest request,
AsyncHandler<PreviewAgentsRequest,PreviewAgentsResult> asyncHandler)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
Future<RegisterCrossAccountAccessRoleResult> |
registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request)
Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
|
Future<RegisterCrossAccountAccessRoleResult> |
registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request,
AsyncHandler<RegisterCrossAccountAccessRoleRequest,RegisterCrossAccountAccessRoleResult> asyncHandler)
Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
|
Future<RemoveAttributesFromFindingsResult> |
removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings
where an attribute with the specified key exists.
|
Future<RemoveAttributesFromFindingsResult> |
removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request,
AsyncHandler<RemoveAttributesFromFindingsRequest,RemoveAttributesFromFindingsResult> asyncHandler)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings
where an attribute with the specified key exists.
|
Future<SetTagsForResourceResult> |
setTagsForResourceAsync(SetTagsForResourceRequest request)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
Future<SetTagsForResourceResult> |
setTagsForResourceAsync(SetTagsForResourceRequest request,
AsyncHandler<SetTagsForResourceRequest,SetTagsForResourceResult> asyncHandler)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<StartAssessmentRunResult> |
startAssessmentRunAsync(StartAssessmentRunRequest request)
Starts the assessment run specified by the ARN of the assessment template.
|
Future<StartAssessmentRunResult> |
startAssessmentRunAsync(StartAssessmentRunRequest request,
AsyncHandler<StartAssessmentRunRequest,StartAssessmentRunResult> asyncHandler)
Starts the assessment run specified by the ARN of the assessment template.
|
Future<StopAssessmentRunResult> |
stopAssessmentRunAsync(StopAssessmentRunRequest request)
Stops the assessment run that is specified by the ARN of the assessment run.
|
Future<StopAssessmentRunResult> |
stopAssessmentRunAsync(StopAssessmentRunRequest request,
AsyncHandler<StopAssessmentRunRequest,StopAssessmentRunResult> asyncHandler)
Stops the assessment run that is specified by the ARN of the assessment run.
|
Future<SubscribeToEventResult> |
subscribeToEventAsync(SubscribeToEventRequest request)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
Future<SubscribeToEventResult> |
subscribeToEventAsync(SubscribeToEventRequest request,
AsyncHandler<SubscribeToEventRequest,SubscribeToEventResult> asyncHandler)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
Future<UnsubscribeFromEventResult> |
unsubscribeFromEventAsync(UnsubscribeFromEventRequest request)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
Future<UnsubscribeFromEventResult> |
unsubscribeFromEventAsync(UnsubscribeFromEventRequest request,
AsyncHandler<UnsubscribeFromEventRequest,UnsubscribeFromEventResult> asyncHandler)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
Future<UpdateAssessmentTargetResult> |
updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request)
Updates the assessment target that is specified by the ARN of the assessment target.
|
Future<UpdateAssessmentTargetResult> |
updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request,
AsyncHandler<UpdateAssessmentTargetRequest,UpdateAssessmentTargetResult> asyncHandler)
Updates the assessment target that is specified by the ARN of the assessment target.
|
addAttributesToFindings, builder, createAssessmentTarget, createAssessmentTemplate, createExclusionsPreview, createResourceGroup, deleteAssessmentRun, deleteAssessmentTarget, deleteAssessmentTemplate, describeAssessmentRuns, describeAssessmentTargets, describeAssessmentTemplates, describeCrossAccountAccessRole, describeExclusions, describeFindings, describeResourceGroups, describeRulesPackages, getAssessmentReport, getCachedResponseMetadata, getExclusionsPreview, getTelemetryMetadata, listAssessmentRunAgents, listAssessmentRuns, listAssessmentTargets, listAssessmentTemplates, listEventSubscriptions, listExclusions, listFindings, listRulesPackages, listTagsForResource, previewAgents, registerCrossAccountAccessRole, removeAttributesFromFindings, setTagsForResource, startAssessmentRun, stopAssessmentRun, subscribeToEvent, unsubscribeFromEvent, updateAssessmentTargetaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttributesToFindings, createAssessmentTarget, createAssessmentTemplate, createExclusionsPreview, createResourceGroup, deleteAssessmentRun, deleteAssessmentTarget, deleteAssessmentTemplate, describeAssessmentRuns, describeAssessmentTargets, describeAssessmentTemplates, describeCrossAccountAccessRole, describeExclusions, describeFindings, describeResourceGroups, describeRulesPackages, getAssessmentReport, getCachedResponseMetadata, getExclusionsPreview, getTelemetryMetadata, listAssessmentRunAgents, listAssessmentRuns, listAssessmentTargets, listAssessmentTemplates, listEventSubscriptions, listExclusions, listFindings, listRulesPackages, listTagsForResource, previewAgents, registerCrossAccountAccessRole, removeAttributesFromFindings, setEndpoint, setRegion, setTagsForResource, startAssessmentRun, stopAssessmentRun, subscribeToEvent, unsubscribeFromEvent, updateAssessmentTarget@Deprecated public AmazonInspectorAsyncClient()
AmazonInspectorAsyncClientBuilder.defaultClient()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).
@Deprecated public AmazonInspectorAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AmazonInspectorAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(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).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AmazonInspectorAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonInspectorAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(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)@Deprecated public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonInspectorAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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 static AmazonInspectorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request)
AmazonInspectorAsyncAssigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
addAttributesToFindingsAsync in interface AmazonInspectorAsyncpublic Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request, AsyncHandler<AddAttributesToFindingsRequest,AddAttributesToFindingsResult> asyncHandler)
AmazonInspectorAsyncAssigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
addAttributesToFindingsAsync in interface AmazonInspectorAsyncasyncHandler - 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<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest request)
AmazonInspectorAsyncCreates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
createAssessmentTargetAsync in interface AmazonInspectorAsyncpublic Future<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest request, AsyncHandler<CreateAssessmentTargetRequest,CreateAssessmentTargetResult> asyncHandler)
AmazonInspectorAsyncCreates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
createAssessmentTargetAsync in interface AmazonInspectorAsyncasyncHandler - 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<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request)
AmazonInspectorAsyncCreates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments.
createAssessmentTemplateAsync in interface AmazonInspectorAsyncpublic Future<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request, AsyncHandler<CreateAssessmentTemplateRequest,CreateAssessmentTemplateResult> asyncHandler)
AmazonInspectorAsyncCreates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments.
createAssessmentTemplateAsync in interface AmazonInspectorAsyncasyncHandler - 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<CreateExclusionsPreviewResult> createExclusionsPreviewAsync(CreateExclusionsPreviewRequest request)
AmazonInspectorAsyncStarts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
createExclusionsPreviewAsync in interface AmazonInspectorAsyncpublic Future<CreateExclusionsPreviewResult> createExclusionsPreviewAsync(CreateExclusionsPreviewRequest request, AsyncHandler<CreateExclusionsPreviewRequest,CreateExclusionsPreviewResult> asyncHandler)
AmazonInspectorAsyncStarts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
createExclusionsPreviewAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncCreates 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 Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
createResourceGroupAsync in interface AmazonInspectorAsyncpublic Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest request, AsyncHandler<CreateResourceGroupRequest,CreateResourceGroupResult> asyncHandler)
AmazonInspectorAsyncCreates 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 Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
createResourceGroupAsync in interface AmazonInspectorAsyncasyncHandler - 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<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest request)
AmazonInspectorAsyncDeletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRunAsync in interface AmazonInspectorAsyncpublic Future<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest request, AsyncHandler<DeleteAssessmentRunRequest,DeleteAssessmentRunResult> asyncHandler)
AmazonInspectorAsyncDeletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRunAsync in interface AmazonInspectorAsyncasyncHandler - 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<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request)
AmazonInspectorAsyncDeletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTargetAsync in interface AmazonInspectorAsyncpublic Future<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request, AsyncHandler<DeleteAssessmentTargetRequest,DeleteAssessmentTargetResult> asyncHandler)
AmazonInspectorAsyncDeletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTargetAsync in interface AmazonInspectorAsyncasyncHandler - 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<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request)
AmazonInspectorAsyncDeletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplateAsync in interface AmazonInspectorAsyncpublic Future<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request, AsyncHandler<DeleteAssessmentTemplateRequest,DeleteAssessmentTemplateResult> asyncHandler)
AmazonInspectorAsyncDeletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplateAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request)
AmazonInspectorAsyncDescribes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRunsAsync in interface AmazonInspectorAsyncpublic Future<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request, AsyncHandler<DescribeAssessmentRunsRequest,DescribeAssessmentRunsResult> asyncHandler)
AmazonInspectorAsyncDescribes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRunsAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request)
AmazonInspectorAsyncDescribes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargetsAsync in interface AmazonInspectorAsyncpublic Future<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request, AsyncHandler<DescribeAssessmentTargetsRequest,DescribeAssessmentTargetsResult> asyncHandler)
AmazonInspectorAsyncDescribes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargetsAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request)
AmazonInspectorAsyncDescribes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplatesAsync in interface AmazonInspectorAsyncpublic Future<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request, AsyncHandler<DescribeAssessmentTemplatesRequest,DescribeAssessmentTemplatesResult> asyncHandler)
AmazonInspectorAsyncDescribes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplatesAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncDescribes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleAsync in interface AmazonInspectorAsyncpublic Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request, AsyncHandler<DescribeCrossAccountAccessRoleRequest,DescribeCrossAccountAccessRoleResult> asyncHandler)
AmazonInspectorAsyncDescribes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeExclusionsResult> describeExclusionsAsync(DescribeExclusionsRequest request)
AmazonInspectorAsyncDescribes the exclusions that are specified by the exclusions' ARNs.
describeExclusionsAsync in interface AmazonInspectorAsyncpublic Future<DescribeExclusionsResult> describeExclusionsAsync(DescribeExclusionsRequest request, AsyncHandler<DescribeExclusionsRequest,DescribeExclusionsResult> asyncHandler)
AmazonInspectorAsyncDescribes the exclusions that are specified by the exclusions' ARNs.
describeExclusionsAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeFindingsResult> describeFindingsAsync(DescribeFindingsRequest request)
AmazonInspectorAsyncDescribes the findings that are specified by the ARNs of the findings.
describeFindingsAsync in interface AmazonInspectorAsyncpublic Future<DescribeFindingsResult> describeFindingsAsync(DescribeFindingsRequest request, AsyncHandler<DescribeFindingsRequest,DescribeFindingsResult> asyncHandler)
AmazonInspectorAsyncDescribes the findings that are specified by the ARNs of the findings.
describeFindingsAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest request)
AmazonInspectorAsyncDescribes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroupsAsync in interface AmazonInspectorAsyncpublic Future<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest request, AsyncHandler<DescribeResourceGroupsRequest,DescribeResourceGroupsResult> asyncHandler)
AmazonInspectorAsyncDescribes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroupsAsync in interface AmazonInspectorAsyncasyncHandler - 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<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest request)
AmazonInspectorAsyncDescribes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackagesAsync in interface AmazonInspectorAsyncpublic Future<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest request, AsyncHandler<DescribeRulesPackagesRequest,DescribeRulesPackagesResult> asyncHandler)
AmazonInspectorAsyncDescribes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackagesAsync in interface AmazonInspectorAsyncasyncHandler - 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<GetAssessmentReportResult> getAssessmentReportAsync(GetAssessmentReportRequest request)
AmazonInspectorAsyncProduces an assessment report that includes detailed and comprehensive results of a specified assessment run.
getAssessmentReportAsync in interface AmazonInspectorAsyncpublic Future<GetAssessmentReportResult> getAssessmentReportAsync(GetAssessmentReportRequest request, AsyncHandler<GetAssessmentReportRequest,GetAssessmentReportResult> asyncHandler)
AmazonInspectorAsyncProduces an assessment report that includes detailed and comprehensive results of a specified assessment run.
getAssessmentReportAsync in interface AmazonInspectorAsyncasyncHandler - 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<GetExclusionsPreviewResult> getExclusionsPreviewAsync(GetExclusionsPreviewRequest request)
AmazonInspectorAsyncRetrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can obtain the preview token by running the CreateExclusionsPreview API.
getExclusionsPreviewAsync in interface AmazonInspectorAsyncpublic Future<GetExclusionsPreviewResult> getExclusionsPreviewAsync(GetExclusionsPreviewRequest request, AsyncHandler<GetExclusionsPreviewRequest,GetExclusionsPreviewResult> asyncHandler)
AmazonInspectorAsyncRetrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can obtain the preview token by running the CreateExclusionsPreview API.
getExclusionsPreviewAsync in interface AmazonInspectorAsyncasyncHandler - 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<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest request)
AmazonInspectorAsyncInformation about the data that is collected for the specified assessment run.
getTelemetryMetadataAsync in interface AmazonInspectorAsyncpublic Future<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest request, AsyncHandler<GetTelemetryMetadataRequest,GetTelemetryMetadataResult> asyncHandler)
AmazonInspectorAsyncInformation about the data that is collected for the specified assessment run.
getTelemetryMetadataAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request)
AmazonInspectorAsyncLists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
listAssessmentRunAgentsAsync in interface AmazonInspectorAsyncpublic Future<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request, AsyncHandler<ListAssessmentRunAgentsRequest,ListAssessmentRunAgentsResult> asyncHandler)
AmazonInspectorAsyncLists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
listAssessmentRunAgentsAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListAssessmentRunsResult> listAssessmentRunsAsync(ListAssessmentRunsRequest request)
AmazonInspectorAsyncLists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
listAssessmentRunsAsync in interface AmazonInspectorAsyncpublic Future<ListAssessmentRunsResult> listAssessmentRunsAsync(ListAssessmentRunsRequest request, AsyncHandler<ListAssessmentRunsRequest,ListAssessmentRunsResult> asyncHandler)
AmazonInspectorAsyncLists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
listAssessmentRunsAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest request)
AmazonInspectorAsyncLists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
listAssessmentTargetsAsync in interface AmazonInspectorAsyncpublic Future<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest request, AsyncHandler<ListAssessmentTargetsRequest,ListAssessmentTargetsResult> asyncHandler)
AmazonInspectorAsyncLists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
listAssessmentTargetsAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request)
AmazonInspectorAsyncLists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
listAssessmentTemplatesAsync in interface AmazonInspectorAsyncpublic Future<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request, AsyncHandler<ListAssessmentTemplatesRequest,ListAssessmentTemplatesResult> asyncHandler)
AmazonInspectorAsyncLists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
listAssessmentTemplatesAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest request)
AmazonInspectorAsyncLists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
listEventSubscriptionsAsync in interface AmazonInspectorAsyncpublic Future<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest request, AsyncHandler<ListEventSubscriptionsRequest,ListEventSubscriptionsResult> asyncHandler)
AmazonInspectorAsyncLists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
listEventSubscriptionsAsync in interface AmazonInspectorAsyncasyncHandler - 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<ListExclusionsResult> listExclusionsAsync(ListExclusionsRequest request)
AmazonInspectorAsyncList exclusions that are generated by the assessment run.
listExclusionsAsync in interface AmazonInspectorAsyncpublic Future<ListExclusionsResult> listExclusionsAsync(ListExclusionsRequest request, AsyncHandler<ListExclusionsRequest,ListExclusionsResult> asyncHandler)
AmazonInspectorAsyncList exclusions that are generated by the assessment run.
listExclusionsAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncLists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
listFindingsAsync in interface AmazonInspectorAsyncpublic Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request, AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
AmazonInspectorAsyncLists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
listFindingsAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncLists all available Amazon Inspector rules packages.
listRulesPackagesAsync in interface AmazonInspectorAsyncpublic Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest request, AsyncHandler<ListRulesPackagesRequest,ListRulesPackagesResult> asyncHandler)
AmazonInspectorAsyncLists all available Amazon Inspector rules packages.
listRulesPackagesAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncLists all tags associated with an assessment template.
listTagsForResourceAsync in interface AmazonInspectorAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonInspectorAsyncLists all tags associated with an assessment template.
listTagsForResourceAsync in interface AmazonInspectorAsyncasyncHandler - 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<PreviewAgentsResult> previewAgentsAsync(PreviewAgentsRequest request)
AmazonInspectorAsyncPreviews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgentsAsync in interface AmazonInspectorAsyncpublic Future<PreviewAgentsResult> previewAgentsAsync(PreviewAgentsRequest request, AsyncHandler<PreviewAgentsRequest,PreviewAgentsResult> asyncHandler)
AmazonInspectorAsyncPreviews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgentsAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncRegisters the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
registerCrossAccountAccessRoleAsync in interface AmazonInspectorAsyncpublic Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request, AsyncHandler<RegisterCrossAccountAccessRoleRequest,RegisterCrossAccountAccessRoleResult> asyncHandler)
AmazonInspectorAsyncRegisters the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
registerCrossAccountAccessRoleAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncRemoves entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
removeAttributesFromFindingsAsync in interface AmazonInspectorAsyncpublic Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request, AsyncHandler<RemoveAttributesFromFindingsRequest,RemoveAttributesFromFindingsResult> asyncHandler)
AmazonInspectorAsyncRemoves entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
removeAttributesFromFindingsAsync in interface AmazonInspectorAsyncasyncHandler - 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)
AmazonInspectorAsyncSets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
setTagsForResourceAsync in interface AmazonInspectorAsyncpublic Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest request, AsyncHandler<SetTagsForResourceRequest,SetTagsForResourceResult> asyncHandler)
AmazonInspectorAsyncSets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
setTagsForResourceAsync in interface AmazonInspectorAsyncasyncHandler - 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<StartAssessmentRunResult> startAssessmentRunAsync(StartAssessmentRunRequest request)
AmazonInspectorAsyncStarts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startAssessmentRunAsync in interface AmazonInspectorAsyncpublic Future<StartAssessmentRunResult> startAssessmentRunAsync(StartAssessmentRunRequest request, AsyncHandler<StartAssessmentRunRequest,StartAssessmentRunResult> asyncHandler)
AmazonInspectorAsyncStarts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startAssessmentRunAsync in interface AmazonInspectorAsyncasyncHandler - 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<StopAssessmentRunResult> stopAssessmentRunAsync(StopAssessmentRunRequest request)
AmazonInspectorAsyncStops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRunAsync in interface AmazonInspectorAsyncpublic Future<StopAssessmentRunResult> stopAssessmentRunAsync(StopAssessmentRunRequest request, AsyncHandler<StopAssessmentRunRequest,StopAssessmentRunResult> asyncHandler)
AmazonInspectorAsyncStops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRunAsync in interface AmazonInspectorAsyncasyncHandler - 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<SubscribeToEventResult> subscribeToEventAsync(SubscribeToEventRequest request)
AmazonInspectorAsyncEnables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
subscribeToEventAsync in interface AmazonInspectorAsyncpublic Future<SubscribeToEventResult> subscribeToEventAsync(SubscribeToEventRequest request, AsyncHandler<SubscribeToEventRequest,SubscribeToEventResult> asyncHandler)
AmazonInspectorAsyncEnables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
subscribeToEventAsync in interface AmazonInspectorAsyncasyncHandler - 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<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest request)
AmazonInspectorAsyncDisables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
unsubscribeFromEventAsync in interface AmazonInspectorAsyncpublic Future<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest request, AsyncHandler<UnsubscribeFromEventRequest,UnsubscribeFromEventResult> asyncHandler)
AmazonInspectorAsyncDisables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
unsubscribeFromEventAsync in interface AmazonInspectorAsyncasyncHandler - 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<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request)
AmazonInspectorAsyncUpdates the assessment target that is specified by the ARN of the assessment target.
If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
updateAssessmentTargetAsync in interface AmazonInspectorAsyncpublic Future<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request, AsyncHandler<UpdateAssessmentTargetRequest,UpdateAssessmentTargetResult> asyncHandler)
AmazonInspectorAsyncUpdates the assessment target that is specified by the ARN of the assessment target.
If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
updateAssessmentTargetAsync in interface AmazonInspectorAsyncasyncHandler - 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 AmazonInspectorshutdown in class AmazonInspectorClient