aws-sdk-endusermessaging 1.0.0

AWS SDK for AWS End User Messaging
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetBrandProfileAttribute`](crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`brand_profile_id(impl Into<String>)`](crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder::brand_profile_id) / [`set_brand_profile_id(Option<String>)`](crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder::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>
    ///   - [`attribute_name(impl Into<String>)`](crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder::attribute_name) / [`set_attribute_name(Option<String>)`](crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder::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>
    /// - On success, responds with [`GetBrandProfileAttributeOutput`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput) with field(s):
    ///   - [`attribute_name(String)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::attribute_name): <p>The name of the brand profile attribute. The name is unique within a brand profile.</p>
    ///   - [`attribute_type(BrandProfileAttributeType)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::attribute_type): <p>The type of the attribute. TEXT stores an inline value. IMAGE and DOCUMENT store binary media that you upload.</p>
    ///   - [`attribute_value(Option<String>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::attribute_value): <p>The text value of the attribute. This value applies to attributes of type TEXT.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::description): <p>A description of the attribute.</p>
    ///   - [`category(Option<String>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::category): <p>The category of the attribute.</p>
    ///   - [`media_content_type(Option<String>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::media_content_type): <p>The MIME content type of the attribute media.</p>
    ///   - [`media_size_bytes(Option<i64>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::media_size_bytes): <p>The size of the attribute media, in bytes.</p>
    ///   - [`media_download_url(Option<String>)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::media_download_url): <p>A presigned Amazon S3 URL that you can use to download the attribute media. The URL is valid for one hour and is present only for attributes of type IMAGE or DOCUMENT.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::created_at): <p>The time when the resource was created, in Unix epoch time.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeOutput::updated_at): <p>The time when the resource was last updated, in Unix epoch time.</p>
    /// - On failure, responds with [`SdkError<GetBrandProfileAttributeError>`](crate::operation::get_brand_profile_attribute::GetBrandProfileAttributeError)
    pub fn get_brand_profile_attribute(&self) -> crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder {
        crate::operation::get_brand_profile_attribute::builders::GetBrandProfileAttributeFluentBuilder::new(self.handle.clone())
    }
}