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
// 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:
    ///   - [`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>Specifies the unique, system-generated identifier for the profile.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_name):<br>required: **false**<br><p>The name of the profile, used to identify it.</p><br>
    ///   - [`email(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::email) / [`set_email(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_email):<br>required: **false**<br><p>Specifies the email address associated with this customer profile.</p><br>
    ///   - [`phone(impl Into<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::phone) / [`set_phone(Option<String>)`](crate::operation::update_profile::builders::UpdateProfileFluentBuilder::set_phone):<br>required: **false**<br><p>Specifies the phone number associated with the profile.</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>Specifies the name for the business associated with this profile.</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>Returns the unique, system-generated identifier for the profile.</p>
    ///   - [`profile_arn(String)`](crate::operation::update_profile::UpdateProfileOutput::profile_arn): <p>Returns an Amazon Resource Name (ARN) for the profile.</p>
    ///   - [`name(String)`](crate::operation::update_profile::UpdateProfileOutput::name): <p>Returns the name of the profile.</p>
    ///   - [`email(Option<String>)`](crate::operation::update_profile::UpdateProfileOutput::email): <p>Returns the email address associated with this customer profile.</p>
    ///   - [`phone(String)`](crate::operation::update_profile::UpdateProfileOutput::phone): <p>Returns the phone number associated with the profile.</p>
    ///   - [`business_name(String)`](crate::operation::update_profile::UpdateProfileOutput::business_name): <p>Returns the name for the business associated with this profile.</p>
    ///   - [`logging(Option<Logging>)`](crate::operation::update_profile::UpdateProfileOutput::logging): <p>Specifies whether or not logging is enabled for this profile.</p>
    ///   - [`log_group_name(Option<String>)`](crate::operation::update_profile::UpdateProfileOutput::log_group_name): <p>Returns the name of the logging group.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_profile::UpdateProfileOutput::created_at): <p>Returns a timestamp for creation date and time of the profile.</p>
    ///   - [`modified_at(Option<DateTime>)`](crate::operation::update_profile::UpdateProfileOutput::modified_at): <p>Returns a timestamp for last time the profile was modified.</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())
    }
}