BillingConductor / Client / associate_accounts

associate_accounts#

BillingConductor.Client.associate_accounts(**kwargs)#

Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.

See also: AWS API Documentation

Request Syntax

response = client.associate_accounts(
    Arn='string',
    AccountIds=[
        'string',
    ]
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.

  • AccountIds (list) –

    [REQUIRED]

    The associating array of account IDs.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.

Exceptions