aws_sdk_b2bi/client/get_profile.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 [`GetProfile`](crate::operation::get_profile::builders::GetProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`profile_id(impl Into<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>Specifies the unique, system-generated identifier for the profile.</p><br>
7 /// - On success, responds with [`GetProfileOutput`](crate::operation::get_profile::GetProfileOutput) with field(s):
8 /// - [`profile_id(String)`](crate::operation::get_profile::GetProfileOutput::profile_id): <p>Returns the unique, system-generated identifier for the profile.</p>
9 /// - [`profile_arn(String)`](crate::operation::get_profile::GetProfileOutput::profile_arn): <p>Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.</p>
10 /// - [`name(String)`](crate::operation::get_profile::GetProfileOutput::name): <p>Returns the name of the profile, used to identify it.</p>
11 /// - [`email(Option<String>)`](crate::operation::get_profile::GetProfileOutput::email): <p>Returns the email address associated with this customer profile.</p>
12 /// - [`phone(String)`](crate::operation::get_profile::GetProfileOutput::phone): <p>Returns the phone number associated with the profile.</p>
13 /// - [`business_name(String)`](crate::operation::get_profile::GetProfileOutput::business_name): <p>Returns the name for the business associated with this profile.</p>
14 /// - [`logging(Option<Logging>)`](crate::operation::get_profile::GetProfileOutput::logging): <p>Returns whether or not logging is enabled for this profile.</p>
15 /// - [`log_group_name(Option<String>)`](crate::operation::get_profile::GetProfileOutput::log_group_name): <p>Returns the name of the logging group.</p>
16 /// - [`created_at(DateTime)`](crate::operation::get_profile::GetProfileOutput::created_at): <p>Returns a timestamp for creation date and time of the transformer.</p>
17 /// - [`modified_at(Option<DateTime>)`](crate::operation::get_profile::GetProfileOutput::modified_at): <p>Returns a timestamp for last time the profile was modified.</p>
18 /// - On failure, responds with [`SdkError<GetProfileError>`](crate::operation::get_profile::GetProfileError)
19 pub fn get_profile(&self) -> crate::operation::get_profile::builders::GetProfileFluentBuilder {
20 crate::operation::get_profile::builders::GetProfileFluentBuilder::new(self.handle.clone())
21 }
22}