@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAccessAnalyzerAsync extends AWSAccessAnalyzer
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
AbstractAWSAccessAnalyzerAsync
instead.
Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external or unused access, you first need to create an analyzer.
External access analyzers help identify potential risks of accessing resources by enabling you to identify any resource 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 public and cross-account access to your resources before deploying permissions changes.
Unused access analyzers help identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.
Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs.
This guide describes the IAM 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.
ENDPOINT_PREFIX
applyArchiveRule, 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, validatePolicy
Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest)
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
applyArchiveRuleRequest
- Retroactively applies an archive rule.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest, AsyncHandler<ApplyArchiveRuleRequest,ApplyArchiveRuleResult> asyncHandler)
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
applyArchiveRuleRequest
- 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.Future<CancelPolicyGenerationResult> cancelPolicyGenerationAsync(CancelPolicyGenerationRequest cancelPolicyGenerationRequest)
Cancels the requested policy generation.
cancelPolicyGenerationRequest
- Future<CancelPolicyGenerationResult> cancelPolicyGenerationAsync(CancelPolicyGenerationRequest cancelPolicyGenerationRequest, AsyncHandler<CancelPolicyGenerationRequest,CancelPolicyGenerationResult> asyncHandler)
Cancels the requested policy generation.
cancelPolicyGenerationRequest
- 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.Future<CheckAccessNotGrantedResult> checkAccessNotGrantedAsync(CheckAccessNotGrantedRequest checkAccessNotGrantedRequest)
Checks whether the specified access isn't allowed by a policy.
checkAccessNotGrantedRequest
- Future<CheckAccessNotGrantedResult> checkAccessNotGrantedAsync(CheckAccessNotGrantedRequest checkAccessNotGrantedRequest, AsyncHandler<CheckAccessNotGrantedRequest,CheckAccessNotGrantedResult> asyncHandler)
Checks whether the specified access isn't allowed by a policy.
checkAccessNotGrantedRequest
- 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.Future<CheckNoNewAccessResult> checkNoNewAccessAsync(CheckNoNewAccessRequest checkNoNewAccessRequest)
Checks 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.
checkNoNewAccessRequest
- Future<CheckNoNewAccessResult> checkNoNewAccessAsync(CheckNoNewAccessRequest checkNoNewAccessRequest, AsyncHandler<CheckNoNewAccessRequest,CheckNoNewAccessResult> asyncHandler)
Checks 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.
checkNoNewAccessRequest
- 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.Future<CheckNoPublicAccessResult> checkNoPublicAccessAsync(CheckNoPublicAccessRequest checkNoPublicAccessRequest)
Checks whether a resource policy can grant public access to the specified resource type.
checkNoPublicAccessRequest
- Future<CheckNoPublicAccessResult> checkNoPublicAccessAsync(CheckNoPublicAccessRequest checkNoPublicAccessRequest, AsyncHandler<CheckNoPublicAccessRequest,CheckNoPublicAccessResult> asyncHandler)
Checks whether a resource policy can grant public access to the specified resource type.
checkNoPublicAccessRequest
- 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.Future<CreateAccessPreviewResult> createAccessPreviewAsync(CreateAccessPreviewRequest createAccessPreviewRequest)
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
createAccessPreviewRequest
- Future<CreateAccessPreviewResult> createAccessPreviewAsync(CreateAccessPreviewRequest createAccessPreviewRequest, AsyncHandler<CreateAccessPreviewRequest,CreateAccessPreviewResult> asyncHandler)
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
createAccessPreviewRequest
- 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.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest createAnalyzerRequest)
Creates an analyzer for your account.
createAnalyzerRequest
- Creates an analyzer.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest createAnalyzerRequest, AsyncHandler<CreateAnalyzerRequest,CreateAnalyzerResult> asyncHandler)
Creates an analyzer for your account.
createAnalyzerRequest
- 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.Future<CreateArchiveRuleResult> 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.
createArchiveRuleRequest
- Creates an archive rule.Future<CreateArchiveRuleResult> createArchiveRuleAsync(CreateArchiveRuleRequest createArchiveRuleRequest, AsyncHandler<CreateArchiveRuleRequest,CreateArchiveRuleResult> 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.
createArchiveRuleRequest
- 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.Future<DeleteAnalyzerResult> 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.
deleteAnalyzerRequest
- Deletes an analyzer.Future<DeleteAnalyzerResult> deleteAnalyzerAsync(DeleteAnalyzerRequest deleteAnalyzerRequest, AsyncHandler<DeleteAnalyzerRequest,DeleteAnalyzerResult> 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.
deleteAnalyzerRequest
- 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.Future<DeleteArchiveRuleResult> deleteArchiveRuleAsync(DeleteArchiveRuleRequest deleteArchiveRuleRequest)
Deletes the specified archive rule.
deleteArchiveRuleRequest
- Deletes an archive rule.Future<DeleteArchiveRuleResult> deleteArchiveRuleAsync(DeleteArchiveRuleRequest deleteArchiveRuleRequest, AsyncHandler<DeleteArchiveRuleRequest,DeleteArchiveRuleResult> asyncHandler)
Deletes the specified archive rule.
deleteArchiveRuleRequest
- 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.Future<GenerateFindingRecommendationResult> generateFindingRecommendationAsync(GenerateFindingRecommendationRequest generateFindingRecommendationRequest)
Creates a recommendation for an unused permissions finding.
generateFindingRecommendationRequest
- Future<GenerateFindingRecommendationResult> generateFindingRecommendationAsync(GenerateFindingRecommendationRequest generateFindingRecommendationRequest, AsyncHandler<GenerateFindingRecommendationRequest,GenerateFindingRecommendationResult> asyncHandler)
Creates a recommendation for an unused permissions finding.
generateFindingRecommendationRequest
- 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.Future<GetAccessPreviewResult> getAccessPreviewAsync(GetAccessPreviewRequest getAccessPreviewRequest)
Retrieves information about an access preview for the specified analyzer.
getAccessPreviewRequest
- Future<GetAccessPreviewResult> getAccessPreviewAsync(GetAccessPreviewRequest getAccessPreviewRequest, AsyncHandler<GetAccessPreviewRequest,GetAccessPreviewResult> asyncHandler)
Retrieves information about an access preview for the specified analyzer.
getAccessPreviewRequest
- 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.Future<GetAnalyzedResourceResult> getAnalyzedResourceAsync(GetAnalyzedResourceRequest getAnalyzedResourceRequest)
Retrieves information about a resource that was analyzed.
getAnalyzedResourceRequest
- Retrieves an analyzed resource.Future<GetAnalyzedResourceResult> getAnalyzedResourceAsync(GetAnalyzedResourceRequest getAnalyzedResourceRequest, AsyncHandler<GetAnalyzedResourceRequest,GetAnalyzedResourceResult> asyncHandler)
Retrieves information about a resource that was analyzed.
getAnalyzedResourceRequest
- 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.Future<GetAnalyzerResult> getAnalyzerAsync(GetAnalyzerRequest getAnalyzerRequest)
Retrieves information about the specified analyzer.
getAnalyzerRequest
- Retrieves an analyzer.Future<GetAnalyzerResult> getAnalyzerAsync(GetAnalyzerRequest getAnalyzerRequest, AsyncHandler<GetAnalyzerRequest,GetAnalyzerResult> asyncHandler)
Retrieves information about the specified analyzer.
getAnalyzerRequest
- 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.Future<GetArchiveRuleResult> 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.
getArchiveRuleRequest
- Retrieves an archive rule.Future<GetArchiveRuleResult> getArchiveRuleAsync(GetArchiveRuleRequest getArchiveRuleRequest, AsyncHandler<GetArchiveRuleRequest,GetArchiveRuleResult> 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.
getArchiveRuleRequest
- 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.Future<GetFindingResult> getFindingAsync(GetFindingRequest getFindingRequest)
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.
getFindingRequest
- Retrieves a finding.Future<GetFindingResult> getFindingAsync(GetFindingRequest getFindingRequest, AsyncHandler<GetFindingRequest,GetFindingResult> asyncHandler)
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.
getFindingRequest
- 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.Future<GetFindingRecommendationResult> getFindingRecommendationAsync(GetFindingRecommendationRequest getFindingRecommendationRequest)
Retrieves information about a finding recommendation for the specified analyzer.
getFindingRecommendationRequest
- Future<GetFindingRecommendationResult> getFindingRecommendationAsync(GetFindingRecommendationRequest getFindingRecommendationRequest, AsyncHandler<GetFindingRecommendationRequest,GetFindingRecommendationResult> asyncHandler)
Retrieves information about a finding recommendation for the specified analyzer.
getFindingRecommendationRequest
- 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.Future<GetFindingV2Result> getFindingV2Async(GetFindingV2Request getFindingV2Request)
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.
getFindingV2Request
- Future<GetFindingV2Result> getFindingV2Async(GetFindingV2Request getFindingV2Request, AsyncHandler<GetFindingV2Request,GetFindingV2Result> asyncHandler)
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.
getFindingV2Request
- 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.Future<GetGeneratedPolicyResult> getGeneratedPolicyAsync(GetGeneratedPolicyRequest getGeneratedPolicyRequest)
Retrieves the policy that was generated using StartPolicyGeneration
.
getGeneratedPolicyRequest
- Future<GetGeneratedPolicyResult> getGeneratedPolicyAsync(GetGeneratedPolicyRequest getGeneratedPolicyRequest, AsyncHandler<GetGeneratedPolicyRequest,GetGeneratedPolicyResult> asyncHandler)
Retrieves the policy that was generated using StartPolicyGeneration
.
getGeneratedPolicyRequest
- 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.Future<ListAccessPreviewFindingsResult> listAccessPreviewFindingsAsync(ListAccessPreviewFindingsRequest listAccessPreviewFindingsRequest)
Retrieves a list of access preview findings generated by the specified access preview.
listAccessPreviewFindingsRequest
- Future<ListAccessPreviewFindingsResult> listAccessPreviewFindingsAsync(ListAccessPreviewFindingsRequest listAccessPreviewFindingsRequest, AsyncHandler<ListAccessPreviewFindingsRequest,ListAccessPreviewFindingsResult> asyncHandler)
Retrieves a list of access preview findings generated by the specified access preview.
listAccessPreviewFindingsRequest
- 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.Future<ListAccessPreviewsResult> listAccessPreviewsAsync(ListAccessPreviewsRequest listAccessPreviewsRequest)
Retrieves a list of access previews for the specified analyzer.
listAccessPreviewsRequest
- Future<ListAccessPreviewsResult> listAccessPreviewsAsync(ListAccessPreviewsRequest listAccessPreviewsRequest, AsyncHandler<ListAccessPreviewsRequest,ListAccessPreviewsResult> asyncHandler)
Retrieves a list of access previews for the specified analyzer.
listAccessPreviewsRequest
- 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.Future<ListAnalyzedResourcesResult> listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest listAnalyzedResourcesRequest)
Retrieves 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.
listAnalyzedResourcesRequest
- Retrieves a list of resources that have been analyzed.Future<ListAnalyzedResourcesResult> listAnalyzedResourcesAsync(ListAnalyzedResourcesRequest listAnalyzedResourcesRequest, AsyncHandler<ListAnalyzedResourcesRequest,ListAnalyzedResourcesResult> asyncHandler)
Retrieves 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.
listAnalyzedResourcesRequest
- 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.Future<ListAnalyzersResult> listAnalyzersAsync(ListAnalyzersRequest listAnalyzersRequest)
Retrieves a list of analyzers.
listAnalyzersRequest
- Retrieves a list of analyzers.Future<ListAnalyzersResult> listAnalyzersAsync(ListAnalyzersRequest listAnalyzersRequest, AsyncHandler<ListAnalyzersRequest,ListAnalyzersResult> asyncHandler)
Retrieves a list of analyzers.
listAnalyzersRequest
- 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.Future<ListArchiveRulesResult> listArchiveRulesAsync(ListArchiveRulesRequest listArchiveRulesRequest)
Retrieves a list of archive rules created for the specified analyzer.
listArchiveRulesRequest
- Retrieves a list of archive rules created for the specified analyzer.Future<ListArchiveRulesResult> listArchiveRulesAsync(ListArchiveRulesRequest listArchiveRulesRequest, AsyncHandler<ListArchiveRulesRequest,ListArchiveRulesResult> asyncHandler)
Retrieves a list of archive rules created for the specified analyzer.
listArchiveRulesRequest
- 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.Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest listFindingsRequest)
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.
listFindingsRequest
- Retrieves a list of findings generated by the specified analyzer.Future<ListFindingsResult> listFindingsAsync(ListFindingsRequest listFindingsRequest, AsyncHandler<ListFindingsRequest,ListFindingsResult> asyncHandler)
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.
listFindingsRequest
- 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.Future<ListFindingsV2Result> listFindingsV2Async(ListFindingsV2Request listFindingsV2Request)
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.
listFindingsV2Request
- Future<ListFindingsV2Result> listFindingsV2Async(ListFindingsV2Request listFindingsV2Request, AsyncHandler<ListFindingsV2Request,ListFindingsV2Result> asyncHandler)
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.
listFindingsV2Request
- 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.Future<ListPolicyGenerationsResult> listPolicyGenerationsAsync(ListPolicyGenerationsRequest listPolicyGenerationsRequest)
Lists all of the policy generations requested in the last seven days.
listPolicyGenerationsRequest
- Future<ListPolicyGenerationsResult> listPolicyGenerationsAsync(ListPolicyGenerationsRequest listPolicyGenerationsRequest, AsyncHandler<ListPolicyGenerationsRequest,ListPolicyGenerationsResult> asyncHandler)
Lists all of the policy generations requested in the last seven days.
listPolicyGenerationsRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves a list of tags applied to the specified resource.
listTagsForResourceRequest
- Retrieves a list of tags applied to the specified resource.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Retrieves a list of tags applied to the specified resource.
listTagsForResourceRequest
- 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.Future<StartPolicyGenerationResult> startPolicyGenerationAsync(StartPolicyGenerationRequest startPolicyGenerationRequest)
Starts the policy generation request.
startPolicyGenerationRequest
- Future<StartPolicyGenerationResult> startPolicyGenerationAsync(StartPolicyGenerationRequest startPolicyGenerationRequest, AsyncHandler<StartPolicyGenerationRequest,StartPolicyGenerationResult> asyncHandler)
Starts the policy generation request.
startPolicyGenerationRequest
- 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.Future<StartResourceScanResult> startResourceScanAsync(StartResourceScanRequest startResourceScanRequest)
Immediately starts a scan of the policies applied to the specified resource.
startResourceScanRequest
- Starts a scan of the policies applied to the specified resource.Future<StartResourceScanResult> startResourceScanAsync(StartResourceScanRequest startResourceScanRequest, AsyncHandler<StartResourceScanRequest,StartResourceScanResult> asyncHandler)
Immediately starts a scan of the policies applied to the specified resource.
startResourceScanRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds a tag to the specified resource.
tagResourceRequest
- Adds a tag to the specified resource.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds a tag to the specified resource.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes a tag from the specified resource.
untagResourceRequest
- Removes a tag from the specified resource.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes a tag from the specified resource.
untagResourceRequest
- 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.Future<UpdateArchiveRuleResult> updateArchiveRuleAsync(UpdateArchiveRuleRequest updateArchiveRuleRequest)
Updates the criteria and values for the specified archive rule.
updateArchiveRuleRequest
- Updates the specified archive rule.Future<UpdateArchiveRuleResult> updateArchiveRuleAsync(UpdateArchiveRuleRequest updateArchiveRuleRequest, AsyncHandler<UpdateArchiveRuleRequest,UpdateArchiveRuleResult> asyncHandler)
Updates the criteria and values for the specified archive rule.
updateArchiveRuleRequest
- 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.Future<UpdateFindingsResult> updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest)
Updates the status for the specified findings.
updateFindingsRequest
- Updates findings with the new values provided in the request.Future<UpdateFindingsResult> updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest, AsyncHandler<UpdateFindingsRequest,UpdateFindingsResult> asyncHandler)
Updates the status for the specified findings.
updateFindingsRequest
- 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.Future<ValidatePolicyResult> 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.
validatePolicyRequest
- Future<ValidatePolicyResult> validatePolicyAsync(ValidatePolicyRequest validatePolicyRequest, AsyncHandler<ValidatePolicyRequest,ValidatePolicyResult> 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.
validatePolicyRequest
- 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.