aws_sdk_iotwireless/client/disassociate_aws_account_from_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 [`DisassociateAwsAccountFromPartnerAccount`](crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`partner_account_id(impl Into<String>)`](crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder::partner_account_id) / [`set_partner_account_id(Option<String>)`](crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder::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::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder::partner_type) / [`set_partner_type(Option<PartnerType>)`](crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder::set_partner_type):<br>required: **true**<br><p>The partner type.</p><br>
8 /// - On success, responds with [`DisassociateAwsAccountFromPartnerAccountOutput`](crate::operation::disassociate_aws_account_from_partner_account::DisassociateAwsAccountFromPartnerAccountOutput)
9 /// - On failure, responds with [`SdkError<DisassociateAwsAccountFromPartnerAccountError>`](crate::operation::disassociate_aws_account_from_partner_account::DisassociateAwsAccountFromPartnerAccountError)
10 pub fn disassociate_aws_account_from_partner_account(
11 &self,
12 ) -> crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder {
13 crate::operation::disassociate_aws_account_from_partner_account::builders::DisassociateAwsAccountFromPartnerAccountFluentBuilder::new(
14 self.handle.clone(),
15 )
16 }
17}