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 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.
      • 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.
      • 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.
      • 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.