[][src]Struct rusoto_accessanalyzer::AccessAnalyzerClient

pub struct AccessAnalyzerClient { /* fields omitted */ }

A client for the Access Analyzer API.

Implementations

impl AccessAnalyzerClient[src]

pub fn new(region: Region) -> AccessAnalyzerClient[src]

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
) -> AccessAnalyzerClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> AccessAnalyzerClient[src]

Trait Implementations

impl AccessAnalyzer for AccessAnalyzerClient[src]

pub fn create_analyzer<'life0, 'async_trait>(
    &'life0 self,
    input: CreateAnalyzerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAnalyzerResponse, RusotoError<CreateAnalyzerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an analyzer for your account.

pub fn create_archive_rule<'life0, 'async_trait>(
    &'life0 self,
    input: CreateArchiveRuleRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CreateArchiveRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the criteria you define when you create the rule.

pub fn delete_analyzer<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteAnalyzerRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAnalyzerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn delete_archive_rule<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteArchiveRuleRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteArchiveRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified archive rule.

pub fn get_analyzed_resource<'life0, 'async_trait>(
    &'life0 self,
    input: GetAnalyzedResourceRequest
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzedResourceResponse, RusotoError<GetAnalyzedResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves information about a resource that was analyzed.

pub fn get_analyzer<'life0, 'async_trait>(
    &'life0 self,
    input: GetAnalyzerRequest
) -> Pin<Box<dyn Future<Output = Result<GetAnalyzerResponse, RusotoError<GetAnalyzerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves information about the specified analyzer.

pub fn get_archive_rule<'life0, 'async_trait>(
    &'life0 self,
    input: GetArchiveRuleRequest
) -> Pin<Box<dyn Future<Output = Result<GetArchiveRuleResponse, RusotoError<GetArchiveRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves information about an archive rule.

pub fn get_finding<'life0, 'async_trait>(
    &'life0 self,
    input: GetFindingRequest
) -> Pin<Box<dyn Future<Output = Result<GetFindingResponse, RusotoError<GetFindingError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves information about the specified finding.

pub fn list_analyzed_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListAnalyzedResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzedResourcesResponse, RusotoError<ListAnalyzedResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..

pub fn list_analyzers<'life0, 'async_trait>(
    &'life0 self,
    input: ListAnalyzersRequest
) -> Pin<Box<dyn Future<Output = Result<ListAnalyzersResponse, RusotoError<ListAnalyzersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of analyzers.

pub fn list_archive_rules<'life0, 'async_trait>(
    &'life0 self,
    input: ListArchiveRulesRequest
) -> Pin<Box<dyn Future<Output = Result<ListArchiveRulesResponse, RusotoError<ListArchiveRulesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of archive rules created for the specified analyzer.

pub fn list_findings<'life0, 'async_trait>(
    &'life0 self,
    input: ListFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<ListFindingsResponse, RusotoError<ListFindingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of findings generated by the specified analyzer.

pub 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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of tags applied to the specified resource.

pub fn start_resource_scan<'life0, 'async_trait>(
    &'life0 self,
    input: StartResourceScanRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<StartResourceScanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Immediately starts a scan of the policies applied to the specified resource.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds a tag to the specified resource.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes a tag from the specified resource.

pub fn update_archive_rule<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateArchiveRuleRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateArchiveRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the criteria and values for the specified archive rule.

pub fn update_findings<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateFindingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the status for the specified findings.

impl Clone for AccessAnalyzerClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.