Billing / Client / list_business_support_subscription_history

list_business_support_subscription_history

Billing.Client.list_business_support_subscription_history(**kwargs)

Returns the history of Business Support subscription contracts across accounts.

See also: AWS API Documentation

Request Syntax

response = client.list_business_support_subscription_history(
    billingMonth='string',
    accountId='string',
    startDate=datetime(2015, 1, 1),
    endDate=datetime(2015, 1, 1),
    maxResults=123,
    nextToken='string'
)
Parameters:
  • billingMonth (string) – The billing month to retrieve subscription contracts for, in YYYY-MM format. If you don’t specify a value, defaults to the current month.

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

  • startDate (datetime) – The start date to filter subscription contracts from.

  • endDate (datetime) – The end date to filter subscription contracts to.

  • 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

{
    'subscriptionContracts': [
        {
            'accountId': 'string',
            'planName': 'string',
            'contractStartDate': datetime(2015, 1, 1),
            'contractEndDate': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Contains the list of Business Support subscription contracts that match the request filters.

    • subscriptionContracts (list) –

      The list of Business Support subscription contracts.

      • (dict) –

        A Business Support subscription contract for an account.

        • accountId (string) –

          The account ID associated with this subscription contract.

        • planName (string) –

          The name of the Support plan for this subscription contract. Valid values: AWSSupportBusiness (Business Support plan), AWSSupportDeveloper (Developer Support plan), AWSSupportEssential (Basic Support plan).

        • contractStartDate (datetime) –

          The start date of the subscription contract.

        • contractEndDate (datetime) –

          The end date of the subscription contract.

    • nextToken (string) –

      The pagination token for the next page of results.

Exceptions