Skip to main content

aws_sdk_endusermessaging/client/
update_brand_profile_attribute.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 [`UpdateBrandProfileAttribute`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`brand_profile_id(impl Into<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::brand_profile_id) / [`set_brand_profile_id(Option<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::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    ///   - [`attribute_name(impl Into<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::attribute_name) / [`set_attribute_name(Option<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::set_attribute_name):<br>required: **true**<br><p>The name of the brand profile attribute. The name is unique within a brand profile.</p><br>
8    ///   - [`attribute_value(impl Into<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::attribute_value) / [`set_attribute_value(Option<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::set_attribute_value):<br>required: **false**<br><p>The text value of the attribute. This value applies to attributes of type TEXT.</p><br>
9    ///   - [`attachment_body(Blob)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::attachment_body) / [`set_attachment_body(Option<Blob>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::set_attachment_body):<br>required: **false**<br><p>The binary content for an attribute of type IMAGE or DOCUMENT. The content is base64-encoded when it is sent over the wire.</p><br>
10    ///   - [`description(impl Into<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::set_description):<br>required: **false**<br><p>A description of the attribute.</p><br>
11    ///   - [`category(impl Into<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::category) / [`set_category(Option<String>)`](crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::set_category):<br>required: **false**<br><p>The category of the attribute.</p><br>
12    /// - On success, responds with [`UpdateBrandProfileAttributeOutput`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput) with field(s):
13    ///   - [`attribute_name(String)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::attribute_name): <p>The name of the brand profile attribute. The name is unique within a brand profile.</p>
14    ///   - [`attribute_type(BrandProfileAttributeType)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::attribute_type): <p>The type of the attribute. TEXT stores an inline value. IMAGE and DOCUMENT store binary media that you upload.</p>
15    ///   - [`attribute_value(Option<String>)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::attribute_value): <p>The text value of the attribute. This value applies to attributes of type TEXT.</p>
16    ///   - [`description(Option<String>)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::description): <p>A description of the attribute.</p>
17    ///   - [`category(Option<String>)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::category): <p>The category of the attribute.</p>
18    ///   - [`media_content_type(Option<String>)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::media_content_type): <p>The MIME content type of the attribute media.</p>
19    ///   - [`media_size_bytes(Option<i64>)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::media_size_bytes): <p>The size of the attribute media, in bytes.</p>
20    ///   - [`created_at(DateTime)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::created_at): <p>The time when the resource was created, in Unix epoch time.</p>
21    ///   - [`updated_at(DateTime)`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeOutput::updated_at): <p>The time when the resource was last updated, in Unix epoch time.</p>
22    /// - On failure, responds with [`SdkError<UpdateBrandProfileAttributeError>`](crate::operation::update_brand_profile_attribute::UpdateBrandProfileAttributeError)
23    pub fn update_brand_profile_attribute(
24        &self,
25    ) -> crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder {
26        crate::operation::update_brand_profile_attribute::builders::UpdateBrandProfileAttributeFluentBuilder::new(self.handle.clone())
27    }
28}