AccessAnalyzerClient

Struct AccessAnalyzerClient 

Source
pub struct AccessAnalyzerClient { /* private fields */ }
Expand description

A client for the Access Analyzer API.

Implementations§

Source§

impl AccessAnalyzerClient

Source

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.

Source

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,

Source

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

Trait Implementations§

Source§

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

Retrieves a list of findings generated by the specified analyzer.

Source§

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,

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,

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,

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,

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,

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,

Updates the status for the specified findings.

Source§

impl Clone for AccessAnalyzerClient

Source§

fn clone(&self) -> AccessAnalyzerClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more