Struct aws_sdk_macie::client::fluent_builders::AssociateS3Resources [−][src]
pub struct AssociateS3Resources<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateS3Resources
.
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.
Implementations
impl<C, M, R> AssociateS3Resources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateS3Resources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateS3ResourcesOutput, SdkError<AssociateS3ResourcesError>> where
R::Policy: SmithyRetryPolicy<AssociateS3ResourcesInputOperationOutputAlias, AssociateS3ResourcesOutput, AssociateS3ResourcesError, AssociateS3ResourcesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateS3ResourcesOutput, SdkError<AssociateS3ResourcesError>> where
R::Policy: SmithyRetryPolicy<AssociateS3ResourcesInputOperationOutputAlias, AssociateS3ResourcesOutput, AssociateS3ResourcesError, AssociateS3ResourcesInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.
The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.
Appends an item to s3Resources
.
To override the contents of this collection use set_s3_resources
.
The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification.
The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AssociateS3Resources<C, M, R>
impl<C, M, R> Send for AssociateS3Resources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateS3Resources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateS3Resources<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AssociateS3Resources<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more