aws_sdk_iotwireless/client/get_partner_account.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 [`GetPartnerAccount`](crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetPartnerAccountOutput`](crate::operation::get_partner_account::GetPartnerAccountOutput) with field(s):
9 /// - [`sidewalk(Option<SidewalkAccountInfoWithFingerprint>)`](crate::operation::get_partner_account::GetPartnerAccountOutput::sidewalk): <p>The Sidewalk account credentials.</p>
10 /// - [`account_linked(bool)`](crate::operation::get_partner_account::GetPartnerAccountOutput::account_linked): <p>Whether the partner account is linked to the AWS account.</p>
11 /// - On failure, responds with [`SdkError<GetPartnerAccountError>`](crate::operation::get_partner_account::GetPartnerAccountError)
12 pub fn get_partner_account(&self) -> crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder {
13 crate::operation::get_partner_account::builders::GetPartnerAccountFluentBuilder::new(self.handle.clone())
14 }
15}