
com.amazonaws.services.accessanalyzer.AWSAccessAnalyzerAsync Maven / Gradle / Ivy
/*
* Copyright 2018-2023 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.accessanalyzer;
import javax.annotation.Generated;
import com.amazonaws.services.accessanalyzer.model.*;
/**
* Interface for accessing Access Analyzer 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.accessanalyzer.AbstractAWSAccessAnalyzerAsync} instead.
*
*
*
* Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
* identify any policies that grant access to an external principal. It does this by using logic-based reasoning to
* analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon
* Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an
* anonymous user. You can also use IAM Access Analyzer to preview and validate public and cross-account access to your
* resources before deploying permissions changes. This guide describes the Identity and Access Management Access
* Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management
* Access Analyzer in the IAM User Guide.
*
*
* To start using IAM Access Analyzer, you first need to create an analyzer.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSAccessAnalyzerAsync extends AWSAccessAnalyzer {
/**
*
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
*
*
* @param applyArchiveRuleRequest
* Retroactively applies an archive rule.
* @return A Java Future containing the result of the ApplyArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ApplyArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest);
/**
*
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
*
*
* @param applyArchiveRuleRequest
* Retroactively applies an archive rule.
* @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 ApplyArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ApplyArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Cancels the requested policy generation.
*
*
* @param cancelPolicyGenerationRequest
* @return A Java Future containing the result of the CancelPolicyGeneration operation returned by the service.
* @sample AWSAccessAnalyzerAsync.CancelPolicyGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelPolicyGenerationAsync(CancelPolicyGenerationRequest cancelPolicyGenerationRequest);
/**
*
* Cancels the requested policy generation.
*
*
* @param cancelPolicyGenerationRequest
* @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 CancelPolicyGeneration operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.CancelPolicyGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelPolicyGenerationAsync(CancelPolicyGenerationRequest cancelPolicyGenerationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before
* deploying resource permissions.
*
*
* @param createAccessPreviewRequest
* @return A Java Future containing the result of the CreateAccessPreview operation returned by the service.
* @sample AWSAccessAnalyzerAsync.CreateAccessPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future createAccessPreviewAsync(CreateAccessPreviewRequest createAccessPreviewRequest);
/**
*
* Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before
* deploying resource permissions.
*
*
* @param createAccessPreviewRequest
* @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 CreateAccessPreview operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.CreateAccessPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future createAccessPreviewAsync(CreateAccessPreviewRequest createAccessPreviewRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an analyzer for your account.
*
*
* @param createAnalyzerRequest
* Creates an analyzer.
* @return A Java Future containing the result of the CreateAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsync.CreateAnalyzer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createAnalyzerAsync(CreateAnalyzerRequest createAnalyzerRequest);
/**
*
* Creates an analyzer for your account.
*
*
* @param createAnalyzerRequest
* Creates an analyzer.
* @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 CreateAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.CreateAnalyzer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createAnalyzerAsync(CreateAnalyzerRequest createAnalyzerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
* the criteria you define when you create the rule.
*
*
* To learn about filter keys that you can use to create an archive rule, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param createArchiveRuleRequest
* Creates an archive rule.
* @return A Java Future containing the result of the CreateArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsync.CreateArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future createArchiveRuleAsync(CreateArchiveRuleRequest createArchiveRuleRequest);
/**
*
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
* the criteria you define when you create the rule.
*
*
* To learn about filter keys that you can use to create an archive rule, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param createArchiveRuleRequest
* Creates an archive rule.
* @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 CreateArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.CreateArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future createArchiveRuleAsync(CreateArchiveRuleRequest createArchiveRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled for the account or
* organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You
* cannot undo this action.
*
*
* @param deleteAnalyzerRequest
* Deletes an analyzer.
* @return A Java Future containing the result of the DeleteAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsync.DeleteAnalyzer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAnalyzerAsync(DeleteAnalyzerRequest deleteAnalyzerRequest);
/**
*
* Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled for the account or
* organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You
* cannot undo this action.
*
*
* @param deleteAnalyzerRequest
* Deletes an analyzer.
* @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 DeleteAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.DeleteAnalyzer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAnalyzerAsync(DeleteAnalyzerRequest deleteAnalyzerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified archive rule.
*
*
* @param deleteArchiveRuleRequest
* Deletes an archive rule.
* @return A Java Future containing the result of the DeleteArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsync.DeleteArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteArchiveRuleAsync(DeleteArchiveRuleRequest deleteArchiveRuleRequest);
/**
*
* Deletes the specified archive rule.
*
*
* @param deleteArchiveRuleRequest
* Deletes an archive rule.
* @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 DeleteArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.DeleteArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteArchiveRuleAsync(DeleteArchiveRuleRequest deleteArchiveRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about an access preview for the specified analyzer.
*
*
* @param getAccessPreviewRequest
* @return A Java Future containing the result of the GetAccessPreview operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetAccessPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future getAccessPreviewAsync(GetAccessPreviewRequest getAccessPreviewRequest);
/**
*
* Retrieves information about an access preview for the specified analyzer.
*
*
* @param getAccessPreviewRequest
* @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 GetAccessPreview operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetAccessPreview
* @see AWS API Documentation
*/
java.util.concurrent.Future getAccessPreviewAsync(GetAccessPreviewRequest getAccessPreviewRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about a resource that was analyzed.
*
*
* @param getAnalyzedResourceRequest
* Retrieves an analyzed resource.
* @return A Java Future containing the result of the GetAnalyzedResource operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetAnalyzedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future getAnalyzedResourceAsync(GetAnalyzedResourceRequest getAnalyzedResourceRequest);
/**
*
* Retrieves information about a resource that was analyzed.
*
*
* @param getAnalyzedResourceRequest
* Retrieves an analyzed resource.
* @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 GetAnalyzedResource operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetAnalyzedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future getAnalyzedResourceAsync(GetAnalyzedResourceRequest getAnalyzedResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about the specified analyzer.
*
*
* @param getAnalyzerRequest
* Retrieves an analyzer.
* @return A Java Future containing the result of the GetAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetAnalyzer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnalyzerAsync(GetAnalyzerRequest getAnalyzerRequest);
/**
*
* Retrieves information about the specified analyzer.
*
*
* @param getAnalyzerRequest
* Retrieves an analyzer.
* @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 GetAnalyzer operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetAnalyzer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnalyzerAsync(GetAnalyzerRequest getAnalyzerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about an archive rule.
*
*
* To learn about filter keys that you can use to create an archive rule, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param getArchiveRuleRequest
* Retrieves an archive rule.
* @return A Java Future containing the result of the GetArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetArchiveRule
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getArchiveRuleAsync(GetArchiveRuleRequest getArchiveRuleRequest);
/**
*
* Retrieves information about an archive rule.
*
*
* To learn about filter keys that you can use to create an archive rule, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param getArchiveRuleRequest
* Retrieves an archive rule.
* @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 GetArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetArchiveRule
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getArchiveRuleAsync(GetArchiveRuleRequest getArchiveRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves information about the specified finding.
*
*
* @param getFindingRequest
* Retrieves a finding.
* @return A Java Future containing the result of the GetFinding operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetFinding
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getFindingAsync(GetFindingRequest getFindingRequest);
/**
*
* Retrieves information about the specified finding.
*
*
* @param getFindingRequest
* Retrieves a finding.
* @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 GetFinding operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetFinding
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getFindingAsync(GetFindingRequest getFindingRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the policy that was generated using StartPolicyGeneration
.
*
*
* @param getGeneratedPolicyRequest
* @return A Java Future containing the result of the GetGeneratedPolicy operation returned by the service.
* @sample AWSAccessAnalyzerAsync.GetGeneratedPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getGeneratedPolicyAsync(GetGeneratedPolicyRequest getGeneratedPolicyRequest);
/**
*
* Retrieves the policy that was generated using StartPolicyGeneration
.
*
*
* @param getGeneratedPolicyRequest
* @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 GetGeneratedPolicy operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.GetGeneratedPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getGeneratedPolicyAsync(GetGeneratedPolicyRequest getGeneratedPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of access preview findings generated by the specified access preview.
*
*
* @param listAccessPreviewFindingsRequest
* @return A Java Future containing the result of the ListAccessPreviewFindings operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListAccessPreviewFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessPreviewFindingsAsync(
ListAccessPreviewFindingsRequest listAccessPreviewFindingsRequest);
/**
*
* Retrieves a list of access preview findings generated by the specified access preview.
*
*
* @param listAccessPreviewFindingsRequest
* @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 ListAccessPreviewFindings operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListAccessPreviewFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessPreviewFindingsAsync(
ListAccessPreviewFindingsRequest listAccessPreviewFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of access previews for the specified analyzer.
*
*
* @param listAccessPreviewsRequest
* @return A Java Future containing the result of the ListAccessPreviews operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListAccessPreviews
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessPreviewsAsync(ListAccessPreviewsRequest listAccessPreviewsRequest);
/**
*
* Retrieves a list of access previews for the specified analyzer.
*
*
* @param listAccessPreviewsRequest
* @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 ListAccessPreviews operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListAccessPreviews
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessPreviewsAsync(ListAccessPreviewsRequest listAccessPreviewsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
*
*
* @param listAnalyzedResourcesRequest
* Retrieves a list of resources that have been analyzed.
* @return A Java Future containing the result of the ListAnalyzedResources operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListAnalyzedResources
* @see AWS API Documentation
*/
java.util.concurrent.Future listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest listAnalyzedResourcesRequest);
/**
*
* Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
*
*
* @param listAnalyzedResourcesRequest
* Retrieves a list of resources that have been analyzed.
* @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 ListAnalyzedResources operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListAnalyzedResources
* @see AWS API Documentation
*/
java.util.concurrent.Future listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest listAnalyzedResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of analyzers.
*
*
* @param listAnalyzersRequest
* Retrieves a list of analyzers.
* @return A Java Future containing the result of the ListAnalyzers operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListAnalyzers
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAnalyzersAsync(ListAnalyzersRequest listAnalyzersRequest);
/**
*
* Retrieves a list of analyzers.
*
*
* @param listAnalyzersRequest
* Retrieves a list of analyzers.
* @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 ListAnalyzers operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListAnalyzers
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAnalyzersAsync(ListAnalyzersRequest listAnalyzersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of archive rules created for the specified analyzer.
*
*
* @param listArchiveRulesRequest
* Retrieves a list of archive rules created for the specified analyzer.
* @return A Java Future containing the result of the ListArchiveRules operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListArchiveRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listArchiveRulesAsync(ListArchiveRulesRequest listArchiveRulesRequest);
/**
*
* Retrieves a list of archive rules created for the specified analyzer.
*
*
* @param listArchiveRulesRequest
* Retrieves a list of archive rules created for the specified analyzer.
* @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 ListArchiveRules operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListArchiveRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listArchiveRulesAsync(ListArchiveRulesRequest listArchiveRulesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of findings generated by the specified analyzer.
*
*
* To learn about filter keys that you can use to retrieve a list of findings, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param listFindingsRequest
* Retrieves a list of findings generated by the specified analyzer.
* @return A Java Future containing the result of the ListFindings operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListFindings
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listFindingsAsync(ListFindingsRequest listFindingsRequest);
/**
*
* Retrieves a list of findings generated by the specified analyzer.
*
*
* To learn about filter keys that you can use to retrieve a list of findings, see IAM Access
* Analyzer filter keys in the IAM User Guide.
*
*
* @param listFindingsRequest
* Retrieves a list of findings generated by the specified analyzer.
* @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 AWSAccessAnalyzerAsyncHandler.ListFindings
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listFindingsAsync(ListFindingsRequest listFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all of the policy generations requested in the last seven days.
*
*
* @param listPolicyGenerationsRequest
* @return A Java Future containing the result of the ListPolicyGenerations operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListPolicyGenerations
* @see AWS API Documentation
*/
java.util.concurrent.Future listPolicyGenerationsAsync(ListPolicyGenerationsRequest listPolicyGenerationsRequest);
/**
*
* Lists all of the policy generations requested in the last seven days.
*
*
* @param listPolicyGenerationsRequest
* @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 ListPolicyGenerations operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ListPolicyGenerations
* @see AWS API Documentation
*/
java.util.concurrent.Future listPolicyGenerationsAsync(ListPolicyGenerationsRequest listPolicyGenerationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of tags applied to the specified resource.
*
*
* @param listTagsForResourceRequest
* Retrieves a list of tags applied to the specified resource.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Retrieves a list of tags applied to the specified resource.
*
*
* @param listTagsForResourceRequest
* Retrieves a list of tags applied to the specified resource.
* @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 AWSAccessAnalyzerAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts the policy generation request.
*
*
* @param startPolicyGenerationRequest
* @return A Java Future containing the result of the StartPolicyGeneration operation returned by the service.
* @sample AWSAccessAnalyzerAsync.StartPolicyGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future startPolicyGenerationAsync(StartPolicyGenerationRequest startPolicyGenerationRequest);
/**
*
* Starts the policy generation request.
*
*
* @param startPolicyGenerationRequest
* @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 StartPolicyGeneration operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.StartPolicyGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future startPolicyGenerationAsync(StartPolicyGenerationRequest startPolicyGenerationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Immediately starts a scan of the policies applied to the specified resource.
*
*
* @param startResourceScanRequest
* Starts a scan of the policies applied to the specified resource.
* @return A Java Future containing the result of the StartResourceScan operation returned by the service.
* @sample AWSAccessAnalyzerAsync.StartResourceScan
* @see AWS API Documentation
*/
java.util.concurrent.Future startResourceScanAsync(StartResourceScanRequest startResourceScanRequest);
/**
*
* Immediately starts a scan of the policies applied to the specified resource.
*
*
* @param startResourceScanRequest
* Starts a scan of the policies applied to the specified resource.
* @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 StartResourceScan operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.StartResourceScan
* @see AWS API Documentation
*/
java.util.concurrent.Future startResourceScanAsync(StartResourceScanRequest startResourceScanRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds a tag to the specified resource.
*
*
* @param tagResourceRequest
* Adds a tag to the specified resource.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSAccessAnalyzerAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds a tag to the specified resource.
*
*
* @param tagResourceRequest
* Adds a tag to the specified resource.
* @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 TagResource operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes a tag from the specified resource.
*
*
* @param untagResourceRequest
* Removes a tag from the specified resource.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSAccessAnalyzerAsync.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes a tag from the specified resource.
*
*
* @param untagResourceRequest
* Removes a tag from the specified resource.
* @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 UntagResource operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the criteria and values for the specified archive rule.
*
*
* @param updateArchiveRuleRequest
* Updates the specified archive rule.
* @return A Java Future containing the result of the UpdateArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsync.UpdateArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future updateArchiveRuleAsync(UpdateArchiveRuleRequest updateArchiveRuleRequest);
/**
*
* Updates the criteria and values for the specified archive rule.
*
*
* @param updateArchiveRuleRequest
* Updates the specified archive rule.
* @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 UpdateArchiveRule operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.UpdateArchiveRule
* @see AWS API Documentation
*/
java.util.concurrent.Future updateArchiveRuleAsync(UpdateArchiveRuleRequest updateArchiveRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the status for the specified findings.
*
*
* @param updateFindingsRequest
* Updates findings with the new values provided in the request.
* @return A Java Future containing the result of the UpdateFindings operation returned by the service.
* @sample AWSAccessAnalyzerAsync.UpdateFindings
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest);
/**
*
* Updates the status for the specified findings.
*
*
* @param updateFindingsRequest
* Updates findings with the new values provided in the request.
* @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 UpdateFindings operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.UpdateFindings
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Requests the validation of a policy and returns a list of findings. The findings help you identify issues and
* provide actionable recommendations to resolve the issue and enable you to author functional policies that meet
* security best practices.
*
*
* @param validatePolicyRequest
* @return A Java Future containing the result of the ValidatePolicy operation returned by the service.
* @sample AWSAccessAnalyzerAsync.ValidatePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future validatePolicyAsync(ValidatePolicyRequest validatePolicyRequest);
/**
*
* Requests the validation of a policy and returns a list of findings. The findings help you identify issues and
* provide actionable recommendations to resolve the issue and enable you to author functional policies that meet
* security best practices.
*
*
* @param validatePolicyRequest
* @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 ValidatePolicy operation returned by the service.
* @sample AWSAccessAnalyzerAsyncHandler.ValidatePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future validatePolicyAsync(ValidatePolicyRequest validatePolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}