Billing / Client / list_enterprise_support_linked_account_charges

list_enterprise_support_linked_account_charges

Billing.Client.list_enterprise_support_linked_account_charges(**kwargs)

Returns Support-eligible spend broken down at linked account level.

See also: AWS API Documentation

Request Syntax

response = client.list_enterprise_support_linked_account_charges(
    billingMonth='string',
    accountId='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • billingMonth (string) –

    [REQUIRED]

    The billing month in YYYY-MM format. This must be a month in the past.

  • accountId (string) – The linked account ID to filter results to a specific account. If you don’t specify a value, the response includes charges for all linked accounts.

  • maxResults (integer) – The maximum number of results to return per page. Default is 100.

  • nextToken (string) – The pagination token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'linkedAccount': [
        {
            'accountId': 'string',
            'payerAccountId': 'string',
            'accountType': 'string',
            'billableSeconds': 123,
            'totalSeconds': 123,
            'totalSupportEligibleSpend': 'string',
            'proratedTotalSupportEligibleSpend': 'string',
            'linkedTimePeriods': [
                {
                    'beginDate': datetime(2015, 1, 1),
                    'endDate': datetime(2015, 1, 1)
                },
            ],
            'subscriptionTimePeriods': [
                {
                    'beginDate': datetime(2015, 1, 1),
                    'endDate': datetime(2015, 1, 1)
                },
            ],
            'totalSupportEligibleReservedInstanceSpend': 'string',
            'totalSupportEligibleSavingsPlanSpend': 'string',
            'supportEligibleSpendByService': [
                {
                    'serviceCode': 'string',
                    'totalSupportEligibleSpend': 'string'
                },
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    The response structure for ListEnterpriseSupportLinkedAccountCharges.

    • linkedAccount (list) –

      The list of Enterprise Support charges per linked account.

      • (dict) –

        Enterprise Support charges for a linked account.

        • accountId (string) –

          The linked account ID.

        • payerAccountId (string) –

          The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile.

        • accountType (string) –

          The type of account.

        • billableSeconds (integer) –

          The number of billable seconds in the billing period based on when the account was subscribed to Enterprise Support.

        • totalSeconds (integer) –

          The total number of seconds in the billing period.

        • totalSupportEligibleSpend (string) –

          The total support-eligible spend for this account.

        • proratedTotalSupportEligibleSpend (string) –

          The prorated total support-eligible spend based on when the account was subscribed to Enterprise Support.

        • linkedTimePeriods (list) –

          The time periods during which this account was linked.

          • (dict) –

            A time period for Enterprise Support billing.

            • beginDate (datetime) –

              The begin date of the time period.

            • endDate (datetime) –

              The end date of the time period.

        • subscriptionTimePeriods (list) –

          The subscription time periods for this account.

          • (dict) –

            A time period for Enterprise Support billing.

            • beginDate (datetime) –

              The begin date of the time period.

            • endDate (datetime) –

              The end date of the time period.

        • totalSupportEligibleReservedInstanceSpend (string) –

          The total support-eligible Reserved Instance spend for this account.

        • totalSupportEligibleSavingsPlanSpend (string) –

          The total support-eligible Savings Plan spend for this account.

        • supportEligibleSpendByService (list) –

          The support-eligible spend broken down by service.

          • (dict) –

            Service-level usage details by account.

            • serviceCode (string) –

              The service code for which to return Support-eligible spend data.

            • totalSupportEligibleSpend (string) –

              The total support-eligible spend for the service.

    • nextToken (string) –

      The pagination token for the next page of results.

Exceptions