@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSAccessAnalyzerAsync extends AbstractAWSAccessAnalyzer implements AWSAccessAnalyzerAsync
AWSAccessAnalyzerAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXapplyArchiveRule, cancelPolicyGeneration, checkAccessNotGranted, checkNoNewAccess, checkNoPublicAccess, createAccessPreview, createAnalyzer, createArchiveRule, deleteAnalyzer, deleteArchiveRule, generateFindingRecommendation, getAccessPreview, getAnalyzedResource, getAnalyzer, getArchiveRule, getCachedResponseMetadata, getFinding, getFindingRecommendation, getFindingV2, getGeneratedPolicy, listAccessPreviewFindings, listAccessPreviews, listAnalyzedResources, listAnalyzers, listArchiveRules, listFindings, listFindingsV2, listPolicyGenerations, listTagsForResource, shutdown, startPolicyGeneration, startResourceScan, tagResource, untagResource, updateArchiveRule, updateFindings, validatePolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyArchiveRule, cancelPolicyGeneration, checkAccessNotGranted, checkNoNewAccess, checkNoPublicAccess, createAccessPreview, createAnalyzer, createArchiveRule, deleteAnalyzer, deleteArchiveRule, generateFindingRecommendation, getAccessPreview, getAnalyzedResource, getAnalyzer, getArchiveRule, getCachedResponseMetadata, getFinding, getFindingRecommendation, getFindingV2, getGeneratedPolicy, listAccessPreviewFindings, listAccessPreviews, listAnalyzedResources, listAnalyzers, listArchiveRules, listFindings, listFindingsV2, listPolicyGenerations, listTagsForResource, shutdown, startPolicyGeneration, startResourceScan, tagResource, untagResource, updateArchiveRule, updateFindings, validatePolicypublic Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest request)
AWSAccessAnalyzerAsyncRetroactively applies the archive rule to existing findings that meet the archive rule criteria.
applyArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Retroactively applies an archive rule.public Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest request, AsyncHandler<ApplyArchiveRuleRequest,ApplyArchiveRuleResult> asyncHandler)
AWSAccessAnalyzerAsyncRetroactively applies the archive rule to existing findings that meet the archive rule criteria.
applyArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Retroactively applies an archive rule.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.public Future<CancelPolicyGenerationResult> cancelPolicyGenerationAsync(CancelPolicyGenerationRequest request)
AWSAccessAnalyzerAsyncCancels the requested policy generation.
cancelPolicyGenerationAsync in interface AWSAccessAnalyzerAsyncpublic Future<CancelPolicyGenerationResult> cancelPolicyGenerationAsync(CancelPolicyGenerationRequest request, AsyncHandler<CancelPolicyGenerationRequest,CancelPolicyGenerationResult> asyncHandler)
AWSAccessAnalyzerAsyncCancels the requested policy generation.
cancelPolicyGenerationAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<CheckAccessNotGrantedResult> checkAccessNotGrantedAsync(CheckAccessNotGrantedRequest request)
AWSAccessAnalyzerAsyncChecks whether the specified access isn't allowed by a policy.
checkAccessNotGrantedAsync in interface AWSAccessAnalyzerAsyncpublic Future<CheckAccessNotGrantedResult> checkAccessNotGrantedAsync(CheckAccessNotGrantedRequest request, AsyncHandler<CheckAccessNotGrantedRequest,CheckAccessNotGrantedResult> asyncHandler)
AWSAccessAnalyzerAsyncChecks whether the specified access isn't allowed by a policy.
checkAccessNotGrantedAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<CheckNoNewAccessResult> checkNoNewAccessAsync(CheckNoNewAccessRequest request)
AWSAccessAnalyzerAsyncChecks whether new access is allowed for an updated policy when compared to the existing policy.
You can find examples for reference policies and learn how to set up and run a custom policy check for new access
in the IAM Access
Analyzer custom policy checks samples repository on GitHub. The reference policies in this repository are
meant to be passed to the existingPolicyDocument request parameter.
checkNoNewAccessAsync in interface AWSAccessAnalyzerAsyncpublic Future<CheckNoNewAccessResult> checkNoNewAccessAsync(CheckNoNewAccessRequest request, AsyncHandler<CheckNoNewAccessRequest,CheckNoNewAccessResult> asyncHandler)
AWSAccessAnalyzerAsyncChecks whether new access is allowed for an updated policy when compared to the existing policy.
You can find examples for reference policies and learn how to set up and run a custom policy check for new access
in the IAM Access
Analyzer custom policy checks samples repository on GitHub. The reference policies in this repository are
meant to be passed to the existingPolicyDocument request parameter.
checkNoNewAccessAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<CheckNoPublicAccessResult> checkNoPublicAccessAsync(CheckNoPublicAccessRequest request)
AWSAccessAnalyzerAsyncChecks whether a resource policy can grant public access to the specified resource type.
checkNoPublicAccessAsync in interface AWSAccessAnalyzerAsyncpublic Future<CheckNoPublicAccessResult> checkNoPublicAccessAsync(CheckNoPublicAccessRequest request, AsyncHandler<CheckNoPublicAccessRequest,CheckNoPublicAccessResult> asyncHandler)
AWSAccessAnalyzerAsyncChecks whether a resource policy can grant public access to the specified resource type.
checkNoPublicAccessAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<CreateAccessPreviewResult> createAccessPreviewAsync(CreateAccessPreviewRequest request)
AWSAccessAnalyzerAsyncCreates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
createAccessPreviewAsync in interface AWSAccessAnalyzerAsyncpublic Future<CreateAccessPreviewResult> createAccessPreviewAsync(CreateAccessPreviewRequest request, AsyncHandler<CreateAccessPreviewRequest,CreateAccessPreviewResult> asyncHandler)
AWSAccessAnalyzerAsyncCreates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
createAccessPreviewAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest request)
AWSAccessAnalyzerAsyncCreates an analyzer for your account.
createAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Creates an analyzer.public Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest request, AsyncHandler<CreateAnalyzerRequest,CreateAnalyzerResult> asyncHandler)
AWSAccessAnalyzerAsyncCreates an analyzer for your account.
createAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Creates an analyzer.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.public Future<CreateArchiveRuleResult> createArchiveRuleAsync(CreateArchiveRuleRequest request)
AWSAccessAnalyzerAsyncCreates 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.
createArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Creates an archive rule.public Future<CreateArchiveRuleResult> createArchiveRuleAsync(CreateArchiveRuleRequest request, AsyncHandler<CreateArchiveRuleRequest,CreateArchiveRuleResult> asyncHandler)
AWSAccessAnalyzerAsyncCreates 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.
createArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Creates an archive rule.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.public Future<DeleteAnalyzerResult> deleteAnalyzerAsync(DeleteAnalyzerRequest request)
AWSAccessAnalyzerAsyncDeletes 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.
deleteAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Deletes an analyzer.public Future<DeleteAnalyzerResult> deleteAnalyzerAsync(DeleteAnalyzerRequest request, AsyncHandler<DeleteAnalyzerRequest,DeleteAnalyzerResult> asyncHandler)
AWSAccessAnalyzerAsyncDeletes 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.
deleteAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Deletes an analyzer.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.public Future<DeleteArchiveRuleResult> deleteArchiveRuleAsync(DeleteArchiveRuleRequest request)
AWSAccessAnalyzerAsyncDeletes the specified archive rule.
deleteArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Deletes an archive rule.public Future<DeleteArchiveRuleResult> deleteArchiveRuleAsync(DeleteArchiveRuleRequest request, AsyncHandler<DeleteArchiveRuleRequest,DeleteArchiveRuleResult> asyncHandler)
AWSAccessAnalyzerAsyncDeletes the specified archive rule.
deleteArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Deletes an archive rule.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.public Future<GenerateFindingRecommendationResult> generateFindingRecommendationAsync(GenerateFindingRecommendationRequest request)
AWSAccessAnalyzerAsyncCreates a recommendation for an unused permissions finding.
generateFindingRecommendationAsync in interface AWSAccessAnalyzerAsyncpublic Future<GenerateFindingRecommendationResult> generateFindingRecommendationAsync(GenerateFindingRecommendationRequest request, AsyncHandler<GenerateFindingRecommendationRequest,GenerateFindingRecommendationResult> asyncHandler)
AWSAccessAnalyzerAsyncCreates a recommendation for an unused permissions finding.
generateFindingRecommendationAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<GetAccessPreviewResult> getAccessPreviewAsync(GetAccessPreviewRequest request)
AWSAccessAnalyzerAsyncRetrieves information about an access preview for the specified analyzer.
getAccessPreviewAsync in interface AWSAccessAnalyzerAsyncpublic Future<GetAccessPreviewResult> getAccessPreviewAsync(GetAccessPreviewRequest request, AsyncHandler<GetAccessPreviewRequest,GetAccessPreviewResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves information about an access preview for the specified analyzer.
getAccessPreviewAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<GetAnalyzedResourceResult> getAnalyzedResourceAsync(GetAnalyzedResourceRequest request)
AWSAccessAnalyzerAsyncRetrieves information about a resource that was analyzed.
getAnalyzedResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an analyzed resource.public Future<GetAnalyzedResourceResult> getAnalyzedResourceAsync(GetAnalyzedResourceRequest request, AsyncHandler<GetAnalyzedResourceRequest,GetAnalyzedResourceResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves information about a resource that was analyzed.
getAnalyzedResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an analyzed resource.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.public Future<GetAnalyzerResult> getAnalyzerAsync(GetAnalyzerRequest request)
AWSAccessAnalyzerAsyncRetrieves information about the specified analyzer.
getAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an analyzer.public Future<GetAnalyzerResult> getAnalyzerAsync(GetAnalyzerRequest request, AsyncHandler<GetAnalyzerRequest,GetAnalyzerResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves information about the specified analyzer.
getAnalyzerAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an analyzer.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.public Future<GetArchiveRuleResult> getArchiveRuleAsync(GetArchiveRuleRequest request)
AWSAccessAnalyzerAsyncRetrieves 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.
getArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an archive rule.public Future<GetArchiveRuleResult> getArchiveRuleAsync(GetArchiveRuleRequest request, AsyncHandler<GetArchiveRuleRequest,GetArchiveRuleResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves 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.
getArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves an archive rule.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.public Future<GetFindingResult> getFindingAsync(GetFindingRequest request)
AWSAccessAnalyzerAsync
Retrieves information about the specified finding. GetFinding and GetFindingV2 both use
access-analyzer:GetFinding in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:GetFinding action.
getFindingAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a finding.public Future<GetFindingResult> getFindingAsync(GetFindingRequest request, AsyncHandler<GetFindingRequest,GetFindingResult> asyncHandler)
AWSAccessAnalyzerAsync
Retrieves information about the specified finding. GetFinding and GetFindingV2 both use
access-analyzer:GetFinding in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:GetFinding action.
getFindingAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a finding.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.public Future<GetFindingRecommendationResult> getFindingRecommendationAsync(GetFindingRecommendationRequest request)
AWSAccessAnalyzerAsyncRetrieves information about a finding recommendation for the specified analyzer.
getFindingRecommendationAsync in interface AWSAccessAnalyzerAsyncpublic Future<GetFindingRecommendationResult> getFindingRecommendationAsync(GetFindingRecommendationRequest request, AsyncHandler<GetFindingRecommendationRequest,GetFindingRecommendationResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves information about a finding recommendation for the specified analyzer.
getFindingRecommendationAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<GetFindingV2Result> getFindingV2Async(GetFindingV2Request request)
AWSAccessAnalyzerAsync
Retrieves information about the specified finding. GetFinding and GetFindingV2 both use
access-analyzer:GetFinding in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:GetFinding action.
getFindingV2Async in interface AWSAccessAnalyzerAsyncpublic Future<GetFindingV2Result> getFindingV2Async(GetFindingV2Request request, AsyncHandler<GetFindingV2Request,GetFindingV2Result> asyncHandler)
AWSAccessAnalyzerAsync
Retrieves information about the specified finding. GetFinding and GetFindingV2 both use
access-analyzer:GetFinding in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:GetFinding action.
getFindingV2Async in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<GetGeneratedPolicyResult> getGeneratedPolicyAsync(GetGeneratedPolicyRequest request)
AWSAccessAnalyzerAsync
Retrieves the policy that was generated using StartPolicyGeneration.
getGeneratedPolicyAsync in interface AWSAccessAnalyzerAsyncpublic Future<GetGeneratedPolicyResult> getGeneratedPolicyAsync(GetGeneratedPolicyRequest request, AsyncHandler<GetGeneratedPolicyRequest,GetGeneratedPolicyResult> asyncHandler)
AWSAccessAnalyzerAsync
Retrieves the policy that was generated using StartPolicyGeneration.
getGeneratedPolicyAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<ListAccessPreviewFindingsResult> listAccessPreviewFindingsAsync(ListAccessPreviewFindingsRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of access preview findings generated by the specified access preview.
listAccessPreviewFindingsAsync in interface AWSAccessAnalyzerAsyncpublic Future<ListAccessPreviewFindingsResult> listAccessPreviewFindingsAsync(ListAccessPreviewFindingsRequest request, AsyncHandler<ListAccessPreviewFindingsRequest,ListAccessPreviewFindingsResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of access preview findings generated by the specified access preview.
listAccessPreviewFindingsAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<ListAccessPreviewsResult> listAccessPreviewsAsync(ListAccessPreviewsRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of access previews for the specified analyzer.
listAccessPreviewsAsync in interface AWSAccessAnalyzerAsyncpublic Future<ListAccessPreviewsResult> listAccessPreviewsAsync(ListAccessPreviewsRequest request, AsyncHandler<ListAccessPreviewsRequest,ListAccessPreviewsResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of access previews for the specified analyzer.
listAccessPreviewsAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<ListAnalyzedResourcesResult> listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.
listAnalyzedResourcesAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of resources that have been analyzed.public Future<ListAnalyzedResourcesResult> listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest request, AsyncHandler<ListAnalyzedResourcesRequest,ListAnalyzedResourcesResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.
listAnalyzedResourcesAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of resources that have been analyzed.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.public Future<ListAnalyzersResult> listAnalyzersAsync(ListAnalyzersRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of analyzers.
listAnalyzersAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of analyzers.public Future<ListAnalyzersResult> listAnalyzersAsync(ListAnalyzersRequest request, AsyncHandler<ListAnalyzersRequest,ListAnalyzersResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of analyzers.
listAnalyzersAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of analyzers.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.public Future<ListArchiveRulesResult> listArchiveRulesAsync(ListArchiveRulesRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of archive rules created for the specified analyzer.
listArchiveRulesAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of archive rules created for the specified analyzer.public Future<ListArchiveRulesResult> listArchiveRulesAsync(ListArchiveRulesRequest request, AsyncHandler<ListArchiveRulesRequest,ListArchiveRulesResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of archive rules created for the specified analyzer.
listArchiveRulesAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of archive rules created for the specified analyzer.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.public Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request)
AWSAccessAnalyzerAsync
Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use
access-analyzer:ListFindings in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:ListFindings action.
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.
listFindingsAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of findings generated by the specified analyzer.public Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest request, AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
AWSAccessAnalyzerAsync
Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use
access-analyzer:ListFindings in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:ListFindings action.
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.
listFindingsAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of findings generated by the specified analyzer.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.public Future<ListFindingsV2Result> listFindingsV2Async(ListFindingsV2Request request)
AWSAccessAnalyzerAsync
Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use
access-analyzer:ListFindings in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:ListFindings action.
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.
listFindingsV2Async in interface AWSAccessAnalyzerAsyncpublic Future<ListFindingsV2Result> listFindingsV2Async(ListFindingsV2Request request, AsyncHandler<ListFindingsV2Request,ListFindingsV2Result> asyncHandler)
AWSAccessAnalyzerAsync
Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use
access-analyzer:ListFindings in the Action element of an IAM policy statement. You must
have permission to perform the access-analyzer:ListFindings action.
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.
listFindingsV2Async in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<ListPolicyGenerationsResult> listPolicyGenerationsAsync(ListPolicyGenerationsRequest request)
AWSAccessAnalyzerAsyncLists all of the policy generations requested in the last seven days.
listPolicyGenerationsAsync in interface AWSAccessAnalyzerAsyncpublic Future<ListPolicyGenerationsResult> listPolicyGenerationsAsync(ListPolicyGenerationsRequest request, AsyncHandler<ListPolicyGenerationsRequest,ListPolicyGenerationsResult> asyncHandler)
AWSAccessAnalyzerAsyncLists all of the policy generations requested in the last seven days.
listPolicyGenerationsAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSAccessAnalyzerAsyncRetrieves a list of tags applied to the specified resource.
listTagsForResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of tags applied to the specified resource.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSAccessAnalyzerAsyncRetrieves a list of tags applied to the specified resource.
listTagsForResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Retrieves a list of tags applied to the specified resource.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.public Future<StartPolicyGenerationResult> startPolicyGenerationAsync(StartPolicyGenerationRequest request)
AWSAccessAnalyzerAsyncStarts the policy generation request.
startPolicyGenerationAsync in interface AWSAccessAnalyzerAsyncpublic Future<StartPolicyGenerationResult> startPolicyGenerationAsync(StartPolicyGenerationRequest request, AsyncHandler<StartPolicyGenerationRequest,StartPolicyGenerationResult> asyncHandler)
AWSAccessAnalyzerAsyncStarts the policy generation request.
startPolicyGenerationAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.public Future<StartResourceScanResult> startResourceScanAsync(StartResourceScanRequest request)
AWSAccessAnalyzerAsyncImmediately starts a scan of the policies applied to the specified resource.
startResourceScanAsync in interface AWSAccessAnalyzerAsyncrequest - Starts a scan of the policies applied to the specified resource.public Future<StartResourceScanResult> startResourceScanAsync(StartResourceScanRequest request, AsyncHandler<StartResourceScanRequest,StartResourceScanResult> asyncHandler)
AWSAccessAnalyzerAsyncImmediately starts a scan of the policies applied to the specified resource.
startResourceScanAsync in interface AWSAccessAnalyzerAsyncrequest - Starts a scan of the policies applied to the specified resource.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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSAccessAnalyzerAsyncAdds a tag to the specified resource.
tagResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Adds a tag to the specified resource.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSAccessAnalyzerAsyncAdds a tag to the specified resource.
tagResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Adds a tag to the specified resource.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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSAccessAnalyzerAsyncRemoves a tag from the specified resource.
untagResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Removes a tag from the specified resource.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSAccessAnalyzerAsyncRemoves a tag from the specified resource.
untagResourceAsync in interface AWSAccessAnalyzerAsyncrequest - Removes a tag from the specified resource.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.public Future<UpdateArchiveRuleResult> updateArchiveRuleAsync(UpdateArchiveRuleRequest request)
AWSAccessAnalyzerAsyncUpdates the criteria and values for the specified archive rule.
updateArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Updates the specified archive rule.public Future<UpdateArchiveRuleResult> updateArchiveRuleAsync(UpdateArchiveRuleRequest request, AsyncHandler<UpdateArchiveRuleRequest,UpdateArchiveRuleResult> asyncHandler)
AWSAccessAnalyzerAsyncUpdates the criteria and values for the specified archive rule.
updateArchiveRuleAsync in interface AWSAccessAnalyzerAsyncrequest - Updates the specified archive rule.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.public Future<UpdateFindingsResult> updateFindingsAsync(UpdateFindingsRequest request)
AWSAccessAnalyzerAsyncUpdates the status for the specified findings.
updateFindingsAsync in interface AWSAccessAnalyzerAsyncrequest - Updates findings with the new values provided in the request.public Future<UpdateFindingsResult> updateFindingsAsync(UpdateFindingsRequest request, AsyncHandler<UpdateFindingsRequest,UpdateFindingsResult> asyncHandler)
AWSAccessAnalyzerAsyncUpdates the status for the specified findings.
updateFindingsAsync in interface AWSAccessAnalyzerAsyncrequest - Updates findings with the new values provided in the request.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.public Future<ValidatePolicyResult> validatePolicyAsync(ValidatePolicyRequest request)
AWSAccessAnalyzerAsyncRequests 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.
validatePolicyAsync in interface AWSAccessAnalyzerAsyncpublic Future<ValidatePolicyResult> validatePolicyAsync(ValidatePolicyRequest request, AsyncHandler<ValidatePolicyRequest,ValidatePolicyResult> asyncHandler)
AWSAccessAnalyzerAsyncRequests 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.
validatePolicyAsync in interface AWSAccessAnalyzerAsyncasyncHandler - 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.