aws-sdk-cloudwatch 1.133.0 → 1.135.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: cb444d9630e99161bd2892b7c9c682b4506f3e64b29a1304c34bf4922449bfd9
4
- data.tar.gz: c6376bf068bdb1300232ead6af70964b5074259291e1b0df6e63e9cd58ad3dbd
3
+ metadata.gz: ab53207c28b25a49fb1e1a9fcd3721ececc094757130c9fc35744533f3c970e1
4
+ data.tar.gz: 105e0f407922e4e430e8d506890657975e5dc3a074677330885c41cfd2fcec35
5
5
  SHA512:
6
- metadata.gz: 6d361c9273b2b22216c93e6427f28b6d65b563e3877f89b40703ad4a2d6a08dbc13f4cc38ec1f47069b0c5c5bd9476cc2d657d920b4664d9d96a89a0c5d249ef
7
- data.tar.gz: 9c127efef53c702d19ff732b9435eb4ffb29a929f0bc8a7eac4977c50f10cee67adaf13b34d50da6c2d0b5c9bb54abb729e946bca39d02d0f59376be3df6513d
6
+ metadata.gz: 690ec27ceec577a13c994c84b8d5590f242dabb5f5113c9312e506152ea3535e51b96c333d4b739dad9d9c3066bd0f0d13fb10cad133af85f54a25e4fb434c0c
7
+ data.tar.gz: 103c42d500184df09559b4b7e6bd4289e534c7e91142879fad345decf0f6986cf1b7a7875431cb0b185fbfa6d3af1392a9010b65f880356b3046539f3a6d7624
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.135.0 (2026-05-01)
5
+ ------------------
6
+
7
+ * Feature - This release adds tag support for CloudWatch Dashboards. The PutDashboard API now accepts a Tags parameter, allowing you to tag dashboards at creation time. Additionally, the TagResource, UntagResource, and ListTagsForResource APIs now support dashboard ARNs as resources.
8
+
9
+ 1.134.0 (2026-04-16)
10
+ ------------------
11
+
12
+ * Feature - Update documentation of alarm mute rules start and end date fields
13
+
4
14
  1.133.0 (2026-04-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.133.0
1
+ 1.135.0
@@ -699,8 +699,8 @@ module Aws::CloudWatch
699
699
  end
700
700
 
701
701
  # Deletes all dashboards that you specify. You can specify up to 100
702
- # dashboards to delete. If there is an error during this call, no
703
- # dashboards are deleted.
702
+ # dashboards to delete. If there is an error during this call, the
703
+ # operation attempts to delete as many dashboards as possible.
704
704
  #
705
705
  # @option params [required, Array<String>] :dashboard_names
706
706
  # The dashboards to be deleted. This parameter is required.
@@ -2376,8 +2376,8 @@ module Aws::CloudWatch
2376
2376
  # Returns the current status of vended metric enrichment for the
2377
2377
  # account, including whether CloudWatch vended metrics are enriched with
2378
2378
  # resource ARN and resource tag labels and queryable using PromQL. For
2379
- # the list of supported resources, see [Supported AWS infrastructure
2380
- # metrics][1].
2379
+ # the list of supported resources, see [Supported Amazon Web Services
2380
+ # infrastructure metrics][1].
2381
2381
  #
2382
2382
  #
2383
2383
  #
@@ -2723,7 +2723,8 @@ module Aws::CloudWatch
2723
2723
  end
2724
2724
 
2725
2725
  # Displays the tags associated with a CloudWatch resource. Currently,
2726
- # alarms and Contributor Insights rules support tagging.
2726
+ # alarms, dashboards, metric streams and Contributor Insights rules
2727
+ # support tagging.
2727
2728
  #
2728
2729
  # @option params [required, String] :resource_arn
2729
2730
  # The ARN of the CloudWatch resource that you want to view tags for.
@@ -2734,6 +2735,13 @@ module Aws::CloudWatch
2734
2735
  # The ARN format of a Contributor Insights rule is
2735
2736
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name `
2736
2737
  #
2738
+ # The ARN format of a dashboard is
2739
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
2740
+ #
2741
+ # The ARN format of a metric stream is
2742
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
2743
+ # `
2744
+ #
2737
2745
  # For more information about ARN format, see [ Resource Types Defined by
2738
2746
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
2739
2747
  #
@@ -2825,18 +2833,16 @@ module Aws::CloudWatch
2825
2833
  # can use tags to categorize and manage your mute rules.
2826
2834
  #
2827
2835
  # @option params [Time,DateTime,Date,Integer,String] :start_date
2828
- # The date and time after which the mute rule takes effect. If not
2829
- # specified, the mute rule takes effect immediately upon creation and
2830
- # the mutes are applied as per the schedule expression. This date and
2831
- # time is interpreted according to the schedule timezone, or UTC if no
2832
- # timezone is specified.
2836
+ # The date and time after which the mute rule takes effect, specified as
2837
+ # a timestamp in ISO 8601 format (for example, `2026-04-15T08:00:00Z`).
2838
+ # If not specified, the mute rule takes effect immediately upon creation
2839
+ # and the mutes are applied as per the schedule expression.
2833
2840
  #
2834
2841
  # @option params [Time,DateTime,Date,Integer,String] :expire_date
2835
2842
  # The date and time when the mute rule expires and is no longer
2836
- # evaluated. After this time, the rule status becomes EXPIRED and will
2837
- # no longer mute the targeted alarms. This date and time is interpreted
2838
- # according to the schedule timezone, or UTC if no timezone is
2839
- # specified.
2843
+ # evaluated, specified as a timestamp in ISO 8601 format (for example,
2844
+ # `2026-12-31T23:59:59Z`). After this time, the rule status becomes
2845
+ # EXPIRED and will no longer mute the targeted alarms.
2840
2846
  #
2841
2847
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2842
2848
  #
@@ -3356,6 +3362,24 @@ module Aws::CloudWatch
3356
3362
  #
3357
3363
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html
3358
3364
  #
3365
+ # @option params [Array<Types::Tag>] :tags
3366
+ # A list of key-value pairs to associate with the dashboard. You can
3367
+ # associate as many as 50 tags with a dashboard.
3368
+ #
3369
+ # Tags can help you organize and categorize your dashboards. You can
3370
+ # also use them to scope user permissions by granting a user permission
3371
+ # to access or change only dashboards with certain tag values.
3372
+ #
3373
+ # You can use this parameter only when creating a new dashboard. If you
3374
+ # specify `Tags` when updating an existing dashboard, the tag updates
3375
+ # are ignored. To add or update tags on an existing dashboard, use
3376
+ # [TagResource][1]. To remove tags, use [UntagResource][2].
3377
+ #
3378
+ #
3379
+ #
3380
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3381
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
3382
+ #
3359
3383
  # @return [Types::PutDashboardOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3360
3384
  #
3361
3385
  # * {Types::PutDashboardOutput#dashboard_validation_messages #dashboard_validation_messages} => Array&lt;Types::DashboardValidationMessage&gt;
@@ -3365,6 +3389,12 @@ module Aws::CloudWatch
3365
3389
  # resp = client.put_dashboard({
3366
3390
  # dashboard_name: "DashboardName", # required
3367
3391
  # dashboard_body: "DashboardBody", # required
3392
+ # tags: [
3393
+ # {
3394
+ # key: "TagKey", # required
3395
+ # value: "TagValue", # required
3396
+ # },
3397
+ # ],
3368
3398
  # })
3369
3399
  #
3370
3400
  # @example Response structure
@@ -4612,11 +4642,11 @@ module Aws::CloudWatch
4612
4642
  end
4613
4643
 
4614
4644
  # Enables enrichment and PromQL access for CloudWatch vended metrics for
4615
- # [supported AWS resources][1] in the account. Once enabled, metrics
4616
- # that contain a resource identifier dimension (for example, EC2
4617
- # `CPUUtilization` with an `InstanceId` dimension) are enriched with
4618
- # resource ARN and resource tag labels and become queryable using
4619
- # PromQL.
4645
+ # [supported Amazon Web Services resources][1] in the account. Once
4646
+ # enabled, metrics that contain a resource identifier dimension (for
4647
+ # example, EC2 `CPUUtilization` with an `InstanceId` dimension) are
4648
+ # enriched with resource ARN and resource tag labels and become
4649
+ # queryable using PromQL.
4620
4650
  #
4621
4651
  # Before calling this operation, you must enable resource tags on
4622
4652
  # telemetry for your account. For more information, see [Enable resource
@@ -4665,9 +4695,9 @@ module Aws::CloudWatch
4665
4695
  end
4666
4696
 
4667
4697
  # Disables enrichment and PromQL access for CloudWatch vended metrics
4668
- # for [supported AWS resources][1] in the account. After disabling,
4669
- # these metrics are no longer enriched with resource ARN and resource
4670
- # tag labels, and cannot be queried using PromQL.
4698
+ # for [supported Amazon Web Services resources][1] in the account. After
4699
+ # disabling, these metrics are no longer enriched with resource ARN and
4700
+ # resource tag labels, and cannot be queried using PromQL.
4671
4701
  #
4672
4702
  #
4673
4703
  #
@@ -4686,7 +4716,7 @@ module Aws::CloudWatch
4686
4716
 
4687
4717
  # Assigns one or more tags (key-value pairs) to the specified CloudWatch
4688
4718
  # resource. Currently, the only CloudWatch resources that can be tagged
4689
- # are alarms and Contributor Insights rules.
4719
+ # are alarms, dashboards, metric streams and Contributor Insights rules.
4690
4720
  #
4691
4721
  # Tags can help you organize and categorize your resources. You can also
4692
4722
  # use them to scope user permissions by granting a user permission to
@@ -4712,6 +4742,13 @@ module Aws::CloudWatch
4712
4742
  # The ARN format of a Contributor Insights rule is
4713
4743
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name `
4714
4744
  #
4745
+ # The ARN format of a dashboard is
4746
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
4747
+ #
4748
+ # The ARN format of a metric stream is
4749
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
4750
+ # `
4751
+ #
4715
4752
  # For more information about ARN format, see [ Resource Types Defined by
4716
4753
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
4717
4754
  #
@@ -4745,7 +4782,9 @@ module Aws::CloudWatch
4745
4782
  req.send_request(options)
4746
4783
  end
4747
4784
 
4748
- # Removes one or more tags from the specified resource.
4785
+ # Removes one or more tags from the specified resource. Currently,
4786
+ # alarms, dashboards, metric streams and Contributor Insights rules
4787
+ # support tagging.
4749
4788
  #
4750
4789
  # @option params [required, String] :resource_arn
4751
4790
  # The ARN of the CloudWatch resource that you're removing tags from.
@@ -4756,6 +4795,13 @@ module Aws::CloudWatch
4756
4795
  # The ARN format of a Contributor Insights rule is
4757
4796
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name `
4758
4797
  #
4798
+ # The ARN format of a dashboard is
4799
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
4800
+ #
4801
+ # The ARN format of a metric stream is
4802
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
4803
+ # `
4804
+ #
4759
4805
  # For more information about ARN format, see [ Resource Types Defined by
4760
4806
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
4761
4807
  #
@@ -4802,7 +4848,7 @@ module Aws::CloudWatch
4802
4848
  tracer: tracer
4803
4849
  )
4804
4850
  context[:gem_name] = 'aws-sdk-cloudwatch'
4805
- context[:gem_version] = '1.133.0'
4851
+ context[:gem_version] = '1.135.0'
4806
4852
  Seahorse::Client::Request.new(handlers, context)
4807
4853
  end
4808
4854
 
@@ -1047,6 +1047,7 @@ module Aws::CloudWatch
1047
1047
 
1048
1048
  PutDashboardInput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "DashboardName"))
1049
1049
  PutDashboardInput.add_member(:dashboard_body, Shapes::ShapeRef.new(shape: DashboardBody, required: true, location_name: "DashboardBody"))
1050
+ PutDashboardInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1050
1051
  PutDashboardInput.struct_class = Types::PutDashboardInput
1051
1052
 
1052
1053
  PutDashboardOutput.add_member(:dashboard_validation_messages, Shapes::ShapeRef.new(shape: DashboardValidationMessages, location_name: "DashboardValidationMessages"))
@@ -1257,7 +1258,6 @@ module Aws::CloudWatch
1257
1258
  o.input = Shapes::ShapeRef.new(shape: DeleteDashboardsInput)
1258
1259
  o.output = Shapes::ShapeRef.new(shape: DeleteDashboardsOutput)
1259
1260
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1260
- o.errors << Shapes::ShapeRef.new(shape: DashboardNotFoundError)
1261
1261
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1262
1262
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1263
1263
  end)
@@ -2658,6 +2658,13 @@ module Aws::CloudWatch
2658
2658
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
2659
2659
  # `
2660
2660
  #
2661
+ # The ARN format of a dashboard is
2662
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
2663
+ #
2664
+ # The ARN format of a metric stream is
2665
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
2666
+ # `
2667
+ #
2661
2668
  # For more information about ARN format, see [ Resource Types Defined
2662
2669
  # by Amazon CloudWatch][1] in the *Amazon Web Services General
2663
2670
  # Reference*.
@@ -3685,19 +3692,18 @@ module Aws::CloudWatch
3685
3692
  # @return [Array<Types::Tag>]
3686
3693
  #
3687
3694
  # @!attribute [rw] start_date
3688
- # The date and time after which the mute rule takes effect. If not
3689
- # specified, the mute rule takes effect immediately upon creation and
3690
- # the mutes are applied as per the schedule expression. This date and
3691
- # time is interpreted according to the schedule timezone, or UTC if no
3692
- # timezone is specified.
3695
+ # The date and time after which the mute rule takes effect, specified
3696
+ # as a timestamp in ISO 8601 format (for example,
3697
+ # `2026-04-15T08:00:00Z`). If not specified, the mute rule takes
3698
+ # effect immediately upon creation and the mutes are applied as per
3699
+ # the schedule expression.
3693
3700
  # @return [Time]
3694
3701
  #
3695
3702
  # @!attribute [rw] expire_date
3696
3703
  # The date and time when the mute rule expires and is no longer
3697
- # evaluated. After this time, the rule status becomes EXPIRED and will
3698
- # no longer mute the targeted alarms. This date and time is
3699
- # interpreted according to the schedule timezone, or UTC if no
3700
- # timezone is specified.
3704
+ # evaluated, specified as a timestamp in ISO 8601 format (for example,
3705
+ # `2026-12-31T23:59:59Z`). After this time, the rule status becomes
3706
+ # EXPIRED and will no longer mute the targeted alarms.
3701
3707
  # @return [Time]
3702
3708
  #
3703
3709
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutAlarmMuteRuleInput AWS API Documentation
@@ -4049,11 +4055,32 @@ module Aws::CloudWatch
4049
4055
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html
4050
4056
  # @return [String]
4051
4057
  #
4058
+ # @!attribute [rw] tags
4059
+ # A list of key-value pairs to associate with the dashboard. You can
4060
+ # associate as many as 50 tags with a dashboard.
4061
+ #
4062
+ # Tags can help you organize and categorize your dashboards. You can
4063
+ # also use them to scope user permissions by granting a user
4064
+ # permission to access or change only dashboards with certain tag
4065
+ # values.
4066
+ #
4067
+ # You can use this parameter only when creating a new dashboard. If
4068
+ # you specify `Tags` when updating an existing dashboard, the tag
4069
+ # updates are ignored. To add or update tags on an existing dashboard,
4070
+ # use [TagResource][1]. To remove tags, use [UntagResource][2].
4071
+ #
4072
+ #
4073
+ #
4074
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
4075
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
4076
+ # @return [Array<Types::Tag>]
4077
+ #
4052
4078
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardInput AWS API Documentation
4053
4079
  #
4054
4080
  class PutDashboardInput < Struct.new(
4055
4081
  :dashboard_name,
4056
- :dashboard_body)
4082
+ :dashboard_body,
4083
+ :tags)
4057
4084
  SENSITIVE = []
4058
4085
  include Aws::Structure
4059
4086
  end
@@ -5277,6 +5304,13 @@ module Aws::CloudWatch
5277
5304
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
5278
5305
  # `
5279
5306
  #
5307
+ # The ARN format of a dashboard is
5308
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
5309
+ #
5310
+ # The ARN format of a metric stream is
5311
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
5312
+ # `
5313
+ #
5280
5314
  # For more information about ARN format, see [ Resource Types Defined
5281
5315
  # by Amazon CloudWatch][1] in the *Amazon Web Services General
5282
5316
  # Reference*.
@@ -5313,6 +5347,13 @@ module Aws::CloudWatch
5313
5347
  # `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
5314
5348
  # `
5315
5349
  #
5350
+ # The ARN format of a dashboard is
5351
+ # `arn:aws:cloudwatch::account-id:dashboard/dashboard-name `
5352
+ #
5353
+ # The ARN format of a metric stream is
5354
+ # `arn:aws:cloudwatch:Region:account-id:metric-stream/metric-stream-name
5355
+ # `
5356
+ #
5316
5357
  # For more information about ARN format, see [ Resource Types Defined
5317
5358
  # by Amazon CloudWatch][1] in the *Amazon Web Services General
5318
5359
  # Reference*.
@@ -58,7 +58,7 @@ module Aws::CloudWatch
58
58
  autoload :CompositeAlarm, 'aws-sdk-cloudwatch/composite_alarm'
59
59
  autoload :Metric, 'aws-sdk-cloudwatch/metric'
60
60
 
61
- GEM_VERSION = '1.133.0'
61
+ GEM_VERSION = '1.135.0'
62
62
 
63
63
  end
64
64
 
data/sig/client.rbs CHANGED
@@ -678,7 +678,13 @@ module Aws
678
678
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_dashboard-instance_method
679
679
  def put_dashboard: (
680
680
  dashboard_name: ::String,
681
- dashboard_body: ::String
681
+ dashboard_body: ::String,
682
+ ?tags: Array[
683
+ {
684
+ key: ::String,
685
+ value: ::String
686
+ },
687
+ ]
682
688
  ) -> _PutDashboardResponseSuccess
683
689
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDashboardResponseSuccess
684
690
 
data/sig/types.rbs CHANGED
@@ -832,6 +832,7 @@ module Aws::CloudWatch
832
832
  class PutDashboardInput
833
833
  attr_accessor dashboard_name: ::String
834
834
  attr_accessor dashboard_body: ::String
835
+ attr_accessor tags: ::Array[Types::Tag]
835
836
  SENSITIVE: []
836
837
  end
837
838
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.133.0
4
+ version: 1.135.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services