aws-sdk-cloudwatch 1.161.0 → 1.163.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +64 -10
- data/lib/aws-sdk-cloudwatch/client_api.rb +6 -0
- data/lib/aws-sdk-cloudwatch/resource.rb +12 -0
- data/lib/aws-sdk-cloudwatch/types.rb +71 -5
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/client.rbs +7 -2
- data/sig/types.rbs +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7ea747cb5c1b0007fc152f07f62d459c0f87f3e6ef8420cc0c57acec298eaed
|
|
4
|
+
data.tar.gz: 875444844de90304b830e1a02b01746620e01c5dda45d12ca02bee37c78bf07d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7e487388c1b2873b6d363ce2ad27a7766ffa050e33c185c7bbfb64c852f4ae1096465f5a0f27c0e81fc4d458b047015a37b844545e5e02d6b99b804bdf1b34c
|
|
7
|
+
data.tar.gz: fc3057fdac7c1702aa8618856aaea04fbdc4b00ac0916d0ae56a4407a6c3d6e7d38a3912b3e0a780af6bf978358fdda298600440d7d60d72558fbadc4acfc82a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.163.0 (2026-11-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - CloudWatch OTel enrichment supports a free basic option and a paid tag enrichment option, using the EnableTagEnrichment flag. Set it to true (default) to enrich vended metrics with resource ARN and tag labels for PromQL queries. Set it to false to get the free basic option without resource tags.
|
|
8
|
+
|
|
9
|
+
1.162.0 (2026-11-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.161.0 (2026-11-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.163.0
|
|
@@ -2931,6 +2931,7 @@ module Aws::CloudWatch
|
|
|
2931
2931
|
# * {Types::GetOTelEnrichmentOutput#exclude_filters #exclude_filters} => Array<Types::OTelEnrichmentMetricSelector>
|
|
2932
2932
|
# * {Types::GetOTelEnrichmentOutput#created_at #created_at} => Time
|
|
2933
2933
|
# * {Types::GetOTelEnrichmentOutput#updated_at #updated_at} => Time
|
|
2934
|
+
# * {Types::GetOTelEnrichmentOutput#enable_tag_enrichment #enable_tag_enrichment} => Boolean
|
|
2934
2935
|
#
|
|
2935
2936
|
# @example Response structure
|
|
2936
2937
|
#
|
|
@@ -2945,6 +2946,7 @@ module Aws::CloudWatch
|
|
|
2945
2946
|
# resp.exclude_filters[0].metric_names[0] #=> String
|
|
2946
2947
|
# resp.created_at #=> Time
|
|
2947
2948
|
# resp.updated_at #=> Time
|
|
2949
|
+
# resp.enable_tag_enrichment #=> Boolean
|
|
2948
2950
|
#
|
|
2949
2951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetOTelEnrichment AWS API Documentation
|
|
2950
2952
|
#
|
|
@@ -3339,6 +3341,18 @@ module Aws::CloudWatch
|
|
|
3339
3341
|
# metrics with last published data as much as 50 minutes more than the
|
|
3340
3342
|
# specified time interval.
|
|
3341
3343
|
#
|
|
3344
|
+
# A namespace can contain many metrics that published data in the past
|
|
3345
|
+
# two weeks but not in the past three hours. In this case, a page of
|
|
3346
|
+
# results can contain few or no metrics and still include a `NextToken`.
|
|
3347
|
+
# You need to continue making calls with the returned `NextToken` until
|
|
3348
|
+
# no token is returned. If you need a continuous feed of active metrics
|
|
3349
|
+
# across namespaces, use metric streams. For more information, see [Use
|
|
3350
|
+
# metric streams][1].
|
|
3351
|
+
#
|
|
3352
|
+
#
|
|
3353
|
+
#
|
|
3354
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html
|
|
3355
|
+
#
|
|
3342
3356
|
# @option params [Boolean] :include_linked_accounts
|
|
3343
3357
|
# If you are using this operation in a monitoring account, specify
|
|
3344
3358
|
# `true` to include metrics from source accounts in the returned data.
|
|
@@ -5756,18 +5770,22 @@ module Aws::CloudWatch
|
|
|
5756
5770
|
# [supported Amazon Web Services resources][1] in the account. Once
|
|
5757
5771
|
# enabled, metrics that contain a resource identifier dimension (for
|
|
5758
5772
|
# example, EC2 `CPUUtilization` with an `InstanceId` dimension) are
|
|
5759
|
-
# enriched with resource ARN and resource tag
|
|
5760
|
-
# queryable using PromQL.
|
|
5773
|
+
# enriched with resource ARN labels and, optionally, resource tag
|
|
5774
|
+
# labels, and become queryable using PromQL.
|
|
5761
5775
|
#
|
|
5762
|
-
#
|
|
5763
|
-
# telemetry for
|
|
5764
|
-
# tags on telemetry][2].
|
|
5776
|
+
# To include resource tag labels, you must also enable resource tags on
|
|
5777
|
+
# telemetry for the account. For more information, see [Enable resource
|
|
5778
|
+
# tags on telemetry][2]. If `EnableTagEnrichment` is `false`, enrichment
|
|
5779
|
+
# reads no resource tags, so it does not require resource tags on
|
|
5780
|
+
# telemetry.
|
|
5765
5781
|
#
|
|
5766
5782
|
# Optionally, `IncludeFilters` and `ExcludeFilters` limit enrichment to
|
|
5767
|
-
# a subset of the account's metrics
|
|
5768
|
-
#
|
|
5769
|
-
#
|
|
5770
|
-
#
|
|
5783
|
+
# a subset of the account's metrics, and `EnableTagEnrichment` controls
|
|
5784
|
+
# whether enriched metrics include resource tag labels. These settings
|
|
5785
|
+
# are stored only when this operation starts enrichment. Calling
|
|
5786
|
+
# `StartOTelEnrichment` for an account where enrichment is already
|
|
5787
|
+
# running has no effect and does not modify the filters or the tag
|
|
5788
|
+
# enrichment setting that are applied. To change them, use
|
|
5771
5789
|
# [UpdateOTelEnrichment][3].
|
|
5772
5790
|
#
|
|
5773
5791
|
#
|
|
@@ -5794,12 +5812,27 @@ module Aws::CloudWatch
|
|
|
5794
5812
|
# A maximum of 100 filters is allowed across `IncludeFilters` and
|
|
5795
5813
|
# `ExcludeFilters` combined.
|
|
5796
5814
|
#
|
|
5815
|
+
# @option params [Boolean] :enable_tag_enrichment
|
|
5816
|
+
# Specifies whether enriched metrics include resource tag labels. If
|
|
5817
|
+
# `true`, enriched metrics include resource tag labels. If `false`, they
|
|
5818
|
+
# include resource ARN labels but no resource tag labels. If you omit
|
|
5819
|
+
# this parameter, the default is `true`.
|
|
5820
|
+
#
|
|
5821
|
+
# When `EnableTagEnrichment` is `true`, enriched metrics that carry
|
|
5822
|
+
# resource tag labels are charged at the OTel enrichment rate. For more
|
|
5823
|
+
# information, see [Amazon CloudWatch Pricing][1].
|
|
5824
|
+
#
|
|
5825
|
+
#
|
|
5826
|
+
#
|
|
5827
|
+
# [1]: https://aws.amazon.com/cloudwatch/pricing/
|
|
5828
|
+
#
|
|
5797
5829
|
# @return [Types::StartOTelEnrichmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5798
5830
|
#
|
|
5799
5831
|
# * {Types::StartOTelEnrichmentOutput#include_filters #include_filters} => Array<Types::OTelEnrichmentMetricSelector>
|
|
5800
5832
|
# * {Types::StartOTelEnrichmentOutput#exclude_filters #exclude_filters} => Array<Types::OTelEnrichmentMetricSelector>
|
|
5801
5833
|
# * {Types::StartOTelEnrichmentOutput#created_at #created_at} => Time
|
|
5802
5834
|
# * {Types::StartOTelEnrichmentOutput#updated_at #updated_at} => Time
|
|
5835
|
+
# * {Types::StartOTelEnrichmentOutput#enable_tag_enrichment #enable_tag_enrichment} => Boolean
|
|
5803
5836
|
#
|
|
5804
5837
|
# @example Request syntax with placeholder values
|
|
5805
5838
|
#
|
|
@@ -5816,6 +5849,7 @@ module Aws::CloudWatch
|
|
|
5816
5849
|
# metric_names: ["MetricName"],
|
|
5817
5850
|
# },
|
|
5818
5851
|
# ],
|
|
5852
|
+
# enable_tag_enrichment: false,
|
|
5819
5853
|
# })
|
|
5820
5854
|
#
|
|
5821
5855
|
# @example Response structure
|
|
@@ -5830,6 +5864,7 @@ module Aws::CloudWatch
|
|
|
5830
5864
|
# resp.exclude_filters[0].metric_names[0] #=> String
|
|
5831
5865
|
# resp.created_at #=> Time
|
|
5832
5866
|
# resp.updated_at #=> Time
|
|
5867
|
+
# resp.enable_tag_enrichment #=> Boolean
|
|
5833
5868
|
#
|
|
5834
5869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichment AWS API Documentation
|
|
5835
5870
|
#
|
|
@@ -6036,12 +6071,29 @@ module Aws::CloudWatch
|
|
|
6036
6071
|
# A maximum of 100 filters is allowed across `IncludeFilters` and
|
|
6037
6072
|
# `ExcludeFilters` combined.
|
|
6038
6073
|
#
|
|
6074
|
+
# @option params [Boolean] :enable_tag_enrichment
|
|
6075
|
+
# Specifies whether enriched metrics include resource tag labels. If
|
|
6076
|
+
# `true`, enriched metrics include resource tag labels. If `false`, they
|
|
6077
|
+
# include resource ARN labels but no resource tag labels. If you omit
|
|
6078
|
+
# this parameter, the stored value is not changed. The operation also
|
|
6079
|
+
# replaces the stored filters, so to change only this setting, specify
|
|
6080
|
+
# the current `IncludeFilters` and `ExcludeFilters` in the same request.
|
|
6081
|
+
#
|
|
6082
|
+
# When `EnableTagEnrichment` is `true`, enriched metrics that carry
|
|
6083
|
+
# resource tag labels are charged at the OTel enrichment rate. For more
|
|
6084
|
+
# information, see [Amazon CloudWatch Pricing][1].
|
|
6085
|
+
#
|
|
6086
|
+
#
|
|
6087
|
+
#
|
|
6088
|
+
# [1]: https://aws.amazon.com/cloudwatch/pricing/
|
|
6089
|
+
#
|
|
6039
6090
|
# @return [Types::UpdateOTelEnrichmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6040
6091
|
#
|
|
6041
6092
|
# * {Types::UpdateOTelEnrichmentOutput#include_filters #include_filters} => Array<Types::OTelEnrichmentMetricSelector>
|
|
6042
6093
|
# * {Types::UpdateOTelEnrichmentOutput#exclude_filters #exclude_filters} => Array<Types::OTelEnrichmentMetricSelector>
|
|
6043
6094
|
# * {Types::UpdateOTelEnrichmentOutput#created_at #created_at} => Time
|
|
6044
6095
|
# * {Types::UpdateOTelEnrichmentOutput#updated_at #updated_at} => Time
|
|
6096
|
+
# * {Types::UpdateOTelEnrichmentOutput#enable_tag_enrichment #enable_tag_enrichment} => Boolean
|
|
6045
6097
|
#
|
|
6046
6098
|
# @example Request syntax with placeholder values
|
|
6047
6099
|
#
|
|
@@ -6058,6 +6110,7 @@ module Aws::CloudWatch
|
|
|
6058
6110
|
# metric_names: ["MetricName"],
|
|
6059
6111
|
# },
|
|
6060
6112
|
# ],
|
|
6113
|
+
# enable_tag_enrichment: false,
|
|
6061
6114
|
# })
|
|
6062
6115
|
#
|
|
6063
6116
|
# @example Response structure
|
|
@@ -6072,6 +6125,7 @@ module Aws::CloudWatch
|
|
|
6072
6125
|
# resp.exclude_filters[0].metric_names[0] #=> String
|
|
6073
6126
|
# resp.created_at #=> Time
|
|
6074
6127
|
# resp.updated_at #=> Time
|
|
6128
|
+
# resp.enable_tag_enrichment #=> Boolean
|
|
6075
6129
|
#
|
|
6076
6130
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichment AWS API Documentation
|
|
6077
6131
|
#
|
|
@@ -6170,7 +6224,7 @@ module Aws::CloudWatch
|
|
|
6170
6224
|
tracer: tracer
|
|
6171
6225
|
)
|
|
6172
6226
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
|
6173
|
-
context[:gem_version] = '1.
|
|
6227
|
+
context[:gem_version] = '1.163.0'
|
|
6174
6228
|
Seahorse::Client::Request.new(handlers, context)
|
|
6175
6229
|
end
|
|
6176
6230
|
|
|
@@ -65,6 +65,7 @@ module Aws::CloudWatch
|
|
|
65
65
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
|
66
66
|
AwsQueryErrorMessage = Shapes::StringShape.new(name: 'AwsQueryErrorMessage')
|
|
67
67
|
BatchFailures = Shapes::ListShape.new(name: 'BatchFailures')
|
|
68
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
68
69
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
|
69
70
|
CompositeAlarm = Shapes::StructureShape.new(name: 'CompositeAlarm')
|
|
70
71
|
CompositeAlarms = Shapes::ListShape.new(name: 'CompositeAlarms')
|
|
@@ -885,6 +886,7 @@ module Aws::CloudWatch
|
|
|
885
886
|
GetOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
|
|
886
887
|
GetOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
887
888
|
GetOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
889
|
+
GetOTelEnrichmentOutput.add_member(:enable_tag_enrichment, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTagEnrichment", metadata: {"box" => true}))
|
|
888
890
|
GetOTelEnrichmentOutput.struct_class = Types::GetOTelEnrichmentOutput
|
|
889
891
|
|
|
890
892
|
GetResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
@@ -1459,12 +1461,14 @@ module Aws::CloudWatch
|
|
|
1459
1461
|
|
|
1460
1462
|
StartOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
|
|
1461
1463
|
StartOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
|
|
1464
|
+
StartOTelEnrichmentInput.add_member(:enable_tag_enrichment, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTagEnrichment", metadata: {"box" => true}))
|
|
1462
1465
|
StartOTelEnrichmentInput.struct_class = Types::StartOTelEnrichmentInput
|
|
1463
1466
|
|
|
1464
1467
|
StartOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
|
|
1465
1468
|
StartOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
|
|
1466
1469
|
StartOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
1467
1470
|
StartOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
1471
|
+
StartOTelEnrichmentOutput.add_member(:enable_tag_enrichment, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTagEnrichment", metadata: {"box" => true}))
|
|
1468
1472
|
StartOTelEnrichmentOutput.struct_class = Types::StartOTelEnrichmentOutput
|
|
1469
1473
|
|
|
1470
1474
|
StatisticSet.add_member(:sample_count, Shapes::ShapeRef.new(shape: DatapointValue, required: true, location_name: "SampleCount"))
|
|
@@ -1508,12 +1512,14 @@ module Aws::CloudWatch
|
|
|
1508
1512
|
|
|
1509
1513
|
UpdateOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
|
|
1510
1514
|
UpdateOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
|
|
1515
|
+
UpdateOTelEnrichmentInput.add_member(:enable_tag_enrichment, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTagEnrichment", metadata: {"box" => true}))
|
|
1511
1516
|
UpdateOTelEnrichmentInput.struct_class = Types::UpdateOTelEnrichmentInput
|
|
1512
1517
|
|
|
1513
1518
|
UpdateOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
|
|
1514
1519
|
UpdateOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
|
|
1515
1520
|
UpdateOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
|
1516
1521
|
UpdateOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
1522
|
+
UpdateOTelEnrichmentOutput.add_member(:enable_tag_enrichment, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTagEnrichment", metadata: {"box" => true}))
|
|
1517
1523
|
UpdateOTelEnrichmentOutput.struct_class = Types::UpdateOTelEnrichmentOutput
|
|
1518
1524
|
|
|
1519
1525
|
UpdateResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
@@ -304,6 +304,18 @@ module Aws::CloudWatch
|
|
|
304
304
|
# specify. There is a low probability that the returned results include
|
|
305
305
|
# metrics with last published data as much as 50 minutes more than the
|
|
306
306
|
# specified time interval.
|
|
307
|
+
#
|
|
308
|
+
# A namespace can contain many metrics that published data in the past
|
|
309
|
+
# two weeks but not in the past three hours. In this case, a page of
|
|
310
|
+
# results can contain few or no metrics and still include a `NextToken`.
|
|
311
|
+
# You need to continue making calls with the returned `NextToken` until
|
|
312
|
+
# no token is returned. If you need a continuous feed of active metrics
|
|
313
|
+
# across namespaces, use metric streams. For more information, see [Use
|
|
314
|
+
# metric streams][1].
|
|
315
|
+
#
|
|
316
|
+
#
|
|
317
|
+
#
|
|
318
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html
|
|
307
319
|
# @option options [Boolean] :include_linked_accounts
|
|
308
320
|
# If you are using this operation in a monitoring account, specify
|
|
309
321
|
# `true` to include metrics from source accounts in the returned data.
|
|
@@ -2507,6 +2507,11 @@ module Aws::CloudWatch
|
|
|
2507
2507
|
# was last stored.
|
|
2508
2508
|
# @return [Time]
|
|
2509
2509
|
#
|
|
2510
|
+
# @!attribute [rw] enable_tag_enrichment
|
|
2511
|
+
# Specifies whether enriched metrics include resource tag labels for
|
|
2512
|
+
# the account. This parameter is omitted when enrichment is stopped.
|
|
2513
|
+
# @return [Boolean]
|
|
2514
|
+
#
|
|
2510
2515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetOTelEnrichmentOutput AWS API Documentation
|
|
2511
2516
|
#
|
|
2512
2517
|
class GetOTelEnrichmentOutput < Struct.new(
|
|
@@ -2514,7 +2519,8 @@ module Aws::CloudWatch
|
|
|
2514
2519
|
:include_filters,
|
|
2515
2520
|
:exclude_filters,
|
|
2516
2521
|
:created_at,
|
|
2517
|
-
:updated_at
|
|
2522
|
+
:updated_at,
|
|
2523
|
+
:enable_tag_enrichment)
|
|
2518
2524
|
SENSITIVE = []
|
|
2519
2525
|
include Aws::Structure
|
|
2520
2526
|
end
|
|
@@ -3172,6 +3178,18 @@ module Aws::CloudWatch
|
|
|
3172
3178
|
# specify. There is a low probability that the returned results
|
|
3173
3179
|
# include metrics with last published data as much as 50 minutes more
|
|
3174
3180
|
# than the specified time interval.
|
|
3181
|
+
#
|
|
3182
|
+
# A namespace can contain many metrics that published data in the past
|
|
3183
|
+
# two weeks but not in the past three hours. In this case, a page of
|
|
3184
|
+
# results can contain few or no metrics and still include a
|
|
3185
|
+
# `NextToken`. You need to continue making calls with the returned
|
|
3186
|
+
# `NextToken` until no token is returned. If you need a continuous
|
|
3187
|
+
# feed of active metrics across namespaces, use metric streams. For
|
|
3188
|
+
# more information, see [Use metric streams][1].
|
|
3189
|
+
#
|
|
3190
|
+
#
|
|
3191
|
+
#
|
|
3192
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html
|
|
3175
3193
|
# @return [String]
|
|
3176
3194
|
#
|
|
3177
3195
|
# @!attribute [rw] include_linked_accounts
|
|
@@ -6631,11 +6649,27 @@ module Aws::CloudWatch
|
|
|
6631
6649
|
# `ExcludeFilters` combined.
|
|
6632
6650
|
# @return [Array<Types::OTelEnrichmentMetricSelector>]
|
|
6633
6651
|
#
|
|
6652
|
+
# @!attribute [rw] enable_tag_enrichment
|
|
6653
|
+
# Specifies whether enriched metrics include resource tag labels. If
|
|
6654
|
+
# `true`, enriched metrics include resource tag labels. If `false`,
|
|
6655
|
+
# they include resource ARN labels but no resource tag labels. If you
|
|
6656
|
+
# omit this parameter, the default is `true`.
|
|
6657
|
+
#
|
|
6658
|
+
# When `EnableTagEnrichment` is `true`, enriched metrics that carry
|
|
6659
|
+
# resource tag labels are charged at the OTel enrichment rate. For
|
|
6660
|
+
# more information, see [Amazon CloudWatch Pricing][1].
|
|
6661
|
+
#
|
|
6662
|
+
#
|
|
6663
|
+
#
|
|
6664
|
+
# [1]: https://aws.amazon.com/cloudwatch/pricing/
|
|
6665
|
+
# @return [Boolean]
|
|
6666
|
+
#
|
|
6634
6667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentInput AWS API Documentation
|
|
6635
6668
|
#
|
|
6636
6669
|
class StartOTelEnrichmentInput < Struct.new(
|
|
6637
6670
|
:include_filters,
|
|
6638
|
-
:exclude_filters
|
|
6671
|
+
:exclude_filters,
|
|
6672
|
+
:enable_tag_enrichment)
|
|
6639
6673
|
SENSITIVE = []
|
|
6640
6674
|
include Aws::Structure
|
|
6641
6675
|
end
|
|
@@ -6657,13 +6691,19 @@ module Aws::CloudWatch
|
|
|
6657
6691
|
# was last stored.
|
|
6658
6692
|
# @return [Time]
|
|
6659
6693
|
#
|
|
6694
|
+
# @!attribute [rw] enable_tag_enrichment
|
|
6695
|
+
# Specifies whether enriched metrics include resource tag labels for
|
|
6696
|
+
# the account.
|
|
6697
|
+
# @return [Boolean]
|
|
6698
|
+
#
|
|
6660
6699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentOutput AWS API Documentation
|
|
6661
6700
|
#
|
|
6662
6701
|
class StartOTelEnrichmentOutput < Struct.new(
|
|
6663
6702
|
:include_filters,
|
|
6664
6703
|
:exclude_filters,
|
|
6665
6704
|
:created_at,
|
|
6666
|
-
:updated_at
|
|
6705
|
+
:updated_at,
|
|
6706
|
+
:enable_tag_enrichment)
|
|
6667
6707
|
SENSITIVE = []
|
|
6668
6708
|
include Aws::Structure
|
|
6669
6709
|
end
|
|
@@ -6854,11 +6894,30 @@ module Aws::CloudWatch
|
|
|
6854
6894
|
# `ExcludeFilters` combined.
|
|
6855
6895
|
# @return [Array<Types::OTelEnrichmentMetricSelector>]
|
|
6856
6896
|
#
|
|
6897
|
+
# @!attribute [rw] enable_tag_enrichment
|
|
6898
|
+
# Specifies whether enriched metrics include resource tag labels. If
|
|
6899
|
+
# `true`, enriched metrics include resource tag labels. If `false`,
|
|
6900
|
+
# they include resource ARN labels but no resource tag labels. If you
|
|
6901
|
+
# omit this parameter, the stored value is not changed. The operation
|
|
6902
|
+
# also replaces the stored filters, so to change only this setting,
|
|
6903
|
+
# specify the current `IncludeFilters` and `ExcludeFilters` in the
|
|
6904
|
+
# same request.
|
|
6905
|
+
#
|
|
6906
|
+
# When `EnableTagEnrichment` is `true`, enriched metrics that carry
|
|
6907
|
+
# resource tag labels are charged at the OTel enrichment rate. For
|
|
6908
|
+
# more information, see [Amazon CloudWatch Pricing][1].
|
|
6909
|
+
#
|
|
6910
|
+
#
|
|
6911
|
+
#
|
|
6912
|
+
# [1]: https://aws.amazon.com/cloudwatch/pricing/
|
|
6913
|
+
# @return [Boolean]
|
|
6914
|
+
#
|
|
6857
6915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentInput AWS API Documentation
|
|
6858
6916
|
#
|
|
6859
6917
|
class UpdateOTelEnrichmentInput < Struct.new(
|
|
6860
6918
|
:include_filters,
|
|
6861
|
-
:exclude_filters
|
|
6919
|
+
:exclude_filters,
|
|
6920
|
+
:enable_tag_enrichment)
|
|
6862
6921
|
SENSITIVE = []
|
|
6863
6922
|
include Aws::Structure
|
|
6864
6923
|
end
|
|
@@ -6885,13 +6944,20 @@ module Aws::CloudWatch
|
|
|
6885
6944
|
# was last stored.
|
|
6886
6945
|
# @return [Time]
|
|
6887
6946
|
#
|
|
6947
|
+
# @!attribute [rw] enable_tag_enrichment
|
|
6948
|
+
# Specifies whether enriched metrics include resource tag labels for
|
|
6949
|
+
# the account after the update. If the request omits
|
|
6950
|
+
# `EnableTagEnrichment`, this is the value that was already stored.
|
|
6951
|
+
# @return [Boolean]
|
|
6952
|
+
#
|
|
6888
6953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentOutput AWS API Documentation
|
|
6889
6954
|
#
|
|
6890
6955
|
class UpdateOTelEnrichmentOutput < Struct.new(
|
|
6891
6956
|
:include_filters,
|
|
6892
6957
|
:exclude_filters,
|
|
6893
6958
|
:created_at,
|
|
6894
|
-
:updated_at
|
|
6959
|
+
:updated_at,
|
|
6960
|
+
:enable_tag_enrichment)
|
|
6895
6961
|
SENSITIVE = []
|
|
6896
6962
|
include Aws::Structure
|
|
6897
6963
|
end
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -496,6 +496,7 @@ module Aws
|
|
|
496
496
|
def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
|
|
497
497
|
def created_at: () -> ::Time
|
|
498
498
|
def updated_at: () -> ::Time
|
|
499
|
+
def enable_tag_enrichment: () -> bool
|
|
499
500
|
end
|
|
500
501
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_o_tel_enrichment-instance_method
|
|
501
502
|
def get_o_tel_enrichment: (
|
|
@@ -982,6 +983,7 @@ module Aws
|
|
|
982
983
|
def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
|
|
983
984
|
def created_at: () -> ::Time
|
|
984
985
|
def updated_at: () -> ::Time
|
|
986
|
+
def enable_tag_enrichment: () -> bool
|
|
985
987
|
end
|
|
986
988
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#start_o_tel_enrichment-instance_method
|
|
987
989
|
def start_o_tel_enrichment: (
|
|
@@ -996,7 +998,8 @@ module Aws
|
|
|
996
998
|
namespace: ::String,
|
|
997
999
|
metric_names: Array[::String]?
|
|
998
1000
|
}
|
|
999
|
-
]
|
|
1001
|
+
],
|
|
1002
|
+
?enable_tag_enrichment: bool
|
|
1000
1003
|
) -> _StartOTelEnrichmentResponseSuccess
|
|
1001
1004
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOTelEnrichmentResponseSuccess
|
|
1002
1005
|
|
|
@@ -1048,6 +1051,7 @@ module Aws
|
|
|
1048
1051
|
def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1049
1052
|
def created_at: () -> ::Time
|
|
1050
1053
|
def updated_at: () -> ::Time
|
|
1054
|
+
def enable_tag_enrichment: () -> bool
|
|
1051
1055
|
end
|
|
1052
1056
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#update_o_tel_enrichment-instance_method
|
|
1053
1057
|
def update_o_tel_enrichment: (
|
|
@@ -1062,7 +1066,8 @@ module Aws
|
|
|
1062
1066
|
namespace: ::String,
|
|
1063
1067
|
metric_names: Array[::String]?
|
|
1064
1068
|
}
|
|
1065
|
-
]
|
|
1069
|
+
],
|
|
1070
|
+
?enable_tag_enrichment: bool
|
|
1066
1071
|
) -> _UpdateOTelEnrichmentResponseSuccess
|
|
1067
1072
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOTelEnrichmentResponseSuccess
|
|
1068
1073
|
|
data/sig/types.rbs
CHANGED
|
@@ -575,6 +575,7 @@ module Aws::CloudWatch
|
|
|
575
575
|
attr_accessor exclude_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
576
576
|
attr_accessor created_at: ::Time
|
|
577
577
|
attr_accessor updated_at: ::Time
|
|
578
|
+
attr_accessor enable_tag_enrichment: bool
|
|
578
579
|
SENSITIVE: []
|
|
579
580
|
end
|
|
580
581
|
|
|
@@ -1251,6 +1252,7 @@ module Aws::CloudWatch
|
|
|
1251
1252
|
class StartOTelEnrichmentInput
|
|
1252
1253
|
attr_accessor include_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1253
1254
|
attr_accessor exclude_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1255
|
+
attr_accessor enable_tag_enrichment: bool
|
|
1254
1256
|
SENSITIVE: []
|
|
1255
1257
|
end
|
|
1256
1258
|
|
|
@@ -1259,6 +1261,7 @@ module Aws::CloudWatch
|
|
|
1259
1261
|
attr_accessor exclude_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1260
1262
|
attr_accessor created_at: ::Time
|
|
1261
1263
|
attr_accessor updated_at: ::Time
|
|
1264
|
+
attr_accessor enable_tag_enrichment: bool
|
|
1262
1265
|
SENSITIVE: []
|
|
1263
1266
|
end
|
|
1264
1267
|
|
|
@@ -1311,6 +1314,7 @@ module Aws::CloudWatch
|
|
|
1311
1314
|
class UpdateOTelEnrichmentInput
|
|
1312
1315
|
attr_accessor include_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1313
1316
|
attr_accessor exclude_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1317
|
+
attr_accessor enable_tag_enrichment: bool
|
|
1314
1318
|
SENSITIVE: []
|
|
1315
1319
|
end
|
|
1316
1320
|
|
|
@@ -1319,6 +1323,7 @@ module Aws::CloudWatch
|
|
|
1319
1323
|
attr_accessor exclude_filters: ::Array[Types::OTelEnrichmentMetricSelector]
|
|
1320
1324
|
attr_accessor created_at: ::Time
|
|
1321
1325
|
attr_accessor updated_at: ::Time
|
|
1326
|
+
attr_accessor enable_tag_enrichment: bool
|
|
1322
1327
|
SENSITIVE: []
|
|
1323
1328
|
end
|
|
1324
1329
|
|
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.
|
|
4
|
+
version: 1.163.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.270.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.270.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|