aws-sdk-cloudwatch 1.148.0 → 1.149.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.
@@ -467,6 +467,44 @@ module Aws::CloudWatch
467
467
  include Aws::Structure
468
468
  end
469
469
 
470
+ # Specifies the resource ARN and optional metric selections for a
471
+ # `CreateResourceMetricsConfiguration` request.
472
+ #
473
+ # @!attribute [rw] resource_arn
474
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
475
+ # to enable detailed monitoring for.
476
+ # @return [String]
477
+ #
478
+ # @!attribute [rw] metric_selections
479
+ # Specifies which metrics Amazon CloudWatch collects for the resource.
480
+ # If you omit this parameter, Amazon CloudWatch collects all available
481
+ # detailed metrics for the resource.
482
+ # @return [Array<Types::ResourceMetricSelection>]
483
+ #
484
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CreateResourceMetricsConfigurationInput AWS API Documentation
485
+ #
486
+ class CreateResourceMetricsConfigurationInput < Struct.new(
487
+ :resource_arn,
488
+ :metric_selections)
489
+ SENSITIVE = []
490
+ include Aws::Structure
491
+ end
492
+
493
+ # Returns the newly created resource metrics configuration.
494
+ #
495
+ # @!attribute [rw] resource_metrics_configuration
496
+ # The resource metrics configuration that was created by this
497
+ # operation.
498
+ # @return [Types::ResourceMetricsConfiguration]
499
+ #
500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CreateResourceMetricsConfigurationOutput AWS API Documentation
501
+ #
502
+ class CreateResourceMetricsConfigurationOutput < Struct.new(
503
+ :resource_metrics_configuration)
504
+ SENSITIVE = []
505
+ include Aws::Structure
506
+ end
507
+
470
508
  # Represents a specific dashboard.
471
509
  #
472
510
  # @!attribute [rw] dashboard_name
@@ -769,6 +807,28 @@ module Aws::CloudWatch
769
807
  #
770
808
  class DeleteMetricStreamOutput < Aws::EmptyStructure; end
771
809
 
810
+ # Specifies the resource ARN for a `DeleteResourceMetricsConfiguration`
811
+ # request.
812
+ #
813
+ # @!attribute [rw] resource_arn
814
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
815
+ # to delete the resource metrics configuration for.
816
+ # @return [String]
817
+ #
818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteResourceMetricsConfigurationInput AWS API Documentation
819
+ #
820
+ class DeleteResourceMetricsConfigurationInput < Struct.new(
821
+ :resource_arn)
822
+ SENSITIVE = []
823
+ include Aws::Structure
824
+ end
825
+
826
+ # No data is returned.
827
+ #
828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteResourceMetricsConfigurationOutput AWS API Documentation
829
+ #
830
+ class DeleteResourceMetricsConfigurationOutput < Aws::EmptyStructure; end
831
+
772
832
  # @!attribute [rw] alarm_name
773
833
  # The name of the alarm for which to retrieve contributor information.
774
834
  # @return [String]
@@ -2230,10 +2290,69 @@ module Aws::CloudWatch
2230
2290
  # disabled).
2231
2291
  # @return [String]
2232
2292
  #
2293
+ # @!attribute [rw] include_filters
2294
+ # The metric namespaces, and the metric names, that are enriched. This
2295
+ # parameter is omitted when enrichment is stopped, and when enrichment
2296
+ # is running with no include filters, which means that every supported
2297
+ # namespace is in scope.
2298
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
2299
+ #
2300
+ # @!attribute [rw] exclude_filters
2301
+ # The metric namespaces, and the metric names, that are left
2302
+ # unenriched. This parameter is omitted when enrichment is stopped,
2303
+ # and when enrichment is running with no exclude filters, which means
2304
+ # that nothing is excluded.
2305
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
2306
+ #
2307
+ # @!attribute [rw] created_at
2308
+ # The date and time that enrichment started for the account. This
2309
+ # parameter is omitted when enrichment is stopped.
2310
+ # @return [Time]
2311
+ #
2312
+ # @!attribute [rw] updated_at
2313
+ # The date and time that the enrichment configuration for the account
2314
+ # was last stored.
2315
+ # @return [Time]
2316
+ #
2233
2317
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetOTelEnrichmentOutput AWS API Documentation
2234
2318
  #
2235
2319
  class GetOTelEnrichmentOutput < Struct.new(
2236
- :status)
2320
+ :status,
2321
+ :include_filters,
2322
+ :exclude_filters,
2323
+ :created_at,
2324
+ :updated_at)
2325
+ SENSITIVE = []
2326
+ include Aws::Structure
2327
+ end
2328
+
2329
+ # Specifies the resource ARN for a `GetResourceMetricsConfiguration`
2330
+ # request.
2331
+ #
2332
+ # @!attribute [rw] resource_arn
2333
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
2334
+ # to retrieve the resource metrics configuration for.
2335
+ # @return [String]
2336
+ #
2337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetResourceMetricsConfigurationInput AWS API Documentation
2338
+ #
2339
+ class GetResourceMetricsConfigurationInput < Struct.new(
2340
+ :resource_arn)
2341
+ SENSITIVE = []
2342
+ include Aws::Structure
2343
+ end
2344
+
2345
+ # Returns the current resource metrics configuration for the specified
2346
+ # resource.
2347
+ #
2348
+ # @!attribute [rw] resource_metrics_configuration
2349
+ # The resource metrics configuration for the specified resource.
2350
+ # @return [Types::ResourceMetricsConfiguration]
2351
+ #
2352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetResourceMetricsConfigurationOutput AWS API Documentation
2353
+ #
2354
+ class GetResourceMetricsConfigurationOutput < Struct.new(
2355
+ :resource_metrics_configuration)
2237
2356
  SENSITIVE = []
2238
2357
  include Aws::Structure
2239
2358
  end
@@ -4064,6 +4183,40 @@ module Aws::CloudWatch
4064
4183
  include Aws::Structure
4065
4184
  end
4066
4185
 
4186
+ # Selects the metrics in one namespace, for use in the `IncludeFilters`
4187
+ # or `ExcludeFilters` parameter of [StartOTelEnrichment][1] or
4188
+ # [UpdateOTelEnrichment][2].
4189
+ #
4190
+ # A maximum of 100 selectors is allowed across `IncludeFilters` and
4191
+ # `ExcludeFilters` combined.
4192
+ #
4193
+ #
4194
+ #
4195
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_StartOTelEnrichment.html
4196
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateOTelEnrichment.html
4197
+ #
4198
+ # @!attribute [rw] namespace
4199
+ # The namespace of the metrics to select. Namespaces are matched
4200
+ # exactly and are case-sensitive.
4201
+ # @return [String]
4202
+ #
4203
+ # @!attribute [rw] metric_names
4204
+ # The names of the metrics to select within the namespace. Metric
4205
+ # names are matched exactly and are case-sensitive. If this parameter
4206
+ # is omitted, every metric in the namespace is selected.
4207
+ #
4208
+ # A maximum of 100 metric names is allowed for each selector.
4209
+ # @return [Array<String>]
4210
+ #
4211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/OTelEnrichmentMetricSelector AWS API Documentation
4212
+ #
4213
+ class OTelEnrichmentMetricSelector < Struct.new(
4214
+ :namespace,
4215
+ :metric_names)
4216
+ SENSITIVE = []
4217
+ include Aws::Structure
4218
+ end
4219
+
4067
4220
  # This array is empty if the API operation was successful for all the
4068
4221
  # rules specified in the request. If the operation could not process one
4069
4222
  # of the rules, the following data is returned for each of those rules.
@@ -5628,6 +5781,81 @@ module Aws::CloudWatch
5628
5781
  include Aws::Structure
5629
5782
  end
5630
5783
 
5784
+ # Specifies which metrics Amazon CloudWatch collects for a resource
5785
+ # metrics configuration. Include this in a
5786
+ # [CreateResourceMetricsConfiguration][1] or
5787
+ # [UpdateResourceMetricsConfiguration][2] request to limit collection to
5788
+ # a specific set of metrics. If you omit metric selections, Amazon
5789
+ # CloudWatch collects all available detailed metrics for the resource.
5790
+ #
5791
+ #
5792
+ #
5793
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html
5794
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html
5795
+ #
5796
+ # @!attribute [rw] include_metrics
5797
+ # The names of the metrics to collect for the resource. Amazon
5798
+ # CloudWatch collects only the metrics that you list here.
5799
+ # @return [Array<String>]
5800
+ #
5801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceMetricSelection AWS API Documentation
5802
+ #
5803
+ class ResourceMetricSelection < Struct.new(
5804
+ :include_metrics)
5805
+ SENSITIVE = []
5806
+ include Aws::Structure
5807
+ end
5808
+
5809
+ # Represents a resource metrics configuration for an Amazon Web Services
5810
+ # resource. A resource metrics configuration enables detailed metric
5811
+ # collection for the resource that is identified by its Amazon Resource
5812
+ # Name (ARN). Each Amazon Web Services resource can have only one
5813
+ # resource metrics configuration.
5814
+ #
5815
+ # This structure is returned by the
5816
+ # [CreateResourceMetricsConfiguration][1],
5817
+ # [UpdateResourceMetricsConfiguration][2], and
5818
+ # [GetResourceMetricsConfiguration][3] operations.
5819
+ #
5820
+ #
5821
+ #
5822
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html
5823
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html
5824
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetResourceMetricsConfiguration.html
5825
+ #
5826
+ # @!attribute [rw] resource_arn
5827
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
5828
+ # that this configuration applies to.
5829
+ # @return [String]
5830
+ #
5831
+ # @!attribute [rw] created_at
5832
+ # The date and time that the resource metrics configuration was
5833
+ # created.
5834
+ # @return [Time]
5835
+ #
5836
+ # @!attribute [rw] updated_at
5837
+ # The date and time that the resource metrics configuration was last
5838
+ # updated. When the configuration is first created, this value is the
5839
+ # same as `CreatedAt`.
5840
+ # @return [Time]
5841
+ #
5842
+ # @!attribute [rw] metric_selections
5843
+ # The metrics that Amazon CloudWatch collects for the resource. If
5844
+ # this field is not present, Amazon CloudWatch collects all available
5845
+ # detailed metrics for the resource.
5846
+ # @return [Array<Types::ResourceMetricSelection>]
5847
+ #
5848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceMetricsConfiguration AWS API Documentation
5849
+ #
5850
+ class ResourceMetricsConfiguration < Struct.new(
5851
+ :resource_arn,
5852
+ :created_at,
5853
+ :updated_at,
5854
+ :metric_selections)
5855
+ SENSITIVE = []
5856
+ include Aws::Structure
5857
+ end
5858
+
5631
5859
  # The named resource does not exist.
5632
5860
  #
5633
5861
  # @!attribute [rw] message
@@ -5982,15 +6210,62 @@ module Aws::CloudWatch
5982
6210
  #
5983
6211
  class StartMetricStreamsOutput < Aws::EmptyStructure; end
5984
6212
 
5985
- # @api private
6213
+ # @!attribute [rw] include_filters
6214
+ # The metric namespaces, and the metric names, to enrich. If this
6215
+ # parameter is omitted, every namespace that Amazon CloudWatch
6216
+ # supports for enrichment is in scope.
6217
+ #
6218
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6219
+ # `ExcludeFilters` combined.
6220
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6221
+ #
6222
+ # @!attribute [rw] exclude_filters
6223
+ # The metric namespaces, and the metric names, to leave unenriched. If
6224
+ # this parameter is omitted, nothing is excluded.
6225
+ #
6226
+ # Amazon CloudWatch applies `ExcludeFilters` after `IncludeFilters`,
6227
+ # so a metric that both parameters match is not enriched.
6228
+ #
6229
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6230
+ # `ExcludeFilters` combined.
6231
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
5986
6232
  #
5987
6233
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentInput AWS API Documentation
5988
6234
  #
5989
- class StartOTelEnrichmentInput < Aws::EmptyStructure; end
6235
+ class StartOTelEnrichmentInput < Struct.new(
6236
+ :include_filters,
6237
+ :exclude_filters)
6238
+ SENSITIVE = []
6239
+ include Aws::Structure
6240
+ end
5990
6241
 
6242
+ # @!attribute [rw] include_filters
6243
+ # The include filters that are stored for the account.
6244
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6245
+ #
6246
+ # @!attribute [rw] exclude_filters
6247
+ # The exclude filters that are stored for the account.
6248
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6249
+ #
6250
+ # @!attribute [rw] created_at
6251
+ # The date and time that enrichment started for the account.
6252
+ # @return [Time]
6253
+ #
6254
+ # @!attribute [rw] updated_at
6255
+ # The date and time that the enrichment configuration for the account
6256
+ # was last stored.
6257
+ # @return [Time]
6258
+ #
5991
6259
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartOTelEnrichmentOutput AWS API Documentation
5992
6260
  #
5993
- class StartOTelEnrichmentOutput < Aws::EmptyStructure; end
6261
+ class StartOTelEnrichmentOutput < Struct.new(
6262
+ :include_filters,
6263
+ :exclude_filters,
6264
+ :created_at,
6265
+ :updated_at)
6266
+ SENSITIVE = []
6267
+ include Aws::Structure
6268
+ end
5994
6269
 
5995
6270
  # Represents a set of statistics that describes a specific metric.
5996
6271
  #
@@ -6158,6 +6433,123 @@ module Aws::CloudWatch
6158
6433
  #
6159
6434
  class UntagResourceOutput < Aws::EmptyStructure; end
6160
6435
 
6436
+ # @!attribute [rw] include_filters
6437
+ # The metric namespaces, and the metric names, to enrich. If this
6438
+ # parameter is omitted, every namespace that Amazon CloudWatch
6439
+ # supports for enrichment is in scope.
6440
+ #
6441
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6442
+ # `ExcludeFilters` combined.
6443
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6444
+ #
6445
+ # @!attribute [rw] exclude_filters
6446
+ # The metric namespaces, and the metric names, to leave unenriched. If
6447
+ # this parameter is omitted, nothing is excluded.
6448
+ #
6449
+ # Amazon CloudWatch applies `ExcludeFilters` after `IncludeFilters`,
6450
+ # so a metric that both parameters match is not enriched.
6451
+ #
6452
+ # A maximum of 100 filters is allowed across `IncludeFilters` and
6453
+ # `ExcludeFilters` combined.
6454
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6455
+ #
6456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentInput AWS API Documentation
6457
+ #
6458
+ class UpdateOTelEnrichmentInput < Struct.new(
6459
+ :include_filters,
6460
+ :exclude_filters)
6461
+ SENSITIVE = []
6462
+ include Aws::Structure
6463
+ end
6464
+
6465
+ # @!attribute [rw] include_filters
6466
+ # The include filters that are stored for the account after the
6467
+ # replacement. This parameter is omitted when the request cleared the
6468
+ # include filters, which means that every supported namespace is in
6469
+ # scope.
6470
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6471
+ #
6472
+ # @!attribute [rw] exclude_filters
6473
+ # The exclude filters that are stored for the account after the
6474
+ # replacement. This parameter is omitted when the request cleared the
6475
+ # exclude filters, which means that nothing is excluded.
6476
+ # @return [Array<Types::OTelEnrichmentMetricSelector>]
6477
+ #
6478
+ # @!attribute [rw] created_at
6479
+ # The date and time that enrichment started for the account.
6480
+ # @return [Time]
6481
+ #
6482
+ # @!attribute [rw] updated_at
6483
+ # The date and time that the enrichment configuration for the account
6484
+ # was last stored.
6485
+ # @return [Time]
6486
+ #
6487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateOTelEnrichmentOutput AWS API Documentation
6488
+ #
6489
+ class UpdateOTelEnrichmentOutput < Struct.new(
6490
+ :include_filters,
6491
+ :exclude_filters,
6492
+ :created_at,
6493
+ :updated_at)
6494
+ SENSITIVE = []
6495
+ include Aws::Structure
6496
+ end
6497
+
6498
+ # Specifies the resource ARN and optional replacement metric selections
6499
+ # for an `UpdateResourceMetricsConfiguration` request.
6500
+ #
6501
+ # @!attribute [rw] resource_arn
6502
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
6503
+ # to update the resource metrics configuration for.
6504
+ # @return [String]
6505
+ #
6506
+ # @!attribute [rw] metric_selections
6507
+ # Specifies which metrics Amazon CloudWatch collects for the resource.
6508
+ # The selections that you provide completely replace any existing
6509
+ # metric selections.
6510
+ #
6511
+ # If you omit this parameter, Amazon CloudWatch removes any existing
6512
+ # metric selection filter and collects all available detailed metrics
6513
+ # for the resource.
6514
+ # @return [Array<Types::ResourceMetricSelection>]
6515
+ #
6516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateResourceMetricsConfigurationInput AWS API Documentation
6517
+ #
6518
+ class UpdateResourceMetricsConfigurationInput < Struct.new(
6519
+ :resource_arn,
6520
+ :metric_selections)
6521
+ SENSITIVE = []
6522
+ include Aws::Structure
6523
+ end
6524
+
6525
+ # Returns the updated resource metrics configuration.
6526
+ #
6527
+ # @!attribute [rw] resource_metrics_configuration
6528
+ # The resource metrics configuration after the update was applied.
6529
+ # @return [Types::ResourceMetricsConfiguration]
6530
+ #
6531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UpdateResourceMetricsConfigurationOutput AWS API Documentation
6532
+ #
6533
+ class UpdateResourceMetricsConfigurationOutput < Struct.new(
6534
+ :resource_metrics_configuration)
6535
+ SENSITIVE = []
6536
+ include Aws::Structure
6537
+ end
6538
+
6539
+ # The request failed validation. One or more input parameters do not
6540
+ # satisfy the constraints that the operation requires.
6541
+ #
6542
+ # @!attribute [rw] message
6543
+ # @return [String]
6544
+ #
6545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ValidationException AWS API Documentation
6546
+ #
6547
+ class ValidationException < Struct.new(
6548
+ :message)
6549
+ SENSITIVE = []
6550
+ include Aws::Structure
6551
+ end
6552
+
6161
6553
  # An evaluation window that aligns the evaluated range to fixed clock
6162
6554
  # boundaries that match the alarm's period, such as the top of the
6163
6555
  # 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.149.0'
62
62
 
63
63
  end
64
64
 
data/sig/client.rbs CHANGED
@@ -89,6 +89,21 @@ module Aws
89
89
  ) -> _AssociateDatasetKmsKeyResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDatasetKmsKeyResponseSuccess
91
91
 
92
+ interface _CreateResourceMetricsConfigurationResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceMetricsConfigurationOutput]
94
+ def resource_metrics_configuration: () -> Types::ResourceMetricsConfiguration
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#create_resource_metrics_configuration-instance_method
97
+ def create_resource_metrics_configuration: (
98
+ resource_arn: ::String,
99
+ ?metric_selections: Array[
100
+ {
101
+ include_metrics: Array[::String]
102
+ }
103
+ ]
104
+ ) -> _CreateResourceMetricsConfigurationResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceMetricsConfigurationResponseSuccess
106
+
92
107
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_alarm_mute_rule-instance_method
93
108
  def delete_alarm_mute_rule: (
94
109
  alarm_mute_rule_name: ::String
@@ -149,6 +164,15 @@ module Aws
149
164
  ) -> _DeleteMetricStreamResponseSuccess
150
165
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMetricStreamResponseSuccess
151
166
 
167
+ interface _DeleteResourceMetricsConfigurationResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceMetricsConfigurationOutput]
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_resource_metrics_configuration-instance_method
171
+ def delete_resource_metrics_configuration: (
172
+ resource_arn: ::String
173
+ ) -> _DeleteResourceMetricsConfigurationResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceMetricsConfigurationResponseSuccess
175
+
152
176
  interface _DescribeAlarmContributorsResponseSuccess
153
177
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmContributorsOutput]
154
178
  def alarm_contributors: () -> ::Array[Types::AlarmContributor]
@@ -442,12 +466,26 @@ module Aws
442
466
  interface _GetOTelEnrichmentResponseSuccess
443
467
  include ::Seahorse::Client::_ResponseSuccess[Types::GetOTelEnrichmentOutput]
444
468
  def status: () -> ("Running" | "Stopped")
469
+ def include_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
470
+ def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
471
+ def created_at: () -> ::Time
472
+ def updated_at: () -> ::Time
445
473
  end
446
474
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_o_tel_enrichment-instance_method
447
475
  def get_o_tel_enrichment: (
448
476
  ) -> _GetOTelEnrichmentResponseSuccess
449
477
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOTelEnrichmentResponseSuccess
450
478
 
479
+ interface _GetResourceMetricsConfigurationResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceMetricsConfigurationOutput]
481
+ def resource_metrics_configuration: () -> Types::ResourceMetricsConfiguration
482
+ end
483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_resource_metrics_configuration-instance_method
484
+ def get_resource_metrics_configuration: (
485
+ resource_arn: ::String
486
+ ) -> _GetResourceMetricsConfigurationResponseSuccess
487
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceMetricsConfigurationResponseSuccess
488
+
451
489
  interface _ListAlarmMuteRulesResponseSuccess
452
490
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAlarmMuteRulesOutput]
453
491
  def alarm_mute_rule_summaries: () -> ::Array[Types::AlarmMuteRuleSummary]
@@ -854,9 +892,25 @@ module Aws
854
892
 
855
893
  interface _StartOTelEnrichmentResponseSuccess
856
894
  include ::Seahorse::Client::_ResponseSuccess[Types::StartOTelEnrichmentOutput]
895
+ def include_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
896
+ def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
897
+ def created_at: () -> ::Time
898
+ def updated_at: () -> ::Time
857
899
  end
858
900
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#start_o_tel_enrichment-instance_method
859
901
  def start_o_tel_enrichment: (
902
+ ?include_filters: Array[
903
+ {
904
+ namespace: ::String,
905
+ metric_names: Array[::String]?
906
+ }
907
+ ],
908
+ ?exclude_filters: Array[
909
+ {
910
+ namespace: ::String,
911
+ metric_names: Array[::String]?
912
+ }
913
+ ]
860
914
  ) -> _StartOTelEnrichmentResponseSuccess
861
915
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOTelEnrichmentResponseSuccess
862
916
 
@@ -902,6 +956,45 @@ module Aws
902
956
  ) -> _UntagResourceResponseSuccess
903
957
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
904
958
 
959
+ interface _UpdateOTelEnrichmentResponseSuccess
960
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOTelEnrichmentOutput]
961
+ def include_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
962
+ def exclude_filters: () -> ::Array[Types::OTelEnrichmentMetricSelector]
963
+ def created_at: () -> ::Time
964
+ def updated_at: () -> ::Time
965
+ end
966
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#update_o_tel_enrichment-instance_method
967
+ def update_o_tel_enrichment: (
968
+ ?include_filters: Array[
969
+ {
970
+ namespace: ::String,
971
+ metric_names: Array[::String]?
972
+ }
973
+ ],
974
+ ?exclude_filters: Array[
975
+ {
976
+ namespace: ::String,
977
+ metric_names: Array[::String]?
978
+ }
979
+ ]
980
+ ) -> _UpdateOTelEnrichmentResponseSuccess
981
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOTelEnrichmentResponseSuccess
982
+
983
+ interface _UpdateResourceMetricsConfigurationResponseSuccess
984
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceMetricsConfigurationOutput]
985
+ def resource_metrics_configuration: () -> Types::ResourceMetricsConfiguration
986
+ end
987
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#update_resource_metrics_configuration-instance_method
988
+ def update_resource_metrics_configuration: (
989
+ resource_arn: ::String,
990
+ ?metric_selections: Array[
991
+ {
992
+ include_metrics: Array[::String]
993
+ }
994
+ ]
995
+ ) -> _UpdateResourceMetricsConfigurationResponseSuccess
996
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceMetricsConfigurationResponseSuccess
997
+
905
998
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#wait_until-instance_method
906
999
  def wait_until: (:alarm_exists waiter_name,
907
1000
  ?alarm_names: Array[::String],
data/sig/errors.rbs CHANGED
@@ -65,6 +65,9 @@ module Aws
65
65
  def resource_type: () -> ::String
66
66
  def resource_id: () -> ::String
67
67
  end
68
+ class ValidationException < ::Aws::Errors::ServiceError
69
+ def message: () -> ::String
70
+ end
68
71
  end
69
72
  end
70
73
  end