Class AbstractAmazonInspectorAsync
- All Implemented Interfaces:
AmazonInspector
,AmazonInspectorAsync
AmazonInspectorAsync
. Convenient method
forms pass through to the corresponding overload that takes a request object
and an AsyncHandler
, which throws an
UnsupportedOperationException
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.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.Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup.createAssessmentTargetAsync
(CreateAssessmentTargetRequest request, AsyncHandler<CreateAssessmentTargetRequest, CreateAssessmentTargetResult> asyncHandler) Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup.Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.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.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.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.Deletes the assessment run that is specified by the ARN of the assessment run.deleteAssessmentRunAsync
(DeleteAssessmentRunRequest request, AsyncHandler<DeleteAssessmentRunRequest, DeleteAssessmentRunResult> asyncHandler) Deletes the assessment run that is specified by the ARN of the assessment run.Deletes the assessment target that is specified by the ARN of the assessment target.deleteAssessmentTargetAsync
(DeleteAssessmentTargetRequest request, AsyncHandler<DeleteAssessmentTargetRequest, DeleteAssessmentTargetResult> asyncHandler) Deletes the assessment target that is specified by the ARN of the assessment target.Deletes the assessment template that is specified by the ARN of the assessment template.deleteAssessmentTemplateAsync
(DeleteAssessmentTemplateRequest request, AsyncHandler<DeleteAssessmentTemplateRequest, DeleteAssessmentTemplateResult> asyncHandler) Deletes the assessment template that is specified by the ARN of the assessment template.Describes the assessment runs that are specified by the ARNs of the assessment runs.describeAssessmentRunsAsync
(DescribeAssessmentRunsRequest request, AsyncHandler<DescribeAssessmentRunsRequest, DescribeAssessmentRunsResult> asyncHandler) Describes the assessment runs that are specified by the ARNs of the assessment runs.Describes the assessment targets that are specified by the ARNs of the assessment targets.describeAssessmentTargetsAsync
(DescribeAssessmentTargetsRequest request, AsyncHandler<DescribeAssessmentTargetsRequest, DescribeAssessmentTargetsResult> asyncHandler) Describes the assessment targets that are specified by the ARNs of the assessment targets.Describes the assessment templates that are specified by the ARNs of the assessment templates.describeAssessmentTemplatesAsync
(DescribeAssessmentTemplatesRequest request, AsyncHandler<DescribeAssessmentTemplatesRequest, DescribeAssessmentTemplatesResult> asyncHandler) Describes the assessment templates that are specified by the ARNs of the assessment templates.Describes the IAM role that enables Amazon Inspector to access your AWS account.describeCrossAccountAccessRoleAsync
(DescribeCrossAccountAccessRoleRequest request, AsyncHandler<DescribeCrossAccountAccessRoleRequest, DescribeCrossAccountAccessRoleResult> asyncHandler) Describes the IAM role that enables Amazon Inspector to access your AWS account.Describes the findings that are specified by the ARNs of the findings.describeFindingsAsync
(DescribeFindingsRequest request, AsyncHandler<DescribeFindingsRequest, DescribeFindingsResult> asyncHandler) Describes the findings that are specified by the ARNs of the findings.Describes the resource groups that are specified by the ARNs of the resource groups.describeResourceGroupsAsync
(DescribeResourceGroupsRequest request, AsyncHandler<DescribeResourceGroupsRequest, DescribeResourceGroupsResult> asyncHandler) Describes the resource groups that are specified by the ARNs of the resource groups.Describes the rules packages that are specified by the ARNs of the rules packages.describeRulesPackagesAsync
(DescribeRulesPackagesRequest request, AsyncHandler<DescribeRulesPackagesRequest, DescribeRulesPackagesResult> asyncHandler) Describes the rules packages that are specified by the ARNs of the rules packages.Information about the data that is collected for the specified assessment run.getTelemetryMetadataAsync
(GetTelemetryMetadataRequest request, AsyncHandler<GetTelemetryMetadataRequest, GetTelemetryMetadataResult> asyncHandler) Information about the data that is collected for the specified assessment run.Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.listAssessmentRunAgentsAsync
(ListAssessmentRunAgentsRequest request, AsyncHandler<ListAssessmentRunAgentsRequest, ListAssessmentRunAgentsResult> asyncHandler) Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.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.Lists the ARNs of the assessment targets within this AWS account.listAssessmentTargetsAsync
(ListAssessmentTargetsRequest request, AsyncHandler<ListAssessmentTargetsRequest, ListAssessmentTargetsResult> asyncHandler) Lists the ARNs of the assessment targets within this AWS account.Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.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.Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template.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.listFindingsAsync
(ListFindingsRequest request) Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.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.Lists all available Amazon Inspector rules packages.listRulesPackagesAsync
(ListRulesPackagesRequest request, AsyncHandler<ListRulesPackagesRequest, ListRulesPackagesResult> asyncHandler) Lists all available Amazon Inspector rules packages.Lists all tags associated with an assessment template.listTagsForResourceAsync
(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Lists all tags associated with an assessment template.previewAgentsAsync
(PreviewAgentsRequest request) Previews the agents installed on the EC2 instances that are part of the specified assessment target.previewAgentsAsync
(PreviewAgentsRequest request, AsyncHandler<PreviewAgentsRequest, PreviewAgentsResult> asyncHandler) Previews the agents installed on the EC2 instances that are part of the specified assessment target.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.registerCrossAccountAccessRoleAsync
(RegisterCrossAccountAccessRoleRequest request, 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.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.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.Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.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.Starts the assessment run specified by the ARN of the assessment template.startAssessmentRunAsync
(StartAssessmentRunRequest request, AsyncHandler<StartAssessmentRunRequest, StartAssessmentRunResult> asyncHandler) Starts the assessment run specified by the ARN of the assessment template.Stops the assessment run that is specified by the ARN of the assessment run.stopAssessmentRunAsync
(StopAssessmentRunRequest request, AsyncHandler<StopAssessmentRunRequest, StopAssessmentRunResult> asyncHandler) Stops the assessment run that is specified by the ARN of the assessment run.Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.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.Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.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.Updates the assessment target that is specified by the ARN of the assessment target.updateAssessmentTargetAsync
(UpdateAssessmentTargetRequest request, AsyncHandler<UpdateAssessmentTargetRequest, UpdateAssessmentTargetResult> asyncHandler) Updates the assessment target that is specified by the ARN of the assessment target.Methods inherited from class com.amazonaws.services.inspector.AbstractAmazonInspector
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Constructor Details
-
AbstractAmazonInspectorAsync
protected AbstractAmazonInspectorAsync()
-
-
Method Details
-
addAttributesToFindingsAsync
public Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request) Description copied from interface:AmazonInspectorAsync
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
- Specified by:
addAttributesToFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the AddAttributesToFindings operation returned by the service.
-
addAttributesToFindingsAsync
public Future<AddAttributesToFindingsResult> addAttributesToFindingsAsync(AddAttributesToFindingsRequest request, AsyncHandler<AddAttributesToFindingsRequest, AddAttributesToFindingsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
- Specified by:
addAttributesToFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest request) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
createAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateAssessmentTarget operation returned by the service.
-
createAssessmentTargetAsync
public Future<CreateAssessmentTargetResult> createAssessmentTargetAsync(CreateAssessmentTargetRequest request, AsyncHandler<CreateAssessmentTargetRequest, CreateAssessmentTargetResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
createAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request) Description copied from interface:AmazonInspectorAsync
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
- Specified by:
createAssessmentTemplateAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service.
-
createAssessmentTemplateAsync
public Future<CreateAssessmentTemplateResult> createAssessmentTemplateAsync(CreateAssessmentTemplateRequest request, AsyncHandler<CreateAssessmentTemplateRequest, CreateAssessmentTemplateResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
- Specified by:
createAssessmentTemplateAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest request) Description copied from interface:AmazonInspectorAsync
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
- Specified by:
createResourceGroupAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateResourceGroup operation returned by the service.
-
createResourceGroupAsync
public Future<CreateResourceGroupResult> createResourceGroupAsync(CreateResourceGroupRequest request, AsyncHandler<CreateResourceGroupRequest, CreateResourceGroupResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
- Specified by:
createResourceGroupAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest request) Description copied from interface:AmazonInspectorAsync
Deletes the assessment run that is specified by the ARN of the assessment run.
- Specified by:
deleteAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteAssessmentRun operation returned by the service.
-
deleteAssessmentRunAsync
public Future<DeleteAssessmentRunResult> deleteAssessmentRunAsync(DeleteAssessmentRunRequest request, AsyncHandler<DeleteAssessmentRunRequest, DeleteAssessmentRunResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Deletes the assessment run that is specified by the ARN of the assessment run.
- Specified by:
deleteAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request) Description copied from interface:AmazonInspectorAsync
Deletes the assessment target that is specified by the ARN of the assessment target.
- Specified by:
deleteAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteAssessmentTarget operation returned by the service.
-
deleteAssessmentTargetAsync
public Future<DeleteAssessmentTargetResult> deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request, AsyncHandler<DeleteAssessmentTargetRequest, DeleteAssessmentTargetResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Deletes the assessment target that is specified by the ARN of the assessment target.
- Specified by:
deleteAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request) Description copied from interface:AmazonInspectorAsync
Deletes the assessment template that is specified by the ARN of the assessment template.
- Specified by:
deleteAssessmentTemplateAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteAssessmentTemplate operation returned by the service.
-
deleteAssessmentTemplateAsync
public Future<DeleteAssessmentTemplateResult> deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request, AsyncHandler<DeleteAssessmentTemplateRequest, DeleteAssessmentTemplateResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Deletes the assessment template that is specified by the ARN of the assessment template.
- Specified by:
deleteAssessmentTemplateAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request) Description copied from interface:AmazonInspectorAsync
Describes the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
describeAssessmentRunsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeAssessmentRuns operation returned by the service.
-
describeAssessmentRunsAsync
public Future<DescribeAssessmentRunsResult> describeAssessmentRunsAsync(DescribeAssessmentRunsRequest request, AsyncHandler<DescribeAssessmentRunsRequest, DescribeAssessmentRunsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
describeAssessmentRunsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request) Description copied from interface:AmazonInspectorAsync
Describes the assessment targets that are specified by the ARNs of the assessment targets.
- Specified by:
describeAssessmentTargetsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeAssessmentTargets operation returned by the service.
-
describeAssessmentTargetsAsync
public Future<DescribeAssessmentTargetsResult> describeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request, AsyncHandler<DescribeAssessmentTargetsRequest, DescribeAssessmentTargetsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the assessment targets that are specified by the ARNs of the assessment targets.
- Specified by:
describeAssessmentTargetsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request) Description copied from interface:AmazonInspectorAsync
Describes the assessment templates that are specified by the ARNs of the assessment templates.
- Specified by:
describeAssessmentTemplatesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeAssessmentTemplates operation returned by the service.
-
describeAssessmentTemplatesAsync
public Future<DescribeAssessmentTemplatesResult> describeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request, AsyncHandler<DescribeAssessmentTemplatesRequest, DescribeAssessmentTemplatesResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the assessment templates that are specified by the ARNs of the assessment templates.
- Specified by:
describeAssessmentTemplatesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request) Description copied from interface:AmazonInspectorAsync
Describes the IAM role that enables Amazon Inspector to access your AWS account.
- Specified by:
describeCrossAccountAccessRoleAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeCrossAccountAccessRole operation returned by the service.
-
describeCrossAccountAccessRoleAsync
public Future<DescribeCrossAccountAccessRoleResult> describeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request, AsyncHandler<DescribeCrossAccountAccessRoleRequest, DescribeCrossAccountAccessRoleResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the IAM role that enables Amazon Inspector to access your AWS account.
- Specified by:
describeCrossAccountAccessRoleAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Describes the findings that are specified by the ARNs of the findings.
- Specified by:
describeFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeFindings operation returned by the service.
-
describeFindingsAsync
public Future<DescribeFindingsResult> describeFindingsAsync(DescribeFindingsRequest request, AsyncHandler<DescribeFindingsRequest, DescribeFindingsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the findings that are specified by the ARNs of the findings.
- Specified by:
describeFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest request) Description copied from interface:AmazonInspectorAsync
Describes the resource groups that are specified by the ARNs of the resource groups.
- Specified by:
describeResourceGroupsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeResourceGroups operation returned by the service.
-
describeResourceGroupsAsync
public Future<DescribeResourceGroupsResult> describeResourceGroupsAsync(DescribeResourceGroupsRequest request, AsyncHandler<DescribeResourceGroupsRequest, DescribeResourceGroupsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the resource groups that are specified by the ARNs of the resource groups.
- Specified by:
describeResourceGroupsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest request) Description copied from interface:AmazonInspectorAsync
Describes the rules packages that are specified by the ARNs of the rules packages.
- Specified by:
describeRulesPackagesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeRulesPackages operation returned by the service.
-
describeRulesPackagesAsync
public Future<DescribeRulesPackagesResult> describeRulesPackagesAsync(DescribeRulesPackagesRequest request, AsyncHandler<DescribeRulesPackagesRequest, DescribeRulesPackagesResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Describes the rules packages that are specified by the ARNs of the rules packages.
- Specified by:
describeRulesPackagesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest request) Description copied from interface:AmazonInspectorAsync
Information about the data that is collected for the specified assessment run.
- Specified by:
getTelemetryMetadataAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetTelemetryMetadata operation returned by the service.
-
getTelemetryMetadataAsync
public Future<GetTelemetryMetadataResult> getTelemetryMetadataAsync(GetTelemetryMetadataRequest request, AsyncHandler<GetTelemetryMetadataRequest, GetTelemetryMetadataResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Information about the data that is collected for the specified assessment run.
- Specified by:
getTelemetryMetadataAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request) Description copied from interface:AmazonInspectorAsync
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
listAssessmentRunAgentsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListAssessmentRunAgents operation returned by the service.
-
listAssessmentRunAgentsAsync
public Future<ListAssessmentRunAgentsResult> listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request, AsyncHandler<ListAssessmentRunAgentsRequest, ListAssessmentRunAgentsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
listAssessmentRunAgentsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
- Specified by:
listAssessmentRunsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListAssessmentRuns operation returned by the service.
-
listAssessmentRunsAsync
public Future<ListAssessmentRunsResult> listAssessmentRunsAsync(ListAssessmentRunsRequest request, AsyncHandler<ListAssessmentRunsRequest, ListAssessmentRunsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
- Specified by:
listAssessmentRunsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest request) Description copied from interface:AmazonInspectorAsync
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
- Specified by:
listAssessmentTargetsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListAssessmentTargets operation returned by the service.
-
listAssessmentTargetsAsync
public Future<ListAssessmentTargetsResult> listAssessmentTargetsAsync(ListAssessmentTargetsRequest request, AsyncHandler<ListAssessmentTargetsRequest, ListAssessmentTargetsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
- Specified by:
listAssessmentTargetsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request) Description copied from interface:AmazonInspectorAsync
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
- Specified by:
listAssessmentTemplatesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListAssessmentTemplates operation returned by the service.
-
listAssessmentTemplatesAsync
public Future<ListAssessmentTemplatesResult> listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request, AsyncHandler<ListAssessmentTemplatesRequest, ListAssessmentTemplatesResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
- Specified by:
listAssessmentTemplatesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest request) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
listEventSubscriptionsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListEventSubscriptions operation returned by the service.
-
listEventSubscriptionsAsync
public Future<ListEventSubscriptionsResult> listEventSubscriptionsAsync(ListEventSubscriptionsRequest request, AsyncHandler<ListEventSubscriptionsRequest, ListEventSubscriptionsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
listEventSubscriptionsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
listFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
-
listFindingsAsync
public Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request, AsyncHandler<ListFindingsRequest, ListFindingsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
- Specified by:
listFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Lists all available Amazon Inspector rules packages.
- Specified by:
listRulesPackagesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListRulesPackages operation returned by the service.
-
listRulesPackagesAsync
public Future<ListRulesPackagesResult> listRulesPackagesAsync(ListRulesPackagesRequest request, AsyncHandler<ListRulesPackagesRequest, ListRulesPackagesResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists all available Amazon Inspector rules packages.
- Specified by:
listRulesPackagesAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request) Description copied from interface:AmazonInspectorAsync
Lists all tags associated with an assessment template.
- Specified by:
listTagsForResourceAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Lists all tags associated with an assessment template.
- Specified by:
listTagsForResourceAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
- Specified by:
previewAgentsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the PreviewAgents operation returned by the service.
-
previewAgentsAsync
public Future<PreviewAgentsResult> previewAgentsAsync(PreviewAgentsRequest request, AsyncHandler<PreviewAgentsRequest, PreviewAgentsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
- Specified by:
previewAgentsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
registerCrossAccountAccessRoleAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the service.
-
registerCrossAccountAccessRoleAsync
public Future<RegisterCrossAccountAccessRoleResult> registerCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request, AsyncHandler<RegisterCrossAccountAccessRoleRequest, RegisterCrossAccountAccessRoleResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
registerCrossAccountAccessRoleAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
removeAttributesFromFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the RemoveAttributesFromFindings operation returned by the service.
-
removeAttributesFromFindingsAsync
public Future<RemoveAttributesFromFindingsResult> removeAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request, AsyncHandler<RemoveAttributesFromFindingsRequest, RemoveAttributesFromFindingsResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
removeAttributesFromFindingsAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
- Specified by:
setTagsForResourceAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetTagsForResource operation returned by the service.
-
setTagsForResourceAsync
public Future<SetTagsForResourceResult> setTagsForResourceAsync(SetTagsForResourceRequest request, AsyncHandler<SetTagsForResourceRequest, SetTagsForResourceResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
- Specified by:
setTagsForResourceAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
startAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the StartAssessmentRun operation returned by the service.
-
startAssessmentRunAsync
public Future<StartAssessmentRunResult> startAssessmentRunAsync(StartAssessmentRunRequest request, AsyncHandler<StartAssessmentRunRequest, StartAssessmentRunResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
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.
- Specified by:
startAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Stops the assessment run that is specified by the ARN of the assessment run.
- Specified by:
stopAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the StopAssessmentRun operation returned by the service.
-
stopAssessmentRunAsync
public Future<StopAssessmentRunResult> stopAssessmentRunAsync(StopAssessmentRunRequest request, AsyncHandler<StopAssessmentRunRequest, StopAssessmentRunResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Stops the assessment run that is specified by the ARN of the assessment run.
- Specified by:
stopAssessmentRunAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
Description copied from interface:AmazonInspectorAsync
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Specified by:
subscribeToEventAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SubscribeToEvent operation returned by the service.
-
subscribeToEventAsync
public Future<SubscribeToEventResult> subscribeToEventAsync(SubscribeToEventRequest request, AsyncHandler<SubscribeToEventRequest, SubscribeToEventResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Specified by:
subscribeToEventAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest request) Description copied from interface:AmazonInspectorAsync
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Specified by:
unsubscribeFromEventAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UnsubscribeFromEvent operation returned by the service.
-
unsubscribeFromEventAsync
public Future<UnsubscribeFromEventResult> unsubscribeFromEventAsync(UnsubscribeFromEventRequest request, AsyncHandler<UnsubscribeFromEventRequest, UnsubscribeFromEventResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- Specified by:
unsubscribeFromEventAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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
public Future<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request) Description copied from interface:AmazonInspectorAsync
Updates the assessment target that is specified by the ARN of the assessment target.
- Specified by:
updateAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service.
-
updateAssessmentTargetAsync
public Future<UpdateAssessmentTargetResult> updateAssessmentTargetAsync(UpdateAssessmentTargetRequest request, AsyncHandler<UpdateAssessmentTargetRequest, UpdateAssessmentTargetResult> asyncHandler) Description copied from interface:AmazonInspectorAsync
Updates the assessment target that is specified by the ARN of the assessment target.
- Specified by:
updateAssessmentTargetAsync
in interfaceAmazonInspectorAsync
- Parameters:
request
-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.
-