pub struct AccessAnalyzerClient { /* private fields */ }
Expand description
A client for the Access Analyzer API.
Implementations§
Source§impl AccessAnalyzerClient
impl AccessAnalyzerClient
Sourcepub fn new(region: Region) -> AccessAnalyzerClient
pub fn new(region: Region) -> AccessAnalyzerClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region,
) -> AccessAnalyzerClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> AccessAnalyzerClient
Trait Implementations§
Source§impl AccessAnalyzer for AccessAnalyzerClient
impl AccessAnalyzer for AccessAnalyzerClient
Source§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_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.
Source§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 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.
Source§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_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.
Source§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 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.
Source§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_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.
Source§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_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.
Source§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_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.
Source§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 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.
Source§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_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..
Source§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_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.
Source§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_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.
Source§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_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.
Source§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 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.
Source§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 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.
Source§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 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.
Source§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_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.
Source§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,
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.
Source§impl Clone for AccessAnalyzerClient
impl Clone for AccessAnalyzerClient
Source§fn clone(&self) -> AccessAnalyzerClient
fn clone(&self) -> AccessAnalyzerClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more