aws_sdk_endusermessaging/client/update_brand_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 [`UpdateBrandProfile`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`brand_profile_id(impl Into<String>)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::brand_profile_id) / [`set_brand_profile_id(Option<String>)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::set_brand_profile_id):<br>required: **true**<br><p>The unique identifier of the brand profile. You can specify either the bare ID or the full Amazon Resource Name (ARN).</p><br>
7 /// - [`brand_profile_name(impl Into<String>)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::brand_profile_name) / [`set_brand_profile_name(Option<String>)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::set_brand_profile_name):<br>required: **false**<br><p>The name of the brand profile. The name can contain alphanumeric characters, underscores, hyphens, and spaces.</p><br>
8 /// - [`deletion_protection_enabled(bool)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::deletion_protection_enabled) / [`set_deletion_protection_enabled(Option<bool>)`](crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::set_deletion_protection_enabled):<br>required: **false**<br><p>Specifies whether deletion protection is enabled. When enabled, the resource cannot be deleted until deletion protection is turned off.</p><br>
9 /// - On success, responds with [`UpdateBrandProfileOutput`](crate::operation::update_brand_profile::UpdateBrandProfileOutput) with field(s):
10 /// - [`brand_profile_id(String)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::brand_profile_id): <p>The unique identifier of the brand profile.</p>
11 /// - [`brand_profile_arn(String)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::brand_profile_arn): <p>The Amazon Resource Name (ARN) of the brand profile.</p>
12 /// - [`brand_profile_name(String)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::brand_profile_name): <p>The name of the brand profile. The name can contain alphanumeric characters, underscores, hyphens, and spaces.</p>
13 /// - [`status(Status)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::status): <p>The current lifecycle status of the brand profile.</p>
14 /// - [`deletion_protection_enabled(bool)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::deletion_protection_enabled): <p>Specifies whether deletion protection is enabled. When enabled, the resource cannot be deleted until deletion protection is turned off.</p>
15 /// - [`created_at(DateTime)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::created_at): <p>The time when the resource was created, in Unix epoch time.</p>
16 /// - [`updated_at(DateTime)`](crate::operation::update_brand_profile::UpdateBrandProfileOutput::updated_at): <p>The time when the resource was last updated, in Unix epoch time.</p>
17 /// - On failure, responds with [`SdkError<UpdateBrandProfileError>`](crate::operation::update_brand_profile::UpdateBrandProfileError)
18 pub fn update_brand_profile(&self) -> crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder {
19 crate::operation::update_brand_profile::builders::UpdateBrandProfileFluentBuilder::new(self.handle.clone())
20 }
21}