All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.inspector.AmazonInspectorAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Inspector Service module holds the client classes that are used for communicating with Amazon Inspector Service

There is a newer version: 1.11.8
Show newest version
/*
 * Copyright 2011-2016 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 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.
 * 

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

*/ 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 */ 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 */ 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. 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 */ java.util.concurrent.Future 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. *

* * @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 */ 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. *

* * @param createAssessmentTemplateRequest * @return A Java Future containing the result of the CreateAssessmentTemplate operation returned by the service. * @sample AmazonInspectorAsync.CreateAssessmentTemplate */ 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. *

* * @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 */ java.util.concurrent.Future createAssessmentTemplateAsync(CreateAssessmentTemplateRequest createAssessmentTemplateRequest, 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ java.util.concurrent.Future describeCrossAccountAccessRoleAsync( DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest, 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ java.util.concurrent.Future describeRulesPackagesAsync(DescribeRulesPackagesRequest describeRulesPackagesRequest, 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ java.util.concurrent.Future listEventSubscriptionsAsync(ListEventSubscriptionsRequest listEventSubscriptionsRequest, 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ java.util.concurrent.Future previewAgentsAsync(PreviewAgentsRequest previewAgentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run * or when you call the PreviewAgents action. *

* * @param registerCrossAccountAccessRoleRequest * @return A Java Future containing the result of the RegisterCrossAccountAccessRole operation returned by the * service. * @sample AmazonInspectorAsync.RegisterCrossAccountAccessRole */ java.util.concurrent.Future 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. *

* * @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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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. *

* * @param updateAssessmentTargetRequest * @return A Java Future containing the result of the UpdateAssessmentTarget operation returned by the service. * @sample AmazonInspectorAsync.UpdateAssessmentTarget */ java.util.concurrent.Future updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest); /** *

* Updates the assessment target that is specified by the ARN of 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 */ java.util.concurrent.Future updateAssessmentTargetAsync(UpdateAssessmentTargetRequest updateAssessmentTargetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy