aws-sdk-cloudwatch 1.81.0 → 1.84.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 074b0ca128d872b73f8812e921340472a5ef48a36982026c61daf52000a7c6ed
4
- data.tar.gz: 07f782c190fe858a7c6690c978e05f4dd2e0a478a16802e5b774314ba338eec7
3
+ metadata.gz: cbf6edae85f6c0ac09d4593fba79edd4c18d9dff8aa1004b3662f313b418476c
4
+ data.tar.gz: d37d0436b03890bbf2460d55612a6d93a9242ff041d132a39463c3fbbd7dd4d3
5
5
  SHA512:
6
- metadata.gz: 696928fdd399295f45400258dff50bce482aa45d0b47b0201f073dd68f4ad71680691065645ad86395fad94d9aaef15a0e05afd4cd0c84a2120426e4d6eac370
7
- data.tar.gz: 5d3c0e939be5b3e74f4df47e9c3fc25b8ea50aa1eadc034f133bcc442c037b4571ec9006681c9c0c3aea20fbbcf5fd40b1960c438c8a093f0021f96ea0cfaae9
6
+ metadata.gz: 2274d84843040c95843f7e2935dd4cc41e87aa806220358a5c2e3d2cadaa295d60adf7e3f43aad486cf0b0c456701b90290798e40609200c120e68792642737f
7
+ data.tar.gz: 56eabeb08c2c25cbe787b78e8d1919851d9aea7cd3eec91e6fb78793b2c918f36ab5c2b11b6105ef415e759aefe2905ae96da48ba73a77a0e00856e3972dae99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
9
+ 1.83.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.82.0 (2023-11-22)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.81.0 (2023-09-27)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.81.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.81.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
  #
@@ -25,16 +25,17 @@ module Aws::CloudWatch
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -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.81.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.81.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-09-27 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.184.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.184.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.3'
87
+ version: '2.5'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="