ComputeOptimizerAutomation / Paginator / ListAutomationEventSummaries
ListAutomationEventSummaries¶
- class ComputeOptimizerAutomation.Paginator.ListAutomationEventSummaries¶
paginator = client.get_paginator('list_automation_event_summaries')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ComputeOptimizerAutomation.Client.list_automation_event_summaries().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( filters=[ { 'name': 'AccountId'|'ResourceType'|'EventType'|'EventStatus', 'values': [ 'string', ] }, ], startDateInclusive='string', endDateExclusive='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
filters (list) –
The filters to apply to the list of automation event summaries.
(dict) –
A filter to apply when listing automation events.
name (string) – [REQUIRED]
The name of the filter to apply.
values (list) – [REQUIRED]
The values to use for the specified filter.
(string) –
startDateInclusive (string) – The start date for filtering automation event summaries, inclusive. Events created on or after this date will be included.
endDateExclusive (string) – The end date for filtering automation event summaries, exclusive. Events created before this date will be included.
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
{ 'automationEventSummaries': [ { 'key': 'string', 'dimensions': [ { 'key': 'EventStatus', 'value': 'string' }, ], 'timePeriod': { 'startTimeInclusive': datetime(2015, 1, 1), 'endTimeExclusive': datetime(2015, 1, 1) }, 'total': { 'automationEventCount': 123, 'estimatedMonthlySavings': { 'currency': 'string', 'beforeDiscountSavings': 123.0, 'afterDiscountSavings': 123.0, 'savingsEstimationMode': 'BeforeDiscount'|'AfterDiscount' } } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
automationEventSummaries (list) –
The list of automation event summaries that match the specified criteria.
(dict) –
A summary of automation events grouped by specified dimensions.
key (string) –
The key identifier for this summary grouping.
dimensions (list) –
The dimensions used to group this summary, such as event status.
(dict) –
A key-value pair used to categorize and group summary data for analysis and reporting.
key (string) –
The dimension key used for categorizing summary data.
value (string) –
The specific value for this dimension key used in the summary grouping.
timePeriod (dict) –
The time period covered by this summary, with inclusive start time and exclusive end time.
startTimeInclusive (datetime) –
The start time of the period, inclusive. Events at or after this time are included.
endTimeExclusive (datetime) –
The end time of the period, exclusive. Events before this time are included.
total (dict) –
The aggregated totals for this summary, including event count and estimated savings.
automationEventCount (integer) –
The total number of automation events in this summary group.
estimatedMonthlySavings (dict) –
Contains information about estimated monthly cost savings.
currency (string) –
The currency of the estimated savings.
beforeDiscountSavings (float) –
The estimated monthly savings before applying any discounts.
afterDiscountSavings (float) –
The estimated monthly savings after applying any discounts.
savingsEstimationMode (string) –
The mode used to calculate savings, either BeforeDiscount or AfterDiscount.
NextToken (string) –
A token to resume pagination.