Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . billingconductor ]

list-account-associations

Description

  • Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the `Amazon Web Services Service Terms <https://aws.amazon.com/service-terms/>`__ (Section 1.10). *

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group associated with the linked account.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

list-account-associations is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate argument. When using --output text and the --query argument on a paginated response, the --query argument must extract data from the results of the following query expressions: LinkedAccounts

Synopsis

  list-account-associations
[--billing-period <value>]
[--filters <value>]
[--cli-input-json <value>]
[--starting-token <value>]
[--max-items <value>]
[--generate-cli-skeleton <value>]

Options

--billing-period (string)

The preferred billing period to get account associations.

--filters (structure)

The filter on the account ID of the linked account, or any of the following:

MONITORED : linked accounts that are associated to billing groups.

UNMONITORED : linked accounts that are not associated to billing groups.

Billing Group Arn : linked accounts that are associated to the provided billing group Arn.

Association -> (string)

MONITORED : linked accounts that are associated to billing groups.

UNMONITORED : linked accounts that are not associated to billing groups.

Billing Group Arn : linked accounts that are associated to the provided Billing Group Arn.

AccountId -> (string)

The Amazon Web Services account ID to filter on.

Shorthand Syntax:

Association=string,AccountId=string

JSON Syntax:

{
  "Association": "string",
  "AccountId": "string"
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--starting-token (string)

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

For usage examples, see Pagination in the AWS Command Line Interface User Guide .

--max-items (integer)

The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.

For usage examples, see Pagination in the AWS Command Line Interface User Guide .

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

LinkedAccounts -> (list)

The list of linked accounts in the payer account.

(structure)

  • Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the `Amazon Web Services Service Terms <https://aws.amazon.com/service-terms/>`__ (Section 1.10). *

A representation of a linked account.

AccountId -> (string)

The associating array of account IDs.

BillingGroupArn -> (string)

The Billing Group Arn that the linked account is associated to.

AccountName -> (string)

The Amazon Web Services account name.

AccountEmail -> (string)

The Amazon Web Services account email.

NextToken -> (string)

The pagination token used on subsequent calls to get accounts.