aws_sdk_customerprofiles/client/update_profile.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateProfile`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
/// - [`profile_id(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>The unique identifier of a customer profile.</p><br>
/// - [`additional_information(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::additional_information) / [`set_additional_information(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_additional_information):<br>required: **false**<br><p>Any additional information relevant to the customer’s profile.</p><br>
/// - [`account_number(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::account_number) / [`set_account_number(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_account_number):<br>required: **false**<br><p>An account number that you have given to the customer.</p><br>
/// - [`party_type(PartyType)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::party_type) / [`set_party_type(Option<PartyType>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::business_name) / [`set_business_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_business_name):<br>required: **false**<br><p>The name of the customer’s business.</p><br>
/// - [`first_name(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::first_name) / [`set_first_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_first_name):<br>required: **false**<br><p>The customer’s first name.</p><br>
/// - [`middle_name(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::middle_name) / [`set_middle_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_middle_name):<br>required: **false**<br><p>The customer’s middle name.</p><br>
/// - [`last_name(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::last_name) / [`set_last_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_last_name):<br>required: **false**<br><p>The customer’s last name.</p><br>
/// - [`birth_date(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::birth_date) / [`set_birth_date(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_birth_date):<br>required: **false**<br><p>The customer’s birth date.</p><br>
/// - [`gender(Gender)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::gender) / [`set_gender(Option<Gender>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_gender):<br>required: **false**<br><p>The gender with which the customer identifies.</p><br>
/// - [`phone_number(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::phone_number) / [`set_phone_number(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::mobile_phone_number) / [`set_mobile_phone_number(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::home_phone_number) / [`set_home_phone_number(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::business_phone_number) / [`set_business_phone_number(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_business_phone_number):<br>required: **false**<br><p>The customer’s business phone number.</p><br>
/// - [`email_address(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::personal_email_address) / [`set_personal_email_address(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::business_email_address) / [`set_business_email_address(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_business_email_address):<br>required: **false**<br><p>The customer’s business email address.</p><br>
/// - [`address(UpdateAddress)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::address) / [`set_address(Option<UpdateAddress>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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(UpdateAddress)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::shipping_address) / [`set_shipping_address(Option<UpdateAddress>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_shipping_address):<br>required: **false**<br><p>The customer’s shipping address.</p><br>
/// - [`mailing_address(UpdateAddress)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::mailing_address) / [`set_mailing_address(Option<UpdateAddress>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_mailing_address):<br>required: **false**<br><p>The customer’s mailing address.</p><br>
/// - [`billing_address(UpdateAddress)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::billing_address) / [`set_billing_address(Option<UpdateAddress>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_billing_address):<br>required: **false**<br><p>The customer’s billing address.</p><br>
/// - [`attributes(impl Into<String>, impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::attributes) / [`set_attributes(Option<HashMap::<String, String>>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::party_type_string) / [`set_party_type_string(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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::update_profile::builders::UpdateProfileFluentBuilder::gender_string) / [`set_gender_string(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::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 [`UpdateProfileOutput`](crate::operation::update_profile::UpdateProfileOutput) with field(s):
/// - [`profile_id(String)`](crate::operation::update_profile::UpdateProfileOutput::profile_id): <p>The unique identifier of a customer profile.</p>
/// - On failure, responds with [`SdkError<UpdateProfileError>`](crate::operation::update_profile::UpdateProfileError)
pub fn update_profile(&self) -> crate::operation::update_profile::builders::UpdateProfileFluentBuilder {
crate::operation::update_profile::builders::UpdateProfileFluentBuilder::new(self.handle.clone())
}
}