Billing / Paginator / ListBusinessSupportSubscriptionHistory
ListBusinessSupportSubscriptionHistory¶
- class Billing.Paginator.ListBusinessSupportSubscriptionHistory¶
paginator = client.get_paginator('list_business_support_subscription_history')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Billing.Client.list_business_support_subscription_history().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( billingMonth='string', accountId='string', startDate=datetime(2015, 1, 1), endDate=datetime(2015, 1, 1), PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': '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.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- 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) –
A token to resume pagination.