aws-sdk-cloudwatch 1.148.0 → 1.150.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.
@@ -10,6 +10,23 @@
10
10
  module Aws::CloudWatch
11
11
  module Types
12
12
 
13
+ # Settings that change the content of the notifications and events that
14
+ # an alarm sends when its state changes. These settings apply to the
15
+ # alarm's actions, whichever state triggers them.
16
+ #
17
+ # @!attribute [rw] alarm_tags_propagation
18
+ # Settings for including the alarm's tags in its action notifications
19
+ # and state-change events.
20
+ # @return [Types::AlarmTagsPropagation]
21
+ #
22
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ActionConfiguration AWS API Documentation
23
+ #
24
+ class ActionConfiguration < Struct.new(
25
+ :alarm_tags_propagation)
26
+ SENSITIVE = []
27
+ include Aws::Structure
28
+ end
29
+
13
30
  # Represents an individual contributor to a multi-timeseries alarm,
14
31
  # containing information about a specific time series and its
15
32
  # contribution to the alarm's state.
@@ -165,6 +182,61 @@ module Aws::CloudWatch
165
182
  include Aws::Structure
166
183
  end
167
184
 
185
+ # Includes the alarm's tags in the notifications that the alarm sends
186
+ # to Amazon SNS topics and Lambda functions. The tags are also included
187
+ # in the alarm's state-change events in Amazon EventBridge. Other types
188
+ # of alarm actions don't receive the tags.
189
+ #
190
+ # By default, the alarm's tags aren't included.
191
+ #
192
+ # Use this to route or filter notifications and events by tag, such as
193
+ # by team or environment. You can also use it to read the alarm's tags
194
+ # without looking them up separately.
195
+ #
196
+ # To limit which tags are included, specify either `IncludedTagKeys` or
197
+ # `ExcludedTagKeys`. You can't specify both. If you specify neither,
198
+ # all of the alarm's tags are included. This includes tags that you add
199
+ # to the alarm later.
200
+ #
201
+ # @!attribute [rw] enabled
202
+ # Set to `true` to include the alarm's tags. Set to `false` to stop
203
+ # including them.
204
+ #
205
+ # When this is `true`, you must have the
206
+ # `cloudwatch:ListTagsForResource` permission on the alarm to create
207
+ # or update it.
208
+ # @return [Boolean]
209
+ #
210
+ # @!attribute [rw] included_tag_keys
211
+ # The tag keys to include. Only the alarm's tags with these keys are
212
+ # included.
213
+ #
214
+ # You can specify 1 to 50 tag keys. Each tag key must be 1 to 128
215
+ # characters long.
216
+ #
217
+ # You can't specify both `IncludedTagKeys` and `ExcludedTagKeys`.
218
+ # @return [Array<String>]
219
+ #
220
+ # @!attribute [rw] excluded_tag_keys
221
+ # The tag keys to exclude. All of the alarm's tags except those with
222
+ # these keys are included.
223
+ #
224
+ # You can specify 1 to 50 tag keys. Each tag key must be 1 to 128
225
+ # characters long.
226
+ #
227
+ # You can't specify both `IncludedTagKeys` and `ExcludedTagKeys`.
228
+ # @return [Array<String>]
229
+ #
230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AlarmTagsPropagation AWS API Documentation
231
+ #
232
+ class AlarmTagsPropagation < Struct.new(
233
+ :enabled,
234
+ :included_tag_keys,
235
+ :excluded_tag_keys)
236
+ SENSITIVE = []
237
+ include Aws::Structure
238
+ end
239
+
168
240
  # An anomaly detection model associated with a particular CloudWatch
169
241
  # metric, statistic, or metric math expression. You can use the model to
170
242
  # display a band of expected, normal values when the metric is graphed.
@@ -422,6 +494,12 @@ module Aws::CloudWatch
422
494
  # specified.
423
495
  # @return [Integer]
424
496
  #
497
+ # @!attribute [rw] action_configuration
498
+ # Settings that change the content of the notifications and events
499
+ # that the alarm sends when its state changes. These settings apply to
500
+ # the alarm's actions, whichever state triggers them.
501
+ # @return [Types::ActionConfiguration]
502
+ #
425
503
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CompositeAlarm AWS API Documentation
426
504
  #
427
505
  class CompositeAlarm < Struct.new(
@@ -443,7 +521,8 @@ module Aws::CloudWatch
443
521
  :actions_suppressed_reason,
444
522
  :actions_suppressor,
445
523
  :actions_suppressor_wait_period,
446
- :actions_suppressor_extension_period)
524
+ :actions_suppressor_extension_period,
525
+ :action_configuration)
447
526
  SENSITIVE = []
448
527
  include Aws::Structure
449
528
  end
@@ -467,6 +546,44 @@ module Aws::CloudWatch
467
546
  include Aws::Structure
468
547
  end
469
548
 
549
+ # Specifies the resource ARN and optional metric selections for a
550
+ # `CreateResourceMetricsConfiguration` request.
551
+ #
552
+ # @!attribute [rw] resource_arn
553
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
554
+ # to enable detailed monitoring for.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] metric_selections
558
+ # Specifies which metrics Amazon CloudWatch collects for the resource.
559
+ # If you omit this parameter, Amazon CloudWatch collects all available
560
+ # detailed metrics for the resource.
561
+ # @return [Array<Types::ResourceMetricSelection>]
562
+ #
563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CreateResourceMetricsConfigurationInput AWS API Documentation
564
+ #
565
+ class CreateResourceMetricsConfigurationInput < Struct.new(
566
+ :resource_arn,
567
+ :metric_selections)
568
+ SENSITIVE = []
569
+ include Aws::Structure
570
+ end
571
+
572
+ # Returns the newly created resource metrics configuration.
573
+ #
574
+ # @!attribute [rw] resource_metrics_configuration
575
+ # The resource metrics configuration that was created by this
576
+ # operation.
577
+ # @return [Types::ResourceMetricsConfiguration]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CreateResourceMetricsConfigurationOutput AWS API Documentation
580
+ #
581
+ class CreateResourceMetricsConfigurationOutput < Struct.new(
582
+ :resource_metrics_configuration)
583
+ SENSITIVE = []
584
+ include Aws::Structure
585
+ end
586
+
470
587
  # Represents a specific dashboard.
471
588
  #
472
589
  # @!attribute [rw] dashboard_name
@@ -769,6 +886,28 @@ module Aws::CloudWatch
769
886
  #
770
887
  class DeleteMetricStreamOutput < Aws::EmptyStructure; end
771
888
 
889
+ # Specifies the resource ARN for a `DeleteResourceMetricsConfiguration`
890
+ # request.
891
+ #
892
+ # @!attribute [rw] resource_arn
893
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
894
+ # to delete the resource metrics configuration for.
895
+ # @return [String]
896
+ #
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteResourceMetricsConfigurationInput AWS API Documentation
898
+ #
899
+ class DeleteResourceMetricsConfigurationInput < Struct.new(
900
+ :resource_arn)
901
+ SENSITIVE = []
902
+ include Aws::Structure
903
+ end
904
+
905
+ # No data is returned.
906
+ #
907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteResourceMetricsConfigurationOutput AWS API Documentation
908
+ #
909
+ class DeleteResourceMetricsConfigurationOutput < Aws::EmptyStructure; end
910
+
772
911
  # @!attribute [rw] alarm_name
773
912
  # The name of the alarm for which to retrieve contributor information.
774
913
  # @return [String]
@@ -2230,10 +2369,69 @@ module Aws::CloudWatch
2230
2369
  # disabled).
2231
2370
  # @return [String]
2232
2371
  #
2372
+ # @!attribute [rw] include_filters
2373
+ # The metric namespaces, and the metric names, that are enriched. This
2374
+ # parameter is omitted when enrichment is stopped, and when enrichment
2375
+ # is running with no include filters, which means that every supported
2376
+ # namespace is in scope.
2377
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
2378
+ #
2379
+ # @!attribute [rw] exclude_filters
2380
+ # The metric namespaces, and the metric names, that are left
2381
+ # unenriched. This parameter is omitted when enrichment is stopped,
2382
+ # and when enrichment is running with no exclude filters, which means
2383
+ # that nothing is excluded.
2384
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
2385
+ #
2386
+ # @!attribute [rw] created_at
2387
+ # The date and time that enrichment started for the account. This
2388
+ # parameter is omitted when enrichment is stopped.
2389
+ # @return [Time]
2390
+ #
2391
+ # @!attribute [rw] updated_at
2392
+ # The date and time that the enrichment configuration for the account
2393
+ # was last stored.
2394
+ # @return [Time]
2395
+ #
2233
2396
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetOTelEnrichmentOutput AWS API Documentation
2234
2397
  #
2235
2398
  class GetOTelEnrichmentOutput < Struct.new(
2236
- :status)
2399
+ :status,
2400
+ :include_filters,
2401
+ :exclude_filters,
2402
+ :created_at,
2403
+ :updated_at)
2404
+ SENSITIVE = []
2405
+ include Aws::Structure
2406
+ end
2407
+
2408
+ # Specifies the resource ARN for a `GetResourceMetricsConfiguration`
2409
+ # request.
2410
+ #
2411
+ # @!attribute [rw] resource_arn
2412
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
2413
+ # to retrieve the resource metrics configuration for.
2414
+ # @return [String]
2415
+ #
2416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetResourceMetricsConfigurationInput AWS API Documentation
2417
+ #
2418
+ class GetResourceMetricsConfigurationInput < Struct.new(
2419
+ :resource_arn)
2420
+ SENSITIVE = []
2421
+ include Aws::Structure
2422
+ end
2423
+
2424
+ # Returns the current resource metrics configuration for the specified
2425
+ # resource.
2426
+ #
2427
+ # @!attribute [rw] resource_metrics_configuration
2428
+ # The resource metrics configuration for the specified resource.
2429
+ # @return [Types::ResourceMetricsConfiguration]
2430
+ #
2431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetResourceMetricsConfigurationOutput AWS API Documentation
2432
+ #
2433
+ class GetResourceMetricsConfigurationOutput < Struct.new(
2434
+ :resource_metrics_configuration)
2237
2435
  SENSITIVE = []
2238
2436
  include Aws::Structure
2239
2437
  end
@@ -3066,6 +3264,12 @@ module Aws::CloudWatch
3066
3264
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
3067
3265
  # @return [Types::WarmUpConfiguration]
3068
3266
  #
3267
+ # @!attribute [rw] action_configuration
3268
+ # Settings that change the content of the notifications and events
3269
+ # that the alarm sends when its state changes. These settings apply to
3270
+ # the alarm's actions, whichever state triggers them.
3271
+ # @return [Types::ActionConfiguration]
3272
+ #
3069
3273
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LogAlarm AWS API Documentation
3070
3274
  #
3071
3275
  class LogAlarm < Struct.new(
@@ -3091,7 +3295,8 @@ module Aws::CloudWatch
3091
3295
  :evaluation_state,
3092
3296
  :action_log_line_count,
3093
3297
  :action_log_line_role_arn,
3094
- :warm_up_configuration)
3298
+ :warm_up_configuration,
3299
+ :action_configuration)
3095
3300
  SENSITIVE = []
3096
3301
  include Aws::Structure
3097
3302
  end
@@ -3438,6 +3643,12 @@ module Aws::CloudWatch
3438
3643
  # The frequency, in seconds, at which the alarm is evaluated.
3439
3644
  # @return [Integer]
3440
3645
  #
3646
+ # @!attribute [rw] action_configuration
3647
+ # Settings that change the content of the notifications and events
3648
+ # that the alarm sends when its state changes. These settings apply to
3649
+ # the alarm's actions, whichever state triggers them.
3650
+ # @return [Types::ActionConfiguration]
3651
+ #
3441
3652
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm AWS API Documentation
3442
3653
  #
3443
3654
  class MetricAlarm < Struct.new(
@@ -3473,7 +3684,8 @@ module Aws::CloudWatch
3473
3684
  :evaluation_window,
3474
3685
  :warm_up_configuration,
3475
3686
  :evaluation_criteria,
3476
- :evaluation_interval)
3687
+ :evaluation_interval,
3688
+ :action_configuration)
3477
3689
  SENSITIVE = []
3478
3690
  include Aws::Structure
3479
3691
  end
@@ -4064,6 +4276,40 @@ module Aws::CloudWatch
4064
4276
  include Aws::Structure
4065
4277
  end
4066
4278
 
4279
+ # Selects the metrics in one namespace, for use in the `IncludeFilters`
4280
+ # or `ExcludeFilters` parameter of [StartOTelEnrichment][1] or
4281
+ # [UpdateOTelEnrichment][2].
4282
+ #
4283
+ # A maximum of 100 selectors is allowed across `IncludeFilters` and
4284
+ # `ExcludeFilters` combined.
4285
+ #
4286
+ #
4287
+ #
4288
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_StartOTelEnrichment.html
4289
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateOTelEnrichment.html
4290
+ #
4291
+ # @!attribute [rw] namespace
4292
+ # The namespace of the metrics to select. Namespaces are matched
4293
+ # exactly and are case-sensitive.
4294
+ # @return [String]
4295
+ #
4296
+ # @!attribute [rw] metric_names
4297
+ # The names of the metrics to select within the namespace. Metric
4298
+ # names are matched exactly and are case-sensitive. If this parameter
4299
+ # is omitted, every metric in the namespace is selected.
4300
+ #
4301
+ # A maximum of 100 metric names is allowed for each selector.
4302
+ # @return [Array<String>]
4303
+ #
4304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/OTelEnrichmentMetricSelector AWS API Documentation
4305
+ #
4306
+ class OTelEnrichmentMetricSelector < Struct.new(
4307
+ :namespace,
4308
+ :metric_names)
4309
+ SENSITIVE = []
4310
+ include Aws::Structure
4311
+ end
4312
+
4067
4313
  # This array is empty if the API operation was successful for all the
4068
4314
  # rules specified in the request. If the operation could not process one
4069
4315
  # of the rules, the following data is returned for each of those rules.
@@ -4453,6 +4699,12 @@ module Aws::CloudWatch
4453
4699
  # specified.
4454
4700
  # @return [Integer]
4455
4701
  #
4702
+ # @!attribute [rw] action_configuration
4703
+ # Settings that change the content of the notifications and events
4704
+ # that the alarm sends when its state changes. These settings apply to
4705
+ # the alarm's actions, whichever state triggers them.
4706
+ # @return [Types::ActionConfiguration]
4707
+ #
4456
4708
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarmInput AWS API Documentation
4457
4709
  #
4458
4710
  class PutCompositeAlarmInput < Struct.new(
@@ -4466,7 +4718,8 @@ module Aws::CloudWatch
4466
4718
  :tags,
4467
4719
  :actions_suppressor,
4468
4720
  :actions_suppressor_wait_period,
4469
- :actions_suppressor_extension_period)
4721
+ :actions_suppressor_extension_period,
4722
+ :action_configuration)
4470
4723
  SENSITIVE = []
4471
4724
  include Aws::Structure
4472
4725
  end
@@ -4781,6 +5034,12 @@ module Aws::CloudWatch
4781
5034
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
4782
5035
  # @return [Types::WarmUpConfiguration]
4783
5036
  #
5037
+ # @!attribute [rw] action_configuration
5038
+ # Settings that change the content of the notifications and events
5039
+ # that the alarm sends when its state changes. These settings apply to
5040
+ # the alarm's actions, whichever state triggers them.
5041
+ # @return [Types::ActionConfiguration]
5042
+ #
4784
5043
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarmInput AWS API Documentation
4785
5044
  #
4786
5045
  class PutLogAlarmInput < Struct.new(
@@ -4799,7 +5058,8 @@ module Aws::CloudWatch
4799
5058
  :comparison_operator,
4800
5059
  :treat_missing_data,
4801
5060
  :tags,
4802
- :warm_up_configuration)
5061
+ :warm_up_configuration,
5062
+ :action_configuration)
4803
5063
  SENSITIVE = []
4804
5064
  include Aws::Structure
4805
5065
  end
@@ -5344,6 +5604,12 @@ module Aws::CloudWatch
5344
5604
  # `Metrics`.
5345
5605
  # @return [Integer]
5346
5606
  #
5607
+ # @!attribute [rw] action_configuration
5608
+ # Settings that change the content of the notifications and events
5609
+ # that the alarm sends when its state changes. These settings apply to
5610
+ # the alarm's actions, whichever state triggers them.
5611
+ # @return [Types::ActionConfiguration]
5612
+ #
5347
5613
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput AWS API Documentation
5348
5614
  #
5349
5615
  class PutMetricAlarmInput < Struct.new(
@@ -5372,7 +5638,8 @@ module Aws::CloudWatch
5372
5638
  :evaluation_window,
5373
5639
  :warm_up_configuration,
5374
5640
  :evaluation_criteria,
5375
- :evaluation_interval)
5641
+ :evaluation_interval,
5642
+ :action_configuration)
5376
5643
  SENSITIVE = []
5377
5644
  include Aws::Structure
5378
5645
  end
@@ -5628,6 +5895,81 @@ module Aws::CloudWatch
5628
5895
  include Aws::Structure
5629
5896
  end
5630
5897
 
5898
+ # Specifies which metrics Amazon CloudWatch collects for a resource
5899
+ # metrics configuration. Include this in a
5900
+ # [CreateResourceMetricsConfiguration][1] or
5901
+ # [UpdateResourceMetricsConfiguration][2] request to limit collection to
5902
+ # a specific set of metrics. If you omit metric selections, Amazon
5903
+ # CloudWatch collects all available detailed metrics for the resource.
5904
+ #
5905
+ #
5906
+ #
5907
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html
5908
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html
5909
+ #
5910
+ # @!attribute [rw] include_metrics
5911
+ # The names of the metrics to collect for the resource. Amazon
5912
+ # CloudWatch collects only the metrics that you list here.
5913
+ # @return [Array<String>]
5914
+ #
5915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceMetricSelection AWS API Documentation
5916
+ #
5917
+ class ResourceMetricSelection < Struct.new(
5918
+ :include_metrics)
5919
+ SENSITIVE = []
5920
+ include Aws::Structure
5921
+ end
5922
+
5923
+ # Represents a resource metrics configuration for an Amazon Web Services
5924
+ # resource. A resource metrics configuration enables detailed metric
5925
+ # collection for the resource that is identified by its Amazon Resource
5926
+ # Name (ARN). Each Amazon Web Services resource can have only one
5927
+ # resource metrics configuration.
5928
+ #
5929
+ # This structure is returned by the
5930
+ # [CreateResourceMetricsConfiguration][1],
5931
+ # [UpdateResourceMetricsConfiguration][2], and
5932
+ # [GetResourceMetricsConfiguration][3] operations.
5933
+ #
5934
+ #
5935
+ #
5936
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html
5937
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html
5938
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetResourceMetricsConfiguration.html
5939
+ #
5940
+ # @!attribute [rw] resource_arn
5941
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
5942
+ # that this configuration applies to.
5943
+ # @return [String]
5944
+ #
5945
+ # @!attribute [rw] created_at
5946
+ # The date and time that the resource metrics configuration was
5947
+ # created.
5948
+ # @return [Time]
5949
+ #
5950
+ # @!attribute [rw] updated_at
5951
+ # The date and time that the resource metrics configuration was last
5952
+ # updated. When the configuration is first created, this value is the
5953
+ # same as `CreatedAt`.
5954
+ # @return [Time]
5955
+ #
5956
+ # @!attribute [rw] metric_selections
5957
+ # The metrics that Amazon CloudWatch collects for the resource. If
5958
+ # this field is not present, Amazon CloudWatch collects all available
5959
+ # detailed metrics for the resource.
5960
+ # @return [Array<Types::ResourceMetricSelection>]
5961
+ #
5962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceMetricsConfiguration AWS API Documentation
5963
+ #
5964
+ class ResourceMetricsConfiguration < Struct.new(
5965
+ :resource_arn,
5966
+ :created_at,
5967
+ :updated_at,
5968
+ :metric_selections)
5969
+ SENSITIVE = []
5970
+ include Aws::Structure
5971
+ end
5972
+
5631
5973
  # The named resource does not exist.
5632
5974
  #
5633
5975
  # @!attribute [rw] message
@@ -5982,15 +6324,62 @@ module Aws::CloudWatch
5982
6324
  #
5983
6325
  class StartMetricStreamsOutput < Aws::EmptyStructure; end
5984
6326
 
5985
- # @api private
6327
+ # @!attribute [rw] include_filters
6328
+ # The metric namespaces, and the metric names, to enrich. If this
6329
+ # parameter is omitted, every namespace that Amazon CloudWatch
6330
+ # supports for enrichment is in scope.
6331
+ #
6332
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6333
+ # `ExcludeFilters` combined.
6334
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6335
+ #
6336
+ # @!attribute [rw] exclude_filters
6337
+ # The metric namespaces, and the metric names, to leave unenriched. If
6338
+ # this parameter is omitted, nothing is excluded.
6339
+ #
6340
+ # Amazon CloudWatch applies `ExcludeFilters` after `IncludeFilters`,
6341
+ # so a metric that both parameters match is not enriched.
6342
+ #
6343
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6344
+ # `ExcludeFilters` combined.
6345
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
5986
6346
  #
5987
6347
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentInput AWS API Documentation
5988
6348
  #
5989
- class StartOTelEnrichmentInput < Aws::EmptyStructure; end
6349
+ class StartOTelEnrichmentInput < Struct.new(
6350
+ :include_filters,
6351
+ :exclude_filters)
6352
+ SENSITIVE = []
6353
+ include Aws::Structure
6354
+ end
5990
6355
 
6356
+ # @!attribute [rw] include_filters
6357
+ # The include filters that are stored for the account.
6358
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6359
+ #
6360
+ # @!attribute [rw] exclude_filters
6361
+ # The exclude filters that are stored for the account.
6362
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6363
+ #
6364
+ # @!attribute [rw] created_at
6365
+ # The date and time that enrichment started for the account.
6366
+ # @return [Time]
6367
+ #
6368
+ # @!attribute [rw] updated_at
6369
+ # The date and time that the enrichment configuration for the account
6370
+ # was last stored.
6371
+ # @return [Time]
6372
+ #
5991
6373
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentOutput AWS API Documentation
5992
6374
  #
5993
- class StartOTelEnrichmentOutput < Aws::EmptyStructure; end
6375
+ class StartOTelEnrichmentOutput < Struct.new(
6376
+ :include_filters,
6377
+ :exclude_filters,
6378
+ :created_at,
6379
+ :updated_at)
6380
+ SENSITIVE = []
6381
+ include Aws::Structure
6382
+ end
5994
6383
 
5995
6384
  # Represents a set of statistics that describes a specific metric.
5996
6385
  #
@@ -6158,6 +6547,123 @@ module Aws::CloudWatch
6158
6547
  #
6159
6548
  class UntagResourceOutput < Aws::EmptyStructure; end
6160
6549
 
6550
+ # @!attribute [rw] include_filters
6551
+ # The metric namespaces, and the metric names, to enrich. If this
6552
+ # parameter is omitted, every namespace that Amazon CloudWatch
6553
+ # supports for enrichment is in scope.
6554
+ #
6555
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6556
+ # `ExcludeFilters` combined.
6557
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6558
+ #
6559
+ # @!attribute [rw] exclude_filters
6560
+ # The metric namespaces, and the metric names, to leave unenriched. If
6561
+ # this parameter is omitted, nothing is excluded.
6562
+ #
6563
+ # Amazon CloudWatch applies `ExcludeFilters` after `IncludeFilters`,
6564
+ # so a metric that both parameters match is not enriched.
6565
+ #
6566
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6567
+ # `ExcludeFilters` combined.
6568
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6569
+ #
6570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentInput AWS API Documentation
6571
+ #
6572
+ class UpdateOTelEnrichmentInput < Struct.new(
6573
+ :include_filters,
6574
+ :exclude_filters)
6575
+ SENSITIVE = []
6576
+ include Aws::Structure
6577
+ end
6578
+
6579
+ # @!attribute [rw] include_filters
6580
+ # The include filters that are stored for the account after the
6581
+ # replacement. This parameter is omitted when the request cleared the
6582
+ # include filters, which means that every supported namespace is in
6583
+ # scope.
6584
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6585
+ #
6586
+ # @!attribute [rw] exclude_filters
6587
+ # The exclude filters that are stored for the account after the
6588
+ # replacement. This parameter is omitted when the request cleared the
6589
+ # exclude filters, which means that nothing is excluded.
6590
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6591
+ #
6592
+ # @!attribute [rw] created_at
6593
+ # The date and time that enrichment started for the account.
6594
+ # @return [Time]
6595
+ #
6596
+ # @!attribute [rw] updated_at
6597
+ # The date and time that the enrichment configuration for the account
6598
+ # was last stored.
6599
+ # @return [Time]
6600
+ #
6601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentOutput AWS API Documentation
6602
+ #
6603
+ class UpdateOTelEnrichmentOutput < Struct.new(
6604
+ :include_filters,
6605
+ :exclude_filters,
6606
+ :created_at,
6607
+ :updated_at)
6608
+ SENSITIVE = []
6609
+ include Aws::Structure
6610
+ end
6611
+
6612
+ # Specifies the resource ARN and optional replacement metric selections
6613
+ # for an `UpdateResourceMetricsConfiguration` request.
6614
+ #
6615
+ # @!attribute [rw] resource_arn
6616
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
6617
+ # to update the resource metrics configuration for.
6618
+ # @return [String]
6619
+ #
6620
+ # @!attribute [rw] metric_selections
6621
+ # Specifies which metrics Amazon CloudWatch collects for the resource.
6622
+ # The selections that you provide completely replace any existing
6623
+ # metric selections.
6624
+ #
6625
+ # If you omit this parameter, Amazon CloudWatch removes any existing
6626
+ # metric selection filter and collects all available detailed metrics
6627
+ # for the resource.
6628
+ # @return [Array<Types::ResourceMetricSelection>]
6629
+ #
6630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateResourceMetricsConfigurationInput AWS API Documentation
6631
+ #
6632
+ class UpdateResourceMetricsConfigurationInput < Struct.new(
6633
+ :resource_arn,
6634
+ :metric_selections)
6635
+ SENSITIVE = []
6636
+ include Aws::Structure
6637
+ end
6638
+
6639
+ # Returns the updated resource metrics configuration.
6640
+ #
6641
+ # @!attribute [rw] resource_metrics_configuration
6642
+ # The resource metrics configuration after the update was applied.
6643
+ # @return [Types::ResourceMetricsConfiguration]
6644
+ #
6645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateResourceMetricsConfigurationOutput AWS API Documentation
6646
+ #
6647
+ class UpdateResourceMetricsConfigurationOutput < Struct.new(
6648
+ :resource_metrics_configuration)
6649
+ SENSITIVE = []
6650
+ include Aws::Structure
6651
+ end
6652
+
6653
+ # The request failed validation. One or more input parameters do not
6654
+ # satisfy the constraints that the operation requires.
6655
+ #
6656
+ # @!attribute [rw] message
6657
+ # @return [String]
6658
+ #
6659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ValidationException AWS API Documentation
6660
+ #
6661
+ class ValidationException < Struct.new(
6662
+ :message)
6663
+ SENSITIVE = []
6664
+ include Aws::Structure
6665
+ end
6666
+
6161
6667
  # An evaluation window that aligns the evaluated range to fixed clock
6162
6668
  # boundaries that match the alarm's period, such as the top of the
6163
6669
  # hour, midnight, or the start of the calendar week, optionally in a
@@ -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.148.0'
61
+ GEM_VERSION = '1.150.0'
62
62
 
63
63
  end
64
64
 
data/sig/alarm.rbs CHANGED
@@ -114,6 +114,9 @@ module Aws
114
114
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_interval-instance_method
115
115
  def evaluation_interval: () -> ::Integer
116
116
 
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#action_configuration-instance_method
118
+ def action_configuration: () -> Types::ActionConfiguration
119
+
117
120
  def client: () -> Client
118
121
 
119
122
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#load-instance_method