com.amazonaws.services.inspector.AmazonInspectorAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-inspector Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.inspector;
import javax.annotation.Generated;
import com.amazonaws.services.inspector.model.*;
/**
* Interface for accessing Amazon Inspector asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.inspector.AbstractAmazonInspectorAsync} instead.
*
*
* 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.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonInspectorAsync extends AmazonInspector {
/**
*
* Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
*
*
* @param addAttributesToFindingsRequest
* @return A Java Future containing the result of the AddAttributesToFindings operation returned by the service.
* @sample AmazonInspectorAsync.AddAttributesToFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest);
/**
*
* Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
*
*
* @param addAttributesToFindingsRequest
* @param 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.
* @return A Java Future containing the result of the AddAttributesToFindings operation returned by the service.
* @sample AmazonInspectorAsyncHandler.AddAttributesToFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future addAttributesToFindingsAsync(AddAttributesToFindingsRequest addAttributesToFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new assessment target using the ARN of the resource group that is generated by
* CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account
* and region are included in the assessment target. If the service-linked role isn’t
* already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access
* to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS
* account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector
* Assessment Targets.
*
*
* @param createAssessmentTargetRequest
* @return A Java Future containing the result of the CreateAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsync.CreateAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest);
/**
*
* Creates a new assessment target using the ARN of the resource group that is generated by
* CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account
* and region are included in the assessment target. If the service-linked role isn’t
* already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access
* to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS
* account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector
* Assessment Targets.
*
*
* @param createAssessmentTargetRequest
* @param 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.
* @return A Java Future containing the result of the CreateAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsyncHandler.CreateAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future createAssessmentTargetAsync(CreateAssessmentTargetRequest createAssessmentTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
* If the service-linked
* role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon
* Inspector access to AWS Services needed to perform security assessments.
*
*
* @param createAssessmentTemplateRequest
* @return A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service.
* @sample AmazonInspectorAsync.CreateAssessmentTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest);
/**
*
* Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
* If the service-linked
* role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon
* Inspector access to AWS Services needed to perform security assessments.
*
*
* @param createAssessmentTemplateRequest
* @param 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.
* @return A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service.
* @sample AmazonInspectorAsyncHandler.CreateAssessmentTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview
* lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
*
*
* @param createExclusionsPreviewRequest
* @return A Java Future containing the result of the CreateExclusionsPreview operation returned by the service.
* @sample AmazonInspectorAsync.CreateExclusionsPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future createExclusionsPreviewAsync(CreateExclusionsPreviewRequest createExclusionsPreviewRequest);
/**
*
* Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview
* lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
*
*
* @param createExclusionsPreviewRequest
* @param 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.
* @return A Java Future containing the result of the CreateExclusionsPreview operation returned by the service.
* @sample AmazonInspectorAsyncHandler.CreateExclusionsPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future createExclusionsPreviewAsync(CreateExclusionsPreviewRequest createExclusionsPreviewRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param createResourceGroupRequest
* @return A Java Future containing the result of the CreateResourceGroup operation returned by the service.
* @sample AmazonInspectorAsync.CreateResourceGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param createResourceGroupRequest
* @param 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.
* @return A Java Future containing the result of the CreateResourceGroup operation returned by the service.
* @sample AmazonInspectorAsyncHandler.CreateResourceGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createResourceGroupAsync(CreateResourceGroupRequest createResourceGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the assessment run that is specified by the ARN of the assessment run.
*
*
* @param deleteAssessmentRunRequest
* @return A Java Future containing the result of the DeleteAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsync.DeleteAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAssessmentRunAsync(DeleteAssessmentRunRequest deleteAssessmentRunRequest);
/**
*
* Deletes the assessment run that is specified by the ARN of the assessment run.
*
*
* @param deleteAssessmentRunRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DeleteAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAssessmentRunAsync(DeleteAssessmentRunRequest deleteAssessmentRunRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the assessment target that is specified by the ARN of the assessment target.
*
*
* @param deleteAssessmentTargetRequest
* @return A Java Future containing the result of the DeleteAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsync.DeleteAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest);
/**
*
* Deletes the assessment target that is specified by the ARN of the assessment target.
*
*
* @param deleteAssessmentTargetRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DeleteAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAssessmentTargetAsync(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the assessment template that is specified by the ARN of the assessment template.
*
*
* @param deleteAssessmentTemplateRequest
* @return A Java Future containing the result of the DeleteAssessmentTemplate operation returned by the service.
* @sample AmazonInspectorAsync.DeleteAssessmentTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest);
/**
*
* Deletes the assessment template that is specified by the ARN of the assessment template.
*
*
* @param deleteAssessmentTemplateRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAssessmentTemplate operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DeleteAssessmentTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param describeAssessmentRunsRequest
* @return A Java Future containing the result of the DescribeAssessmentRuns operation returned by the service.
* @sample AmazonInspectorAsync.DescribeAssessmentRuns
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest);
/**
*
* Describes the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param describeAssessmentRunsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeAssessmentRuns operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeAssessmentRuns
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentRunsAsync(DescribeAssessmentRunsRequest describeAssessmentRunsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the assessment targets that are specified by the ARNs of the assessment targets.
*
*
* @param describeAssessmentTargetsRequest
* @return A Java Future containing the result of the DescribeAssessmentTargets operation returned by the service.
* @sample AmazonInspectorAsync.DescribeAssessmentTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentTargetsAsync(
DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest);
/**
*
* Describes the assessment targets that are specified by the ARNs of the assessment targets.
*
*
* @param describeAssessmentTargetsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeAssessmentTargets operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeAssessmentTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentTargetsAsync(
DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the assessment templates that are specified by the ARNs of the assessment templates.
*
*
* @param describeAssessmentTemplatesRequest
* @return A Java Future containing the result of the DescribeAssessmentTemplates operation returned by the service.
* @sample AmazonInspectorAsync.DescribeAssessmentTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentTemplatesAsync(
DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest);
/**
*
* Describes the assessment templates that are specified by the ARNs of the assessment templates.
*
*
* @param describeAssessmentTemplatesRequest
* @param 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.
* @return A Java Future containing the result of the DescribeAssessmentTemplates operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeAssessmentTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future describeAssessmentTemplatesAsync(
DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the IAM role that enables Amazon Inspector to access your AWS account.
*
*
* @param describeCrossAccountAccessRoleRequest
* @return A Java Future containing the result of the DescribeCrossAccountAccessRole operation returned by the
* service.
* @sample AmazonInspectorAsync.DescribeCrossAccountAccessRole
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCrossAccountAccessRoleAsync(
DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest);
/**
*
* Describes the IAM role that enables Amazon Inspector to access your AWS account.
*
*
* @param describeCrossAccountAccessRoleRequest
* @param 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.
* @return A Java Future containing the result of the DescribeCrossAccountAccessRole operation returned by the
* service.
* @sample AmazonInspectorAsyncHandler.DescribeCrossAccountAccessRole
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCrossAccountAccessRoleAsync(
DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the exclusions that are specified by the exclusions' ARNs.
*
*
* @param describeExclusionsRequest
* @return A Java Future containing the result of the DescribeExclusions operation returned by the service.
* @sample AmazonInspectorAsync.DescribeExclusions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeExclusionsAsync(DescribeExclusionsRequest describeExclusionsRequest);
/**
*
* Describes the exclusions that are specified by the exclusions' ARNs.
*
*
* @param describeExclusionsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeExclusions operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeExclusions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeExclusionsAsync(DescribeExclusionsRequest describeExclusionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the findings that are specified by the ARNs of the findings.
*
*
* @param describeFindingsRequest
* @return A Java Future containing the result of the DescribeFindings operation returned by the service.
* @sample AmazonInspectorAsync.DescribeFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest);
/**
*
* Describes the findings that are specified by the ARNs of the findings.
*
*
* @param describeFindingsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeFindings operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeFindingsAsync(DescribeFindingsRequest describeFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the resource groups that are specified by the ARNs of the resource groups.
*
*
* @param describeResourceGroupsRequest
* @return A Java Future containing the result of the DescribeResourceGroups operation returned by the service.
* @sample AmazonInspectorAsync.DescribeResourceGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest);
/**
*
* Describes the resource groups that are specified by the ARNs of the resource groups.
*
*
* @param describeResourceGroupsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeResourceGroups operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeResourceGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future describeResourceGroupsAsync(DescribeResourceGroupsRequest describeResourceGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the rules packages that are specified by the ARNs of the rules packages.
*
*
* @param describeRulesPackagesRequest
* @return A Java Future containing the result of the DescribeRulesPackages operation returned by the service.
* @sample AmazonInspectorAsync.DescribeRulesPackages
* @see AWS API Documentation
*/
java.util.concurrent.Future describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest);
/**
*
* Describes the rules packages that are specified by the ARNs of the rules packages.
*
*
* @param describeRulesPackagesRequest
* @param 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.
* @return A Java Future containing the result of the DescribeRulesPackages operation returned by the service.
* @sample AmazonInspectorAsyncHandler.DescribeRulesPackages
* @see AWS API Documentation
*/
java.util.concurrent.Future describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
*
*
* @param getAssessmentReportRequest
* @return A Java Future containing the result of the GetAssessmentReport operation returned by the service.
* @sample AmazonInspectorAsync.GetAssessmentReport
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getAssessmentReportAsync(GetAssessmentReportRequest getAssessmentReportRequest);
/**
*
* Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
*
*
* @param getAssessmentReportRequest
* @param 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.
* @return A Java Future containing the result of the GetAssessmentReport operation returned by the service.
* @sample AmazonInspectorAsyncHandler.GetAssessmentReport
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getAssessmentReportAsync(GetAssessmentReportRequest getAssessmentReportRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can
* obtain the preview token by running the CreateExclusionsPreview API.
*
*
* @param getExclusionsPreviewRequest
* @return A Java Future containing the result of the GetExclusionsPreview operation returned by the service.
* @sample AmazonInspectorAsync.GetExclusionsPreview
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getExclusionsPreviewAsync(GetExclusionsPreviewRequest getExclusionsPreviewRequest);
/**
*
* Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can
* obtain the preview token by running the CreateExclusionsPreview API.
*
*
* @param getExclusionsPreviewRequest
* @param 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.
* @return A Java Future containing the result of the GetExclusionsPreview operation returned by the service.
* @sample AmazonInspectorAsyncHandler.GetExclusionsPreview
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getExclusionsPreviewAsync(GetExclusionsPreviewRequest getExclusionsPreviewRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Information about the data that is collected for the specified assessment run.
*
*
* @param getTelemetryMetadataRequest
* @return A Java Future containing the result of the GetTelemetryMetadata operation returned by the service.
* @sample AmazonInspectorAsync.GetTelemetryMetadata
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest);
/**
*
* Information about the data that is collected for the specified assessment run.
*
*
* @param getTelemetryMetadataRequest
* @param 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.
* @return A Java Future containing the result of the GetTelemetryMetadata operation returned by the service.
* @sample AmazonInspectorAsyncHandler.GetTelemetryMetadata
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getTelemetryMetadataAsync(GetTelemetryMetadataRequest getTelemetryMetadataRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param listAssessmentRunAgentsRequest
* @return A Java Future containing the result of the ListAssessmentRunAgents operation returned by the service.
* @sample AmazonInspectorAsync.ListAssessmentRunAgents
* @see AWS API Documentation
*/
java.util.concurrent.Future listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest);
/**
*
* Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param listAssessmentRunAgentsRequest
* @param 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.
* @return A Java Future containing the result of the ListAssessmentRunAgents operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListAssessmentRunAgents
* @see AWS API Documentation
*/
java.util.concurrent.Future listAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
* assessment templates.
*
*
* @param listAssessmentRunsRequest
* @return A Java Future containing the result of the ListAssessmentRuns operation returned by the service.
* @sample AmazonInspectorAsync.ListAssessmentRuns
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAssessmentRunsAsync(ListAssessmentRunsRequest listAssessmentRunsRequest);
/**
*
* Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
* assessment templates.
*
*
* @param listAssessmentRunsRequest
* @param 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.
* @return A Java Future containing the result of the ListAssessmentRuns operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListAssessmentRuns
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAssessmentRunsAsync(ListAssessmentRunsRequest listAssessmentRunsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets,
* see Amazon Inspector
* Assessment Targets.
*
*
* @param listAssessmentTargetsRequest
* @return A Java Future containing the result of the ListAssessmentTargets operation returned by the service.
* @sample AmazonInspectorAsync.ListAssessmentTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param listAssessmentTargetsRequest
* @param 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.
* @return A Java Future containing the result of the ListAssessmentTargets operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListAssessmentTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future listAssessmentTargetsAsync(ListAssessmentTargetsRequest listAssessmentTargetsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
* assessment targets.
*
*
* @param listAssessmentTemplatesRequest
* @return A Java Future containing the result of the ListAssessmentTemplates operation returned by the service.
* @sample AmazonInspectorAsync.ListAssessmentTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest);
/**
*
* Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
* assessment targets.
*
*
* @param listAssessmentTemplatesRequest
* @param 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.
* @return A Java Future containing the result of the ListAssessmentTemplates operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListAssessmentTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future listAssessmentTemplatesAsync(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param listEventSubscriptionsRequest
* @return A Java Future containing the result of the ListEventSubscriptions operation returned by the service.
* @sample AmazonInspectorAsync.ListEventSubscriptions
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param listEventSubscriptionsRequest
* @param 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.
* @return A Java Future containing the result of the ListEventSubscriptions operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListEventSubscriptions
* @see AWS API Documentation
*/
java.util.concurrent.Future listEventSubscriptionsAsync(ListEventSubscriptionsRequest listEventSubscriptionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List exclusions that are generated by the assessment run.
*
*
* @param listExclusionsRequest
* @return A Java Future containing the result of the ListExclusions operation returned by the service.
* @sample AmazonInspectorAsync.ListExclusions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listExclusionsAsync(ListExclusionsRequest listExclusionsRequest);
/**
*
* List exclusions that are generated by the assessment run.
*
*
* @param listExclusionsRequest
* @param 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.
* @return A Java Future containing the result of the ListExclusions operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListExclusions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listExclusionsAsync(ListExclusionsRequest listExclusionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param listFindingsRequest
* @return A Java Future containing the result of the ListFindings operation returned by the service.
* @sample AmazonInspectorAsync.ListFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listFindingsAsync(ListFindingsRequest listFindingsRequest);
/**
*
* Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
*
*
* @param listFindingsRequest
* @param 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.
* @return A Java Future containing the result of the ListFindings operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listFindingsAsync(ListFindingsRequest listFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all available Amazon Inspector rules packages.
*
*
* @param listRulesPackagesRequest
* @return A Java Future containing the result of the ListRulesPackages operation returned by the service.
* @sample AmazonInspectorAsync.ListRulesPackages
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listRulesPackagesAsync(ListRulesPackagesRequest listRulesPackagesRequest);
/**
*
* Lists all available Amazon Inspector rules packages.
*
*
* @param listRulesPackagesRequest
* @param 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.
* @return A Java Future containing the result of the ListRulesPackages operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListRulesPackages
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listRulesPackagesAsync(ListRulesPackagesRequest listRulesPackagesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all tags associated with an assessment template.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonInspectorAsync.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists all tags associated with an assessment template.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonInspectorAsyncHandler.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Previews the agents installed on the EC2 instances that are part of the specified assessment target.
*
*
* @param previewAgentsRequest
* @return A Java Future containing the result of the PreviewAgents operation returned by the service.
* @sample AmazonInspectorAsync.PreviewAgents
* @see AWS API
* Documentation
*/
java.util.concurrent.Future previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest);
/**
*
* Previews the agents installed on the EC2 instances that are part of the specified assessment target.
*
*
* @param previewAgentsRequest
* @param 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.
* @return A Java Future containing the result of the PreviewAgents operation returned by the service.
* @sample AmazonInspectorAsyncHandler.PreviewAgents
* @see AWS API
* Documentation
*/
java.util.concurrent.Future previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
* assessments.
*
*
* @param registerCrossAccountAccessRoleRequest
* @return A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the
* service.
* @sample AmazonInspectorAsync.RegisterCrossAccountAccessRole
* @see AWS API Documentation
*/
java.util.concurrent.Future registerCrossAccountAccessRoleAsync(
RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest);
/**
*
* Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
* assessments.
*
*
* @param registerCrossAccountAccessRoleRequest
* @param 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.
* @return A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the
* service.
* @sample AmazonInspectorAsyncHandler.RegisterCrossAccountAccessRole
* @see AWS API Documentation
*/
java.util.concurrent.Future registerCrossAccountAccessRoleAsync(
RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param removeAttributesFromFindingsRequest
* @return A Java Future containing the result of the RemoveAttributesFromFindings operation returned by the
* service.
* @sample AmazonInspectorAsync.RemoveAttributesFromFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param removeAttributesFromFindingsRequest
* @param 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.
* @return A Java Future containing the result of the RemoveAttributesFromFindings operation returned by the
* service.
* @sample AmazonInspectorAsyncHandler.RemoveAttributesFromFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future removeAttributesFromFindingsAsync(
RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
* template.
*
*
* @param setTagsForResourceRequest
* @return A Java Future containing the result of the SetTagsForResource operation returned by the service.
* @sample AmazonInspectorAsync.SetTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future setTagsForResourceAsync(SetTagsForResourceRequest setTagsForResourceRequest);
/**
*
* Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
* template.
*
*
* @param setTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the SetTagsForResource operation returned by the service.
* @sample AmazonInspectorAsyncHandler.SetTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future setTagsForResourceAsync(SetTagsForResourceRequest setTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param startAssessmentRunRequest
* @return A Java Future containing the result of the StartAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsync.StartAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param startAssessmentRunRequest
* @param 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.
* @return A Java Future containing the result of the StartAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsyncHandler.StartAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future startAssessmentRunAsync(StartAssessmentRunRequest startAssessmentRunRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Stops the assessment run that is specified by the ARN of the assessment run.
*
*
* @param stopAssessmentRunRequest
* @return A Java Future containing the result of the StopAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsync.StopAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest);
/**
*
* Stops the assessment run that is specified by the ARN of the assessment run.
*
*
* @param stopAssessmentRunRequest
* @param 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.
* @return A Java Future containing the result of the StopAssessmentRun operation returned by the service.
* @sample AmazonInspectorAsyncHandler.StopAssessmentRun
* @see AWS
* API Documentation
*/
java.util.concurrent.Future stopAssessmentRunAsync(StopAssessmentRunRequest stopAssessmentRunRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
* a specified SNS topic.
*
*
* @param subscribeToEventRequest
* @return A Java Future containing the result of the SubscribeToEvent operation returned by the service.
* @sample AmazonInspectorAsync.SubscribeToEvent
* @see AWS API
* Documentation
*/
java.util.concurrent.Future subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest);
/**
*
* Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
* a specified SNS topic.
*
*
* @param subscribeToEventRequest
* @param 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.
* @return A Java Future containing the result of the SubscribeToEvent operation returned by the service.
* @sample AmazonInspectorAsyncHandler.SubscribeToEvent
* @see AWS API
* Documentation
*/
java.util.concurrent.Future subscribeToEventAsync(SubscribeToEventRequest subscribeToEventRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
* a specified SNS topic.
*
*
* @param unsubscribeFromEventRequest
* @return A Java Future containing the result of the UnsubscribeFromEvent operation returned by the service.
* @sample AmazonInspectorAsync.UnsubscribeFromEvent
* @see AWS
* API Documentation
*/
java.util.concurrent.Future unsubscribeFromEventAsync(UnsubscribeFromEventRequest unsubscribeFromEventRequest);
/**
*
* Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
* a specified SNS topic.
*
*
* @param unsubscribeFromEventRequest
* @param 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.
* @return A Java Future containing the result of the UnsubscribeFromEvent operation returned by the service.
* @sample AmazonInspectorAsyncHandler.UnsubscribeFromEvent
* @see AWS
* API Documentation
*/
java.util.concurrent.Future unsubscribeFromEventAsync(UnsubscribeFromEventRequest unsubscribeFromEventRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the assessment target that is specified by the ARN of the assessment target.
*
*
* If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the
* assessment target.
*
*
* @param updateAssessmentTargetRequest
* @return A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsync.UpdateAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest);
/**
*
* Updates the assessment target that is specified by the ARN of the assessment target.
*
*
* If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the
* assessment target.
*
*
* @param updateAssessmentTargetRequest
* @param 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.
* @return A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service.
* @sample AmazonInspectorAsyncHandler.UpdateAssessmentTarget
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}