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.
@@ -66,6 +66,8 @@ module Aws::CloudWatch
66
66
  ContributorAttributes = Shapes::MapShape.new(name: 'ContributorAttributes')
67
67
  ContributorId = Shapes::StringShape.new(name: 'ContributorId')
68
68
  Counts = Shapes::ListShape.new(name: 'Counts')
69
+ CreateResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'CreateResourceMetricsConfigurationInput')
70
+ CreateResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'CreateResourceMetricsConfigurationOutput')
69
71
  DashboardArn = Shapes::StringShape.new(name: 'DashboardArn')
70
72
  DashboardBody = Shapes::StringShape.new(name: 'DashboardBody')
71
73
  DashboardEntries = Shapes::ListShape.new(name: 'DashboardEntries')
@@ -98,6 +100,8 @@ module Aws::CloudWatch
98
100
  DeleteInsightRulesOutput = Shapes::StructureShape.new(name: 'DeleteInsightRulesOutput')
99
101
  DeleteMetricStreamInput = Shapes::StructureShape.new(name: 'DeleteMetricStreamInput')
100
102
  DeleteMetricStreamOutput = Shapes::StructureShape.new(name: 'DeleteMetricStreamOutput')
103
+ DeleteResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'DeleteResourceMetricsConfigurationInput')
104
+ DeleteResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteResourceMetricsConfigurationOutput')
101
105
  DescribeAlarmContributorsInput = Shapes::StructureShape.new(name: 'DescribeAlarmContributorsInput')
102
106
  DescribeAlarmContributorsOutput = Shapes::StructureShape.new(name: 'DescribeAlarmContributorsOutput')
103
107
  DescribeAlarmHistoryInput = Shapes::StructureShape.new(name: 'DescribeAlarmHistoryInput')
@@ -170,6 +174,8 @@ module Aws::CloudWatch
170
174
  GetMetricWidgetImageOutput = Shapes::StructureShape.new(name: 'GetMetricWidgetImageOutput')
171
175
  GetOTelEnrichmentInput = Shapes::StructureShape.new(name: 'GetOTelEnrichmentInput')
172
176
  GetOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'GetOTelEnrichmentOutput')
177
+ GetResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'GetResourceMetricsConfigurationInput')
178
+ GetResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'GetResourceMetricsConfigurationOutput')
173
179
  HistoryData = Shapes::StringShape.new(name: 'HistoryData')
174
180
  HistoryItemType = Shapes::StringShape.new(name: 'HistoryItemType')
175
181
  HistorySummary = Shapes::StringShape.new(name: 'HistorySummary')
@@ -258,6 +264,7 @@ module Aws::CloudWatch
258
264
  MetricLabel = Shapes::StringShape.new(name: 'MetricLabel')
259
265
  MetricMathAnomalyDetector = Shapes::StructureShape.new(name: 'MetricMathAnomalyDetector')
260
266
  MetricName = Shapes::StringShape.new(name: 'MetricName')
267
+ MetricNameList = Shapes::ListShape.new(name: 'MetricNameList')
261
268
  MetricStat = Shapes::StructureShape.new(name: 'MetricStat')
262
269
  MetricStreamEntries = Shapes::ListShape.new(name: 'MetricStreamEntries')
263
270
  MetricStreamEntry = Shapes::StructureShape.new(name: 'MetricStreamEntry')
@@ -284,6 +291,9 @@ module Aws::CloudWatch
284
291
  Name = Shapes::StringShape.new(name: 'Name')
285
292
  Namespace = Shapes::StringShape.new(name: 'Namespace')
286
293
  NextToken = Shapes::StringShape.new(name: 'NextToken')
294
+ OTelEnrichmentMetricNameList = Shapes::ListShape.new(name: 'OTelEnrichmentMetricNameList')
295
+ OTelEnrichmentMetricSelector = Shapes::StructureShape.new(name: 'OTelEnrichmentMetricSelector')
296
+ OTelEnrichmentMetricSelectorList = Shapes::ListShape.new(name: 'OTelEnrichmentMetricSelectorList')
287
297
  OTelEnrichmentStatus = Shapes::StringShape.new(name: 'OTelEnrichmentStatus')
288
298
  OnlyStartEvaluatingAfterWarmUpPeriodEnds = Shapes::BooleanShape.new(name: 'OnlyStartEvaluatingAfterWarmUpPeriodEnds')
289
299
  OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
@@ -314,9 +324,13 @@ module Aws::CloudWatch
314
324
  Range = Shapes::StructureShape.new(name: 'Range')
315
325
  RecentlyActive = Shapes::StringShape.new(name: 'RecentlyActive')
316
326
  RecoveryPeriod = Shapes::IntegerShape.new(name: 'RecoveryPeriod')
327
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
317
328
  ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict', error: {"code" => "ResourceConflict", "httpStatusCode" => 409, "senderFault" => true})
318
329
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
319
330
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
331
+ ResourceMetricSelection = Shapes::StructureShape.new(name: 'ResourceMetricSelection')
332
+ ResourceMetricSelectionList = Shapes::ListShape.new(name: 'ResourceMetricSelectionList')
333
+ ResourceMetricsConfiguration = Shapes::StructureShape.new(name: 'ResourceMetricsConfiguration')
320
334
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
321
335
  ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound', error: {"code" => "ResourceNotFound", "httpStatusCode" => 404, "senderFault" => true})
322
336
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException', error: {"code" => "ResourceNotFoundException", "httpStatusCode" => 404, "senderFault" => true})
@@ -369,6 +383,12 @@ module Aws::CloudWatch
369
383
  TreatMissingData = Shapes::StringShape.new(name: 'TreatMissingData')
370
384
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
371
385
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
386
+ UpdateOTelEnrichmentInput = Shapes::StructureShape.new(name: 'UpdateOTelEnrichmentInput')
387
+ UpdateOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'UpdateOTelEnrichmentOutput')
388
+ UpdateResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'UpdateResourceMetricsConfigurationInput')
389
+ UpdateResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateResourceMetricsConfigurationOutput')
390
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException', error: {"code" => "ValidationError", "httpStatusCode" => 400, "senderFault" => true})
391
+ ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
372
392
  Values = Shapes::ListShape.new(name: 'Values')
373
393
  WallClockWindow = Shapes::StructureShape.new(name: 'WallClockWindow')
374
394
  WarmUpConfiguration = Shapes::StructureShape.new(name: 'WarmUpConfiguration')
@@ -479,6 +499,13 @@ module Aws::CloudWatch
479
499
 
480
500
  Counts.member = Shapes::ShapeRef.new(shape: DatapointValue)
481
501
 
502
+ CreateResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
503
+ CreateResourceMetricsConfigurationInput.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
504
+ CreateResourceMetricsConfigurationInput.struct_class = Types::CreateResourceMetricsConfigurationInput
505
+
506
+ CreateResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
507
+ CreateResourceMetricsConfigurationOutput.struct_class = Types::CreateResourceMetricsConfigurationOutput
508
+
482
509
  DashboardEntries.member = Shapes::ShapeRef.new(shape: DashboardEntry)
483
510
 
484
511
  DashboardEntry.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "DashboardName"))
@@ -552,6 +579,11 @@ module Aws::CloudWatch
552
579
 
553
580
  DeleteMetricStreamOutput.struct_class = Types::DeleteMetricStreamOutput
554
581
 
582
+ DeleteResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
583
+ DeleteResourceMetricsConfigurationInput.struct_class = Types::DeleteResourceMetricsConfigurationInput
584
+
585
+ DeleteResourceMetricsConfigurationOutput.struct_class = Types::DeleteResourceMetricsConfigurationOutput
586
+
555
587
  DescribeAlarmContributorsInput.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "AlarmName"))
556
588
  DescribeAlarmContributorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
557
589
  DescribeAlarmContributorsInput.struct_class = Types::DescribeAlarmContributorsInput
@@ -796,8 +828,18 @@ module Aws::CloudWatch
796
828
  GetOTelEnrichmentInput.struct_class = Types::GetOTelEnrichmentInput
797
829
 
798
830
  GetOTelEnrichmentOutput.add_member(:status, Shapes::ShapeRef.new(shape: OTelEnrichmentStatus, required: true, location_name: "Status"))
831
+ GetOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
832
+ GetOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
833
+ GetOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
834
+ GetOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
799
835
  GetOTelEnrichmentOutput.struct_class = Types::GetOTelEnrichmentOutput
800
836
 
837
+ GetResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
838
+ GetResourceMetricsConfigurationInput.struct_class = Types::GetResourceMetricsConfigurationInput
839
+
840
+ GetResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
841
+ GetResourceMetricsConfigurationOutput.struct_class = Types::GetResourceMetricsConfigurationOutput
842
+
801
843
  InsightRule.add_member(:name, Shapes::ShapeRef.new(shape: InsightRuleName, required: true, location_name: "Name"))
802
844
  InsightRule.add_member(:state, Shapes::ShapeRef.new(shape: InsightRuleState, required: true, location_name: "State"))
803
845
  InsightRule.add_member(:schema, Shapes::ShapeRef.new(shape: InsightRuleSchema, required: true, location_name: "Schema"))
@@ -1063,6 +1105,8 @@ module Aws::CloudWatch
1063
1105
  MetricMathAnomalyDetector.add_member(:metric_data_queries, Shapes::ShapeRef.new(shape: MetricDataQueries, location_name: "MetricDataQueries"))
1064
1106
  MetricMathAnomalyDetector.struct_class = Types::MetricMathAnomalyDetector
1065
1107
 
1108
+ MetricNameList.member = Shapes::ShapeRef.new(shape: MetricName)
1109
+
1066
1110
  MetricStat.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
1067
1111
  MetricStat.add_member(:period, Shapes::ShapeRef.new(shape: Period, required: true, location_name: "Period"))
1068
1112
  MetricStat.add_member(:stat, Shapes::ShapeRef.new(shape: Stat, required: true, location_name: "Stat"))
@@ -1114,6 +1158,14 @@ module Aws::CloudWatch
1114
1158
  MuteTargets.add_member(:alarm_names, Shapes::ShapeRef.new(shape: MuteTargetAlarmNameList, required: true, location_name: "AlarmNames"))
1115
1159
  MuteTargets.struct_class = Types::MuteTargets
1116
1160
 
1161
+ OTelEnrichmentMetricNameList.member = Shapes::ShapeRef.new(shape: MetricName)
1162
+
1163
+ OTelEnrichmentMetricSelector.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "Namespace"))
1164
+ OTelEnrichmentMetricSelector.add_member(:metric_names, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricNameList, location_name: "MetricNames"))
1165
+ OTelEnrichmentMetricSelector.struct_class = Types::OTelEnrichmentMetricSelector
1166
+
1167
+ OTelEnrichmentMetricSelectorList.member = Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelector)
1168
+
1117
1169
  OwningAccounts.member = Shapes::ShapeRef.new(shape: AccountId)
1118
1170
 
1119
1171
  PartialFailure.add_member(:failure_resource, Shapes::ShapeRef.new(shape: FailureResource, location_name: "FailureResource"))
@@ -1255,6 +1307,17 @@ module Aws::CloudWatch
1255
1307
 
1256
1308
  ResourceList.member = Shapes::ShapeRef.new(shape: ResourceName)
1257
1309
 
1310
+ ResourceMetricSelection.add_member(:include_metrics, Shapes::ShapeRef.new(shape: MetricNameList, required: true, location_name: "IncludeMetrics"))
1311
+ ResourceMetricSelection.struct_class = Types::ResourceMetricSelection
1312
+
1313
+ ResourceMetricSelectionList.member = Shapes::ShapeRef.new(shape: ResourceMetricSelection)
1314
+
1315
+ ResourceMetricsConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1316
+ ResourceMetricsConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
1317
+ ResourceMetricsConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
1318
+ ResourceMetricsConfiguration.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
1319
+ ResourceMetricsConfiguration.struct_class = Types::ResourceMetricsConfiguration
1320
+
1258
1321
  ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1259
1322
  ResourceNotFound.struct_class = Types::ResourceNotFound
1260
1323
 
@@ -1304,8 +1367,14 @@ module Aws::CloudWatch
1304
1367
 
1305
1368
  StartMetricStreamsOutput.struct_class = Types::StartMetricStreamsOutput
1306
1369
 
1370
+ StartOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1371
+ StartOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1307
1372
  StartOTelEnrichmentInput.struct_class = Types::StartOTelEnrichmentInput
1308
1373
 
1374
+ StartOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1375
+ StartOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1376
+ StartOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
1377
+ StartOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
1309
1378
  StartOTelEnrichmentOutput.struct_class = Types::StartOTelEnrichmentOutput
1310
1379
 
1311
1380
  StatisticSet.add_member(:sample_count, Shapes::ShapeRef.new(shape: DatapointValue, required: true, location_name: "SampleCount"))
@@ -1347,6 +1416,26 @@ module Aws::CloudWatch
1347
1416
 
1348
1417
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
1349
1418
 
1419
+ UpdateOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1420
+ UpdateOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1421
+ UpdateOTelEnrichmentInput.struct_class = Types::UpdateOTelEnrichmentInput
1422
+
1423
+ UpdateOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1424
+ UpdateOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1425
+ UpdateOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
1426
+ UpdateOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
1427
+ UpdateOTelEnrichmentOutput.struct_class = Types::UpdateOTelEnrichmentOutput
1428
+
1429
+ UpdateResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1430
+ UpdateResourceMetricsConfigurationInput.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
1431
+ UpdateResourceMetricsConfigurationInput.struct_class = Types::UpdateResourceMetricsConfigurationInput
1432
+
1433
+ UpdateResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
1434
+ UpdateResourceMetricsConfigurationOutput.struct_class = Types::UpdateResourceMetricsConfigurationOutput
1435
+
1436
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "message"))
1437
+ ValidationException.struct_class = Types::ValidationException
1438
+
1350
1439
  Values.member = Shapes::ShapeRef.new(shape: DatapointValue)
1351
1440
 
1352
1441
  WallClockWindow.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone"))
@@ -1392,6 +1481,16 @@ module Aws::CloudWatch
1392
1481
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1393
1482
  end)
1394
1483
 
1484
+ api.add_operation(:create_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1485
+ o.name = "CreateResourceMetricsConfiguration"
1486
+ o.http_method = "POST"
1487
+ o.http_request_uri = "/"
1488
+ o.input = Shapes::ShapeRef.new(shape: CreateResourceMetricsConfigurationInput)
1489
+ o.output = Shapes::ShapeRef.new(shape: CreateResourceMetricsConfigurationOutput)
1490
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1492
+ end)
1493
+
1395
1494
  api.add_operation(:delete_alarm_mute_rule, Seahorse::Model::Operation.new.tap do |o|
1396
1495
  o.name = "DeleteAlarmMuteRule"
1397
1496
  o.http_method = "POST"
@@ -1455,6 +1554,15 @@ module Aws::CloudWatch
1455
1554
  o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
1456
1555
  end)
1457
1556
 
1557
+ api.add_operation(:delete_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1558
+ o.name = "DeleteResourceMetricsConfiguration"
1559
+ o.http_method = "POST"
1560
+ o.http_request_uri = "/"
1561
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourceMetricsConfigurationInput)
1562
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourceMetricsConfigurationOutput)
1563
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1564
+ end)
1565
+
1458
1566
  api.add_operation(:describe_alarm_contributors, Seahorse::Model::Operation.new.tap do |o|
1459
1567
  o.name = "DescribeAlarmContributors"
1460
1568
  o.http_method = "POST"
@@ -1679,6 +1787,15 @@ module Aws::CloudWatch
1679
1787
  o.output = Shapes::ShapeRef.new(shape: GetOTelEnrichmentOutput)
1680
1788
  end)
1681
1789
 
1790
+ api.add_operation(:get_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1791
+ o.name = "GetResourceMetricsConfiguration"
1792
+ o.http_method = "POST"
1793
+ o.http_request_uri = "/"
1794
+ o.input = Shapes::ShapeRef.new(shape: GetResourceMetricsConfigurationInput)
1795
+ o.output = Shapes::ShapeRef.new(shape: GetResourceMetricsConfigurationOutput)
1796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1797
+ end)
1798
+
1682
1799
  api.add_operation(:list_alarm_mute_rules, Seahorse::Model::Operation.new.tap do |o|
1683
1800
  o.name = "ListAlarmMuteRules"
1684
1801
  o.http_method = "POST"
@@ -1908,6 +2025,7 @@ module Aws::CloudWatch
1908
2025
  o.http_request_uri = "/"
1909
2026
  o.input = Shapes::ShapeRef.new(shape: StartOTelEnrichmentInput)
1910
2027
  o.output = Shapes::ShapeRef.new(shape: StartOTelEnrichmentOutput)
2028
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1911
2029
  end)
1912
2030
 
1913
2031
  api.add_operation(:stop_metric_streams, Seahorse::Model::Operation.new.tap do |o|
@@ -1954,6 +2072,25 @@ module Aws::CloudWatch
1954
2072
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1955
2073
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1956
2074
  end)
2075
+
2076
+ api.add_operation(:update_o_tel_enrichment, Seahorse::Model::Operation.new.tap do |o|
2077
+ o.name = "UpdateOTelEnrichment"
2078
+ o.http_method = "POST"
2079
+ o.http_request_uri = "/"
2080
+ o.input = Shapes::ShapeRef.new(shape: UpdateOTelEnrichmentInput)
2081
+ o.output = Shapes::ShapeRef.new(shape: UpdateOTelEnrichmentOutput)
2082
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2083
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2084
+ end)
2085
+
2086
+ api.add_operation(:update_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
2087
+ o.name = "UpdateResourceMetricsConfiguration"
2088
+ o.http_method = "POST"
2089
+ o.http_request_uri = "/"
2090
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourceMetricsConfigurationInput)
2091
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourceMetricsConfigurationOutput)
2092
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2093
+ end)
1957
2094
  end
1958
2095
 
1959
2096
  end
@@ -53,6 +53,8 @@ module Aws::CloudWatch
53
53
  # * {ResourceConflict}
54
54
  # * {ResourceNotFound}
55
55
  # * {ResourceNotFoundException}
56
+ # * {ValidationException}
57
+ # * This error class is not used. `ValidationError` is used during parsing instead.
56
58
  #
57
59
  # Additionally, error classes are dynamically generated for service errors based on the error code
58
60
  # if they are not defined above.
@@ -346,5 +348,22 @@ module Aws::CloudWatch
346
348
  end
347
349
  end
348
350
 
351
+ # @deprecated This error class is not used during parsing.
352
+ # Please use `ValidationError` instead.
353
+ class ValidationException < ServiceError
354
+
355
+ # @param [Seahorse::Client::RequestContext] context
356
+ # @param [String] message
357
+ # @param [Aws::CloudWatch::Types::ValidationException] data
358
+ def initialize(context, message, data = Aws::EmptyStructure.new)
359
+ super(context, message, data)
360
+ end
361
+
362
+ # @return [String]
363
+ def message
364
+ @message || @data[:message]
365
+ end
366
+ end
367
+
349
368
  end
350
369
  end