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 an AsyncHandler 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 Details

    • 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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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.