Skip to main content

aws_sdk_endusermessaging/client/
create_brand_profile_attributes.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 [`CreateBrandProfileAttributes`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`brand_profile_id(impl Into<String>)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::brand_profile_id) / [`set_brand_profile_id(Option<String>)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::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    ///   - [`attributes(BrandProfileAttributeInput)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::attributes) / [`set_attributes(Option<Vec::<BrandProfileAttributeInput>>)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::set_attributes):<br>required: **true**<br><p>The brand profile attributes.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, the AWS SDK automatically generates one.</p><br>
9    /// - On success, responds with [`CreateBrandProfileAttributesOutput`](crate::operation::create_brand_profile_attributes::CreateBrandProfileAttributesOutput) with field(s):
10    ///   - [`attributes(Vec::<BrandProfileAttributeOutput>)`](crate::operation::create_brand_profile_attributes::CreateBrandProfileAttributesOutput::attributes): <p>The brand profile attributes.</p>
11    /// - On failure, responds with [`SdkError<CreateBrandProfileAttributesError>`](crate::operation::create_brand_profile_attributes::CreateBrandProfileAttributesError)
12    pub fn create_brand_profile_attributes(
13        &self,
14    ) -> crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder {
15        crate::operation::create_brand_profile_attributes::builders::CreateBrandProfileAttributesFluentBuilder::new(self.handle.clone())
16    }
17}