Struct aws_sdk_macie::client::fluent_builders::UpdateS3Resources
source · pub struct UpdateS3Resources { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateS3Resources
.
(Discontinued) 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§
source§impl UpdateS3Resources
impl UpdateS3Resources
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateS3Resources, AwsResponseRetryClassifier>, SdkError<UpdateS3ResourcesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateS3Resources, AwsResponseRetryClassifier>, SdkError<UpdateS3ResourcesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateS3ResourcesOutput, SdkError<UpdateS3ResourcesError>>
pub async fn send(
self
) -> Result<UpdateS3ResourcesOutput, SdkError<UpdateS3ResourcesError>>
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.
sourcepub fn member_account_id(self, input: impl Into<String>) -> Self
pub fn member_account_id(self, input: impl Into<String>) -> Self
(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
sourcepub fn set_member_account_id(self, input: Option<String>) -> Self
pub fn set_member_account_id(self, input: Option<String>) -> Self
(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
sourcepub fn s3_resources_update(self, input: S3ResourceClassificationUpdate) -> Self
pub fn s3_resources_update(self, input: S3ResourceClassificationUpdate) -> Self
Appends an item to s3ResourcesUpdate
.
To override the contents of this collection use set_s3_resources_update
.
(Discontinued) The S3 resources whose classification types you want to update.
sourcepub fn set_s3_resources_update(
self,
input: Option<Vec<S3ResourceClassificationUpdate>>
) -> Self
pub fn set_s3_resources_update(
self,
input: Option<Vec<S3ResourceClassificationUpdate>>
) -> Self
(Discontinued) The S3 resources whose classification types you want to update.
Trait Implementations§
source§impl Clone for UpdateS3Resources
impl Clone for UpdateS3Resources
source§fn clone(&self) -> UpdateS3Resources
fn clone(&self) -> UpdateS3Resources
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more