aws-sdk-cloudwatch 1.83.0 → 1.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d4e522341d375827b47ae1435426e7a489ff3cb71ea3031624d9a3ea69bffe0
4
- data.tar.gz: 56caa2842783bdf2209ad20886dbf694d79f1c7ae9e2cdf93ee4ab0fbb163cbb
3
+ metadata.gz: cbf6edae85f6c0ac09d4593fba79edd4c18d9dff8aa1004b3662f313b418476c
4
+ data.tar.gz: d37d0436b03890bbf2460d55612a6d93a9242ff041d132a39463c3fbbd7dd4d3
5
5
  SHA512:
6
- metadata.gz: 3e0f12bdaa80bb68ebab372422a8cf51f79a7df517fc33a16f392ed2f6e171f89ecce1a6fa7ceb8bef65cb14e11d0e466d254cbf5a67cc1190ba935655ee736b
7
- data.tar.gz: b3498f8c80fd3697cf17b1c21f7083cca2efecb2d515dbfedefe40afb0eec6014dc312bc5e2417eae548a98dc14381ffa92191861e5d2a8873927b0fb5bff4d3
6
+ metadata.gz: 2274d84843040c95843f7e2935dd4cc41e87aa806220358a5c2e3d2cadaa295d60adf7e3f43aad486cf0b0c456701b90290798e40609200c120e68792642737f
7
+ data.tar.gz: 56eabeb08c2c25cbe787b78e8d1919851d9aea7cd3eec91e6fb78793b2c918f36ab5c2b11b6105ef415e759aefe2905ae96da48ba73a77a0e00856e3972dae99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2023-12-08)
5
+ ------------------
6
+
7
+ * Feature - Adds support for the OpenTelemetry 1.0 output format in CloudWatch Metric Streams.
8
+
4
9
  1.83.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.84.0
@@ -1995,7 +1995,7 @@ module Aws::CloudWatch
1995
1995
  # resp.state #=> String
1996
1996
  # resp.creation_date #=> Time
1997
1997
  # resp.last_update_date #=> Time
1998
- # resp.output_format #=> String, one of "json", "opentelemetry0.7"
1998
+ # resp.output_format #=> String, one of "json", "opentelemetry0.7", "opentelemetry1.0"
1999
1999
  # resp.statistics_configurations #=> Array
2000
2000
  # resp.statistics_configurations[0].include_metrics #=> Array
2001
2001
  # resp.statistics_configurations[0].include_metrics[0].namespace #=> String
@@ -2238,7 +2238,7 @@ module Aws::CloudWatch
2238
2238
  # resp.data.entries[0].name #=> String
2239
2239
  # resp.data.entries[0].firehose_arn #=> String
2240
2240
  # resp.data.entries[0].state #=> String
2241
- # resp.data.entries[0].output_format #=> String, one of "json", "opentelemetry0.7"
2241
+ # resp.data.entries[0].output_format #=> String, one of "json", "opentelemetry0.7", "opentelemetry1.0"
2242
2242
  #
2243
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricStreams AWS API Documentation
2244
2244
  #
@@ -3158,9 +3158,9 @@ module Aws::CloudWatch
3158
3158
  # `Metrics` array.
3159
3159
  #
3160
3160
  # If you are creating an alarm based on a math expression, you cannot
3161
- # specify this parameter, or any of the `Dimensions`, `Period`,
3162
- # `Namespace`, `Statistic`, or `ExtendedStatistic` parameters. Instead,
3163
- # you specify all this information in the `Metrics` array.
3161
+ # specify this parameter, or any of the `Namespace`, `Dimensions`,
3162
+ # `Period`, `Unit`, `Statistic`, or `ExtendedStatistic` parameters.
3163
+ # Instead, you specify all this information in the `Metrics` array.
3164
3164
  #
3165
3165
  # @option params [String] :namespace
3166
3166
  # The namespace for the metric associated specified in `MetricName`.
@@ -3245,6 +3245,9 @@ module Aws::CloudWatch
3245
3245
  # You can also specify a unit when you create a custom metric. Units
3246
3246
  # help provide conceptual meaning to your data. Metric data points that
3247
3247
  # specify a unit of measure, such as Percent, are aggregated separately.
3248
+ # If you are creating an alarm based on a metric math expression, you
3249
+ # can specify the unit for each metric (if needed) within the objects in
3250
+ # the `Metrics` array.
3248
3251
  #
3249
3252
  # If you don't specify `Unit`, CloudWatch retrieves all unit types that
3250
3253
  # have been published for the metric and attempts to evaluate the alarm.
@@ -3344,10 +3347,10 @@ module Aws::CloudWatch
3344
3347
  # [MetricDataQuery][1].
3345
3348
  #
3346
3349
  # If you use the `Metrics` parameter, you cannot include the
3347
- # `MetricName`, `Dimensions`, `Period`, `Namespace`, `Statistic`, or
3348
- # `ExtendedStatistic` parameters of `PutMetricAlarm` in the same
3349
- # operation. Instead, you retrieve the metrics you are using in your
3350
- # math expression as part of the `Metrics` array.
3350
+ # `Namespace`, `MetricName`, `Dimensions`, `Period`, `Unit`,
3351
+ # `Statistic`, or `ExtendedStatistic` parameters of `PutMetricAlarm` in
3352
+ # the same operation. Instead, you retrieve the metrics you are using in
3353
+ # your math expression as part of the `Metrics` array.
3351
3354
  #
3352
3355
  #
3353
3356
  #
@@ -3647,9 +3650,9 @@ module Aws::CloudWatch
3647
3650
  # * firehose:PutRecordBatch
3648
3651
  #
3649
3652
  # @option params [required, String] :output_format
3650
- # The output format for the stream. Valid values are `json` and
3651
- # `opentelemetry0.7`. For more information about metric stream output
3652
- # formats, see [ Metric streams output formats][1].
3653
+ # The output format for the stream. Valid values are `json`,
3654
+ # `opentelemetry1.0`, and `opentelemetry0.7`. For more information about
3655
+ # metric stream output formats, see [ Metric streams output formats][1].
3653
3656
  #
3654
3657
  #
3655
3658
  #
@@ -3686,8 +3689,8 @@ module Aws::CloudWatch
3686
3689
  # `OutputFormat`. If the `OutputFormat` is `json`, you can stream any
3687
3690
  # additional statistic that is supported by CloudWatch, listed in [
3688
3691
  # CloudWatch statistics definitions][1]. If the `OutputFormat` is
3689
- # `opentelemetry0.7`, you can stream percentile statistics such as p95,
3690
- # p99.9, and so on.
3692
+ # `opentelemetry1.0` or `opentelemetry0.7`, you can stream percentile
3693
+ # statistics such as p95, p99.9, and so on.
3691
3694
  #
3692
3695
  #
3693
3696
  #
@@ -3719,7 +3722,7 @@ module Aws::CloudWatch
3719
3722
  # ],
3720
3723
  # firehose_arn: "AmazonResourceName", # required
3721
3724
  # role_arn: "AmazonResourceName", # required
3722
- # output_format: "json", # required, accepts json, opentelemetry0.7
3725
+ # output_format: "json", # required, accepts json, opentelemetry0.7, opentelemetry1.0
3723
3726
  # tags: [
3724
3727
  # {
3725
3728
  # key: "TagKey", # required
@@ -3983,7 +3986,7 @@ module Aws::CloudWatch
3983
3986
  params: params,
3984
3987
  config: config)
3985
3988
  context[:gem_name] = 'aws-sdk-cloudwatch'
3986
- context[:gem_version] = '1.83.0'
3989
+ context[:gem_version] = '1.84.0'
3987
3990
  Seahorse::Client::Request.new(handlers, context)
3988
3991
  end
3989
3992
 
@@ -32,8 +32,8 @@ module Aws::CloudWatch
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://monitoring-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -584,6 +584,9 @@ module Aws::CloudWatch
584
584
  # You can also specify a unit when you create a custom metric. Units
585
585
  # help provide conceptual meaning to your data. Metric data points that
586
586
  # specify a unit of measure, such as Percent, are aggregated separately.
587
+ # If you are creating an alarm based on a metric math expression, you
588
+ # can specify the unit for each metric (if needed) within the objects in
589
+ # the `Metrics` array.
587
590
  #
588
591
  # If you don't specify `Unit`, CloudWatch retrieves all unit types that
589
592
  # have been published for the metric and attempts to evaluate the alarm.
@@ -676,10 +679,10 @@ module Aws::CloudWatch
676
679
  # [MetricDataQuery][1].
677
680
  #
678
681
  # If you use the `Metrics` parameter, you cannot include the
679
- # `MetricName`, `Dimensions`, `Period`, `Namespace`, `Statistic`, or
680
- # `ExtendedStatistic` parameters of `PutMetricAlarm` in the same
681
- # operation. Instead, you retrieve the metrics you are using in your
682
- # math expression as part of the `Metrics` array.
682
+ # `Namespace`, `MetricName`, `Dimensions`, `Period`, `Unit`,
683
+ # `Statistic`, or `ExtendedStatistic` parameters of `PutMetricAlarm` in
684
+ # the same operation. Instead, you retrieve the metrics you are using in
685
+ # your math expression as part of the `Metrics` array.
683
686
  #
684
687
  #
685
688
  #
@@ -1558,9 +1558,10 @@ module Aws::CloudWatch
1558
1558
  # @return [Time]
1559
1559
  #
1560
1560
  # @!attribute [rw] output_format
1561
- # The output format for the stream. Valid values are `json` and
1562
- # `opentelemetry0.7`. For more information about metric stream output
1563
- # formats, see [Metric streams output formats][1].
1561
+ # The output format for the stream. Valid values are `json`,
1562
+ # `opentelemetry1.0`, and `opentelemetry0.7`. For more information
1563
+ # about metric stream output formats, see [Metric streams output
1564
+ # formats][1].
1564
1565
  #
1565
1566
  #
1566
1567
  #
@@ -2977,8 +2978,8 @@ module Aws::CloudWatch
2977
2978
  # @return [String]
2978
2979
  #
2979
2980
  # @!attribute [rw] output_format
2980
- # The output format of this metric stream. Valid values are `json` and
2981
- # `opentelemetry0.7`.
2981
+ # The output format of this metric stream. Valid values are `json`,
2982
+ # `opentelemetry1.0`, and `opentelemetry0.7`.
2982
2983
  # @return [String]
2983
2984
  #
2984
2985
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricStreamEntry AWS API Documentation
@@ -3061,9 +3062,9 @@ module Aws::CloudWatch
3061
3062
  # metrics listed in the `IncludeMetrics` array in this structure. This
3062
3063
  # list can include as many as 20 statistics.
3063
3064
  #
3064
- # If the `OutputFormat` for the stream is `opentelemetry0.7`, the only
3065
- # valid values are `p?? ` percentile statistics such as `p90`, `p99`
3066
- # and so on.
3065
+ # If the `OutputFormat` for the stream is `opentelemetry1.0` or
3066
+ # `opentelemetry0.7`, the only valid values are `p?? ` percentile
3067
+ # statistics such as `p90`, `p99` and so on.
3067
3068
  #
3068
3069
  # If the `OutputFormat` for the stream is `json`, the valid values
3069
3070
  # include the abbreviations for all of the statistics listed in [
@@ -3672,8 +3673,8 @@ module Aws::CloudWatch
3672
3673
  # a `Metrics` array.
3673
3674
  #
3674
3675
  # If you are creating an alarm based on a math expression, you cannot
3675
- # specify this parameter, or any of the `Dimensions`, `Period`,
3676
- # `Namespace`, `Statistic`, or `ExtendedStatistic` parameters.
3676
+ # specify this parameter, or any of the `Namespace`, `Dimensions`,
3677
+ # `Period`, `Unit`, `Statistic`, or `ExtendedStatistic` parameters.
3677
3678
  # Instead, you specify all this information in the `Metrics` array.
3678
3679
  # @return [String]
3679
3680
  #
@@ -3766,7 +3767,9 @@ module Aws::CloudWatch
3766
3767
  # interfaces. You can also specify a unit when you create a custom
3767
3768
  # metric. Units help provide conceptual meaning to your data. Metric
3768
3769
  # data points that specify a unit of measure, such as Percent, are
3769
- # aggregated separately.
3770
+ # aggregated separately. If you are creating an alarm based on a
3771
+ # metric math expression, you can specify the unit for each metric (if
3772
+ # needed) within the objects in the `Metrics` array.
3770
3773
  #
3771
3774
  # If you don't specify `Unit`, CloudWatch retrieves all unit types
3772
3775
  # that have been published for the metric and attempts to evaluate the
@@ -3874,10 +3877,10 @@ module Aws::CloudWatch
3874
3877
  # [MetricDataQuery][1].
3875
3878
  #
3876
3879
  # If you use the `Metrics` parameter, you cannot include the
3877
- # `MetricName`, `Dimensions`, `Period`, `Namespace`, `Statistic`, or
3878
- # `ExtendedStatistic` parameters of `PutMetricAlarm` in the same
3879
- # operation. Instead, you retrieve the metrics you are using in your
3880
- # math expression as part of the `Metrics` array.
3880
+ # `Namespace`, `MetricName`, `Dimensions`, `Period`, `Unit`,
3881
+ # `Statistic`, or `ExtendedStatistic` parameters of `PutMetricAlarm`
3882
+ # in the same operation. Instead, you retrieve the metrics you are
3883
+ # using in your math expression as part of the `Metrics` array.
3881
3884
  #
3882
3885
  #
3883
3886
  #
@@ -4014,9 +4017,10 @@ module Aws::CloudWatch
4014
4017
  # @return [String]
4015
4018
  #
4016
4019
  # @!attribute [rw] output_format
4017
- # The output format for the stream. Valid values are `json` and
4018
- # `opentelemetry0.7`. For more information about metric stream output
4019
- # formats, see [ Metric streams output formats][1].
4020
+ # The output format for the stream. Valid values are `json`,
4021
+ # `opentelemetry1.0`, and `opentelemetry0.7`. For more information
4022
+ # about metric stream output formats, see [ Metric streams output
4023
+ # formats][1].
4020
4024
  #
4021
4025
  #
4022
4026
  #
@@ -4057,8 +4061,8 @@ module Aws::CloudWatch
4057
4061
  # `OutputFormat`. If the `OutputFormat` is `json`, you can stream any
4058
4062
  # additional statistic that is supported by CloudWatch, listed in [
4059
4063
  # CloudWatch statistics definitions][1]. If the `OutputFormat` is
4060
- # `opentelemetry0.7`, you can stream percentile statistics such as
4061
- # p95, p99.9, and so on.
4064
+ # `opentelemetry1.0` or `opentelemetry0.7`, you can stream percentile
4065
+ # statistics such as p95, p99.9, and so on.
4062
4066
  #
4063
4067
  #
4064
4068
  #
@@ -56,6 +56,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
56
56
  # @!group service
57
57
  module Aws::CloudWatch
58
58
 
59
- GEM_VERSION = '1.83.0'
59
+ GEM_VERSION = '1.84.0'
60
60
 
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core