aws_sdk_macie2/client/update_resource_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateResourceProfile`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_arn(impl Into<String>)`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p><br>
/// - [`sensitivity_score_override(i32)`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::sensitivity_score_override) / [`set_sensitivity_score_override(Option<i32>)`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::set_sensitivity_score_override):<br>required: **false**<br><p>The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the <i>Sensitive</i> label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.</p><br>
/// - On success, responds with [`UpdateResourceProfileOutput`](crate::operation::update_resource_profile::UpdateResourceProfileOutput)
/// - On failure, responds with [`SdkError<UpdateResourceProfileError>`](crate::operation::update_resource_profile::UpdateResourceProfileError)
pub fn update_resource_profile(&self) -> crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder {
crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::new(self.handle.clone())
}
}