1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPartnership`](crate::operation::get_partnership::builders::GetPartnershipFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`partnership_id(impl Into<String>)`](crate::operation::get_partnership::builders::GetPartnershipFluentBuilder::partnership_id) / [`set_partnership_id(Option<String>)`](crate::operation::get_partnership::builders::GetPartnershipFluentBuilder::set_partnership_id):<br>required: **true**<br><p>Specifies the unique, system-generated identifier for a partnership.</p><br>
    /// - On success, responds with [`GetPartnershipOutput`](crate::operation::get_partnership::GetPartnershipOutput) with field(s):
    ///   - [`profile_id(String)`](crate::operation::get_partnership::GetPartnershipOutput::profile_id): <p>Returns the unique, system-generated identifier for the profile connected to this partnership.</p>
    ///   - [`partnership_id(String)`](crate::operation::get_partnership::GetPartnershipOutput::partnership_id): <p>Returns the unique, system-generated identifier for a partnership.</p>
    ///   - [`partnership_arn(String)`](crate::operation::get_partnership::GetPartnershipOutput::partnership_arn): <p>Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::name): <p>Returns the display name of the partnership</p>
    ///   - [`email(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::email): <p>Returns the email address associated with this trading partner.</p>
    ///   - [`phone(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::phone): <p>Returns the phone number associated with the partnership.</p>
    ///   - [`capabilities(Option<Vec::<String>>)`](crate::operation::get_partnership::GetPartnershipOutput::capabilities): <p>Returns one or more capabilities associated with this partnership.</p>
    ///   - [`trading_partner_id(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::trading_partner_id): <p>Returns the unique identifier for the partner for this partnership.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_partnership::GetPartnershipOutput::created_at): <p>Returns a timestamp for creation date and time of the partnership.</p>
    ///   - [`modified_at(Option<DateTime>)`](crate::operation::get_partnership::GetPartnershipOutput::modified_at): <p>Returns a timestamp that identifies the most recent date and time that the partnership was modified.</p>
    /// - On failure, responds with [`SdkError<GetPartnershipError>`](crate::operation::get_partnership::GetPartnershipError)
    pub fn get_partnership(&self) -> crate::operation::get_partnership::builders::GetPartnershipFluentBuilder {
        crate::operation::get_partnership::builders::GetPartnershipFluentBuilder::new(self.handle.clone())
    }
}