Skip to main content

aws_sdk_endusermessaging/client/
delete_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 [`DeleteBrandProfileAttribute`](crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`brand_profile_id(impl Into<String>)`](crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder::brand_profile_id) / [`set_brand_profile_id(Option<String>)`](crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder::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::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder::attribute_name) / [`set_attribute_name(Option<String>)`](crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder::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    /// - On success, responds with [`DeleteBrandProfileAttributeOutput`](crate::operation::delete_brand_profile_attribute::DeleteBrandProfileAttributeOutput) with field(s):
9    ///   - [`brand_profile_id(String)`](crate::operation::delete_brand_profile_attribute::DeleteBrandProfileAttributeOutput::brand_profile_id): <p>The unique identifier of the brand profile.</p>
10    ///   - [`attribute_name(String)`](crate::operation::delete_brand_profile_attribute::DeleteBrandProfileAttributeOutput::attribute_name): <p>The name of the brand profile attribute. The name is unique within a brand profile.</p>
11    /// - On failure, responds with [`SdkError<DeleteBrandProfileAttributeError>`](crate::operation::delete_brand_profile_attribute::DeleteBrandProfileAttributeError)
12    pub fn delete_brand_profile_attribute(
13        &self,
14    ) -> crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder {
15        crate::operation::delete_brand_profile_attribute::builders::DeleteBrandProfileAttributeFluentBuilder::new(self.handle.clone())
16    }
17}