aws-sdk-cloudwatch 1.134.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +64 -16
- data/lib/aws-sdk-cloudwatch/client_api.rb +1 -1
- data/lib/aws-sdk-cloudwatch/types.rb +43 -1
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab53207c28b25a49fb1e1a9fcd3721ececc094757130c9fc35744533f3c970e1
|
|
4
|
+
data.tar.gz: 105e0f407922e4e430e8d506890657975e5dc3a074677330885c41cfd2fcec35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 690ec27ceec577a13c994c84b8d5590f242dabb5f5113c9312e506152ea3535e51b96c333d4b739dad9d9c3066bd0f0d13fb10cad133af85f54a25e4fb434c0c
|
|
7
|
+
data.tar.gz: 103c42d500184df09559b4b7e6bd4289e534c7e91142879fad345decf0f6986cf1b7a7875431cb0b185fbfa6d3af1392a9010b65f880356b3046539f3a6d7624
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.134.0 (2026-04-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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,
|
|
703
|
-
# dashboards
|
|
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
|
|
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
|
|
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
|
#
|
|
@@ -3354,6 +3362,24 @@ module Aws::CloudWatch
|
|
|
3354
3362
|
#
|
|
3355
3363
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html
|
|
3356
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
|
+
#
|
|
3357
3383
|
# @return [Types::PutDashboardOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3358
3384
|
#
|
|
3359
3385
|
# * {Types::PutDashboardOutput#dashboard_validation_messages #dashboard_validation_messages} => Array<Types::DashboardValidationMessage>
|
|
@@ -3363,6 +3389,12 @@ module Aws::CloudWatch
|
|
|
3363
3389
|
# resp = client.put_dashboard({
|
|
3364
3390
|
# dashboard_name: "DashboardName", # required
|
|
3365
3391
|
# dashboard_body: "DashboardBody", # required
|
|
3392
|
+
# tags: [
|
|
3393
|
+
# {
|
|
3394
|
+
# key: "TagKey", # required
|
|
3395
|
+
# value: "TagValue", # required
|
|
3396
|
+
# },
|
|
3397
|
+
# ],
|
|
3366
3398
|
# })
|
|
3367
3399
|
#
|
|
3368
3400
|
# @example Response structure
|
|
@@ -4610,11 +4642,11 @@ module Aws::CloudWatch
|
|
|
4610
4642
|
end
|
|
4611
4643
|
|
|
4612
4644
|
# Enables enrichment and PromQL access for CloudWatch vended metrics for
|
|
4613
|
-
# [supported
|
|
4614
|
-
# that contain a resource identifier dimension (for
|
|
4615
|
-
# `CPUUtilization` with an `InstanceId` dimension) are
|
|
4616
|
-
# resource ARN and resource tag labels and become
|
|
4617
|
-
# 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.
|
|
4618
4650
|
#
|
|
4619
4651
|
# Before calling this operation, you must enable resource tags on
|
|
4620
4652
|
# telemetry for your account. For more information, see [Enable resource
|
|
@@ -4663,9 +4695,9 @@ module Aws::CloudWatch
|
|
|
4663
4695
|
end
|
|
4664
4696
|
|
|
4665
4697
|
# Disables enrichment and PromQL access for CloudWatch vended metrics
|
|
4666
|
-
# for [supported
|
|
4667
|
-
# these metrics are no longer enriched with resource ARN and
|
|
4668
|
-
# 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.
|
|
4669
4701
|
#
|
|
4670
4702
|
#
|
|
4671
4703
|
#
|
|
@@ -4684,7 +4716,7 @@ module Aws::CloudWatch
|
|
|
4684
4716
|
|
|
4685
4717
|
# Assigns one or more tags (key-value pairs) to the specified CloudWatch
|
|
4686
4718
|
# resource. Currently, the only CloudWatch resources that can be tagged
|
|
4687
|
-
# are alarms and Contributor Insights rules.
|
|
4719
|
+
# are alarms, dashboards, metric streams and Contributor Insights rules.
|
|
4688
4720
|
#
|
|
4689
4721
|
# Tags can help you organize and categorize your resources. You can also
|
|
4690
4722
|
# use them to scope user permissions by granting a user permission to
|
|
@@ -4710,6 +4742,13 @@ module Aws::CloudWatch
|
|
|
4710
4742
|
# The ARN format of a Contributor Insights rule is
|
|
4711
4743
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name `
|
|
4712
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
|
+
#
|
|
4713
4752
|
# For more information about ARN format, see [ Resource Types Defined by
|
|
4714
4753
|
# Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
|
|
4715
4754
|
#
|
|
@@ -4743,7 +4782,9 @@ module Aws::CloudWatch
|
|
|
4743
4782
|
req.send_request(options)
|
|
4744
4783
|
end
|
|
4745
4784
|
|
|
4746
|
-
# 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.
|
|
4747
4788
|
#
|
|
4748
4789
|
# @option params [required, String] :resource_arn
|
|
4749
4790
|
# The ARN of the CloudWatch resource that you're removing tags from.
|
|
@@ -4754,6 +4795,13 @@ module Aws::CloudWatch
|
|
|
4754
4795
|
# The ARN format of a Contributor Insights rule is
|
|
4755
4796
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name `
|
|
4756
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
|
+
#
|
|
4757
4805
|
# For more information about ARN format, see [ Resource Types Defined by
|
|
4758
4806
|
# Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
|
|
4759
4807
|
#
|
|
@@ -4800,7 +4848,7 @@ module Aws::CloudWatch
|
|
|
4800
4848
|
tracer: tracer
|
|
4801
4849
|
)
|
|
4802
4850
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
|
4803
|
-
context[:gem_version] = '1.
|
|
4851
|
+
context[:gem_version] = '1.135.0'
|
|
4804
4852
|
Seahorse::Client::Request.new(handlers, context)
|
|
4805
4853
|
end
|
|
4806
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*.
|
|
@@ -4048,11 +4055,32 @@ module Aws::CloudWatch
|
|
|
4048
4055
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html
|
|
4049
4056
|
# @return [String]
|
|
4050
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
|
+
#
|
|
4051
4078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardInput AWS API Documentation
|
|
4052
4079
|
#
|
|
4053
4080
|
class PutDashboardInput < Struct.new(
|
|
4054
4081
|
:dashboard_name,
|
|
4055
|
-
:dashboard_body
|
|
4082
|
+
:dashboard_body,
|
|
4083
|
+
:tags)
|
|
4056
4084
|
SENSITIVE = []
|
|
4057
4085
|
include Aws::Structure
|
|
4058
4086
|
end
|
|
@@ -5276,6 +5304,13 @@ module Aws::CloudWatch
|
|
|
5276
5304
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
|
|
5277
5305
|
# `
|
|
5278
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
|
+
#
|
|
5279
5314
|
# For more information about ARN format, see [ Resource Types Defined
|
|
5280
5315
|
# by Amazon CloudWatch][1] in the *Amazon Web Services General
|
|
5281
5316
|
# Reference*.
|
|
@@ -5312,6 +5347,13 @@ module Aws::CloudWatch
|
|
|
5312
5347
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name
|
|
5313
5348
|
# `
|
|
5314
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
|
+
#
|
|
5315
5357
|
# For more information about ARN format, see [ Resource Types Defined
|
|
5316
5358
|
# by Amazon CloudWatch][1] in the *Amazon Web Services General
|
|
5317
5359
|
# Reference*.
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
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