From 24b7683f2f25d0a25f0cd7088b79103a05e7e5e8 Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Wed, 16 Aug 2023 18:17:46 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/models.lex.v2/2020-08-07/api-2.json | 2 +- .../2020-08-07/endpoint-rule-set-1.json | 344 ++++++++--------- apis/monitoring/2010-08-01/docs-2.json | 8 +- .../2010-08-01/endpoint-rule-set-1.json | 362 ++++++++---------- gems/aws-sdk-cloudwatch/CHANGELOG.md | 5 + gems/aws-sdk-cloudwatch/VERSION | 2 +- .../lib/aws-sdk-cloudwatch.rb | 2 +- .../lib/aws-sdk-cloudwatch/client.rb | 56 ++- .../lib/aws-sdk-cloudwatch/metric.rb | 42 +- .../lib/aws-sdk-cloudwatch/resource.rb | 20 +- .../lib/aws-sdk-cloudwatch/types.rb | 55 ++- gems/aws-sdk-lexmodelsv2/CHANGELOG.md | 5 + gems/aws-sdk-lexmodelsv2/VERSION | 2 +- .../lib/aws-sdk-lexmodelsv2.rb | 2 +- .../lib/aws-sdk-lexmodelsv2/client.rb | 2 +- gems/aws-sdk-translate/CHANGELOG.md | 5 + gems/aws-sdk-translate/VERSION | 2 +- .../lib/aws-sdk-translate.rb | 2 +- .../lib/aws-sdk-translate/client.rb | 4 +- 19 files changed, 498 insertions(+), 424 deletions(-) diff --git a/apis/models.lex.v2/2020-08-07/api-2.json b/apis/models.lex.v2/2020-08-07/api-2.json index 54aa6a9bd24..c23be29c0b7 100644 --- a/apis/models.lex.v2/2020-08-07/api-2.json +++ b/apis/models.lex.v2/2020-08-07/api-2.json @@ -8792,7 +8792,7 @@ "type":"integer", "box":true, "max":3, - "min":1 + "min":0 } } } diff --git a/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json b/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json index 39dabf8b57c..5fb6d567373 100644 --- a/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json +++ b/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://models-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://models-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://models-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://models-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://models-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://models-v2-lex.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://models-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://models-v2-lex.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/apis/monitoring/2010-08-01/docs-2.json b/apis/monitoring/2010-08-01/docs-2.json index 5825f307941..94ce8f7c6e5 100644 --- a/apis/monitoring/2010-08-01/docs-2.json +++ b/apis/monitoring/2010-08-01/docs-2.json @@ -155,7 +155,7 @@ "base": null, "refs": { "DescribeAlarmHistoryInput$AlarmTypes": "

Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.

", - "DescribeAlarmsInput$AlarmTypes": "

Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.

" + "DescribeAlarmsInput$AlarmTypes": "

Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned, even if composite alarms exist in the account.

For example, if you omit this parameter or specify MetricAlarms, the operation returns only a list of metric alarms. It does not return any composite alarms, even if composite alarms exist in the account.

If you specify CompositeAlarms, the operation returns only a list of composite alarms, and does not return any metric alarms.

" } }, "AmazonResourceName": { @@ -631,7 +631,7 @@ "DescribeAlarmsForMetricInput$ExtendedStatistic": "

The percentile statistic for the metric. Specify a value between p0.0 and p100.

", "ExtendedStatistics$member": null, "MetricAlarm$ExtendedStatistic": "

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

", - "PutMetricAlarmInput$ExtendedStatistic": "

The percentile statistic for the metric specified in MetricName. Specify a value between p0.0 and p100. When you call PutMetricAlarm and specify a MetricName, you must specify either Statistic or ExtendedStatistic, but not both.

" + "PutMetricAlarmInput$ExtendedStatistic": "

The extended statistic for the metric specified in MetricName. When you call PutMetricAlarm and specify a MetricName, you must specify either Statistic or ExtendedStatistic but not both.

If you specify ExtendedStatistic, the following are valid values:

For more information about these extended statistics, see CloudWatch statistics definitions.

" } }, "ExtendedStatistics": { @@ -893,7 +893,7 @@ "InsightRuleOrderBy": { "base": null, "refs": { - "GetInsightRuleReportInput$OrderBy": "

Determines what statistic to use to rank the contributors. Valid values are SUM and MAXIMUM.

" + "GetInsightRuleReportInput$OrderBy": "

Determines what statistic to use to rank the contributors. Valid values are Sum and Maximum.

" } }, "InsightRuleSchema": { @@ -1718,7 +1718,7 @@ "ManagedRule$Tags": "

A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

", "PutCompositeAlarmInput$Tags": "

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.

", "PutInsightRuleInput$Tags": "

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

", - "PutMetricAlarmInput$Tags": "

A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use TagResource or UntagResource.

", + "PutMetricAlarmInput$Tags": "

A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use TagResource or UntagResource.

", "PutMetricStreamInput$Tags": "

A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

You can use this parameter only when you are creating a new metric stream. If you are using this operation to update an existing metric stream, any tags you specify in this parameter are ignored. To change the tags of an existing metric stream, use TagResource or UntagResource.

", "TagResourceInput$Tags": "

The list of key-value pairs to associate with the alarm.

" } diff --git a/apis/monitoring/2010-08-01/endpoint-rule-set-1.json b/apis/monitoring/2010-08-01/endpoint-rule-set-1.json index 94f8f398869..39504ccc876 100644 --- a/apis/monitoring/2010-08-01/endpoint-rule-set-1.json +++ b/apis/monitoring/2010-08-01/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,92 +140,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -221,155 +225,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://monitoring.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://monitoring.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/gems/aws-sdk-cloudwatch/CHANGELOG.md b/gems/aws-sdk-cloudwatch/CHANGELOG.md index 686aa3d4265..805f4c67f77 100644 --- a/gems/aws-sdk-cloudwatch/CHANGELOG.md +++ b/gems/aws-sdk-cloudwatch/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.79.0 (2023-08-16) +------------------ + +* Feature - Doc-only update to incorporate several doc bug fixes + 1.78.0 (2023-07-11) ------------------ diff --git a/gems/aws-sdk-cloudwatch/VERSION b/gems/aws-sdk-cloudwatch/VERSION index 54227249d1f..b3a8c61e6a8 100644 --- a/gems/aws-sdk-cloudwatch/VERSION +++ b/gems/aws-sdk-cloudwatch/VERSION @@ -1 +1 @@ -1.78.0 +1.79.0 diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb index fb6215377ad..88eb53898c7 100644 --- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb +++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb @@ -56,6 +56,6 @@ # @!group service module Aws::CloudWatch - GEM_VERSION = '1.78.0' + GEM_VERSION = '1.79.0' end diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb index c1d9c14113d..55274724ae4 100644 --- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb +++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb @@ -761,7 +761,15 @@ def describe_alarm_history(params = {}, options = {}) # @option params [Array] :alarm_types # Use this parameter to specify whether you want the operation to return # metric alarms or composite alarms. If you omit this parameter, only - # metric alarms are returned. + # metric alarms are returned, even if composite alarms exist in the + # account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, the + # operation returns only a list of metric alarms. It does not return any + # composite alarms, even if composite alarms exist in the account. + # + # If you specify `CompositeAlarms`, the operation returns only a list of + # composite alarms, and does not return any metric alarms. # # @option params [String] :children_of_alarm_name # If you use this parameter and specify the name of a composite alarm, @@ -1453,7 +1461,7 @@ def get_dashboard(params = {}, options = {}) # # @option params [String] :order_by # Determines what statistic to use to rank the contributors. Valid - # values are SUM and MAXIMUM. + # values are `Sum` and `Maximum`. # # @return [Types::GetInsightRuleReportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -3164,10 +3172,40 @@ def put_managed_insight_rules(params = {}, options = {}) # either `Statistic` or `ExtendedStatistic,` but not both. # # @option params [String] :extended_statistic - # The percentile statistic for the metric specified in `MetricName`. - # Specify a value between p0.0 and p100. When you call `PutMetricAlarm` - # and specify a `MetricName`, you must specify either `Statistic` or - # `ExtendedStatistic,` but not both. + # The extended statistic for the metric specified in `MetricName`. When + # you call `PutMetricAlarm` and specify a `MetricName`, you must specify + # either `Statistic` or `ExtendedStatistic` but not both. + # + # If you specify `ExtendedStatistic`, the following are valid values: + # + # * `p90` + # + # * `tm90` + # + # * `tc90` + # + # * `ts90` + # + # * `wm90` + # + # * `IQM` + # + # * `PR(n:m)` where n and m are values of the metric + # + # * `TC(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TM(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TS(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `WM(X%:X%)` where X is between 10 and 90 inclusive. + # + # For more information about these extended statistics, see [CloudWatch + # statistics definitions][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html # # @option params [Array] :dimensions # The dimensions for the metric specified in `MetricName`. @@ -3317,7 +3355,9 @@ def put_managed_insight_rules(params = {}, options = {}) # # @option params [Array] :tags # A list of key-value pairs to associate with the alarm. You can - # associate as many as 50 tags with an alarm. + # associate as many as 50 tags with an alarm. To be able to associate + # tags with the alarm when you create the alarm, you must have the + # `cloudwatch:TagResource` permission. # # Tags can help you organize and categorize your resources. You can also # use them to scope user permissions by granting a user permission to @@ -3943,7 +3983,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloudwatch' - context[:gem_version] = '1.78.0' + context[:gem_version] = '1.79.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/metric.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/metric.rb index df42d082abe..272e0c660da 100644 --- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/metric.rb +++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/metric.rb @@ -514,10 +514,40 @@ def get_statistics(options = {}) # you call `PutMetricAlarm` and specify a `MetricName`, you must specify # either `Statistic` or `ExtendedStatistic,` but not both. # @option options [String] :extended_statistic - # The percentile statistic for the metric specified in `MetricName`. - # Specify a value between p0.0 and p100. When you call `PutMetricAlarm` - # and specify a `MetricName`, you must specify either `Statistic` or - # `ExtendedStatistic,` but not both. + # The extended statistic for the metric specified in `MetricName`. When + # you call `PutMetricAlarm` and specify a `MetricName`, you must specify + # either `Statistic` or `ExtendedStatistic` but not both. + # + # If you specify `ExtendedStatistic`, the following are valid values: + # + # * `p90` + # + # * `tm90` + # + # * `tc90` + # + # * `ts90` + # + # * `wm90` + # + # * `IQM` + # + # * `PR(n:m)` where n and m are values of the metric + # + # * `TC(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TM(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TS(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `WM(X%:X%)` where X is between 10 and 90 inclusive. + # + # For more information about these extended statistics, see [CloudWatch + # statistics definitions][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html # @option options [Array] :dimensions # The dimensions for the metric specified in `MetricName`. # @option options [Integer] :period @@ -656,7 +686,9 @@ def get_statistics(options = {}) # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDataQuery.html # @option options [Array] :tags # A list of key-value pairs to associate with the alarm. You can - # associate as many as 50 tags with an alarm. + # associate as many as 50 tags with an alarm. To be able to associate + # tags with the alarm when you create the alarm, you must have the + # `cloudwatch:TagResource` permission. # # Tags can help you organize and categorize your resources. You can also # use them to scope user permissions by granting a user permission to diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/resource.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/resource.rb index 214c898598f..23fedaa9381 100644 --- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/resource.rb +++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/resource.rb @@ -67,7 +67,15 @@ def alarm(name) # @option options [Array] :alarm_types # Use this parameter to specify whether you want the operation to return # metric alarms or composite alarms. If you omit this parameter, only - # metric alarms are returned. + # metric alarms are returned, even if composite alarms exist in the + # account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, the + # operation returns only a list of metric alarms. It does not return any + # composite alarms, even if composite alarms exist in the account. + # + # If you specify `CompositeAlarms`, the operation returns only a list of + # composite alarms, and does not return any metric alarms. # @option options [String] :children_of_alarm_name # If you use this parameter and specify the name of a composite alarm, # the operation returns information about the "children" alarms of the @@ -167,7 +175,15 @@ def composite_alarm(name) # @option options [Array] :alarm_types # Use this parameter to specify whether you want the operation to return # metric alarms or composite alarms. If you omit this parameter, only - # metric alarms are returned. + # metric alarms are returned, even if composite alarms exist in the + # account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, the + # operation returns only a list of metric alarms. It does not return any + # composite alarms, even if composite alarms exist in the account. + # + # If you specify `CompositeAlarms`, the operation returns only a list of + # composite alarms, and does not return any metric alarms. # @option options [String] :children_of_alarm_name # If you use this parameter and specify the name of a composite alarm, # the operation returns information about the "children" alarms of the diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb index 47b33d20e42..32513e07cd4 100644 --- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb +++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb @@ -705,7 +705,16 @@ class DescribeAlarmsForMetricOutput < Struct.new( # @!attribute [rw] alarm_types # Use this parameter to specify whether you want the operation to # return metric alarms or composite alarms. If you omit this - # parameter, only metric alarms are returned. + # parameter, only metric alarms are returned, even if composite alarms + # exist in the account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, + # the operation returns only a list of metric alarms. It does not + # return any composite alarms, even if composite alarms exist in the + # account. + # + # If you specify `CompositeAlarms`, the operation returns only a list + # of composite alarms, and does not return any metric alarms. # @return [Array] # # @!attribute [rw] children_of_alarm_name @@ -1155,7 +1164,7 @@ class GetDashboardOutput < Struct.new( # # @!attribute [rw] order_by # Determines what statistic to use to rank the contributors. Valid - # values are SUM and MAXIMUM. + # values are `Sum` and `Maximum`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetInsightRuleReportInput AWS API Documentation @@ -3680,10 +3689,40 @@ class PutManagedInsightRulesOutput < Struct.new( # @return [String] # # @!attribute [rw] extended_statistic - # The percentile statistic for the metric specified in `MetricName`. - # Specify a value between p0.0 and p100. When you call - # `PutMetricAlarm` and specify a `MetricName`, you must specify either - # `Statistic` or `ExtendedStatistic,` but not both. + # The extended statistic for the metric specified in `MetricName`. + # When you call `PutMetricAlarm` and specify a `MetricName`, you must + # specify either `Statistic` or `ExtendedStatistic` but not both. + # + # If you specify `ExtendedStatistic`, the following are valid values: + # + # * `p90` + # + # * `tm90` + # + # * `tc90` + # + # * `ts90` + # + # * `wm90` + # + # * `IQM` + # + # * `PR(n:m)` where n and m are values of the metric + # + # * `TC(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TM(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `TS(X%:X%)` where X is between 10 and 90 inclusive. + # + # * `WM(X%:X%)` where X is between 10 and 90 inclusive. + # + # For more information about these extended statistics, see + # [CloudWatch statistics definitions][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html # @return [String] # # @!attribute [rw] dimensions @@ -3847,7 +3886,9 @@ class PutManagedInsightRulesOutput < Struct.new( # # @!attribute [rw] tags # A list of key-value pairs to associate with the alarm. You can - # associate as many as 50 tags with an alarm. + # associate as many as 50 tags with an alarm. To be able to associate + # tags with the alarm when you create the alarm, you must have the + # `cloudwatch:TagResource` permission. # # Tags can help you organize and categorize your resources. You can # also use them to scope user permissions by granting a user diff --git a/gems/aws-sdk-lexmodelsv2/CHANGELOG.md b/gems/aws-sdk-lexmodelsv2/CHANGELOG.md index a552e862376..92685909810 100644 --- a/gems/aws-sdk-lexmodelsv2/CHANGELOG.md +++ b/gems/aws-sdk-lexmodelsv2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.41.0 (2023-08-16) +------------------ + +* Feature - This release updates the Custom Vocabulary Weight field to support a value of 0. + 1.40.0 (2023-07-20) ------------------ diff --git a/gems/aws-sdk-lexmodelsv2/VERSION b/gems/aws-sdk-lexmodelsv2/VERSION index 32b7211cb61..7d47e599800 100644 --- a/gems/aws-sdk-lexmodelsv2/VERSION +++ b/gems/aws-sdk-lexmodelsv2/VERSION @@ -1 +1 @@ -1.40.0 +1.41.0 diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb index 403cc583799..cba7a9804b6 100644 --- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb +++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb @@ -53,6 +53,6 @@ # @!group service module Aws::LexModelsV2 - GEM_VERSION = '1.40.0' + GEM_VERSION = '1.41.0' end diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb index 30ba500fe9c..81d970c0c2d 100644 --- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb +++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb @@ -9716,7 +9716,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-lexmodelsv2' - context[:gem_version] = '1.40.0' + context[:gem_version] = '1.41.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-translate/CHANGELOG.md b/gems/aws-sdk-translate/CHANGELOG.md index 2e0ce99ba5b..7de8b99653c 100644 --- a/gems/aws-sdk-translate/CHANGELOG.md +++ b/gems/aws-sdk-translate/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.58.0 (2023-08-16) +------------------ + +* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. + * Issue - Preserve Document encoding in `TranslateDocument` for text documents (#2897). 1.57.0 (2023-07-18) diff --git a/gems/aws-sdk-translate/VERSION b/gems/aws-sdk-translate/VERSION index 373aea97570..79f82f6b8e0 100644 --- a/gems/aws-sdk-translate/VERSION +++ b/gems/aws-sdk-translate/VERSION @@ -1 +1 @@ -1.57.0 +1.58.0 diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate.rb index 7a101018a00..da75c90e819 100644 --- a/gems/aws-sdk-translate/lib/aws-sdk-translate.rb +++ b/gems/aws-sdk-translate/lib/aws-sdk-translate.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Translate - GEM_VERSION = '1.57.0' + GEM_VERSION = '1.58.0' end diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb index f0dc09e221f..4a07ab66112 100644 --- a/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb +++ b/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb @@ -33,6 +33,7 @@ require 'aws-sdk-core/plugins/recursion_detection.rb' require 'aws-sdk-core/plugins/sign.rb' require 'aws-sdk-core/plugins/protocols/json_rpc.rb' +require 'aws-sdk-translate/plugins/translate_document_encoding.rb' Aws::Plugins::GlobalConfiguration.add_identifier(:translate) @@ -83,6 +84,7 @@ class Client < Seahorse::Client::Base add_plugin(Aws::Plugins::RecursionDetection) add_plugin(Aws::Plugins::Sign) add_plugin(Aws::Plugins::Protocols::JsonRpc) + add_plugin(Aws::Translate::Plugins::TranslateDocumentEncoding) add_plugin(Aws::Translate::Plugins::Endpoints) # @overload initialize(options) @@ -1622,7 +1624,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-translate' - context[:gem_version] = '1.57.0' + context[:gem_version] = '1.58.0' Seahorse::Client::Request.new(handlers, context) end