Interface AmazonInspectorAsync
-
- All Superinterfaces:
AmazonInspector
- All Known Implementing Classes:
AbstractAmazonInspectorAsync
,AmazonInspectorAsyncClient
public interface AmazonInspectorAsync extends AmazonInspector
Interface for accessing Amazon Inspector asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.Amazon Inspector 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<AddAttributesToFindingsResult>
addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.Future<AddAttributesToFindingsResult>
addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest, AsyncHandler<AddAttributesToFindingsRequest,AddAttributesToFindingsResult> asyncHandler)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.Future<CreateAssessmentTargetResult>
createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup.Future<CreateAssessmentTargetResult>
createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest, 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 createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.Future<CreateAssessmentTemplateResult>
createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest, AsyncHandler<CreateAssessmentTemplateRequest,CreateAssessmentTemplateResult> asyncHandler)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.Future<CreateResourceGroupResult>
createResourceGroupAsync(CreateResourceGroupRequest createResourceGroupRequest)
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 createResourceGroupRequest, 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 deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.Future<DeleteAssessmentRunResult>
deleteAssessmentRunAsync(DeleteAssessmentRunRequest deleteAssessmentRunRequest, AsyncHandler<DeleteAssessmentRunRequest,DeleteAssessmentRunResult> asyncHandler)
Deletes the assessment run that is specified by the ARN of the assessment run.Future<DeleteAssessmentTargetResult>
deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.Future<DeleteAssessmentTargetResult>
deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest, AsyncHandler<DeleteAssessmentTargetRequest,DeleteAssessmentTargetResult> asyncHandler)
Deletes the assessment target that is specified by the ARN of the assessment target.Future<DeleteAssessmentTemplateResult>
deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.Future<DeleteAssessmentTemplateResult>
deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest, AsyncHandler<DeleteAssessmentTemplateRequest,DeleteAssessmentTemplateResult> asyncHandler)
Deletes the assessment template that is specified by the ARN of the assessment template.Future<DescribeAssessmentRunsResult>
describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.Future<DescribeAssessmentRunsResult>
describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest, AsyncHandler<DescribeAssessmentRunsRequest,DescribeAssessmentRunsResult> asyncHandler)
Describes the assessment runs that are specified by the ARNs of the assessment runs.Future<DescribeAssessmentTargetsResult>
describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.Future<DescribeAssessmentTargetsResult>
describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest, AsyncHandler<DescribeAssessmentTargetsRequest,DescribeAssessmentTargetsResult> asyncHandler)
Describes the assessment targets that are specified by the ARNs of the assessment targets.Future<DescribeAssessmentTemplatesResult>
describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.Future<DescribeAssessmentTemplatesResult>
describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest, AsyncHandler<DescribeAssessmentTemplatesRequest,DescribeAssessmentTemplatesResult> asyncHandler)
Describes the assessment templates that are specified by the ARNs of the assessment templates.Future<DescribeCrossAccountAccessRoleResult>
describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.Future<DescribeCrossAccountAccessRoleResult>
describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest, AsyncHandler<DescribeCrossAccountAccessRoleRequest,DescribeCrossAccountAccessRoleResult> asyncHandler)
Describes the IAM role that enables Amazon Inspector to access your AWS account.Future<DescribeFindingsResult>
describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.Future<DescribeFindingsResult>
describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest, AsyncHandler<DescribeFindingsRequest,DescribeFindingsResult> asyncHandler)
Describes the findings that are specified by the ARNs of the findings.Future<DescribeResourceGroupsResult>
describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.Future<DescribeResourceGroupsResult>
describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest, AsyncHandler<DescribeResourceGroupsRequest,DescribeResourceGroupsResult> asyncHandler)
Describes the resource groups that are specified by the ARNs of the resource groups.Future<DescribeRulesPackagesResult>
describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.Future<DescribeRulesPackagesResult>
describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest, AsyncHandler<DescribeRulesPackagesRequest,DescribeRulesPackagesResult> asyncHandler)
Describes the rules packages that are specified by the ARNs of the rules packages.Future<GetTelemetryMetadataResult>
getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.Future<GetTelemetryMetadataResult>
getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest, AsyncHandler<GetTelemetryMetadataRequest,GetTelemetryMetadataResult> asyncHandler)
Information about the data that is collected for the specified assessment run.Future<ListAssessmentRunAgentsResult>
listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.Future<ListAssessmentRunAgentsResult>
listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest, 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 listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.Future<ListAssessmentRunsResult>
listAssessmentRunsAsync(ListAssessmentRunsRequest listAssessmentRunsRequest, 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 listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.Future<ListAssessmentTargetsResult>
listAssessmentTargetsAsync(ListAssessmentTargetsRequest listAssessmentTargetsRequest, AsyncHandler<ListAssessmentTargetsRequest,ListAssessmentTargetsResult> asyncHandler)
Lists the ARNs of the assessment targets within this AWS account.Future<ListAssessmentTemplatesResult>
listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.Future<ListAssessmentTemplatesResult>
listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest, 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 listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template.Future<ListEventSubscriptionsResult>
listEventSubscriptionsAsync(ListEventSubscriptionsRequest listEventSubscriptionsRequest, AsyncHandler<ListEventSubscriptionsRequest,ListEventSubscriptionsResult> asyncHandler)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template.Future<ListFindingsResult>
listFindingsAsync(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.Future<ListFindingsResult>
listFindingsAsync(ListFindingsRequest listFindingsRequest, 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 listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.Future<ListRulesPackagesResult>
listRulesPackagesAsync(ListRulesPackagesRequest listRulesPackagesRequest, AsyncHandler<ListRulesPackagesRequest,ListRulesPackagesResult> asyncHandler)
Lists all available Amazon Inspector rules packages.Future<ListTagsForResourceResult>
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.Future<ListTagsForResourceResult>
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags associated with an assessment template.Future<PreviewAgentsResult>
previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.Future<PreviewAgentsResult>
previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest, AsyncHandler<PreviewAgentsRequest,PreviewAgentsResult> asyncHandler)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.Future<RegisterCrossAccountAccessRoleResult>
registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.Future<RegisterCrossAccountAccessRoleResult>
registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest, AsyncHandler<RegisterCrossAccountAccessRoleRequest,RegisterCrossAccountAccessRoleResult> asyncHandler)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.Future<RemoveAttributesFromFindingsResult>
removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
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 removeAttributesFromFindingsRequest, 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 setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.Future<SetTagsForResourceResult>
setTagsForResourceAsync(SetTagsForResourceRequest setTagsForResourceRequest, AsyncHandler<SetTagsForResourceRequest,SetTagsForResourceResult> asyncHandler)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.Future<StartAssessmentRunResult>
startAssessmentRunAsync(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template.Future<StartAssessmentRunResult>
startAssessmentRunAsync(StartAssessmentRunRequest startAssessmentRunRequest, AsyncHandler<StartAssessmentRunRequest,StartAssessmentRunResult> asyncHandler)
Starts the assessment run specified by the ARN of the assessment template.Future<StopAssessmentRunResult>
stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.Future<StopAssessmentRunResult>
stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest, AsyncHandler<StopAssessmentRunRequest,StopAssessmentRunResult> asyncHandler)
Stops the assessment run that is specified by the ARN of the assessment run.Future<SubscribeToEventResult>
subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.Future<SubscribeToEventResult>
subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest, 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 unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.Future<UnsubscribeFromEventResult>
unsubscribeFromEventAsync(UnsubscribeFromEventRequest unsubscribeFromEventRequest, 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 updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.Future<UpdateAssessmentTargetResult>
updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest, AsyncHandler<UpdateAssessmentTargetRequest,UpdateAssessmentTargetResult> asyncHandler)
Updates the assessment target that is specified by the ARN of the assessment target.-
Methods inherited from interface com.amazonaws.services.inspector.AmazonInspector
addAttributesToFindings, createAssessmentTarget, createAssessmentTemplate, createResourceGroup, deleteAssessmentRun, deleteAssessmentTarget, deleteAssessmentTemplate, describeAssessmentRuns, describeAssessmentTargets, describeAssessmentTemplates, describeCrossAccountAccessRole, describeFindings, describeResourceGroups, describeRulesPackages, getCachedResponseMetadata, getTelemetryMetadata, listAssessmentRunAgents, listAssessmentRuns, listAssessmentTargets, listAssessmentTemplates, listEventSubscriptions, listFindings, listRulesPackages, listTagsForResource, previewAgents, registerCrossAccountAccessRole, removeAttributesFromFindings, setEndpoint, setRegion, setTagsForResource, shutdown, startAssessmentRun, stopAssessmentRun, subscribeToEvent, unsubscribeFromEvent, updateAssessmentTarget
-
-
-
-
Method Detail
-
addAttributesToFindingsAsync
Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
- Parameters:
addAttributesToFindingsRequest
-- Returns:
- A Java Future containing the result of the AddAttributesToFindings operation returned by the service.
-
addAttributesToFindingsAsync
Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest, AsyncHandler<AddAttributesToFindingsRequest,AddAttributesToFindingsResult> asyncHandler)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
- Parameters:
addAttributesToFindingsRequest
-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.- Returns:
- A Java Future containing the result of the AddAttributesToFindings operation returned by the service.
-
createAssessmentTargetAsync
Future<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. 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.
- Parameters:
createAssessmentTargetRequest
-- Returns:
- A Java Future containing the result of the CreateAssessmentTarget operation returned by the service.
-
createAssessmentTargetAsync
Future<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest, AsyncHandler<CreateAssessmentTargetRequest,CreateAssessmentTargetResult> asyncHandler)
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. 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.
- Parameters:
createAssessmentTargetRequest
-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.- Returns:
- A Java Future containing the result of the CreateAssessmentTarget operation returned by the service.
-
createAssessmentTemplateAsync
Future<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
- Parameters:
createAssessmentTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service.
-
createAssessmentTemplateAsync
Future<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest, AsyncHandler<CreateAssessmentTemplateRequest,CreateAssessmentTemplateResult> asyncHandler)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
- Parameters:
createAssessmentTemplateRequest
-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.- Returns:
- A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service.
-
createResourceGroupAsync
Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest createResourceGroupRequest)
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. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
- Parameters:
createResourceGroupRequest
-- Returns:
- A Java Future containing the result of the CreateResourceGroup operation returned by the service.
-
createResourceGroupAsync
Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest createResourceGroupRequest, 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. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
- Parameters:
createResourceGroupRequest
-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.- Returns:
- A Java Future containing the result of the CreateResourceGroup operation returned by the service.
-
deleteAssessmentRunAsync
Future<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
- Parameters:
deleteAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the DeleteAssessmentRun operation returned by the service.
-
deleteAssessmentRunAsync
Future<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest deleteAssessmentRunRequest, AsyncHandler<DeleteAssessmentRunRequest,DeleteAssessmentRunResult> asyncHandler)
Deletes the assessment run that is specified by the ARN of the assessment run.
- Parameters:
deleteAssessmentRunRequest
-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.- Returns:
- A Java Future containing the result of the DeleteAssessmentRun operation returned by the service.
-
deleteAssessmentTargetAsync
Future<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
- Parameters:
deleteAssessmentTargetRequest
-- Returns:
- A Java Future containing the result of the DeleteAssessmentTarget operation returned by the service.
-
deleteAssessmentTargetAsync
Future<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest, AsyncHandler<DeleteAssessmentTargetRequest,DeleteAssessmentTargetResult> asyncHandler)
Deletes the assessment target that is specified by the ARN of the assessment target.
- Parameters:
deleteAssessmentTargetRequest
-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.- Returns:
- A Java Future containing the result of the DeleteAssessmentTarget operation returned by the service.
-
deleteAssessmentTemplateAsync
Future<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
- Parameters:
deleteAssessmentTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteAssessmentTemplate operation returned by the service.
-
deleteAssessmentTemplateAsync
Future<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest, AsyncHandler<DeleteAssessmentTemplateRequest,DeleteAssessmentTemplateResult> asyncHandler)
Deletes the assessment template that is specified by the ARN of the assessment template.
- Parameters:
deleteAssessmentTemplateRequest
-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.- Returns:
- A Java Future containing the result of the DeleteAssessmentTemplate operation returned by the service.
-
describeAssessmentRunsAsync
Future<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
describeAssessmentRunsRequest
-- Returns:
- A Java Future containing the result of the DescribeAssessmentRuns operation returned by the service.
-
describeAssessmentRunsAsync
Future<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest, AsyncHandler<DescribeAssessmentRunsRequest,DescribeAssessmentRunsResult> asyncHandler)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
describeAssessmentRunsRequest
-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.- Returns:
- A Java Future containing the result of the DescribeAssessmentRuns operation returned by the service.
-
describeAssessmentTargetsAsync
Future<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
- Parameters:
describeAssessmentTargetsRequest
-- Returns:
- A Java Future containing the result of the DescribeAssessmentTargets operation returned by the service.
-
describeAssessmentTargetsAsync
Future<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest, AsyncHandler<DescribeAssessmentTargetsRequest,DescribeAssessmentTargetsResult> asyncHandler)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
- Parameters:
describeAssessmentTargetsRequest
-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.- Returns:
- A Java Future containing the result of the DescribeAssessmentTargets operation returned by the service.
-
describeAssessmentTemplatesAsync
Future<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
- Parameters:
describeAssessmentTemplatesRequest
-- Returns:
- A Java Future containing the result of the DescribeAssessmentTemplates operation returned by the service.
-
describeAssessmentTemplatesAsync
Future<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest, AsyncHandler<DescribeAssessmentTemplatesRequest,DescribeAssessmentTemplatesResult> asyncHandler)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
- Parameters:
describeAssessmentTemplatesRequest
-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.- Returns:
- A Java Future containing the result of the DescribeAssessmentTemplates operation returned by the service.
-
describeCrossAccountAccessRoleAsync
Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
- Parameters:
describeCrossAccountAccessRoleRequest
-- Returns:
- A Java Future containing the result of the DescribeCrossAccountAccessRole operation returned by the service.
-
describeCrossAccountAccessRoleAsync
Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest, AsyncHandler<DescribeCrossAccountAccessRoleRequest,DescribeCrossAccountAccessRoleResult> asyncHandler)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
- Parameters:
describeCrossAccountAccessRoleRequest
-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.- Returns:
- A Java Future containing the result of the DescribeCrossAccountAccessRole operation returned by the service.
-
describeFindingsAsync
Future<DescribeFindingsResult> describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
- Parameters:
describeFindingsRequest
-- Returns:
- A Java Future containing the result of the DescribeFindings operation returned by the service.
-
describeFindingsAsync
Future<DescribeFindingsResult> describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest, AsyncHandler<DescribeFindingsRequest,DescribeFindingsResult> asyncHandler)
Describes the findings that are specified by the ARNs of the findings.
- Parameters:
describeFindingsRequest
-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.- Returns:
- A Java Future containing the result of the DescribeFindings operation returned by the service.
-
describeResourceGroupsAsync
Future<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
- Parameters:
describeResourceGroupsRequest
-- Returns:
- A Java Future containing the result of the DescribeResourceGroups operation returned by the service.
-
describeResourceGroupsAsync
Future<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest, AsyncHandler<DescribeResourceGroupsRequest,DescribeResourceGroupsResult> asyncHandler)
Describes the resource groups that are specified by the ARNs of the resource groups.
- Parameters:
describeResourceGroupsRequest
-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.- Returns:
- A Java Future containing the result of the DescribeResourceGroups operation returned by the service.
-
describeRulesPackagesAsync
Future<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
- Parameters:
describeRulesPackagesRequest
-- Returns:
- A Java Future containing the result of the DescribeRulesPackages operation returned by the service.
-
describeRulesPackagesAsync
Future<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest, AsyncHandler<DescribeRulesPackagesRequest,DescribeRulesPackagesResult> asyncHandler)
Describes the rules packages that are specified by the ARNs of the rules packages.
- Parameters:
describeRulesPackagesRequest
-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.- Returns:
- A Java Future containing the result of the DescribeRulesPackages operation returned by the service.
-
getTelemetryMetadataAsync
Future<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
- Parameters:
getTelemetryMetadataRequest
-- Returns:
- A Java Future containing the result of the GetTelemetryMetadata operation returned by the service.
-
getTelemetryMetadataAsync
Future<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest, AsyncHandler<GetTelemetryMetadataRequest,GetTelemetryMetadataResult> asyncHandler)
Information about the data that is collected for the specified assessment run.
- Parameters:
getTelemetryMetadataRequest
-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.- Returns:
- A Java Future containing the result of the GetTelemetryMetadata operation returned by the service.
-
listAssessmentRunAgentsAsync
Future<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
listAssessmentRunAgentsRequest
-- Returns:
- A Java Future containing the result of the ListAssessmentRunAgents operation returned by the service.
-
listAssessmentRunAgentsAsync
Future<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest, AsyncHandler<ListAssessmentRunAgentsRequest,ListAssessmentRunAgentsResult> asyncHandler)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
listAssessmentRunAgentsRequest
-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.- Returns:
- A Java Future containing the result of the ListAssessmentRunAgents operation returned by the service.
-
listAssessmentRunsAsync
Future<ListAssessmentRunsResult> listAssessmentRunsAsync(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
- Parameters:
listAssessmentRunsRequest
-- Returns:
- A Java Future containing the result of the ListAssessmentRuns operation returned by the service.
-
listAssessmentRunsAsync
Future<ListAssessmentRunsResult> listAssessmentRunsAsync(ListAssessmentRunsRequest listAssessmentRunsRequest, AsyncHandler<ListAssessmentRunsRequest,ListAssessmentRunsResult> asyncHandler)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
- Parameters:
listAssessmentRunsRequest
-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.- Returns:
- A Java Future containing the result of the ListAssessmentRuns operation returned by the service.
-
listAssessmentTargetsAsync
Future<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
- Parameters:
listAssessmentTargetsRequest
-- Returns:
- A Java Future containing the result of the ListAssessmentTargets operation returned by the service.
-
listAssessmentTargetsAsync
Future<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest listAssessmentTargetsRequest, AsyncHandler<ListAssessmentTargetsRequest,ListAssessmentTargetsResult> asyncHandler)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
- Parameters:
listAssessmentTargetsRequest
-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.- Returns:
- A Java Future containing the result of the ListAssessmentTargets operation returned by the service.
-
listAssessmentTemplatesAsync
Future<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
- Parameters:
listAssessmentTemplatesRequest
-- Returns:
- A Java Future containing the result of the ListAssessmentTemplates operation returned by the service.
-
listAssessmentTemplatesAsync
Future<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest, AsyncHandler<ListAssessmentTemplatesRequest,ListAssessmentTemplatesResult> asyncHandler)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
- Parameters:
listAssessmentTemplatesRequest
-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.- Returns:
- A Java Future containing the result of the ListAssessmentTemplates operation returned by the service.
-
listEventSubscriptionsAsync
Future<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists 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.
- Parameters:
listEventSubscriptionsRequest
-- Returns:
- A Java Future containing the result of the ListEventSubscriptions operation returned by the service.
-
listEventSubscriptionsAsync
Future<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest listEventSubscriptionsRequest, AsyncHandler<ListEventSubscriptionsRequest,ListEventSubscriptionsResult> asyncHandler)
Lists 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.
- Parameters:
listEventSubscriptionsRequest
-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.- Returns:
- A Java Future containing the result of the ListEventSubscriptions operation returned by the service.
-
listFindingsAsync
Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
listFindingsRequest
-- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
-
listFindingsAsync
Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest listFindingsRequest, AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
- Parameters:
listFindingsRequest
-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.- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
-
listRulesPackagesAsync
Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
- Parameters:
listRulesPackagesRequest
-- Returns:
- A Java Future containing the result of the ListRulesPackages operation returned by the service.
-
listRulesPackagesAsync
Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest listRulesPackagesRequest, AsyncHandler<ListRulesPackagesRequest,ListRulesPackagesResult> asyncHandler)
Lists all available Amazon Inspector rules packages.
- Parameters:
listRulesPackagesRequest
-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.- Returns:
- A Java Future containing the result of the ListRulesPackages operation returned by the service.
-
listTagsForResourceAsync
Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags associated with an assessment template.
- Parameters:
listTagsForResourceRequest
-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.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
previewAgentsAsync
Future<PreviewAgentsResult> previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
- Parameters:
previewAgentsRequest
-- Returns:
- A Java Future containing the result of the PreviewAgents operation returned by the service.
-
previewAgentsAsync
Future<PreviewAgentsResult> previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest, AsyncHandler<PreviewAgentsRequest,PreviewAgentsResult> asyncHandler)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
- Parameters:
previewAgentsRequest
-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.- Returns:
- A Java Future containing the result of the PreviewAgents operation returned by the service.
-
registerCrossAccountAccessRoleAsync
Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
- Parameters:
registerCrossAccountAccessRoleRequest
-- Returns:
- A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the service.
-
registerCrossAccountAccessRoleAsync
Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest, AsyncHandler<RegisterCrossAccountAccessRoleRequest,RegisterCrossAccountAccessRoleResult> asyncHandler)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
- Parameters:
registerCrossAccountAccessRoleRequest
-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.- Returns:
- A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the service.
-
removeAttributesFromFindingsAsync
Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
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.
- Parameters:
removeAttributesFromFindingsRequest
-- Returns:
- A Java Future containing the result of the RemoveAttributesFromFindings operation returned by the service.
-
removeAttributesFromFindingsAsync
Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest, 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.
- Parameters:
removeAttributesFromFindingsRequest
-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.- Returns:
- A Java Future containing the result of the RemoveAttributesFromFindings operation returned by the service.
-
setTagsForResourceAsync
Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
- Parameters:
setTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the SetTagsForResource operation returned by the service.
-
setTagsForResourceAsync
Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest setTagsForResourceRequest, AsyncHandler<SetTagsForResourceRequest,SetTagsForResourceResult> asyncHandler)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
- Parameters:
setTagsForResourceRequest
-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.- Returns:
- A Java Future containing the result of the SetTagsForResource operation returned by the service.
-
startAssessmentRunAsync
Future<StartAssessmentRunResult> startAssessmentRunAsync(StartAssessmentRunRequest startAssessmentRunRequest)
Starts 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.
- Parameters:
startAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the StartAssessmentRun operation returned by the service.
-
startAssessmentRunAsync
Future<StartAssessmentRunResult> startAssessmentRunAsync(StartAssessmentRunRequest startAssessmentRunRequest, AsyncHandler<StartAssessmentRunRequest,StartAssessmentRunResult> asyncHandler)
Starts 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.
- Parameters:
startAssessmentRunRequest
-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.- Returns:
- A Java Future containing the result of the StartAssessmentRun operation returned by the service.
-
stopAssessmentRunAsync
Future<StopAssessmentRunResult> stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
- Parameters:
stopAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the StopAssessmentRun operation returned by the service.
-
stopAssessmentRunAsync
Future<StopAssessmentRunResult> stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest, AsyncHandler<StopAssessmentRunRequest,StopAssessmentRunResult> asyncHandler)
Stops the assessment run that is specified by the ARN of the assessment run.
- Parameters:
stopAssessmentRunRequest
-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.- Returns:
- A Java Future containing the result of the StopAssessmentRun operation returned by the service.
-
subscribeToEventAsync
Future<SubscribeToEventResult> subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Parameters:
subscribeToEventRequest
-- Returns:
- A Java Future containing the result of the SubscribeToEvent operation returned by the service.
-
subscribeToEventAsync
Future<SubscribeToEventResult> subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest, AsyncHandler<SubscribeToEventRequest,SubscribeToEventResult> asyncHandler)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Parameters:
subscribeToEventRequest
-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.- Returns:
- A Java Future containing the result of the SubscribeToEvent operation returned by the service.
-
unsubscribeFromEventAsync
Future<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Parameters:
unsubscribeFromEventRequest
-- Returns:
- A Java Future containing the result of the UnsubscribeFromEvent operation returned by the service.
-
unsubscribeFromEventAsync
Future<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest unsubscribeFromEventRequest, AsyncHandler<UnsubscribeFromEventRequest,UnsubscribeFromEventResult> asyncHandler)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Parameters:
unsubscribeFromEventRequest
-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.- Returns:
- A Java Future containing the result of the UnsubscribeFromEvent operation returned by the service.
-
updateAssessmentTargetAsync
Future<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
- Parameters:
updateAssessmentTargetRequest
-- Returns:
- A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service.
-
updateAssessmentTargetAsync
Future<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest, AsyncHandler<UpdateAssessmentTargetRequest,UpdateAssessmentTargetResult> asyncHandler)
Updates the assessment target that is specified by the ARN of the assessment target.
- Parameters:
updateAssessmentTargetRequest
-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.- Returns:
- A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service.
-
-