aws-sdk-cloudwatch 1.72.0 → 1.73.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: 9b32fc5810e767e096603f224c53db881ed87b0d82513483b008b1cf8932a912
4
- data.tar.gz: 10b46168f72d9b43fe4b5210c87d35c9b4ae8c4a53ee05c6491a0be21f010bd5
3
+ metadata.gz: f026df9017d75a5c86fa19e049dc5eecb9c0300f082310a5faf7330977e7e3d8
4
+ data.tar.gz: a3699d39fadb29a0f26fcba3de7ec039e33f8a2f131e3f58a975e2bbe8229899
5
5
  SHA512:
6
- metadata.gz: e922257c3c139771777cb92b53c7db925244bd48674fe7fc17d1aa1d2f8f2179e39696b073cc1f2e4cdb72784a37576ee35036faef80bb2ee6990cdd3b064a27
7
- data.tar.gz: dd77c220599d986e65c74b3fa1edc3a01e497efb09fce42889ff0109b0a1e863d5132e6ec903374b466b686c333df659e4bd9c5dece673b170f8c40e4c8dc220
6
+ metadata.gz: 2bd09cca9f567a2f4c8d84d0d72b498cc4b692a10effa969b6919ab7fcc2016c180194123491be4990b5317dcd248a41fdc7c2eb4c7f40634e596b8316e285fc
7
+ data.tar.gz: c037ee9e83dac40d5f83843ca29323d375393b3036a153c0439ff61dbdc8a163e78bf907db61ff376b6511a9b13e1d94b0a49d403664ace3ffe4a42febfbafa7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.0 (2023-05-04)
5
+ ------------------
6
+
7
+ * Feature - Adds support for filtering by metric names in CloudWatch Metric Streams.
8
+
4
9
  1.72.0 (2023-03-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.73.0
@@ -1956,8 +1956,12 @@ module Aws::CloudWatch
1956
1956
  # resp.name #=> String
1957
1957
  # resp.include_filters #=> Array
1958
1958
  # resp.include_filters[0].namespace #=> String
1959
+ # resp.include_filters[0].metric_names #=> Array
1960
+ # resp.include_filters[0].metric_names[0] #=> String
1959
1961
  # resp.exclude_filters #=> Array
1960
1962
  # resp.exclude_filters[0].namespace #=> String
1963
+ # resp.exclude_filters[0].metric_names #=> Array
1964
+ # resp.exclude_filters[0].metric_names[0] #=> String
1961
1965
  # resp.firehose_arn #=> String
1962
1966
  # resp.role_arn #=> String
1963
1967
  # resp.state #=> String
@@ -2944,6 +2948,9 @@ module Aws::CloudWatch
2944
2948
  # and `AWSServiceRoleForCloudWatchAlarms_ActionSSM`. For more
2945
2949
  # information, see [Amazon Web Services service-linked role][2].
2946
2950
  #
2951
+ # Each `PutMetricAlarm` action has a maximum uncompressed payload of 120
2952
+ # KB.
2953
+ #
2947
2954
  # **Cross-account alarms**
2948
2955
  #
2949
2956
  # You can set an alarm on metrics in the current account, or in another
@@ -3015,7 +3022,7 @@ module Aws::CloudWatch
3015
3022
  #
3016
3023
  # ^
3017
3024
  #
3018
- # **SSN notification action:**
3025
+ # **SNS notification action:**
3019
3026
  #
3020
3027
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3021
3028
  # `
@@ -3059,7 +3066,7 @@ module Aws::CloudWatch
3059
3066
  #
3060
3067
  # ^
3061
3068
  #
3062
- # **SSN notification action:**
3069
+ # **SNS notification action:**
3063
3070
  #
3064
3071
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3065
3072
  # `
@@ -3103,7 +3110,7 @@ module Aws::CloudWatch
3103
3110
  #
3104
3111
  # ^
3105
3112
  #
3106
- # **SSN notification action:**
3113
+ # **SNS notification action:**
3107
3114
  #
3108
3115
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3109
3116
  # `
@@ -3641,11 +3648,13 @@ module Aws::CloudWatch
3641
3648
  # include_filters: [
3642
3649
  # {
3643
3650
  # namespace: "Namespace",
3651
+ # metric_names: ["MetricName"],
3644
3652
  # },
3645
3653
  # ],
3646
3654
  # exclude_filters: [
3647
3655
  # {
3648
3656
  # namespace: "Namespace",
3657
+ # metric_names: ["MetricName"],
3649
3658
  # },
3650
3659
  # ],
3651
3660
  # firehose_arn: "AmazonResourceName", # required
@@ -3914,7 +3923,7 @@ module Aws::CloudWatch
3914
3923
  params: params,
3915
3924
  config: config)
3916
3925
  context[:gem_name] = 'aws-sdk-cloudwatch'
3917
- context[:gem_version] = '1.72.0'
3926
+ context[:gem_version] = '1.73.0'
3918
3927
  Seahorse::Client::Request.new(handlers, context)
3919
3928
  end
3920
3929
 
@@ -201,6 +201,7 @@ module Aws::CloudWatch
201
201
  MetricStreamEntries = Shapes::ListShape.new(name: 'MetricStreamEntries')
202
202
  MetricStreamEntry = Shapes::StructureShape.new(name: 'MetricStreamEntry')
203
203
  MetricStreamFilter = Shapes::StructureShape.new(name: 'MetricStreamFilter')
204
+ MetricStreamFilterMetricNames = Shapes::ListShape.new(name: 'MetricStreamFilterMetricNames')
204
205
  MetricStreamFilters = Shapes::ListShape.new(name: 'MetricStreamFilters')
205
206
  MetricStreamName = Shapes::StringShape.new(name: 'MetricStreamName')
206
207
  MetricStreamNames = Shapes::ListShape.new(name: 'MetricStreamNames')
@@ -810,8 +811,11 @@ module Aws::CloudWatch
810
811
  MetricStreamEntry.struct_class = Types::MetricStreamEntry
811
812
 
812
813
  MetricStreamFilter.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
814
+ MetricStreamFilter.add_member(:metric_names, Shapes::ShapeRef.new(shape: MetricStreamFilterMetricNames, location_name: "MetricNames"))
813
815
  MetricStreamFilter.struct_class = Types::MetricStreamFilter
814
816
 
817
+ MetricStreamFilterMetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
818
+
815
819
  MetricStreamFilters.member = Shapes::ShapeRef.new(shape: MetricStreamFilter)
816
820
 
817
821
  MetricStreamNames.member = Shapes::ShapeRef.new(shape: MetricStreamName)
@@ -403,7 +403,7 @@ module Aws::CloudWatch
403
403
  #
404
404
  # ^
405
405
  #
406
- # **SSN notification action:**
406
+ # **SNS notification action:**
407
407
  #
408
408
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
409
409
  # `
@@ -446,7 +446,7 @@ module Aws::CloudWatch
446
446
  #
447
447
  # ^
448
448
  #
449
- # **SSN notification action:**
449
+ # **SNS notification action:**
450
450
  #
451
451
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
452
452
  # `
@@ -489,7 +489,7 @@ module Aws::CloudWatch
489
489
  #
490
490
  # ^
491
491
  #
492
- # **SSN notification action:**
492
+ # **SNS notification action:**
493
493
  #
494
494
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
495
495
  # `
@@ -2986,21 +2986,42 @@ module Aws::CloudWatch
2986
2986
  include Aws::Structure
2987
2987
  end
2988
2988
 
2989
- # This structure contains the name of one of the metric namespaces that
2990
- # is listed in a filter of a metric stream.
2989
+ # This structure contains a metric namespace and optionally, a list of
2990
+ # metric names, to either include in a metric stream or exclude from a
2991
+ # metric stream.
2991
2992
  #
2992
- # The namespace can contain only ASCII printable characters (ASCII range
2993
- # 32 through 126). It must contain at least one non-whitespace
2994
- # character.
2993
+ # A metric stream's filters can include up to 1000 total names. This
2994
+ # limit applies to the sum of namespace names and metric names in the
2995
+ # filters. For example, this could include 10 metric namespace filters
2996
+ # with 99 metrics each, or 20 namespace filters with 49 metrics
2997
+ # specified in each filter.
2995
2998
  #
2996
2999
  # @!attribute [rw] namespace
2997
- # The name of the metric namespace in the filter.
3000
+ # The name of the metric namespace for this filter.
3001
+ #
3002
+ # The namespace can contain only ASCII printable characters (ASCII
3003
+ # range 32 through 126). It must contain at least one non-whitespace
3004
+ # character.
2998
3005
  # @return [String]
2999
3006
  #
3007
+ # @!attribute [rw] metric_names
3008
+ # The names of the metrics to either include or exclude from the
3009
+ # metric stream.
3010
+ #
3011
+ # If you omit this parameter, all metrics in the namespace are
3012
+ # included or excluded, depending on whether this filter is specified
3013
+ # as an exclude filter or an include filter.
3014
+ #
3015
+ # Each metric name can contain only ASCII printable characters (ASCII
3016
+ # range 32 through 126). Each metric name must contain at least one
3017
+ # non-whitespace character.
3018
+ # @return [Array<String>]
3019
+ #
3000
3020
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricStreamFilter AWS API Documentation
3001
3021
  #
3002
3022
  class MetricStreamFilter < Struct.new(
3003
- :namespace)
3023
+ :namespace,
3024
+ :metric_names)
3004
3025
  SENSITIVE = []
3005
3026
  include Aws::Structure
3006
3027
  end
@@ -3528,7 +3549,7 @@ module Aws::CloudWatch
3528
3549
  #
3529
3550
  # ^
3530
3551
  #
3531
- # **SSN notification action:**
3552
+ # **SNS notification action:**
3532
3553
  #
3533
3554
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3534
3555
  # `
@@ -3574,7 +3595,7 @@ module Aws::CloudWatch
3574
3595
  #
3575
3596
  # ^
3576
3597
  #
3577
- # **SSN notification action:**
3598
+ # **SNS notification action:**
3578
3599
  #
3579
3600
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3580
3601
  # `
@@ -3620,7 +3641,7 @@ module Aws::CloudWatch
3620
3641
  #
3621
3642
  # ^
3622
3643
  #
3623
- # **SSN notification action:**
3644
+ # **SNS notification action:**
3624
3645
  #
3625
3646
  # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3626
3647
  # `
@@ -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.72.0'
59
+ GEM_VERSION = '1.73.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.72.0
4
+ version: 1.73.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-03-24 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core