pub trait AccessAnalyzer {
Show 18 methods
// Required methods
fn create_analyzer<'life0, 'async_trait>(
&'life0 self,
input: CreateAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateAnalyzerResponse, RusotoError<CreateAnalyzerError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: CreateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CreateArchiveRuleError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_analyzer<'life0, 'async_trait>(
&'life0 self,
input: DeleteAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAnalyzerError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: DeleteArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteArchiveRuleError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_analyzed_resource<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzedResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzedResourceResponse, RusotoError<GetAnalyzedResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_analyzer<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzerResponse, RusotoError<GetAnalyzerError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: GetArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<GetArchiveRuleResponse, RusotoError<GetArchiveRuleError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_finding<'life0, 'async_trait>(
&'life0 self,
input: GetFindingRequest,
) -> Pin<Box<dyn Future<Output = Result<GetFindingResponse, RusotoError<GetFindingError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_analyzed_resources<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzedResourcesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzedResourcesResponse, RusotoError<ListAnalyzedResourcesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_analyzers<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzersResponse, RusotoError<ListAnalyzersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_archive_rules<'life0, 'async_trait>(
&'life0 self,
input: ListArchiveRulesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListArchiveRulesResponse, RusotoError<ListArchiveRulesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_findings<'life0, 'async_trait>(
&'life0 self,
input: ListFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListFindingsResponse, RusotoError<ListFindingsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_tags_for_resource<'life0, 'async_trait>(
&'life0 self,
input: ListTagsForResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_resource_scan<'life0, 'async_trait>(
&'life0 self,
input: StartResourceScanRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StartResourceScanError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: UpdateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateArchiveRuleError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_findings<'life0, 'async_trait>(
&'life0 self,
input: UpdateFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateFindingsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait representing the capabilities of the Access Analyzer API. Access Analyzer clients implement this trait.
Required Methods§
Sourcefn create_analyzer<'life0, 'async_trait>(
&'life0 self,
input: CreateAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateAnalyzerResponse, RusotoError<CreateAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_analyzer<'life0, 'async_trait>(
&'life0 self,
input: CreateAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateAnalyzerResponse, RusotoError<CreateAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates an analyzer for your account.
Sourcefn create_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: CreateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CreateArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: CreateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CreateArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the criteria you define when you create the rule.
Sourcefn delete_analyzer<'life0, 'async_trait>(
&'life0 self,
input: DeleteAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_analyzer<'life0, 'async_trait>(
&'life0 self,
input: DeleteAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the account in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.
Sourcefn delete_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: DeleteArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: DeleteArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes the specified archive rule.
Sourcefn get_analyzed_resource<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzedResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzedResourceResponse, RusotoError<GetAnalyzedResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_analyzed_resource<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzedResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzedResourceResponse, RusotoError<GetAnalyzedResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information about a resource that was analyzed.
Sourcefn get_analyzer<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzerResponse, RusotoError<GetAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_analyzer<'life0, 'async_trait>(
&'life0 self,
input: GetAnalyzerRequest,
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzerResponse, RusotoError<GetAnalyzerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information about the specified analyzer.
Sourcefn get_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: GetArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<GetArchiveRuleResponse, RusotoError<GetArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: GetArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<GetArchiveRuleResponse, RusotoError<GetArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information about an archive rule.
Sourcefn get_finding<'life0, 'async_trait>(
&'life0 self,
input: GetFindingRequest,
) -> Pin<Box<dyn Future<Output = Result<GetFindingResponse, RusotoError<GetFindingError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_finding<'life0, 'async_trait>(
&'life0 self,
input: GetFindingRequest,
) -> Pin<Box<dyn Future<Output = Result<GetFindingResponse, RusotoError<GetFindingError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information about the specified finding.
Sourcefn list_analyzed_resources<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzedResourcesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzedResourcesResponse, RusotoError<ListAnalyzedResourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_analyzed_resources<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzedResourcesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzedResourcesResponse, RusotoError<ListAnalyzedResourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
Sourcefn list_analyzers<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzersResponse, RusotoError<ListAnalyzersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_analyzers<'life0, 'async_trait>(
&'life0 self,
input: ListAnalyzersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzersResponse, RusotoError<ListAnalyzersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a list of analyzers.
Sourcefn list_archive_rules<'life0, 'async_trait>(
&'life0 self,
input: ListArchiveRulesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListArchiveRulesResponse, RusotoError<ListArchiveRulesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_archive_rules<'life0, 'async_trait>(
&'life0 self,
input: ListArchiveRulesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListArchiveRulesResponse, RusotoError<ListArchiveRulesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a list of archive rules created for the specified analyzer.
Sourcefn list_findings<'life0, 'async_trait>(
&'life0 self,
input: ListFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListFindingsResponse, RusotoError<ListFindingsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_findings<'life0, 'async_trait>(
&'life0 self,
input: ListFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListFindingsResponse, RusotoError<ListFindingsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a list of findings generated by the specified analyzer.
Retrieves a list of tags applied to the specified resource.
Sourcefn start_resource_scan<'life0, 'async_trait>(
&'life0 self,
input: StartResourceScanRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StartResourceScanError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start_resource_scan<'life0, 'async_trait>(
&'life0 self,
input: StartResourceScanRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StartResourceScanError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Immediately starts a scan of the policies applied to the specified resource.
Sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Adds a tag to the specified resource.
Sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Removes a tag from the specified resource.
Sourcefn update_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: UpdateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_archive_rule<'life0, 'async_trait>(
&'life0 self,
input: UpdateArchiveRuleRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateArchiveRuleError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the criteria and values for the specified archive rule.
Sourcefn update_findings<'life0, 'async_trait>(
&'life0 self,
input: UpdateFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateFindingsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_findings<'life0, 'async_trait>(
&'life0 self,
input: UpdateFindingsRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateFindingsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the status for the specified findings.