Struct aws_sdk_macie::client::fluent_builders::UpdateS3Resources [−][src]
pub struct UpdateS3Resources<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateS3Resources
.
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.
Implementations
impl<C, M, R> UpdateS3Resources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateS3Resources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateS3ResourcesOutput, SdkError<UpdateS3ResourcesError>> where
R::Policy: SmithyRetryPolicy<UpdateS3ResourcesInputOperationOutputAlias, UpdateS3ResourcesOutput, UpdateS3ResourcesError, UpdateS3ResourcesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateS3ResourcesOutput, SdkError<UpdateS3ResourcesError>> where
R::Policy: SmithyRetryPolicy<UpdateS3ResourcesInputOperationOutputAlias, UpdateS3ResourcesOutput, UpdateS3ResourcesError, UpdateS3ResourcesInputOperationRetryAlias>,
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 AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
The AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
Appends an item to s3ResourcesUpdate
.
To override the contents of this collection use set_s3_resources_update
.
The S3 resources whose classification types you want to update.
pub fn set_s3_resources_update(
self,
input: Option<Vec<S3ResourceClassificationUpdate>>
) -> Self
pub fn set_s3_resources_update(
self,
input: Option<Vec<S3ResourceClassificationUpdate>>
) -> Self
The S3 resources whose classification types you want to update.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateS3Resources<C, M, R>
impl<C, M, R> Send for UpdateS3Resources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateS3Resources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateS3Resources<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateS3Resources<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