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.
@@ -15,6 +15,7 @@ module Aws::CloudWatch
15
15
  include Seahorse::Model
16
16
 
17
17
  AccountId = Shapes::StringShape.new(name: 'AccountId')
18
+ ActionConfiguration = Shapes::StructureShape.new(name: 'ActionConfiguration')
18
19
  ActionLogLineCount = Shapes::IntegerShape.new(name: 'ActionLogLineCount')
19
20
  ActionLogLineRoleArn = Shapes::StringShape.new(name: 'ActionLogLineRoleArn')
20
21
  ActionPrefix = Shapes::StringShape.new(name: 'ActionPrefix')
@@ -37,6 +38,10 @@ module Aws::CloudWatch
37
38
  AlarmNames = Shapes::ListShape.new(name: 'AlarmNames')
38
39
  AlarmPromQLCriteria = Shapes::StructureShape.new(name: 'AlarmPromQLCriteria')
39
40
  AlarmRule = Shapes::StringShape.new(name: 'AlarmRule')
41
+ AlarmTagsPropagation = Shapes::StructureShape.new(name: 'AlarmTagsPropagation')
42
+ AlarmTagsPropagationEnabled = Shapes::BooleanShape.new(name: 'AlarmTagsPropagationEnabled')
43
+ AlarmTagsPropagationTagKey = Shapes::StringShape.new(name: 'AlarmTagsPropagationTagKey')
44
+ AlarmTagsPropagationTagKeys = Shapes::ListShape.new(name: 'AlarmTagsPropagationTagKeys')
40
45
  AlarmType = Shapes::StringShape.new(name: 'AlarmType')
41
46
  AlarmTypes = Shapes::ListShape.new(name: 'AlarmTypes')
42
47
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
@@ -66,6 +71,8 @@ module Aws::CloudWatch
66
71
  ContributorAttributes = Shapes::MapShape.new(name: 'ContributorAttributes')
67
72
  ContributorId = Shapes::StringShape.new(name: 'ContributorId')
68
73
  Counts = Shapes::ListShape.new(name: 'Counts')
74
+ CreateResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'CreateResourceMetricsConfigurationInput')
75
+ CreateResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'CreateResourceMetricsConfigurationOutput')
69
76
  DashboardArn = Shapes::StringShape.new(name: 'DashboardArn')
70
77
  DashboardBody = Shapes::StringShape.new(name: 'DashboardBody')
71
78
  DashboardEntries = Shapes::ListShape.new(name: 'DashboardEntries')
@@ -98,6 +105,8 @@ module Aws::CloudWatch
98
105
  DeleteInsightRulesOutput = Shapes::StructureShape.new(name: 'DeleteInsightRulesOutput')
99
106
  DeleteMetricStreamInput = Shapes::StructureShape.new(name: 'DeleteMetricStreamInput')
100
107
  DeleteMetricStreamOutput = Shapes::StructureShape.new(name: 'DeleteMetricStreamOutput')
108
+ DeleteResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'DeleteResourceMetricsConfigurationInput')
109
+ DeleteResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteResourceMetricsConfigurationOutput')
101
110
  DescribeAlarmContributorsInput = Shapes::StructureShape.new(name: 'DescribeAlarmContributorsInput')
102
111
  DescribeAlarmContributorsOutput = Shapes::StructureShape.new(name: 'DescribeAlarmContributorsOutput')
103
112
  DescribeAlarmHistoryInput = Shapes::StructureShape.new(name: 'DescribeAlarmHistoryInput')
@@ -170,6 +179,8 @@ module Aws::CloudWatch
170
179
  GetMetricWidgetImageOutput = Shapes::StructureShape.new(name: 'GetMetricWidgetImageOutput')
171
180
  GetOTelEnrichmentInput = Shapes::StructureShape.new(name: 'GetOTelEnrichmentInput')
172
181
  GetOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'GetOTelEnrichmentOutput')
182
+ GetResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'GetResourceMetricsConfigurationInput')
183
+ GetResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'GetResourceMetricsConfigurationOutput')
173
184
  HistoryData = Shapes::StringShape.new(name: 'HistoryData')
174
185
  HistoryItemType = Shapes::StringShape.new(name: 'HistoryItemType')
175
186
  HistorySummary = Shapes::StringShape.new(name: 'HistorySummary')
@@ -258,6 +269,7 @@ module Aws::CloudWatch
258
269
  MetricLabel = Shapes::StringShape.new(name: 'MetricLabel')
259
270
  MetricMathAnomalyDetector = Shapes::StructureShape.new(name: 'MetricMathAnomalyDetector')
260
271
  MetricName = Shapes::StringShape.new(name: 'MetricName')
272
+ MetricNameList = Shapes::ListShape.new(name: 'MetricNameList')
261
273
  MetricStat = Shapes::StructureShape.new(name: 'MetricStat')
262
274
  MetricStreamEntries = Shapes::ListShape.new(name: 'MetricStreamEntries')
263
275
  MetricStreamEntry = Shapes::StructureShape.new(name: 'MetricStreamEntry')
@@ -284,6 +296,9 @@ module Aws::CloudWatch
284
296
  Name = Shapes::StringShape.new(name: 'Name')
285
297
  Namespace = Shapes::StringShape.new(name: 'Namespace')
286
298
  NextToken = Shapes::StringShape.new(name: 'NextToken')
299
+ OTelEnrichmentMetricNameList = Shapes::ListShape.new(name: 'OTelEnrichmentMetricNameList')
300
+ OTelEnrichmentMetricSelector = Shapes::StructureShape.new(name: 'OTelEnrichmentMetricSelector')
301
+ OTelEnrichmentMetricSelectorList = Shapes::ListShape.new(name: 'OTelEnrichmentMetricSelectorList')
287
302
  OTelEnrichmentStatus = Shapes::StringShape.new(name: 'OTelEnrichmentStatus')
288
303
  OnlyStartEvaluatingAfterWarmUpPeriodEnds = Shapes::BooleanShape.new(name: 'OnlyStartEvaluatingAfterWarmUpPeriodEnds')
289
304
  OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
@@ -314,9 +329,13 @@ module Aws::CloudWatch
314
329
  Range = Shapes::StructureShape.new(name: 'Range')
315
330
  RecentlyActive = Shapes::StringShape.new(name: 'RecentlyActive')
316
331
  RecoveryPeriod = Shapes::IntegerShape.new(name: 'RecoveryPeriod')
332
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
317
333
  ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict', error: {"code" => "ResourceConflict", "httpStatusCode" => 409, "senderFault" => true})
318
334
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
319
335
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
336
+ ResourceMetricSelection = Shapes::StructureShape.new(name: 'ResourceMetricSelection')
337
+ ResourceMetricSelectionList = Shapes::ListShape.new(name: 'ResourceMetricSelectionList')
338
+ ResourceMetricsConfiguration = Shapes::StructureShape.new(name: 'ResourceMetricsConfiguration')
320
339
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
321
340
  ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound', error: {"code" => "ResourceNotFound", "httpStatusCode" => 404, "senderFault" => true})
322
341
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException', error: {"code" => "ResourceNotFoundException", "httpStatusCode" => 404, "senderFault" => true})
@@ -369,11 +388,20 @@ module Aws::CloudWatch
369
388
  TreatMissingData = Shapes::StringShape.new(name: 'TreatMissingData')
370
389
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
371
390
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
391
+ UpdateOTelEnrichmentInput = Shapes::StructureShape.new(name: 'UpdateOTelEnrichmentInput')
392
+ UpdateOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'UpdateOTelEnrichmentOutput')
393
+ UpdateResourceMetricsConfigurationInput = Shapes::StructureShape.new(name: 'UpdateResourceMetricsConfigurationInput')
394
+ UpdateResourceMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateResourceMetricsConfigurationOutput')
395
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException', error: {"code" => "ValidationError", "httpStatusCode" => 400, "senderFault" => true})
396
+ ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
372
397
  Values = Shapes::ListShape.new(name: 'Values')
373
398
  WallClockWindow = Shapes::StructureShape.new(name: 'WallClockWindow')
374
399
  WarmUpConfiguration = Shapes::StructureShape.new(name: 'WarmUpConfiguration')
375
400
  WarmUpPeriodDurationInMinutes = Shapes::IntegerShape.new(name: 'WarmUpPeriodDurationInMinutes')
376
401
 
402
+ ActionConfiguration.add_member(:alarm_tags_propagation, Shapes::ShapeRef.new(shape: AlarmTagsPropagation, location_name: "AlarmTagsPropagation"))
403
+ ActionConfiguration.struct_class = Types::ActionConfiguration
404
+
377
405
  AlarmContributor.add_member(:contributor_id, Shapes::ShapeRef.new(shape: ContributorId, required: true, location_name: "ContributorId"))
378
406
  AlarmContributor.add_member(:contributor_attributes, Shapes::ShapeRef.new(shape: ContributorAttributes, required: true, location_name: "ContributorAttributes"))
379
407
  AlarmContributor.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "StateReason"))
@@ -412,6 +440,13 @@ module Aws::CloudWatch
412
440
  AlarmPromQLCriteria.add_member(:recovery_period, Shapes::ShapeRef.new(shape: RecoveryPeriod, location_name: "RecoveryPeriod"))
413
441
  AlarmPromQLCriteria.struct_class = Types::AlarmPromQLCriteria
414
442
 
443
+ AlarmTagsPropagation.add_member(:enabled, Shapes::ShapeRef.new(shape: AlarmTagsPropagationEnabled, required: true, location_name: "Enabled"))
444
+ AlarmTagsPropagation.add_member(:included_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "IncludedTagKeys"))
445
+ AlarmTagsPropagation.add_member(:excluded_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "ExcludedTagKeys"))
446
+ AlarmTagsPropagation.struct_class = Types::AlarmTagsPropagation
447
+
448
+ AlarmTagsPropagationTagKeys.member = Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKey)
449
+
415
450
  AlarmTypes.member = Shapes::ShapeRef.new(shape: AlarmType)
416
451
 
417
452
  AnomalyDetector.add_member(:anomaly_detector_id, Shapes::ShapeRef.new(shape: AnomalyDetectorId, location_name: "AnomalyDetectorId"))
@@ -465,6 +500,7 @@ module Aws::CloudWatch
465
500
  CompositeAlarm.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
466
501
  CompositeAlarm.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
467
502
  CompositeAlarm.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
503
+ CompositeAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
468
504
  CompositeAlarm.struct_class = Types::CompositeAlarm
469
505
 
470
506
  CompositeAlarms.member = Shapes::ShapeRef.new(shape: CompositeAlarm)
@@ -479,6 +515,13 @@ module Aws::CloudWatch
479
515
 
480
516
  Counts.member = Shapes::ShapeRef.new(shape: DatapointValue)
481
517
 
518
+ CreateResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
519
+ CreateResourceMetricsConfigurationInput.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
520
+ CreateResourceMetricsConfigurationInput.struct_class = Types::CreateResourceMetricsConfigurationInput
521
+
522
+ CreateResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
523
+ CreateResourceMetricsConfigurationOutput.struct_class = Types::CreateResourceMetricsConfigurationOutput
524
+
482
525
  DashboardEntries.member = Shapes::ShapeRef.new(shape: DashboardEntry)
483
526
 
484
527
  DashboardEntry.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "DashboardName"))
@@ -552,6 +595,11 @@ module Aws::CloudWatch
552
595
 
553
596
  DeleteMetricStreamOutput.struct_class = Types::DeleteMetricStreamOutput
554
597
 
598
+ DeleteResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
599
+ DeleteResourceMetricsConfigurationInput.struct_class = Types::DeleteResourceMetricsConfigurationInput
600
+
601
+ DeleteResourceMetricsConfigurationOutput.struct_class = Types::DeleteResourceMetricsConfigurationOutput
602
+
555
603
  DescribeAlarmContributorsInput.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "AlarmName"))
556
604
  DescribeAlarmContributorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
557
605
  DescribeAlarmContributorsInput.struct_class = Types::DescribeAlarmContributorsInput
@@ -796,8 +844,18 @@ module Aws::CloudWatch
796
844
  GetOTelEnrichmentInput.struct_class = Types::GetOTelEnrichmentInput
797
845
 
798
846
  GetOTelEnrichmentOutput.add_member(:status, Shapes::ShapeRef.new(shape: OTelEnrichmentStatus, required: true, location_name: "Status"))
847
+ GetOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
848
+ GetOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
849
+ GetOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
850
+ GetOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
799
851
  GetOTelEnrichmentOutput.struct_class = Types::GetOTelEnrichmentOutput
800
852
 
853
+ GetResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
854
+ GetResourceMetricsConfigurationInput.struct_class = Types::GetResourceMetricsConfigurationInput
855
+
856
+ GetResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
857
+ GetResourceMetricsConfigurationOutput.struct_class = Types::GetResourceMetricsConfigurationOutput
858
+
801
859
  InsightRule.add_member(:name, Shapes::ShapeRef.new(shape: InsightRuleName, required: true, location_name: "Name"))
802
860
  InsightRule.add_member(:state, Shapes::ShapeRef.new(shape: InsightRuleState, required: true, location_name: "State"))
803
861
  InsightRule.add_member(:schema, Shapes::ShapeRef.new(shape: InsightRuleSchema, required: true, location_name: "Schema"))
@@ -951,6 +1009,7 @@ module Aws::CloudWatch
951
1009
  LogAlarm.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
952
1010
  LogAlarm.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
953
1011
  LogAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1012
+ LogAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
954
1013
  LogAlarm.struct_class = Types::LogAlarm
955
1014
 
956
1015
  LogAlarms.member = Shapes::ShapeRef.new(shape: LogAlarm)
@@ -1017,6 +1076,7 @@ module Aws::CloudWatch
1017
1076
  MetricAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1018
1077
  MetricAlarm.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
1019
1078
  MetricAlarm.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
1079
+ MetricAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
1020
1080
  MetricAlarm.struct_class = Types::MetricAlarm
1021
1081
 
1022
1082
  MetricAlarms.member = Shapes::ShapeRef.new(shape: MetricAlarm)
@@ -1063,6 +1123,8 @@ module Aws::CloudWatch
1063
1123
  MetricMathAnomalyDetector.add_member(:metric_data_queries, Shapes::ShapeRef.new(shape: MetricDataQueries, location_name: "MetricDataQueries"))
1064
1124
  MetricMathAnomalyDetector.struct_class = Types::MetricMathAnomalyDetector
1065
1125
 
1126
+ MetricNameList.member = Shapes::ShapeRef.new(shape: MetricName)
1127
+
1066
1128
  MetricStat.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
1067
1129
  MetricStat.add_member(:period, Shapes::ShapeRef.new(shape: Period, required: true, location_name: "Period"))
1068
1130
  MetricStat.add_member(:stat, Shapes::ShapeRef.new(shape: Stat, required: true, location_name: "Stat"))
@@ -1114,6 +1176,14 @@ module Aws::CloudWatch
1114
1176
  MuteTargets.add_member(:alarm_names, Shapes::ShapeRef.new(shape: MuteTargetAlarmNameList, required: true, location_name: "AlarmNames"))
1115
1177
  MuteTargets.struct_class = Types::MuteTargets
1116
1178
 
1179
+ OTelEnrichmentMetricNameList.member = Shapes::ShapeRef.new(shape: MetricName)
1180
+
1181
+ OTelEnrichmentMetricSelector.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "Namespace"))
1182
+ OTelEnrichmentMetricSelector.add_member(:metric_names, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricNameList, location_name: "MetricNames"))
1183
+ OTelEnrichmentMetricSelector.struct_class = Types::OTelEnrichmentMetricSelector
1184
+
1185
+ OTelEnrichmentMetricSelectorList.member = Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelector)
1186
+
1117
1187
  OwningAccounts.member = Shapes::ShapeRef.new(shape: AccountId)
1118
1188
 
1119
1189
  PartialFailure.add_member(:failure_resource, Shapes::ShapeRef.new(shape: FailureResource, location_name: "FailureResource"))
@@ -1155,6 +1225,7 @@ module Aws::CloudWatch
1155
1225
  PutCompositeAlarmInput.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
1156
1226
  PutCompositeAlarmInput.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
1157
1227
  PutCompositeAlarmInput.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
1228
+ PutCompositeAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
1158
1229
  PutCompositeAlarmInput.struct_class = Types::PutCompositeAlarmInput
1159
1230
 
1160
1231
  PutDashboardInput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "DashboardName"))
@@ -1190,6 +1261,7 @@ module Aws::CloudWatch
1190
1261
  PutLogAlarmInput.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
1191
1262
  PutLogAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1192
1263
  PutLogAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1264
+ PutLogAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
1193
1265
  PutLogAlarmInput.struct_class = Types::PutLogAlarmInput
1194
1266
 
1195
1267
  PutManagedInsightRulesInput.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRules, required: true, location_name: "ManagedRules"))
@@ -1224,6 +1296,7 @@ module Aws::CloudWatch
1224
1296
  PutMetricAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1225
1297
  PutMetricAlarmInput.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
1226
1298
  PutMetricAlarmInput.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
1299
+ PutMetricAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
1227
1300
  PutMetricAlarmInput.struct_class = Types::PutMetricAlarmInput
1228
1301
 
1229
1302
  PutMetricDataInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "Namespace"))
@@ -1255,6 +1328,17 @@ module Aws::CloudWatch
1255
1328
 
1256
1329
  ResourceList.member = Shapes::ShapeRef.new(shape: ResourceName)
1257
1330
 
1331
+ ResourceMetricSelection.add_member(:include_metrics, Shapes::ShapeRef.new(shape: MetricNameList, required: true, location_name: "IncludeMetrics"))
1332
+ ResourceMetricSelection.struct_class = Types::ResourceMetricSelection
1333
+
1334
+ ResourceMetricSelectionList.member = Shapes::ShapeRef.new(shape: ResourceMetricSelection)
1335
+
1336
+ ResourceMetricsConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1337
+ ResourceMetricsConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
1338
+ ResourceMetricsConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
1339
+ ResourceMetricsConfiguration.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
1340
+ ResourceMetricsConfiguration.struct_class = Types::ResourceMetricsConfiguration
1341
+
1258
1342
  ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1259
1343
  ResourceNotFound.struct_class = Types::ResourceNotFound
1260
1344
 
@@ -1304,8 +1388,14 @@ module Aws::CloudWatch
1304
1388
 
1305
1389
  StartMetricStreamsOutput.struct_class = Types::StartMetricStreamsOutput
1306
1390
 
1391
+ StartOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1392
+ StartOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1307
1393
  StartOTelEnrichmentInput.struct_class = Types::StartOTelEnrichmentInput
1308
1394
 
1395
+ StartOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1396
+ StartOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1397
+ StartOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
1398
+ StartOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
1309
1399
  StartOTelEnrichmentOutput.struct_class = Types::StartOTelEnrichmentOutput
1310
1400
 
1311
1401
  StatisticSet.add_member(:sample_count, Shapes::ShapeRef.new(shape: DatapointValue, required: true, location_name: "SampleCount"))
@@ -1347,6 +1437,26 @@ module Aws::CloudWatch
1347
1437
 
1348
1438
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
1349
1439
 
1440
+ UpdateOTelEnrichmentInput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1441
+ UpdateOTelEnrichmentInput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1442
+ UpdateOTelEnrichmentInput.struct_class = Types::UpdateOTelEnrichmentInput
1443
+
1444
+ UpdateOTelEnrichmentOutput.add_member(:include_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "IncludeFilters"))
1445
+ UpdateOTelEnrichmentOutput.add_member(:exclude_filters, Shapes::ShapeRef.new(shape: OTelEnrichmentMetricSelectorList, location_name: "ExcludeFilters"))
1446
+ UpdateOTelEnrichmentOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
1447
+ UpdateOTelEnrichmentOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
1448
+ UpdateOTelEnrichmentOutput.struct_class = Types::UpdateOTelEnrichmentOutput
1449
+
1450
+ UpdateResourceMetricsConfigurationInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1451
+ UpdateResourceMetricsConfigurationInput.add_member(:metric_selections, Shapes::ShapeRef.new(shape: ResourceMetricSelectionList, location_name: "MetricSelections"))
1452
+ UpdateResourceMetricsConfigurationInput.struct_class = Types::UpdateResourceMetricsConfigurationInput
1453
+
1454
+ UpdateResourceMetricsConfigurationOutput.add_member(:resource_metrics_configuration, Shapes::ShapeRef.new(shape: ResourceMetricsConfiguration, required: true, location_name: "ResourceMetricsConfiguration"))
1455
+ UpdateResourceMetricsConfigurationOutput.struct_class = Types::UpdateResourceMetricsConfigurationOutput
1456
+
1457
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "message"))
1458
+ ValidationException.struct_class = Types::ValidationException
1459
+
1350
1460
  Values.member = Shapes::ShapeRef.new(shape: DatapointValue)
1351
1461
 
1352
1462
  WallClockWindow.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone"))
@@ -1392,6 +1502,16 @@ module Aws::CloudWatch
1392
1502
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1393
1503
  end)
1394
1504
 
1505
+ api.add_operation(:create_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1506
+ o.name = "CreateResourceMetricsConfiguration"
1507
+ o.http_method = "POST"
1508
+ o.http_request_uri = "/"
1509
+ o.input = Shapes::ShapeRef.new(shape: CreateResourceMetricsConfigurationInput)
1510
+ o.output = Shapes::ShapeRef.new(shape: CreateResourceMetricsConfigurationOutput)
1511
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1513
+ end)
1514
+
1395
1515
  api.add_operation(:delete_alarm_mute_rule, Seahorse::Model::Operation.new.tap do |o|
1396
1516
  o.name = "DeleteAlarmMuteRule"
1397
1517
  o.http_method = "POST"
@@ -1455,6 +1575,15 @@ module Aws::CloudWatch
1455
1575
  o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
1456
1576
  end)
1457
1577
 
1578
+ api.add_operation(:delete_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1579
+ o.name = "DeleteResourceMetricsConfiguration"
1580
+ o.http_method = "POST"
1581
+ o.http_request_uri = "/"
1582
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourceMetricsConfigurationInput)
1583
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourceMetricsConfigurationOutput)
1584
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1585
+ end)
1586
+
1458
1587
  api.add_operation(:describe_alarm_contributors, Seahorse::Model::Operation.new.tap do |o|
1459
1588
  o.name = "DescribeAlarmContributors"
1460
1589
  o.http_method = "POST"
@@ -1679,6 +1808,15 @@ module Aws::CloudWatch
1679
1808
  o.output = Shapes::ShapeRef.new(shape: GetOTelEnrichmentOutput)
1680
1809
  end)
1681
1810
 
1811
+ api.add_operation(:get_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1812
+ o.name = "GetResourceMetricsConfiguration"
1813
+ o.http_method = "POST"
1814
+ o.http_request_uri = "/"
1815
+ o.input = Shapes::ShapeRef.new(shape: GetResourceMetricsConfigurationInput)
1816
+ o.output = Shapes::ShapeRef.new(shape: GetResourceMetricsConfigurationOutput)
1817
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1818
+ end)
1819
+
1682
1820
  api.add_operation(:list_alarm_mute_rules, Seahorse::Model::Operation.new.tap do |o|
1683
1821
  o.name = "ListAlarmMuteRules"
1684
1822
  o.http_method = "POST"
@@ -1908,6 +2046,7 @@ module Aws::CloudWatch
1908
2046
  o.http_request_uri = "/"
1909
2047
  o.input = Shapes::ShapeRef.new(shape: StartOTelEnrichmentInput)
1910
2048
  o.output = Shapes::ShapeRef.new(shape: StartOTelEnrichmentOutput)
2049
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1911
2050
  end)
1912
2051
 
1913
2052
  api.add_operation(:stop_metric_streams, Seahorse::Model::Operation.new.tap do |o|
@@ -1954,6 +2093,25 @@ module Aws::CloudWatch
1954
2093
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1955
2094
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1956
2095
  end)
2096
+
2097
+ api.add_operation(:update_o_tel_enrichment, Seahorse::Model::Operation.new.tap do |o|
2098
+ o.name = "UpdateOTelEnrichment"
2099
+ o.http_method = "POST"
2100
+ o.http_request_uri = "/"
2101
+ o.input = Shapes::ShapeRef.new(shape: UpdateOTelEnrichmentInput)
2102
+ o.output = Shapes::ShapeRef.new(shape: UpdateOTelEnrichmentOutput)
2103
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2104
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2105
+ end)
2106
+
2107
+ api.add_operation(:update_resource_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
2108
+ o.name = "UpdateResourceMetricsConfiguration"
2109
+ o.http_method = "POST"
2110
+ o.http_request_uri = "/"
2111
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourceMetricsConfigurationInput)
2112
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourceMetricsConfigurationOutput)
2113
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2114
+ end)
1957
2115
  end
1958
2116
 
1959
2117
  end
@@ -172,6 +172,14 @@ module Aws::CloudWatch
172
172
  data[:actions_suppressor_extension_period]
173
173
  end
174
174
 
175
+ # Settings that change the content of the notifications and events that
176
+ # the alarm sends when its state changes. These settings apply to the
177
+ # alarm's actions, whichever state triggers them.
178
+ # @return [Types::ActionConfiguration]
179
+ def action_configuration
180
+ data[:action_configuration]
181
+ end
182
+
175
183
  # @!endgroup
176
184
 
177
185
  # @return [Client]
@@ -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
@@ -386,6 +386,13 @@ module Aws::CloudWatch
386
386
  # },
387
387
  # },
388
388
  # evaluation_interval: 1,
389
+ # action_configuration: {
390
+ # alarm_tags_propagation: {
391
+ # enabled: false, # required
392
+ # included_tag_keys: ["AlarmTagsPropagationTagKey"],
393
+ # excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
394
+ # },
395
+ # },
389
396
  # })
390
397
  # @param [Hash] options ({})
391
398
  # @option options [required, String] :alarm_name
@@ -834,6 +841,10 @@ module Aws::CloudWatch
834
841
  # This parameter is required for alarms that use `EvaluationCriteria`,
835
842
  # and cannot be specified for alarms configured with `MetricName` or
836
843
  # `Metrics`.
844
+ # @option options [Types::ActionConfiguration] :action_configuration
845
+ # Settings that change the content of the notifications and events that
846
+ # the alarm sends when its state changes. These settings apply to the
847
+ # alarm's actions, whichever state triggers them.
837
848
  # @return [Alarm]
838
849
  def put_alarm(options = {})
839
850
  options = options.merge(