aws_sdk_macie2/client/update_resource_profile_detections.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 [`UpdateResourceProfileDetections`](crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_arn(impl Into<String>)`](crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder::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 /// - [`suppress_data_identifiers(SuppressDataIdentifier)`](crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder::suppress_data_identifiers) / [`set_suppress_data_identifiers(Option<Vec::<SuppressDataIdentifier>>)`](crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder::set_suppress_data_identifiers):<br>required: **false**<br><p>An array of objects, one for each custom data identifier or managed data identifier that detected a type of sensitive data to exclude from the bucket's score. To include all sensitive data types in the score, don't specify any values for this array.</p><br>
8 /// - On success, responds with [`UpdateResourceProfileDetectionsOutput`](crate::operation::update_resource_profile_detections::UpdateResourceProfileDetectionsOutput)
9 /// - On failure, responds with [`SdkError<UpdateResourceProfileDetectionsError>`](crate::operation::update_resource_profile_detections::UpdateResourceProfileDetectionsError)
10 pub fn update_resource_profile_detections(
11 &self,
12 ) -> crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder {
13 crate::operation::update_resource_profile_detections::builders::UpdateResourceProfileDetectionsFluentBuilder::new(self.handle.clone())
14 }
15}