aws_sdk_b2bi/client/
get_partnership.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 [`GetPartnership`](crate::operation::get_partnership::builders::GetPartnershipFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`GetPartnershipOutput`](crate::operation::get_partnership::GetPartnershipOutput) with field(s):
8    ///   - [`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>
9    ///   - [`partnership_id(String)`](crate::operation::get_partnership::GetPartnershipOutput::partnership_id): <p>Returns the unique, system-generated identifier for a partnership.</p>
10    ///   - [`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>
11    ///   - [`name(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::name): <p>Returns the display name of the partnership</p>
12    ///   - [`email(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::email): <p>Returns the email address associated with this trading partner.</p>
13    ///   - [`phone(Option<String>)`](crate::operation::get_partnership::GetPartnershipOutput::phone): <p>Returns the phone number associated with the partnership.</p>
14    ///   - [`capabilities(Option<Vec::<String>>)`](crate::operation::get_partnership::GetPartnershipOutput::capabilities): <p>Returns one or more capabilities associated with this partnership.</p>
15    ///   - [`capability_options(Option<CapabilityOptions>)`](crate::operation::get_partnership::GetPartnershipOutput::capability_options): <p>Contains the details for an Outbound EDI capability.</p>
16    ///   - [`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>
17    ///   - [`created_at(DateTime)`](crate::operation::get_partnership::GetPartnershipOutput::created_at): <p>Returns a timestamp for creation date and time of the partnership.</p>
18    ///   - [`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>
19    /// - On failure, responds with [`SdkError<GetPartnershipError>`](crate::operation::get_partnership::GetPartnershipError)
20    pub fn get_partnership(&self) -> crate::operation::get_partnership::builders::GetPartnershipFluentBuilder {
21        crate::operation::get_partnership::builders::GetPartnershipFluentBuilder::new(self.handle.clone())
22    }
23}