Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-python-automation committed Oct 7, 2020
1 parent 717eb38 commit ba591a1
Show file tree
Hide file tree
Showing 9 changed files with 1,091 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-ce-83219.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"category": "``ce``",
"type": "api-change",
"description": "Update ce client to latest version"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-computeoptimizer-62721.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"category": "``compute-optimizer``",
"type": "api-change",
"description": "Update compute-optimizer client to latest version"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-elasticache-98491.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"category": "``elasticache``",
"type": "api-change",
"description": "Update elasticache client to latest version"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-mediapackage-27185.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"category": "``mediapackage``",
"type": "api-change",
"description": "Update mediapackage client to latest version"
}
44 changes: 35 additions & 9 deletions botocore/data/ce/2017-10-25/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
{"shape":"InvalidNextTokenException"},
{"shape":"RequestChangedException"}
],
"documentation":"<p>Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Master accounts in an organization in AWS Organizations have access to all member accounts.</p>"
"documentation":"<p>Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Master account in an organization in AWS Organizations have access to all member accounts.</p>"
},
"GetCostAndUsageWithResources":{
"name":"GetCostAndUsageWithResources",
Expand All @@ -187,7 +187,7 @@
{"shape":"InvalidNextTokenException"},
{"shape":"RequestChangedException"}
],
"documentation":"<p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Master accounts in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.</p> <note> <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html\">Controlling Access for Cost Explorer</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> </note>"
"documentation":"<p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Master account in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.</p> <note> <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html\">Controlling Access for Cost Explorer</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> </note>"
},
"GetCostForecast":{
"name":"GetCostForecast",
Expand Down Expand Up @@ -263,7 +263,7 @@
{"shape":"DataUnavailableException"},
{"shape":"InvalidNextTokenException"}
],
"documentation":"<p>Retrieves the reservation utilization for your account. Master accounts in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>"
"documentation":"<p>Retrieves the reservation utilization for your account. Master account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>"
},
"GetRightsizingRecommendation":{
"name":"GetRightsizingRecommendation",
Expand Down Expand Up @@ -320,7 +320,7 @@
{"shape":"LimitExceededException"},
{"shape":"DataUnavailableException"}
],
"documentation":"<p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master accounts in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p> <note> <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p> </note>"
"documentation":"<p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p> <note> <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p> </note>"
},
"GetSavingsPlansUtilizationDetails":{
"name":"GetSavingsPlansUtilizationDetails",
Expand Down Expand Up @@ -1170,6 +1170,28 @@
"type":"list",
"member":{"shape":"DimensionValuesWithAttributes"}
},
"EBSResourceUtilization":{
"type":"structure",
"members":{
"EbsReadOpsPerSecond":{
"shape":"GenericString",
"documentation":"<p> The maximum number of read operations per second. </p>"
},
"EbsWriteOpsPerSecond":{
"shape":"GenericString",
"documentation":"<p> The maximum number of write operations per second. </p>"
},
"EbsReadBytesPerSecond":{
"shape":"GenericString",
"documentation":"<p> The maximum size of read operations per second </p>"
},
"EbsWriteBytesPerSecond":{
"shape":"GenericString",
"documentation":"<p> The maximum size of write operations per second. </p>"
}
},
"documentation":"<p> The EBS field that contains a list of EBS metrics associated with the current instance. </p>"
},
"EC2InstanceDetails":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1264,6 +1286,10 @@
"MaxStorageUtilizationPercentage":{
"shape":"GenericString",
"documentation":"<p> Maximum observed or expected storage utilization of the instance (does not measure EBS storage).</p>"
},
"EBSResourceUtilization":{
"shape":"EBSResourceUtilization",
"documentation":"<p> The EBS field that contains a list of EBS metrics associated with the current instance. </p>"
}
},
"documentation":"<p> Utilization metrics of the instance. </p>"
Expand Down Expand Up @@ -1365,7 +1391,7 @@
"documentation":"<p>The filter based on <code>CostCategory</code> values.</p>"
}
},
"documentation":"<p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p> <ul> <li> <p>Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for <code>REGION==us-east-1 OR REGION==us-west-1</code>. The <code>Expression</code> for that looks like this:</p> <p> <code>{ \"Dimensions\": { \"Key\": \"REGION\", \"Values\": [ \"us-east-1\", “us-west-1” ] } }</code> </p> <p>The list of dimension values are OR'd together to retrieve cost or usage data. You can create <code>Expression</code> and <code>DimensionValues</code> objects using either <code>with*</code> methods or <code>set*</code> methods in multiple lines. </p> </li> <li> <p>Compound dimension values with logical operations - You can use multiple <code>Expression</code> types and the logical operators <code>AND/OR/NOT</code> to create a list of one or more <code>Expression</code> objects. This allows you to filter on more advanced options. For example, you can filter on <code>((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)</code>. The <code>Expression</code> for that looks like this:</p> <p> <code>{ \"And\": [ {\"Or\": [ {\"Dimensions\": { \"Key\": \"REGION\", \"Values\": [ \"us-east-1\", \"us-west-1\" ] }}, {\"Tags\": { \"Key\": \"TagName\", \"Values\": [\"Value1\"] } } ]}, {\"Not\": {\"Dimensions\": { \"Key\": \"USAGE_TYPE\", \"Values\": [\"DataTransfer\"] }}} ] } </code> </p> <note> <p>Because each <code>Expression</code> can have only one operator, the service returns an error if more than one is specified. The following example shows an <code>Expression</code> object that creates an error.</p> </note> <p> <code> { \"And\": [ ... ], \"DimensionValues\": { \"Dimension\": \"USAGE_TYPE\", \"Values\": [ \"DataTransfer\" ] } } </code> </p> </li> </ul> <note> <p>For <code>GetRightsizingRecommendation</code> action, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren't supported. Dimensions are also limited to <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or <code>RIGHTSIZING_TYPE</code>.</p> </note>"
"documentation":"<p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p> <ul> <li> <p>Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for <code>REGION==us-east-1 OR REGION==us-west-1</code>. For <code>GetRightsizingRecommendation</code>, the Region is a full name (for example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code> example looks like:</p> <p> <code>{ \"Dimensions\": { \"Key\": \"REGION\", \"Values\": [ \"us-east-1\", “us-west-1” ] } }</code> </p> <p>The list of dimension values are OR'd together to retrieve cost or usage data. You can create <code>Expression</code> and <code>DimensionValues</code> objects using either <code>with*</code> methods or <code>set*</code> methods in multiple lines. </p> </li> <li> <p>Compound dimension values with logical operations - You can use multiple <code>Expression</code> types and the logical operators <code>AND/OR/NOT</code> to create a list of one or more <code>Expression</code> objects. This allows you to filter on more advanced options. For example, you can filter on <code>((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)</code>. The <code>Expression</code> for that looks like this:</p> <p> <code>{ \"And\": [ {\"Or\": [ {\"Dimensions\": { \"Key\": \"REGION\", \"Values\": [ \"us-east-1\", \"us-west-1\" ] }}, {\"Tags\": { \"Key\": \"TagName\", \"Values\": [\"Value1\"] } } ]}, {\"Not\": {\"Dimensions\": { \"Key\": \"USAGE_TYPE\", \"Values\": [\"DataTransfer\"] }}} ] } </code> </p> <note> <p>Because each <code>Expression</code> can have only one operator, the service returns an error if more than one is specified. The following example shows an <code>Expression</code> object that creates an error.</p> </note> <p> <code> { \"And\": [ ... ], \"DimensionValues\": { \"Dimension\": \"USAGE_TYPE\", \"Values\": [ \"DataTransfer\" ] } } </code> </p> </li> </ul> <note> <p>For <code>GetRightsizingRecommendation</code> action, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren't supported. Dimensions are also limited to <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or <code>RIGHTSIZING_TYPE</code>.</p> </note>"
},
"Expressions":{
"type":"list",
Expand Down Expand Up @@ -1776,7 +1802,7 @@
},
"AccountScope":{
"shape":"AccountScope",
"documentation":"<p>The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the payer account and linked accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual linked accounts only.</p>"
"documentation":"<p>The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual member accounts only.</p>"
},
"LookbackPeriodInDays":{
"shape":"LookbackPeriodInDays",
Expand Down Expand Up @@ -1985,7 +2011,7 @@
},
"AccountScope":{
"shape":"AccountScope",
"documentation":"<p>The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the payer account and linked accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual linked accounts only.</p>"
"documentation":"<p>The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual member accounts only.</p>"
},
"NextPageToken":{
"shape":"NextPageToken",
Expand Down Expand Up @@ -3122,7 +3148,7 @@
"members":{
"AccountScope":{
"shape":"AccountScope",
"documentation":"<p>The account scope that you want your recommendations for. AWS calculates recommendations including the payer account and linked accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual linked accounts only.</p>"
"documentation":"<p>The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual member accounts only.</p>"
},
"SavingsPlansType":{
"shape":"SupportedSavingsPlansType",
Expand Down Expand Up @@ -3391,7 +3417,7 @@
"documentation":"<p>The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.</p>"
}
},
"documentation":"<p>A single daily or monthly Savings Plans utilization rate, and details for your account. Master accounts in an organization have access to member accounts. You can use <code>GetDimensionValues</code> to determine the possible dimension values. </p>"
"documentation":"<p>A single daily or monthly Savings Plans utilization rate, and details for your account. A master account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> to determine the possible dimension values. </p>"
},
"SavingsPlansUtilizationDetails":{
"type":"list",
Expand Down
Loading

0 comments on commit ba591a1

Please sign in to comment.