Skip to content

Commit e316350

Browse files
author
AWS
committed
AWS Cost Explorer Service Update: This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.
1 parent 426568c commit e316350

File tree

2 files changed

+62
-10
lines changed

2 files changed

+62
-10
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Cost Explorer Service",
4+
"contributor": "",
5+
"description": "This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations."
6+
}

services/costexplorer/src/main/resources/codegen-resources/service-2.json

Lines changed: 56 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"endpointPrefix":"ce",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceAbbreviation":"AWS Cost Explorer",
910
"serviceFullName":"AWS Cost Explorer Service",
1011
"serviceId":"Cost Explorer",
1112
"signatureVersion":"v4",
1213
"signingName":"ce",
1314
"targetPrefix":"AWSInsightsIndexService",
14-
"uid":"ce-2017-10-25"
15+
"uid":"ce-2017-10-25",
16+
"auth":["aws.auth#sigv4"]
1517
},
1618
"operations":{
1719
"CreateAnomalyMonitor":{
@@ -651,7 +653,7 @@
651653
},
652654
"DimensionValue":{
653655
"shape":"GenericString",
654-
"documentation":"<p>The dimension for the anomaly (for example, an Amazon Web Service in a service monitor). </p>"
656+
"documentation":"<p>The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service monitor). </p>"
655657
},
656658
"RootCauses":{
657659
"shape":"RootCauses",
@@ -1715,6 +1717,20 @@
17151717
},
17161718
"documentation":"<p>The field that contains a list of disk (local storage) metrics that are associated with the current instance. </p>"
17171719
},
1720+
"DynamoDBCapacityDetails":{
1721+
"type":"structure",
1722+
"members":{
1723+
"CapacityUnits":{
1724+
"shape":"GenericString",
1725+
"documentation":"<p>The capacity unit of the recommended reservation.</p>"
1726+
},
1727+
"Region":{
1728+
"shape":"GenericString",
1729+
"documentation":"<p>The Amazon Web Services Region of the recommended reservation.</p>"
1730+
}
1731+
},
1732+
"documentation":"<p>The DynamoDB reservations that Amazon Web Services recommends that you purchase.</p>"
1733+
},
17181734
"EBSResourceUtilization":{
17191735
"type":"structure",
17201736
"members":{
@@ -2431,7 +2447,7 @@
24312447
},
24322448
"Context":{
24332449
"shape":"Context",
2434-
"documentation":"<p>The context for the call to <code>GetDimensionValues</code>. This can be <code>RESERVATIONS</code> or <code>COST_AND_USAGE</code>. The default value is <code>COST_AND_USAGE</code>. If the context is set to <code>RESERVATIONS</code>, the resulting dimension values can be used in the <code>GetReservationUtilization</code> operation. If the context is set to <code>COST_AND_USAGE</code>, the resulting dimension values can be used in the <code>GetCostAndUsage</code> operation.</p> <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p> </li> <li> <p>BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:</p> <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.</p> <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Services in India.</p> <p>- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.</p> </li> <li> <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p> </li> <li> <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p> </li> <li> <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.</p> </li> <li> <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p> </li> <li> <p>INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are <code>Compute Optimized</code> (for example, <code>C4</code>, <code>C5</code>, <code>C6g</code>, and <code>C7g</code>), <code>Memory Optimization</code> (for example, <code>R4</code>, <code>R5n</code>, <code>R5b</code>, and <code>R6g</code>).</p> </li> <li> <p>INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.</p> </li> <li> <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and <code>CreateBucket</code>.</p> </li> <li> <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p> </li> <li> <p>PURCHASE_TYPE - The reservation type of the purchase that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.</p> </li> <li> <p>RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.</p> </li> <li> <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p> </li> <li> <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).</p> </li> <li> <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> <li> <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the <code>GetDimensionValues</code> operation includes a unit attribute. Examples include GB and Hrs.</p> </li> <li> <p>USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits.</p> </li> <li> <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.</p> </li> </ul> <p>If you set the context to <code>RESERVATIONS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p> </li> <li> <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p> </li> <li> <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p> </li> <li> <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.</p> </li> <li> <p>TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul> <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p> </li> <li> <p>PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All Upfront)</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>INSTANCE_TYPE_FAMILY - The family of instances (For example, <code>m5</code>)</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p> </li> </ul>"
2450+
"documentation":"<p>The context for the call to <code>GetDimensionValues</code>. This can be <code>RESERVATIONS</code> or <code>COST_AND_USAGE</code>. The default value is <code>COST_AND_USAGE</code>. If the context is set to <code>RESERVATIONS</code>, the resulting dimension values can be used in the <code>GetReservationUtilization</code> operation. If the context is set to <code>COST_AND_USAGE</code>, the resulting dimension values can be used in the <code>GetCostAndUsage</code> operation.</p> <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p> </li> <li> <p>BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:</p> <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices.</p> <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Servicesservices in India.</p> <p>- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.</p> </li> <li> <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p> </li> <li> <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p> </li> <li> <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.</p> </li> <li> <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p> </li> <li> <p>INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are <code>Compute Optimized</code> (for example, <code>C4</code>, <code>C5</code>, <code>C6g</code>, and <code>C7g</code>), <code>Memory Optimization</code> (for example, <code>R4</code>, <code>R5n</code>, <code>R5b</code>, and <code>R6g</code>).</p> </li> <li> <p>INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.</p> </li> <li> <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and <code>CreateBucket</code>.</p> </li> <li> <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p> </li> <li> <p>PURCHASE_TYPE - The reservation type of the purchase that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.</p> </li> <li> <p>RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.</p> </li> <li> <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p> </li> <li> <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).</p> </li> <li> <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> <li> <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the <code>GetDimensionValues</code> operation includes a unit attribute. Examples include GB and Hrs.</p> </li> <li> <p>USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits.</p> </li> <li> <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.</p> </li> </ul> <p>If you set the context to <code>RESERVATIONS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p> </li> <li> <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p> </li> <li> <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p> </li> <li> <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.</p> </li> <li> <p>TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul> <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p> </li> <li> <p>PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All Upfront)</p> </li> <li> <p>REGION - The Amazon Web Services Region.</p> </li> <li> <p>INSTANCE_TYPE_FAMILY - The family of instances (For example, <code>m5</code>)</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.</p> </li> <li> <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p> </li> </ul>"
24352451
},
24362452
"Filter":{"shape":"Expression"},
24372453
"SortBy":{
@@ -3967,15 +3983,15 @@
39673983
},
39683984
"AverageUtilization":{
39693985
"shape":"GenericString",
3970-
"documentation":"<p>The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.</p>"
3986+
"documentation":"<p>The average utilization of your recommendations. Amazon Web Services uses this to calculate your recommended reservation purchases.</p>"
39713987
},
39723988
"EstimatedBreakEvenInMonths":{
39733989
"shape":"GenericString",
3974-
"documentation":"<p>How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.</p>"
3990+
"documentation":"<p>How long Amazon Web Services estimates that it takes for this recommendation to start saving you money, in months.</p>"
39753991
},
39763992
"CurrencyCode":{
39773993
"shape":"GenericString",
3978-
"documentation":"<p>The currency code that Amazon Web Services used to calculate the costs for this instance.</p>"
3994+
"documentation":"<p>The currency code that Amazon Web Services used to calculate the costs for this recommendation.</p>"
39793995
},
39803996
"EstimatedMonthlySavingsAmount":{
39813997
"shape":"GenericString",
@@ -3995,11 +4011,31 @@
39954011
},
39964012
"UpfrontCost":{
39974013
"shape":"GenericString",
3998-
"documentation":"<p>How much purchasing this instance costs you upfront.</p>"
4014+
"documentation":"<p>How much purchasing this recommendation costs you upfront.</p>"
39994015
},
40004016
"RecurringStandardMonthlyCost":{
40014017
"shape":"GenericString",
4002-
"documentation":"<p>How much purchasing this instance costs you on a monthly basis.</p>"
4018+
"documentation":"<p>How much purchasing this recommendation costs you on a monthly basis.</p>"
4019+
},
4020+
"ReservedCapacityDetails":{
4021+
"shape":"ReservedCapacityDetails",
4022+
"documentation":"<p>Details about the reservations that Amazon Web Services recommends that you purchase.</p>"
4023+
},
4024+
"RecommendedNumberOfCapacityUnitsToPurchase":{
4025+
"shape":"GenericString",
4026+
"documentation":"<p>The number of reserved capacity units that Amazon Web Services recommends that you purchase.</p>"
4027+
},
4028+
"MinimumNumberOfCapacityUnitsUsedPerHour":{
4029+
"shape":"GenericString",
4030+
"documentation":"<p>The minimum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.</p>"
4031+
},
4032+
"MaximumNumberOfCapacityUnitsUsedPerHour":{
4033+
"shape":"GenericString",
4034+
"documentation":"<p>The maximum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.</p>"
4035+
},
4036+
"AverageNumberOfCapacityUnitsUsedPerHour":{
4037+
"shape":"GenericString",
4038+
"documentation":"<p>The average number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.</p>"
40034039
}
40044040
},
40054041
"documentation":"<p>Details about your recommended reservation purchase.</p>"
@@ -4074,6 +4110,16 @@
40744110
"type":"list",
40754111
"member":{"shape":"ReservationUtilizationGroup"}
40764112
},
4113+
"ReservedCapacityDetails":{
4114+
"type":"structure",
4115+
"members":{
4116+
"DynamoDBCapacityDetails":{
4117+
"shape":"DynamoDBCapacityDetails",
4118+
"documentation":"<p>The DynamoDB reservations that Amazon Web Services recommends that you purchase.</p>"
4119+
}
4120+
},
4121+
"documentation":"<p>Details about the reservations that Amazon Web Services recommends that you purchase.</p>"
4122+
},
40774123
"ReservedHours":{"type":"string"},
40784124
"ReservedNormalizedUnits":{"type":"string"},
40794125
"ResourceDetails":{
@@ -4281,7 +4327,7 @@
42814327
"members":{
42824328
"Service":{
42834329
"shape":"GenericString",
4284-
"documentation":"<p>The Amazon Web Service name that's associated with the cost anomaly. </p>"
4330+
"documentation":"<p>The Amazon Web Servicesservice name that's associated with the cost anomaly. </p>"
42854331
},
42864332
"Region":{
42874333
"shape":"GenericString",
@@ -4300,7 +4346,7 @@
43004346
"documentation":"<p>The member account name value that's associated with the cost anomaly.</p>"
43014347
}
43024348
},
4303-
"documentation":"<p>The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.</p>"
4349+
"documentation":"<p>The combination of Amazon Web Servicesservice, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.</p>"
43044350
},
43054351
"RootCauses":{
43064352
"type":"list",

0 commit comments

Comments
 (0)