// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetProfile`](crate::operation::get_profile::builders::GetProfileFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_profile::builders::GetProfileFluentBuilder::send) it.
/// - On success, responds with [`GetProfileOutput`](crate::operation::get_profile::GetProfileOutput) with field(s):
/// - [`profile_type(ProfileType)`](crate::operation::get_profile::GetProfileOutput::profile_type): <p>The type of the profile.</p> <p>The following profile types are possible:</p> <ul> <li> <p><code>Lightsailor</code> – The account is not enrolled in the Lightsail partner program.</p></li> <li> <p><code>LightsailPartner</code> – The account is enrolled in the Lightsail partner program.</p></li> </ul>
/// - [`partner(Option<PartnerInfo>)`](crate::operation::get_profile::GetProfileOutput::partner): <p>An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.</p> <p>This parameter is returned only for accounts that have a <code>profileType</code> of <code>LightsailPartner</code>.</p>
/// - On failure, responds with [`SdkError<GetProfileError>`](crate::operation::get_profile::GetProfileError)
pub fn get_profile(&self) -> crate::operation::get_profile::builders::GetProfileFluentBuilder {
crate::operation::get_profile::builders::GetProfileFluentBuilder::new(self.handle.clone())
}
}