CostOptimizationHub / Paginator / ListRecommendationSummaries
ListRecommendationSummaries#
- class CostOptimizationHub.Paginator.ListRecommendationSummaries#
paginator = client.get_paginator('list_recommendation_summaries')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
CostOptimizationHub.Client.list_recommendation_summaries()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( filter={ 'accountIds': [ 'string', ], 'actionTypes': [ 'Rightsize'|'Stop'|'Upgrade'|'PurchaseSavingsPlans'|'PurchaseReservedInstances'|'MigrateToGraviton', ], 'implementationEfforts': [ 'VeryLow'|'Low'|'Medium'|'High'|'VeryHigh', ], 'recommendationIds': [ 'string', ], 'regions': [ 'string', ], 'resourceArns': [ 'string', ], 'resourceIds': [ 'string', ], 'resourceTypes': [ 'Ec2Instance'|'LambdaFunction'|'EbsVolume'|'EcsService'|'Ec2AutoScalingGroup'|'Ec2InstanceSavingsPlans'|'ComputeSavingsPlans'|'SageMakerSavingsPlans'|'Ec2ReservedInstances'|'RdsReservedInstances'|'OpenSearchReservedInstances'|'RedshiftReservedInstances'|'ElastiCacheReservedInstances', ], 'restartNeeded': True|False, 'rollbackPossible': True|False, 'tags': [ { 'key': 'string', 'value': 'string' }, ] }, groupBy='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
filter (dict) –
Describes a filter that returns a more specific list of recommendations. Filters recommendations by different dimensions.
accountIds (list) –
The account that the recommendation is for.
(string) –
actionTypes (list) –
The type of action you can take by adopting the recommendation.
(string) –
implementationEfforts (list) –
The effort required to implement the recommendation.
(string) –
recommendationIds (list) –
The IDs for the recommendations.
(string) –
regions (list) –
The Amazon Web Services Region of the resource.
(string) –
resourceArns (list) –
The Amazon Resource Name (ARN) of the recommendation.
(string) –
resourceIds (list) –
The resource ID of the recommendation.
(string) –
resourceTypes (list) –
The resource type of the recommendation.
(string) –
restartNeeded (boolean) –
Whether or not implementing the recommendation requires a restart.
rollbackPossible (boolean) –
Whether or not implementing the recommendation can be rolled back.
tags (list) –
A list of tags assigned to the recommendation.
(dict) –
The tag structure that contains a tag key and value.
key (string) –
The key that’s associated with the tag.
value (string) –
The value that’s associated with the tag.
groupBy (string) –
[REQUIRED]
The grouping of recommendations by a dimension.
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
{ 'currencyCode': 'string', 'estimatedTotalDedupedSavings': 123.0, 'groupBy': 'string', 'items': [ { 'estimatedMonthlySavings': 123.0, 'group': 'string', 'recommendationCount': 123 }, ], 'NextToken': 'string' }
Response Structure
(dict) –
currencyCode (string) –
The currency code used for the recommendation.
estimatedTotalDedupedSavings (float) –
The total overall savings for the aggregated view.
groupBy (string) –
The dimension used to group the recommendations by.
items (list) –
List of all savings recommendations.
(dict) –
The summary of rightsizing recommendations, including de-duped savings from all types of recommendations.
estimatedMonthlySavings (float) –
The estimated total savings resulting from modifications, on a monthly basis.
group (string) –
The grouping of recommendations.
recommendationCount (integer) –
The total number of instance recommendations.
NextToken (string) –
A token to resume pagination.