aws_sdk_customerprofiles/client/create_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateProfile`](crate::operation::create_profile::builders::CreateProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
/// - [`account_number(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::account_number) / [`set_account_number(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_account_number):<br>required: **false**<br><p>An account number that you have given to the customer.</p><br>
/// - [`additional_information(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::additional_information) / [`set_additional_information(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_additional_information):<br>required: **false**<br><p>Any additional information relevant to the customer’s profile.</p><br>
/// - [`party_type(PartyType)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::party_type) / [`set_party_type(Option<PartyType>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_party_type):<br>required: **false**<br><p>The type of profile used to describe the customer.</p><br>
/// - [`business_name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::business_name) / [`set_business_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_business_name):<br>required: **false**<br><p>The name of the customer’s business.</p><br>
/// - [`first_name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::first_name) / [`set_first_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_first_name):<br>required: **false**<br><p>The customer’s first name.</p><br>
/// - [`middle_name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::middle_name) / [`set_middle_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_middle_name):<br>required: **false**<br><p>The customer’s middle name.</p><br>
/// - [`last_name(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::last_name) / [`set_last_name(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_last_name):<br>required: **false**<br><p>The customer’s last name.</p><br>
/// - [`birth_date(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::birth_date) / [`set_birth_date(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_birth_date):<br>required: **false**<br><p>The customer’s birth date.</p><br>
/// - [`gender(Gender)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::gender) / [`set_gender(Option<Gender>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_gender):<br>required: **false**<br><p>The gender with which the customer identifies.</p><br>
/// - [`phone_number(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::phone_number) / [`set_phone_number(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_phone_number):<br>required: **false**<br><p>The customer’s phone number, which has not been specified as a mobile, home, or business number.</p><br>
/// - [`mobile_phone_number(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::mobile_phone_number) / [`set_mobile_phone_number(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_mobile_phone_number):<br>required: **false**<br><p>The customer’s mobile phone number.</p><br>
/// - [`home_phone_number(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::home_phone_number) / [`set_home_phone_number(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_home_phone_number):<br>required: **false**<br><p>The customer’s home phone number.</p><br>
/// - [`business_phone_number(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::business_phone_number) / [`set_business_phone_number(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_business_phone_number):<br>required: **false**<br><p>The customer’s business phone number.</p><br>
/// - [`email_address(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_email_address):<br>required: **false**<br><p>The customer’s email address, which has not been specified as a personal or business address.</p><br>
/// - [`personal_email_address(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::personal_email_address) / [`set_personal_email_address(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_personal_email_address):<br>required: **false**<br><p>The customer’s personal email address.</p><br>
/// - [`business_email_address(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::business_email_address) / [`set_business_email_address(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_business_email_address):<br>required: **false**<br><p>The customer’s business email address.</p><br>
/// - [`address(Address)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::address) / [`set_address(Option<Address>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_address):<br>required: **false**<br><p>A generic address associated with the customer that is not mailing, shipping, or billing.</p><br>
/// - [`shipping_address(Address)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::shipping_address) / [`set_shipping_address(Option<Address>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_shipping_address):<br>required: **false**<br><p>The customer’s shipping address.</p><br>
/// - [`mailing_address(Address)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::mailing_address) / [`set_mailing_address(Option<Address>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_mailing_address):<br>required: **false**<br><p>The customer’s mailing address.</p><br>
/// - [`billing_address(Address)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::billing_address) / [`set_billing_address(Option<Address>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_billing_address):<br>required: **false**<br><p>The customer’s billing address.</p><br>
/// - [`attributes(impl Into<String>, impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::attributes) / [`set_attributes(Option<HashMap::<String, String>>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_attributes):<br>required: **false**<br><p>A key value pair of attributes of a customer profile.</p><br>
/// - [`party_type_string(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::party_type_string) / [`set_party_type_string(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_party_type_string):<br>required: **false**<br><p>An alternative to <code>PartyType</code> which accepts any string as input.</p><br>
/// - [`gender_string(impl Into<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::gender_string) / [`set_gender_string(Option<String>)`](crate::operation::create_profile::builders::CreateProfileFluentBuilder::set_gender_string):<br>required: **false**<br><p>An alternative to <code>Gender</code> which accepts any string as input.</p><br>
/// - On success, responds with [`CreateProfileOutput`](crate::operation::create_profile::CreateProfileOutput) with field(s):
/// - [`profile_id(String)`](crate::operation::create_profile::CreateProfileOutput::profile_id): <p>The unique identifier of a customer profile.</p>
/// - On failure, responds with [`SdkError<CreateProfileError>`](crate::operation::create_profile::CreateProfileError)
pub fn create_profile(&self) -> crate::operation::create_profile::builders::CreateProfileFluentBuilder {
crate::operation::create_profile::builders::CreateProfileFluentBuilder::new(self.handle.clone())
}
}