1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPartnerAccount`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`partner_account_id(impl Into<String>)`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::partner_account_id) / [`set_partner_account_id(Option<String>)`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::set_partner_account_id):<br>required: **true**<br><p>The partner account ID to disassociate from the AWS account.</p><br>
    ///   - [`partner_type(PartnerType)`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::partner_type) / [`set_partner_type(Option<PartnerType>)`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::set_partner_type):<br>required: **true**<br><p>The partner type.</p><br>
    /// - On success, responds with [`GetPartnerAccountOutput`](crate::operation::get_partner_account::GetPartnerAccountOutput) with field(s):
    ///   - [`sidewalk(Option<SidewalkAccountInfoWithFingerprint>)`](crate::operation::get_partner_account::GetPartnerAccountOutput::sidewalk): <p>The Sidewalk account credentials.</p>
    ///   - [`account_linked(bool)`](crate::operation::get_partner_account::GetPartnerAccountOutput::account_linked): <p>Whether the partner account is linked to the AWS account.</p>
    /// - On failure, responds with [`SdkError<GetPartnerAccountError>`](crate::operation::get_partner_account::GetPartnerAccountError)
    pub fn get_partner_account(&self) -> crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder {
        crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::new(self.handle.clone())
    }
}