Struct rusoto_macie::MacieClient [−][src]
pub struct MacieClient { /* fields omitted */ }
Expand description
A client for the Amazon Macie API.
Implementations
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
) -> MacieClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
Trait Implementations
fn associate_member_account<'life0, 'async_trait>(
&'life0 self,
input: AssociateMemberAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<AssociateMemberAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn associate_member_account<'life0, 'async_trait>(
&'life0 self,
input: AssociateMemberAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<AssociateMemberAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates a specified AWS account with Amazon Macie Classic as a member account.
fn associate_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: AssociateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateS3ResourcesResult, RusotoError<AssociateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn associate_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: AssociateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateS3ResourcesResult, RusotoError<AssociateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action associates specified S3 resources with Macie Classic for the specified member account.
fn disassociate_member_account<'life0, 'async_trait>(
&'life0 self,
input: DisassociateMemberAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisassociateMemberAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_member_account<'life0, 'async_trait>(
&'life0 self,
input: DisassociateMemberAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisassociateMemberAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes the specified member account from Amazon Macie Classic.
fn disassociate_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: DisassociateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateS3ResourcesResult, RusotoError<DisassociateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: DisassociateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateS3ResourcesResult, RusotoError<DisassociateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account.
fn list_member_accounts<'life0, 'async_trait>(
&'life0 self,
input: ListMemberAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMemberAccountsResult, RusotoError<ListMemberAccountsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_member_accounts<'life0, 'async_trait>(
&'life0 self,
input: ListMemberAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMemberAccountsResult, RusotoError<ListMemberAccountsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
fn list_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: ListS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListS3ResourcesResult, RusotoError<ListS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: ListS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListS3ResourcesResult, RusotoError<ListS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId isn't specified, the action lists the S3 resources associated with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action lists the S3 resources associated with Macie Classic for the specified member account.
fn update_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: UpdateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateS3ResourcesResult, RusotoError<UpdateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_s3_resources<'life0, 'async_trait>(
&'life0 self,
input: UpdateS3ResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateS3ResourcesResult, RusotoError<UpdateS3ResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account.
Auto Trait Implementations
impl !RefUnwindSafe for MacieClient
impl Send for MacieClient
impl Sync for MacieClient
impl Unpin for MacieClient
impl !UnwindSafe for MacieClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self