1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateAwsAccountWithPartnerAccount`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`sidewalk(SidewalkAccountInfo)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::sidewalk) / [`set_sidewalk(Option<SidewalkAccountInfo>)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::set_sidewalk):<br>required: **true**<br><p>The Sidewalk account credentials.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency in Amazon EC2 API requests</a>.</p><br>
    ///   - [`tags(Tag)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.</p><br>
    /// - On success, responds with [`AssociateAwsAccountWithPartnerAccountOutput`](crate::operation::associate_aws_account_with_partner_account::AssociateAwsAccountWithPartnerAccountOutput) with field(s):
    ///   - [`sidewalk(Option<SidewalkAccountInfo>)`](crate::operation::associate_aws_account_with_partner_account::AssociateAwsAccountWithPartnerAccountOutput::sidewalk): <p>The Sidewalk account credentials.</p>
    ///   - [`arn(Option<String>)`](crate::operation::associate_aws_account_with_partner_account::AssociateAwsAccountWithPartnerAccountOutput::arn): <p>The Amazon Resource Name of the resource.</p>
    /// - On failure, responds with [`SdkError<AssociateAwsAccountWithPartnerAccountError>`](crate::operation::associate_aws_account_with_partner_account::AssociateAwsAccountWithPartnerAccountError)
    pub fn associate_aws_account_with_partner_account(
        &self,
    ) -> crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder {
        crate::operation::associate_aws_account_with_partner_account::builders::AssociateAwsAccountWithPartnerAccountFluentBuilder::new(
            self.handle.clone(),
        )
    }
}