BillingandCostManagementPricingCalculator / Paginator / ListBillEstimateInputUsageModifications
ListBillEstimateInputUsageModifications#
- class BillingandCostManagementPricingCalculator.Paginator.ListBillEstimateInputUsageModifications#
paginator = client.get_paginator('list_bill_estimate_input_usage_modifications')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
BillingandCostManagementPricingCalculator.Client.list_bill_estimate_input_usage_modifications()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( billEstimateId='string', filters=[ { 'name': 'USAGE_ACCOUNT_ID'|'SERVICE_CODE'|'USAGE_TYPE'|'OPERATION'|'LOCATION'|'USAGE_GROUP'|'HISTORICAL_USAGE_ACCOUNT_ID'|'HISTORICAL_SERVICE_CODE'|'HISTORICAL_USAGE_TYPE'|'HISTORICAL_OPERATION'|'HISTORICAL_LOCATION', 'values': [ 'string', ], 'matchOption': 'EQUALS'|'STARTS_WITH'|'CONTAINS' }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
billEstimateId (string) –
[REQUIRED]
The unique identifier of the bill estimate to list input usage modifications for.
filters (list) –
Filters to apply to the list of input usage modifications.
(dict) –
Represents a filter for listing usage data.
name (string) – [REQUIRED]
The name of the filter attribute.
values (list) – [REQUIRED]
The values to filter by.
(string) –
matchOption (string) –
The match option for the filter (e.g., equals, contains).
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
NextToken
will 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
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'serviceCode': 'string', 'usageType': 'string', 'operation': 'string', 'location': 'string', 'availabilityZone': 'string', 'id': 'string', 'group': 'string', 'usageAccountId': 'string', 'quantities': [ { 'startHour': datetime(2015, 1, 1), 'unit': 'string', 'amount': 123.0 }, ], 'historicalUsage': { 'serviceCode': 'string', 'usageType': 'string', 'operation': 'string', 'location': 'string', 'usageAccountId': 'string', 'billInterval': { 'start': datetime(2015, 1, 1), 'end': datetime(2015, 1, 1) }, 'filterExpression': { 'and': [ {'... recursive ...'}, ], 'or': [ {'... recursive ...'}, ], 'not': {'... recursive ...'}, 'costCategories': { 'key': 'string', 'matchOptions': [ 'string', ], 'values': [ 'string', ] }, 'dimensions': { 'key': 'string', 'matchOptions': [ 'string', ], 'values': [ 'string', ] }, 'tags': { 'key': 'string', 'matchOptions': [ 'string', ], 'values': [ 'string', ] } } } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
items (list) –
The list of input usage modifications associated with the bill estimate.
(dict) –
Summarizes an input usage modification for a bill estimate.
serviceCode (string) –
The Amazon Web Services service code for this usage modification.
usageType (string) –
The type of usage being modified.
operation (string) –
The specific operation associated with this usage modification.
location (string) –
The location associated with this usage modification.
availabilityZone (string) –
The availability zone associated with this usage modification, if applicable.
id (string) –
The unique identifier of the usage modification.
group (string) –
The group identifier for the usage modification.
usageAccountId (string) –
The Amazon Web Services account ID associated with this usage modification.
quantities (list) –
The modified usage quantities.
(dict) –
Represents a usage quantity with associated unit and time period.
startHour (datetime) –
The start hour of the usage period.
unit (string) –
The unit of measurement for the usage quantity.
amount (float) –
The numeric value of the usage quantity.
historicalUsage (dict) –
Historical usage data associated with this modification, if available.
serviceCode (string) –
The Amazon Web Services service code associated with the usage.
usageType (string) –
The type of usage.
operation (string) –
The specific operation associated with the usage.
location (string) –
The location associated with the usage.
usageAccountId (string) –
The Amazon Web Services account ID associated with the usage.
billInterval (dict) –
The time interval for the historical usage data.
start (datetime) –
The start date and time of the interval.
end (datetime) –
The end date and time of the interval.
filterExpression (dict) –
An optional filter expression to apply to the historical usage data.
and (list) –
A list of expressions to be combined with AND logic.
(dict) –
Represents a complex filtering expression for cost and usage data.
or (list) –
A list of expressions to be combined with OR logic.
(dict) –
Represents a complex filtering expression for cost and usage data.
not (dict) –
An expression to be negated.
costCategories (dict) –
Filters based on cost categories.
key (string) –
The key or attribute to filter on.
matchOptions (list) –
The match options for the filter (e.g., equals, contains).
(string) –
values (list) –
The values to match against.
(string) –
dimensions (dict) –
Filters based on dimensions (e.g., service, operation).
key (string) –
The key or attribute to filter on.
matchOptions (list) –
The match options for the filter (e.g., equals, contains).
(string) –
values (list) –
The values to match against.
(string) –
tags (dict) –
Filters based on resource tags.
key (string) –
The key or attribute to filter on.
matchOptions (list) –
The match options for the filter (e.g., equals, contains).
(string) –
values (list) –
The values to match against.
(string) –
NextToken (string) –
A token to resume pagination.