CostOptimizationHub / Client / get_recommendation
get_recommendation#
- CostOptimizationHub.Client.get_recommendation(**kwargs)#
Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation.
The
recommendationId
is only valid for up to a maximum of 24 hours as recommendations are refreshed daily. To retrieve therecommendationId
, use theListRecommendations
API.See also: AWS API Documentation
Request Syntax
response = client.get_recommendation( recommendationId='string' )
- Parameters:
recommendationId (string) –
[REQUIRED]
The ID for the recommendation.
- Return type:
dict
- Returns:
Response Syntax
{ 'accountId': 'string', 'actionType': 'Rightsize'|'Stop'|'Upgrade'|'PurchaseSavingsPlans'|'PurchaseReservedInstances'|'MigrateToGraviton', 'costCalculationLookbackPeriodInDays': 123, 'currencyCode': 'string', 'currentResourceDetails': { 'computeSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'paymentOption': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ebsVolume': { 'configuration': { 'attachmentState': 'string', 'performance': { 'iops': 123.0, 'throughput': 123.0 }, 'storage': { 'sizeInGb': 123.0, 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2AutoScalingGroup': { 'configuration': { 'instance': { 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2Instance': { 'configuration': { 'instance': { 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2InstanceSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'instanceFamily': 'string', 'paymentOption': 'string', 'savingsPlansRegion': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ec2ReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'offeringClass': 'string', 'paymentOption': 'string', 'platform': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'tenancy': 'string', 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ecsService': { 'configuration': { 'compute': { 'architecture': 'string', 'memorySizeInMB': 123, 'platform': 'string', 'vCpu': 123.0 } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'elastiCacheReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'lambdaFunction': { 'configuration': { 'compute': { 'architecture': 'string', 'memorySizeInMB': 123, 'platform': 'string', 'vCpu': 123.0 } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'openSearchReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'rdsReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'databaseEdition': 'string', 'databaseEngine': 'string', 'deploymentOption': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'licenseModel': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'redshiftReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'sageMakerSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'paymentOption': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } } }, 'currentResourceType': 'Ec2Instance'|'LambdaFunction'|'EbsVolume'|'EcsService'|'Ec2AutoScalingGroup'|'Ec2InstanceSavingsPlans'|'ComputeSavingsPlans'|'SageMakerSavingsPlans'|'Ec2ReservedInstances'|'RdsReservedInstances'|'OpenSearchReservedInstances'|'RedshiftReservedInstances'|'ElastiCacheReservedInstances', 'estimatedMonthlyCost': 123.0, 'estimatedMonthlySavings': 123.0, 'estimatedSavingsOverCostCalculationLookbackPeriod': 123.0, 'estimatedSavingsPercentage': 123.0, 'implementationEffort': 'VeryLow'|'Low'|'Medium'|'High'|'VeryHigh', 'lastRefreshTimestamp': datetime(2015, 1, 1), 'recommendationId': 'string', 'recommendationLookbackPeriodInDays': 123, 'recommendedResourceDetails': { 'computeSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'paymentOption': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ebsVolume': { 'configuration': { 'attachmentState': 'string', 'performance': { 'iops': 123.0, 'throughput': 123.0 }, 'storage': { 'sizeInGb': 123.0, 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2AutoScalingGroup': { 'configuration': { 'instance': { 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2Instance': { 'configuration': { 'instance': { 'type': 'string' } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'ec2InstanceSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'instanceFamily': 'string', 'paymentOption': 'string', 'savingsPlansRegion': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ec2ReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'offeringClass': 'string', 'paymentOption': 'string', 'platform': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'tenancy': 'string', 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'ecsService': { 'configuration': { 'compute': { 'architecture': 'string', 'memorySizeInMB': 123, 'platform': 'string', 'vCpu': 123.0 } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'elastiCacheReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'lambdaFunction': { 'configuration': { 'compute': { 'architecture': 'string', 'memorySizeInMB': 123, 'platform': 'string', 'vCpu': 123.0 } }, 'costCalculation': { 'pricing': { 'estimatedCostAfterDiscounts': 123.0, 'estimatedCostBeforeDiscounts': 123.0, 'estimatedDiscounts': { 'otherDiscount': 123.0, 'reservedInstancesDiscount': 123.0, 'savingsPlansDiscount': 123.0 }, 'estimatedNetUnusedAmortizedCommitments': 123.0 }, 'usages': [ { 'operation': 'string', 'productCode': 'string', 'unit': 'string', 'usageAmount': 123.0, 'usageType': 'string' }, ] } }, 'openSearchReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'rdsReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'databaseEdition': 'string', 'databaseEngine': 'string', 'deploymentOption': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'licenseModel': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'redshiftReservedInstances': { 'configuration': { 'accountScope': 'string', 'currentGeneration': 'string', 'instanceFamily': 'string', 'instanceType': 'string', 'monthlyRecurringCost': 'string', 'normalizedUnitsToPurchase': 'string', 'numberOfInstancesToPurchase': 'string', 'paymentOption': 'string', 'reservedInstancesRegion': 'string', 'service': 'string', 'sizeFlexEligible': True|False, 'term': 'string', 'upfrontCost': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyAmortizedReservationCost': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlyReservationEligibleCost': 123.0, 'savingsPercentage': 123.0 } } }, 'sageMakerSavingsPlans': { 'configuration': { 'accountScope': 'string', 'hourlyCommitment': 'string', 'paymentOption': 'string', 'term': 'string' }, 'costCalculation': { 'pricing': { 'estimatedMonthlyCommitment': 123.0, 'estimatedOnDemandCost': 123.0, 'monthlySavingsPlansEligibleCost': 123.0, 'savingsPercentage': 123.0 } } } }, 'recommendedResourceType': 'Ec2Instance'|'LambdaFunction'|'EbsVolume'|'EcsService'|'Ec2AutoScalingGroup'|'Ec2InstanceSavingsPlans'|'ComputeSavingsPlans'|'SageMakerSavingsPlans'|'Ec2ReservedInstances'|'RdsReservedInstances'|'OpenSearchReservedInstances'|'RedshiftReservedInstances'|'ElastiCacheReservedInstances', 'region': 'string', 'resourceArn': 'string', 'resourceId': 'string', 'restartNeeded': True|False, 'rollbackPossible': True|False, 'source': 'ComputeOptimizer'|'CostExplorer', 'tags': [ { 'key': 'string', 'value': 'string' }, ] }
Response Structure
(dict) –
accountId (string) –
The account that the recommendation is for.
actionType (string) –
The type of action you can take by adopting the recommendation.
costCalculationLookbackPeriodInDays (integer) –
The lookback period used to calculate cost impact for a recommendation.
currencyCode (string) –
The currency code used for the recommendation.
currentResourceDetails (dict) –
The details for the resource.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
computeSavingsPlans
,ebsVolume
,ec2AutoScalingGroup
,ec2Instance
,ec2InstanceSavingsPlans
,ec2ReservedInstances
,ecsService
,elastiCacheReservedInstances
,lambdaFunction
,openSearchReservedInstances
,rdsReservedInstances
,redshiftReservedInstances
,sageMakerSavingsPlans
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
computeSavingsPlans (dict) –
The Compute Savings Plans recommendation details.
configuration (dict) –
Configuration details of the Compute Savings Plans to purchase.
accountScope (string) –
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to
PAYER
. If the value isLINKED
, recommendations are calculated for individual member accounts only.hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
paymentOption (string) –
The payment option for the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
ebsVolume (dict) –
The Amazon Elastic Block Store volume recommendation details.
configuration (dict) –
The Amazon Elastic Block Store volume configuration used for recommendations.
attachmentState (string) –
The Amazon Elastic Block Store attachment state.
performance (dict) –
The Amazon Elastic Block Store performance configuration.
iops (float) –
The number of I/O operations per second.
throughput (float) –
The throughput that the volume supports.
storage (dict) –
The disk storage of the Amazon Elastic Block Store volume.
sizeInGb (float) –
The storage volume.
type (string) –
The storage type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2AutoScalingGroup (dict) –
The EC2 Auto Scaling group recommendation details.
configuration (dict) –
The EC2 Auto Scaling group configuration used for recommendations.
instance (dict) –
Details about the instance.
type (string) –
Details about the type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2Instance (dict) –
The EC2 instance recommendation details.
configuration (dict) –
The EC2 instance configuration used for recommendations.
instance (dict) –
Details about the instance.
type (string) –
Details about the type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2InstanceSavingsPlans (dict) –
The EC2 instance Savings Plans recommendation details.
configuration (dict) –
The EC2 instance Savings Plans configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
instanceFamily (string) –
The instance family of the recommended Savings Plan.
paymentOption (string) –
The payment option for the commitment.
savingsPlansRegion (string) –
The Amazon Web Services Region of the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
ec2ReservedInstances (dict) –
The EC2 reserved instances recommendation details.
configuration (dict) –
The EC2 reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
offeringClass (string) –
Indicates whether the recommendation is for standard or convertible reservations.
paymentOption (string) –
The payment option for the commitment.
platform (string) –
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
tenancy (string) –
Determines whether the recommended reservation is dedicated or shared.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
ecsService (dict) –
The ECS service recommendation details.
configuration (dict) –
The ECS service configuration used for recommendations.
compute (dict) –
Details about the compute configuration.
architecture (string) –
The architecture of the resource.
memorySizeInMB (integer) –
The memory size of the resource.
platform (string) –
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
vCpu (float) –
The number of vCPU cores in the resource.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
elastiCacheReservedInstances (dict) –
The ElastiCache reserved instances recommendation details.
configuration (dict) –
The ElastiCache reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
lambdaFunction (dict) –
The Lambda function recommendation details.
configuration (dict) –
The Lambda function configuration used for recommendations.
compute (dict) –
Details about the compute configuration.
architecture (string) –
The architecture of the resource.
memorySizeInMB (integer) –
The memory size of the resource.
platform (string) –
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
vCpu (float) –
The number of vCPU cores in the resource.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
openSearchReservedInstances (dict) –
The OpenSearch reserved instances recommendation details.
configuration (dict) –
The OpenSearch reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
rdsReservedInstances (dict) –
The RDS reserved instances recommendation details.
configuration (dict) –
The RDS reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
databaseEdition (string) –
The database edition that the recommended reservation supports.
databaseEngine (string) –
The database engine that the recommended reservation supports.
deploymentOption (string) –
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
licenseModel (string) –
The license model that the recommended reservation supports.
monthlyRecurringCost (string) –
How much purchasing this instance costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
redshiftReservedInstances (dict) –
The Redshift reserved instances recommendation details.
configuration (dict) –
The Redshift reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
sageMakerSavingsPlans (dict) –
The SageMaker Savings Plans recommendation details.
configuration (dict) –
The SageMaker Savings Plans configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
paymentOption (string) –
The payment option for the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
currentResourceType (string) –
The type of resource.
estimatedMonthlyCost (float) –
The estimated monthly cost of the recommendation.
estimatedMonthlySavings (float) –
The estimated monthly savings amount for the recommendation.
estimatedSavingsOverCostCalculationLookbackPeriod (float) –
The estimated savings amount over the lookback period used to calculate cost impact for a recommendation.
estimatedSavingsPercentage (float) –
The estimated savings percentage relative to the total cost over the cost calculation lookback period.
implementationEffort (string) –
The effort required to implement the recommendation.
lastRefreshTimestamp (datetime) –
The time when the recommendation was last generated.
recommendationId (string) –
The ID for the recommendation.
recommendationLookbackPeriodInDays (integer) –
The lookback period that’s used to generate the recommendation.
recommendedResourceDetails (dict) –
The details about the recommended resource.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
computeSavingsPlans
,ebsVolume
,ec2AutoScalingGroup
,ec2Instance
,ec2InstanceSavingsPlans
,ec2ReservedInstances
,ecsService
,elastiCacheReservedInstances
,lambdaFunction
,openSearchReservedInstances
,rdsReservedInstances
,redshiftReservedInstances
,sageMakerSavingsPlans
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
computeSavingsPlans (dict) –
The Compute Savings Plans recommendation details.
configuration (dict) –
Configuration details of the Compute Savings Plans to purchase.
accountScope (string) –
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to
PAYER
. If the value isLINKED
, recommendations are calculated for individual member accounts only.hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
paymentOption (string) –
The payment option for the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
ebsVolume (dict) –
The Amazon Elastic Block Store volume recommendation details.
configuration (dict) –
The Amazon Elastic Block Store volume configuration used for recommendations.
attachmentState (string) –
The Amazon Elastic Block Store attachment state.
performance (dict) –
The Amazon Elastic Block Store performance configuration.
iops (float) –
The number of I/O operations per second.
throughput (float) –
The throughput that the volume supports.
storage (dict) –
The disk storage of the Amazon Elastic Block Store volume.
sizeInGb (float) –
The storage volume.
type (string) –
The storage type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2AutoScalingGroup (dict) –
The EC2 Auto Scaling group recommendation details.
configuration (dict) –
The EC2 Auto Scaling group configuration used for recommendations.
instance (dict) –
Details about the instance.
type (string) –
Details about the type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2Instance (dict) –
The EC2 instance recommendation details.
configuration (dict) –
The EC2 instance configuration used for recommendations.
instance (dict) –
Details about the instance.
type (string) –
Details about the type.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
ec2InstanceSavingsPlans (dict) –
The EC2 instance Savings Plans recommendation details.
configuration (dict) –
The EC2 instance Savings Plans configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
instanceFamily (string) –
The instance family of the recommended Savings Plan.
paymentOption (string) –
The payment option for the commitment.
savingsPlansRegion (string) –
The Amazon Web Services Region of the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
ec2ReservedInstances (dict) –
The EC2 reserved instances recommendation details.
configuration (dict) –
The EC2 reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
offeringClass (string) –
Indicates whether the recommendation is for standard or convertible reservations.
paymentOption (string) –
The payment option for the commitment.
platform (string) –
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
tenancy (string) –
Determines whether the recommended reservation is dedicated or shared.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
ecsService (dict) –
The ECS service recommendation details.
configuration (dict) –
The ECS service configuration used for recommendations.
compute (dict) –
Details about the compute configuration.
architecture (string) –
The architecture of the resource.
memorySizeInMB (integer) –
The memory size of the resource.
platform (string) –
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
vCpu (float) –
The number of vCPU cores in the resource.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
elastiCacheReservedInstances (dict) –
The ElastiCache reserved instances recommendation details.
configuration (dict) –
The ElastiCache reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
lambdaFunction (dict) –
The Lambda function recommendation details.
configuration (dict) –
The Lambda function configuration used for recommendations.
compute (dict) –
Details about the compute configuration.
architecture (string) –
The architecture of the resource.
memorySizeInMB (integer) –
The memory size of the resource.
platform (string) –
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
vCpu (float) –
The number of vCPU cores in the resource.
costCalculation (dict) –
Cost impact of the recommendation.
pricing (dict) –
Pricing details of the resource recommendation.
estimatedCostAfterDiscounts (float) –
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
estimatedCostBeforeDiscounts (float) –
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
estimatedDiscounts (dict) –
The estimated discounts for a recommendation.
otherDiscount (float) –
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
andsavingsPlansDiscount
.reservedInstancesDiscount (float) –
Estimated reserved instance discounts.
savingsPlansDiscount (float) –
Estimated Savings Plans discounts.
estimatedNetUnusedAmortizedCommitments (float) –
The estimated net unused amortized commitment for the recommendation.
usages (list) –
Usage details of the resource recommendation.
(dict) –
Details about the usage.
operation (string) –
The operation value.
productCode (string) –
The product code.
unit (string) –
The usage unit.
usageAmount (float) –
The usage amount.
usageType (string) –
The usage type.
openSearchReservedInstances (dict) –
The OpenSearch reserved instances recommendation details.
configuration (dict) –
The OpenSearch reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
rdsReservedInstances (dict) –
The RDS reserved instances recommendation details.
configuration (dict) –
The RDS reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
databaseEdition (string) –
The database edition that the recommended reservation supports.
databaseEngine (string) –
The database engine that the recommended reservation supports.
deploymentOption (string) –
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
licenseModel (string) –
The license model that the recommended reservation supports.
monthlyRecurringCost (string) –
How much purchasing this instance costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
redshiftReservedInstances (dict) –
The Redshift reserved instances recommendation details.
configuration (dict) –
The Redshift reserved instances configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
currentGeneration (string) –
Determines whether the recommendation is for a current generation instance.
instanceFamily (string) –
The instance family of the recommended reservation.
instanceType (string) –
The type of instance that Amazon Web Services recommends.
monthlyRecurringCost (string) –
How much purchasing reserved instances costs you on a monthly basis.
normalizedUnitsToPurchase (string) –
The number of normalized units that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase (string) –
The number of instances that Amazon Web Services recommends that you purchase.
paymentOption (string) –
The payment option for the commitment.
reservedInstancesRegion (string) –
The Amazon Web Services Region of the commitment.
service (string) –
The service that you want your recommendations for.
sizeFlexEligible (boolean) –
Determines whether the recommendation is size flexible.
term (string) –
The reserved instances recommendation term in years.
upfrontCost (string) –
How much purchasing this instance costs you upfront.
costCalculation (dict) –
Cost impact of the purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyAmortizedReservationCost (float) –
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
estimatedOnDemandCost (float) –
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
monthlyReservationEligibleCost (float) –
The cost of paying for the recommended reserved instance monthly.
savingsPercentage (float) –
The savings percentage relative to the total On-Demand costs that are associated with this instance.
sageMakerSavingsPlans (dict) –
The SageMaker Savings Plans recommendation details.
configuration (dict) –
The SageMaker Savings Plans configuration used for recommendations.
accountScope (string) –
The account scope that you want your recommendations for.
hourlyCommitment (string) –
The hourly commitment for the Savings Plans type.
paymentOption (string) –
The payment option for the commitment.
term (string) –
The Savings Plans recommendation term in years.
costCalculation (dict) –
Cost impact of the Savings Plans purchase recommendation.
pricing (dict) –
Pricing details of the purchase recommendation.
estimatedMonthlyCommitment (float) –
Estimated monthly commitment for the Savings Plan.
estimatedOnDemandCost (float) –
Estimated On-Demand cost you will pay after buying the Savings Plan.
monthlySavingsPlansEligibleCost (float) –
The cost of paying for the recommended Savings Plan monthly.
savingsPercentage (float) –
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
recommendedResourceType (string) –
The resource type of the recommendation.
region (string) –
The Amazon Web Services Region of the resource.
resourceArn (string) –
The Amazon Resource Name (ARN) of the resource.
resourceId (string) –
The unique identifier for the resource. This is the same as the Amazon Resource Name (ARN), if available.
restartNeeded (boolean) –
Whether or not implementing the recommendation requires a restart.
rollbackPossible (boolean) –
Whether or not implementing the recommendation can be rolled back.
source (string) –
The source of the recommendation.
tags (list) –
A list of tags associated with the resource for which the recommendation exists.
(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.
Exceptions
CostOptimizationHub.Client.exceptions.ValidationException
CostOptimizationHub.Client.exceptions.InternalServerException
CostOptimizationHub.Client.exceptions.AccessDeniedException
CostOptimizationHub.Client.exceptions.ResourceNotFoundException
CostOptimizationHub.Client.exceptions.ThrottlingException