aws_sdk_macie2/client/update_resource_profile.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateResourceProfile`](crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`UpdateResourceProfileOutput`](crate::operation::update_resource_profile::UpdateResourceProfileOutput)
9 /// - On failure, responds with [`SdkError<UpdateResourceProfileError>`](crate::operation::update_resource_profile::UpdateResourceProfileError)
10 pub fn update_resource_profile(&self) -> crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder {
11 crate::operation::update_resource_profile::builders::UpdateResourceProfileFluentBuilder::new(self.handle.clone())
12 }
13}