Skip to main content

aws_sdk_endusermessaging/client/
create_brand_profile_from_registration.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 [`CreateBrandProfileFromRegistration`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`registration_id(impl Into<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::registration_id) / [`set_registration_id(Option<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::set_registration_id):<br>required: **true**<br><p>The identifier or Amazon Resource Name (ARN) of the registration to populate the brand profile from.</p><br>
7    ///   - [`brand_profile_name(impl Into<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::brand_profile_name) / [`set_brand_profile_name(Option<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::set_brand_profile_name):<br>required: **true**<br><p>The name of the brand profile. The name can contain alphanumeric characters, underscores, hyphens, and spaces.</p><br>
8    ///   - [`smart_match(bool)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::smart_match) / [`set_smart_match(Option<bool>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::set_smart_match):<br>required: **false**<br><p>Specifies whether to use semantic field mapping between brand profile attributes and registration fields. The default is true. When false, the service maps fields using a fixed set of standard field types.</p><br>
9    ///   - [`tags(Tag)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::set_tags):<br>required: **false**<br><p>An array of key and value pair tags that are associated with the resource.</p><br>
10    ///   - [`client_token(impl Into<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::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>
11    /// - On success, responds with [`CreateBrandProfileFromRegistrationOutput`](crate::operation::create_brand_profile_from_registration::CreateBrandProfileFromRegistrationOutput) with field(s):
12    ///   - [`results(Vec::<JobResult>)`](crate::operation::create_brand_profile_from_registration::CreateBrandProfileFromRegistrationOutput::results): <p>The results of the operation. Each result pairs a requested item with the asynchronous job that processes it.</p>
13    /// - On failure, responds with [`SdkError<CreateBrandProfileFromRegistrationError>`](crate::operation::create_brand_profile_from_registration::CreateBrandProfileFromRegistrationError)
14    pub fn create_brand_profile_from_registration(
15        &self,
16    ) -> crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder {
17        crate::operation::create_brand_profile_from_registration::builders::CreateBrandProfileFromRegistrationFluentBuilder::new(self.handle.clone())
18    }
19}