aws-sdk-cloudwatch 1.139.0 → 1.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +3 -3
- data/lib/aws-sdk-cloudwatch/client.rb +491 -15
- data/lib/aws-sdk-cloudwatch/client_api.rb +164 -0
- data/lib/aws-sdk-cloudwatch/composite_alarm.rb +3 -3
- data/lib/aws-sdk-cloudwatch/errors.rb +64 -0
- data/lib/aws-sdk-cloudwatch/resource.rb +18 -12
- data/lib/aws-sdk-cloudwatch/types.rb +600 -10
- data/lib/aws-sdk-cloudwatch/waiters.rb +37 -0
- data/lib/aws-sdk-cloudwatch.rb +2 -2
- data/sig/alarm.rbs +1 -1
- data/sig/client.rbs +90 -4
- data/sig/composite_alarm.rbs +1 -1
- data/sig/errors.rbs +12 -0
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +116 -3
- data/sig/waiters.rbs +20 -2
- metadata +1 -1
|
@@ -15,10 +15,13 @@ module Aws::CloudWatch
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
18
|
+
ActionLogLineCount = Shapes::IntegerShape.new(name: 'ActionLogLineCount')
|
|
19
|
+
ActionLogLineRoleArn = Shapes::StringShape.new(name: 'ActionLogLineRoleArn')
|
|
18
20
|
ActionPrefix = Shapes::StringShape.new(name: 'ActionPrefix')
|
|
19
21
|
ActionsEnabled = Shapes::BooleanShape.new(name: 'ActionsEnabled')
|
|
20
22
|
ActionsSuppressedBy = Shapes::StringShape.new(name: 'ActionsSuppressedBy')
|
|
21
23
|
ActionsSuppressedReason = Shapes::StringShape.new(name: 'ActionsSuppressedReason')
|
|
24
|
+
AggregationExpression = Shapes::StringShape.new(name: 'AggregationExpression')
|
|
22
25
|
AlarmArn = Shapes::StringShape.new(name: 'AlarmArn')
|
|
23
26
|
AlarmContributor = Shapes::StructureShape.new(name: 'AlarmContributor')
|
|
24
27
|
AlarmContributors = Shapes::ListShape.new(name: 'AlarmContributors')
|
|
@@ -47,6 +50,8 @@ module Aws::CloudWatch
|
|
|
47
50
|
AnomalyDetectorTypes = Shapes::ListShape.new(name: 'AnomalyDetectorTypes')
|
|
48
51
|
AnomalyDetectors = Shapes::ListShape.new(name: 'AnomalyDetectors')
|
|
49
52
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
53
|
+
AssociateDatasetKmsKeyInput = Shapes::StructureShape.new(name: 'AssociateDatasetKmsKeyInput')
|
|
54
|
+
AssociateDatasetKmsKeyOutput = Shapes::StructureShape.new(name: 'AssociateDatasetKmsKeyOutput')
|
|
50
55
|
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
|
51
56
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
|
52
57
|
AwsQueryErrorMessage = Shapes::StringShape.new(name: 'AwsQueryErrorMessage')
|
|
@@ -78,6 +83,9 @@ module Aws::CloudWatch
|
|
|
78
83
|
DatapointValues = Shapes::ListShape.new(name: 'DatapointValues')
|
|
79
84
|
Datapoints = Shapes::ListShape.new(name: 'Datapoints')
|
|
80
85
|
DatapointsToAlarm = Shapes::IntegerShape.new(name: 'DatapointsToAlarm')
|
|
86
|
+
DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
|
|
87
|
+
DatasetId = Shapes::StringShape.new(name: 'DatasetId')
|
|
88
|
+
DatasetIdentifier = Shapes::StringShape.new(name: 'DatasetIdentifier')
|
|
81
89
|
DeleteAlarmMuteRuleInput = Shapes::StructureShape.new(name: 'DeleteAlarmMuteRuleInput')
|
|
82
90
|
DeleteAlarmsInput = Shapes::StructureShape.new(name: 'DeleteAlarmsInput')
|
|
83
91
|
DeleteAnomalyDetectorInput = Shapes::StructureShape.new(name: 'DeleteAnomalyDetectorInput')
|
|
@@ -109,10 +117,13 @@ module Aws::CloudWatch
|
|
|
109
117
|
DisableAlarmActionsInput = Shapes::StructureShape.new(name: 'DisableAlarmActionsInput')
|
|
110
118
|
DisableInsightRulesInput = Shapes::StructureShape.new(name: 'DisableInsightRulesInput')
|
|
111
119
|
DisableInsightRulesOutput = Shapes::StructureShape.new(name: 'DisableInsightRulesOutput')
|
|
120
|
+
DisassociateDatasetKmsKeyInput = Shapes::StructureShape.new(name: 'DisassociateDatasetKmsKeyInput')
|
|
121
|
+
DisassociateDatasetKmsKeyOutput = Shapes::StructureShape.new(name: 'DisassociateDatasetKmsKeyOutput')
|
|
112
122
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
|
113
123
|
EnableAlarmActionsInput = Shapes::StructureShape.new(name: 'EnableAlarmActionsInput')
|
|
114
124
|
EnableInsightRulesInput = Shapes::StructureShape.new(name: 'EnableInsightRulesInput')
|
|
115
125
|
EnableInsightRulesOutput = Shapes::StructureShape.new(name: 'EnableInsightRulesOutput')
|
|
126
|
+
EndTimeOffset = Shapes::IntegerShape.new(name: 'EndTimeOffset')
|
|
116
127
|
Entity = Shapes::StructureShape.new(name: 'Entity')
|
|
117
128
|
EntityAttributesMap = Shapes::MapShape.new(name: 'EntityAttributesMap')
|
|
118
129
|
EntityAttributesMapKeyString = Shapes::StringShape.new(name: 'EntityAttributesMapKeyString')
|
|
@@ -140,6 +151,8 @@ module Aws::CloudWatch
|
|
|
140
151
|
GetAlarmMuteRuleOutput = Shapes::StructureShape.new(name: 'GetAlarmMuteRuleOutput')
|
|
141
152
|
GetDashboardInput = Shapes::StructureShape.new(name: 'GetDashboardInput')
|
|
142
153
|
GetDashboardOutput = Shapes::StructureShape.new(name: 'GetDashboardOutput')
|
|
154
|
+
GetDatasetInput = Shapes::StructureShape.new(name: 'GetDatasetInput')
|
|
155
|
+
GetDatasetOutput = Shapes::StructureShape.new(name: 'GetDatasetOutput')
|
|
143
156
|
GetInsightRuleReportInput = Shapes::StructureShape.new(name: 'GetInsightRuleReportInput')
|
|
144
157
|
GetInsightRuleReportOutput = Shapes::StructureShape.new(name: 'GetInsightRuleReportOutput')
|
|
145
158
|
GetMetricDataInput = Shapes::StructureShape.new(name: 'GetMetricDataInput')
|
|
@@ -191,6 +204,10 @@ module Aws::CloudWatch
|
|
|
191
204
|
InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken', error: {"code" => "InvalidNextToken", "httpStatusCode" => 400, "senderFault" => true})
|
|
192
205
|
InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException', error: {"code" => "InvalidParameterCombination", "httpStatusCode" => 400, "senderFault" => true})
|
|
193
206
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException', error: {"code" => "InvalidParameterValue", "httpStatusCode" => 400, "senderFault" => true})
|
|
207
|
+
KmsAccessDeniedException = Shapes::StructureShape.new(name: 'KmsAccessDeniedException')
|
|
208
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
209
|
+
KmsKeyDisabledException = Shapes::StructureShape.new(name: 'KmsKeyDisabledException')
|
|
210
|
+
KmsKeyNotFoundException = Shapes::StructureShape.new(name: 'KmsKeyNotFoundException')
|
|
194
211
|
LabelOptions = Shapes::StructureShape.new(name: 'LabelOptions')
|
|
195
212
|
LastModified = Shapes::TimestampShape.new(name: 'LastModified')
|
|
196
213
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException', error: {"code" => "LimitExceededException", "httpStatusCode" => 400, "senderFault" => true})
|
|
@@ -208,6 +225,9 @@ module Aws::CloudWatch
|
|
|
208
225
|
ListMetricsOutput = Shapes::StructureShape.new(name: 'ListMetricsOutput')
|
|
209
226
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
|
210
227
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
|
228
|
+
LogAlarm = Shapes::StructureShape.new(name: 'LogAlarm')
|
|
229
|
+
LogAlarms = Shapes::ListShape.new(name: 'LogAlarms')
|
|
230
|
+
LogGroupIdentifiers = Shapes::ListShape.new(name: 'LogGroupIdentifiers')
|
|
211
231
|
ManagedRule = Shapes::StructureShape.new(name: 'ManagedRule')
|
|
212
232
|
ManagedRuleDescription = Shapes::StructureShape.new(name: 'ManagedRuleDescription')
|
|
213
233
|
ManagedRuleDescriptions = Shapes::ListShape.new(name: 'ManagedRuleDescriptions')
|
|
@@ -276,6 +296,7 @@ module Aws::CloudWatch
|
|
|
276
296
|
PutDashboardOutput = Shapes::StructureShape.new(name: 'PutDashboardOutput')
|
|
277
297
|
PutInsightRuleInput = Shapes::StructureShape.new(name: 'PutInsightRuleInput')
|
|
278
298
|
PutInsightRuleOutput = Shapes::StructureShape.new(name: 'PutInsightRuleOutput')
|
|
299
|
+
PutLogAlarmInput = Shapes::StructureShape.new(name: 'PutLogAlarmInput')
|
|
279
300
|
PutManagedInsightRulesInput = Shapes::StructureShape.new(name: 'PutManagedInsightRulesInput')
|
|
280
301
|
PutManagedInsightRulesOutput = Shapes::StructureShape.new(name: 'PutManagedInsightRulesOutput')
|
|
281
302
|
PutMetricAlarmInput = Shapes::StructureShape.new(name: 'PutMetricAlarmInput')
|
|
@@ -283,9 +304,13 @@ module Aws::CloudWatch
|
|
|
283
304
|
PutMetricStreamInput = Shapes::StructureShape.new(name: 'PutMetricStreamInput')
|
|
284
305
|
PutMetricStreamOutput = Shapes::StructureShape.new(name: 'PutMetricStreamOutput')
|
|
285
306
|
Query = Shapes::StringShape.new(name: 'Query')
|
|
307
|
+
QueryResultsToAlarm = Shapes::IntegerShape.new(name: 'QueryResultsToAlarm')
|
|
308
|
+
QueryResultsToEvaluate = Shapes::IntegerShape.new(name: 'QueryResultsToEvaluate')
|
|
309
|
+
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
|
286
310
|
Range = Shapes::StructureShape.new(name: 'Range')
|
|
287
311
|
RecentlyActive = Shapes::StringShape.new(name: 'RecentlyActive')
|
|
288
312
|
RecoveryPeriod = Shapes::IntegerShape.new(name: 'RecoveryPeriod')
|
|
313
|
+
ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict', error: {"code" => "ResourceConflict", "httpStatusCode" => 409, "senderFault" => true})
|
|
289
314
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
|
290
315
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
|
291
316
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
|
@@ -296,6 +321,9 @@ module Aws::CloudWatch
|
|
|
296
321
|
Rule = Shapes::StructureShape.new(name: 'Rule')
|
|
297
322
|
ScanBy = Shapes::StringShape.new(name: 'ScanBy')
|
|
298
323
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
|
324
|
+
ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
|
|
325
|
+
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
|
326
|
+
ScheduledQueryConfiguration = Shapes::StructureShape.new(name: 'ScheduledQueryConfiguration')
|
|
299
327
|
SetAlarmStateInput = Shapes::StructureShape.new(name: 'SetAlarmStateInput')
|
|
300
328
|
SingleMetricAnomalyDetector = Shapes::StructureShape.new(name: 'SingleMetricAnomalyDetector')
|
|
301
329
|
Size = Shapes::IntegerShape.new(name: 'Size')
|
|
@@ -304,6 +332,7 @@ module Aws::CloudWatch
|
|
|
304
332
|
StartMetricStreamsOutput = Shapes::StructureShape.new(name: 'StartMetricStreamsOutput')
|
|
305
333
|
StartOTelEnrichmentInput = Shapes::StructureShape.new(name: 'StartOTelEnrichmentInput')
|
|
306
334
|
StartOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'StartOTelEnrichmentOutput')
|
|
335
|
+
StartTimeOffset = Shapes::IntegerShape.new(name: 'StartTimeOffset')
|
|
307
336
|
Stat = Shapes::StringShape.new(name: 'Stat')
|
|
308
337
|
StateReason = Shapes::StringShape.new(name: 'StateReason')
|
|
309
338
|
StateReasonData = Shapes::StringShape.new(name: 'StateReasonData')
|
|
@@ -318,6 +347,7 @@ module Aws::CloudWatch
|
|
|
318
347
|
StopOTelEnrichmentOutput = Shapes::StructureShape.new(name: 'StopOTelEnrichmentOutput')
|
|
319
348
|
StorageResolution = Shapes::IntegerShape.new(name: 'StorageResolution')
|
|
320
349
|
StrictEntityValidation = Shapes::BooleanShape.new(name: 'StrictEntityValidation')
|
|
350
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
321
351
|
SuppressorPeriod = Shapes::IntegerShape.new(name: 'SuppressorPeriod')
|
|
322
352
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
323
353
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
@@ -397,6 +427,12 @@ module Aws::CloudWatch
|
|
|
397
427
|
|
|
398
428
|
AnomalyDetectors.member = Shapes::ShapeRef.new(shape: AnomalyDetector)
|
|
399
429
|
|
|
430
|
+
AssociateDatasetKmsKeyInput.add_member(:dataset_identifier, Shapes::ShapeRef.new(shape: DatasetIdentifier, required: true, location_name: "DatasetIdentifier"))
|
|
431
|
+
AssociateDatasetKmsKeyInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKeyArn"))
|
|
432
|
+
AssociateDatasetKmsKeyInput.struct_class = Types::AssociateDatasetKmsKeyInput
|
|
433
|
+
|
|
434
|
+
AssociateDatasetKmsKeyOutput.struct_class = Types::AssociateDatasetKmsKeyOutput
|
|
435
|
+
|
|
400
436
|
BatchFailures.member = Shapes::ShapeRef.new(shape: PartialFailure)
|
|
401
437
|
|
|
402
438
|
CompositeAlarm.add_member(:actions_enabled, Shapes::ShapeRef.new(shape: ActionsEnabled, location_name: "ActionsEnabled"))
|
|
@@ -552,6 +588,7 @@ module Aws::CloudWatch
|
|
|
552
588
|
|
|
553
589
|
DescribeAlarmsOutput.add_member(:composite_alarms, Shapes::ShapeRef.new(shape: CompositeAlarms, location_name: "CompositeAlarms"))
|
|
554
590
|
DescribeAlarmsOutput.add_member(:metric_alarms, Shapes::ShapeRef.new(shape: MetricAlarms, location_name: "MetricAlarms"))
|
|
591
|
+
DescribeAlarmsOutput.add_member(:log_alarms, Shapes::ShapeRef.new(shape: LogAlarms, location_name: "LogAlarms"))
|
|
555
592
|
DescribeAlarmsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
556
593
|
DescribeAlarmsOutput.struct_class = Types::DescribeAlarmsOutput
|
|
557
594
|
|
|
@@ -596,6 +633,11 @@ module Aws::CloudWatch
|
|
|
596
633
|
DisableInsightRulesOutput.add_member(:failures, Shapes::ShapeRef.new(shape: BatchFailures, location_name: "Failures"))
|
|
597
634
|
DisableInsightRulesOutput.struct_class = Types::DisableInsightRulesOutput
|
|
598
635
|
|
|
636
|
+
DisassociateDatasetKmsKeyInput.add_member(:dataset_identifier, Shapes::ShapeRef.new(shape: DatasetIdentifier, required: true, location_name: "DatasetIdentifier"))
|
|
637
|
+
DisassociateDatasetKmsKeyInput.struct_class = Types::DisassociateDatasetKmsKeyInput
|
|
638
|
+
|
|
639
|
+
DisassociateDatasetKmsKeyOutput.struct_class = Types::DisassociateDatasetKmsKeyOutput
|
|
640
|
+
|
|
599
641
|
EnableAlarmActionsInput.add_member(:alarm_names, Shapes::ShapeRef.new(shape: AlarmNames, required: true, location_name: "AlarmNames"))
|
|
600
642
|
EnableAlarmActionsInput.struct_class = Types::EnableAlarmActionsInput
|
|
601
643
|
|
|
@@ -652,6 +694,14 @@ module Aws::CloudWatch
|
|
|
652
694
|
GetDashboardOutput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "DashboardName"))
|
|
653
695
|
GetDashboardOutput.struct_class = Types::GetDashboardOutput
|
|
654
696
|
|
|
697
|
+
GetDatasetInput.add_member(:dataset_identifier, Shapes::ShapeRef.new(shape: DatasetIdentifier, required: true, location_name: "DatasetIdentifier"))
|
|
698
|
+
GetDatasetInput.struct_class = Types::GetDatasetInput
|
|
699
|
+
|
|
700
|
+
GetDatasetOutput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: DatasetId, required: true, location_name: "DatasetId"))
|
|
701
|
+
GetDatasetOutput.add_member(:arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "Arn"))
|
|
702
|
+
GetDatasetOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
703
|
+
GetDatasetOutput.struct_class = Types::GetDatasetOutput
|
|
704
|
+
|
|
655
705
|
GetInsightRuleReportInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: InsightRuleName, required: true, location_name: "RuleName"))
|
|
656
706
|
GetInsightRuleReportInput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
|
657
707
|
GetInsightRuleReportInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
@@ -785,6 +835,15 @@ module Aws::CloudWatch
|
|
|
785
835
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
|
|
786
836
|
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
|
787
837
|
|
|
838
|
+
KmsAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
839
|
+
KmsAccessDeniedException.struct_class = Types::KmsAccessDeniedException
|
|
840
|
+
|
|
841
|
+
KmsKeyDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
842
|
+
KmsKeyDisabledException.struct_class = Types::KmsKeyDisabledException
|
|
843
|
+
|
|
844
|
+
KmsKeyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
845
|
+
KmsKeyNotFoundException.struct_class = Types::KmsKeyNotFoundException
|
|
846
|
+
|
|
788
847
|
LabelOptions.add_member(:timezone, Shapes::ShapeRef.new(shape: GetMetricDataLabelTimezone, location_name: "Timezone"))
|
|
789
848
|
LabelOptions.struct_class = Types::LabelOptions
|
|
790
849
|
|
|
@@ -848,6 +907,34 @@ module Aws::CloudWatch
|
|
|
848
907
|
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
849
908
|
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
|
850
909
|
|
|
910
|
+
LogAlarm.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, location_name: "AlarmName"))
|
|
911
|
+
LogAlarm.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "AlarmArn"))
|
|
912
|
+
LogAlarm.add_member(:alarm_description, Shapes::ShapeRef.new(shape: AlarmDescription, location_name: "AlarmDescription"))
|
|
913
|
+
LogAlarm.add_member(:alarm_configuration_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AlarmConfigurationUpdatedTimestamp"))
|
|
914
|
+
LogAlarm.add_member(:actions_enabled, Shapes::ShapeRef.new(shape: ActionsEnabled, location_name: "ActionsEnabled"))
|
|
915
|
+
LogAlarm.add_member(:ok_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "OKActions"))
|
|
916
|
+
LogAlarm.add_member(:alarm_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "AlarmActions"))
|
|
917
|
+
LogAlarm.add_member(:insufficient_data_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "InsufficientDataActions"))
|
|
918
|
+
LogAlarm.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, location_name: "StateValue"))
|
|
919
|
+
LogAlarm.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "StateReason"))
|
|
920
|
+
LogAlarm.add_member(:state_reason_data, Shapes::ShapeRef.new(shape: StateReasonData, location_name: "StateReasonData"))
|
|
921
|
+
LogAlarm.add_member(:state_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StateUpdatedTimestamp"))
|
|
922
|
+
LogAlarm.add_member(:scheduled_query_configuration, Shapes::ShapeRef.new(shape: ScheduledQueryConfiguration, location_name: "ScheduledQueryConfiguration"))
|
|
923
|
+
LogAlarm.add_member(:query_results_to_evaluate, Shapes::ShapeRef.new(shape: QueryResultsToEvaluate, location_name: "QueryResultsToEvaluate"))
|
|
924
|
+
LogAlarm.add_member(:query_results_to_alarm, Shapes::ShapeRef.new(shape: QueryResultsToAlarm, location_name: "QueryResultsToAlarm"))
|
|
925
|
+
LogAlarm.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold"))
|
|
926
|
+
LogAlarm.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "ComparisonOperator"))
|
|
927
|
+
LogAlarm.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
|
|
928
|
+
LogAlarm.add_member(:state_transitioned_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StateTransitionedTimestamp"))
|
|
929
|
+
LogAlarm.add_member(:evaluation_state, Shapes::ShapeRef.new(shape: EvaluationState, location_name: "EvaluationState"))
|
|
930
|
+
LogAlarm.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
|
|
931
|
+
LogAlarm.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
|
|
932
|
+
LogAlarm.struct_class = Types::LogAlarm
|
|
933
|
+
|
|
934
|
+
LogAlarms.member = Shapes::ShapeRef.new(shape: LogAlarm)
|
|
935
|
+
|
|
936
|
+
LogGroupIdentifiers.member = Shapes::ShapeRef.new(shape: AmazonResourceName)
|
|
937
|
+
|
|
851
938
|
ManagedRule.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
|
|
852
939
|
ManagedRule.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
|
853
940
|
ManagedRule.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
@@ -1062,6 +1149,23 @@ module Aws::CloudWatch
|
|
|
1062
1149
|
|
|
1063
1150
|
PutInsightRuleOutput.struct_class = Types::PutInsightRuleOutput
|
|
1064
1151
|
|
|
1152
|
+
PutLogAlarmInput.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "AlarmName"))
|
|
1153
|
+
PutLogAlarmInput.add_member(:alarm_description, Shapes::ShapeRef.new(shape: AlarmDescription, location_name: "AlarmDescription"))
|
|
1154
|
+
PutLogAlarmInput.add_member(:scheduled_query_configuration, Shapes::ShapeRef.new(shape: ScheduledQueryConfiguration, required: true, location_name: "ScheduledQueryConfiguration"))
|
|
1155
|
+
PutLogAlarmInput.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
|
|
1156
|
+
PutLogAlarmInput.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
|
|
1157
|
+
PutLogAlarmInput.add_member(:actions_enabled, Shapes::ShapeRef.new(shape: ActionsEnabled, location_name: "ActionsEnabled"))
|
|
1158
|
+
PutLogAlarmInput.add_member(:ok_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "OKActions"))
|
|
1159
|
+
PutLogAlarmInput.add_member(:alarm_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "AlarmActions"))
|
|
1160
|
+
PutLogAlarmInput.add_member(:insufficient_data_actions, Shapes::ShapeRef.new(shape: ResourceList, location_name: "InsufficientDataActions"))
|
|
1161
|
+
PutLogAlarmInput.add_member(:query_results_to_evaluate, Shapes::ShapeRef.new(shape: QueryResultsToEvaluate, required: true, location_name: "QueryResultsToEvaluate"))
|
|
1162
|
+
PutLogAlarmInput.add_member(:query_results_to_alarm, Shapes::ShapeRef.new(shape: QueryResultsToAlarm, required: true, location_name: "QueryResultsToAlarm"))
|
|
1163
|
+
PutLogAlarmInput.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, required: true, location_name: "Threshold"))
|
|
1164
|
+
PutLogAlarmInput.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator"))
|
|
1165
|
+
PutLogAlarmInput.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
|
|
1166
|
+
PutLogAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1167
|
+
PutLogAlarmInput.struct_class = Types::PutLogAlarmInput
|
|
1168
|
+
|
|
1065
1169
|
PutManagedInsightRulesInput.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRules, required: true, location_name: "ManagedRules"))
|
|
1066
1170
|
PutManagedInsightRulesInput.struct_class = Types::PutManagedInsightRulesInput
|
|
1067
1171
|
|
|
@@ -1118,6 +1222,9 @@ module Aws::CloudWatch
|
|
|
1118
1222
|
Range.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
1119
1223
|
Range.struct_class = Types::Range
|
|
1120
1224
|
|
|
1225
|
+
ResourceConflict.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1226
|
+
ResourceConflict.struct_class = Types::ResourceConflict
|
|
1227
|
+
|
|
1121
1228
|
ResourceList.member = Shapes::ShapeRef.new(shape: ResourceName)
|
|
1122
1229
|
|
|
1123
1230
|
ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
@@ -1135,6 +1242,20 @@ module Aws::CloudWatch
|
|
|
1135
1242
|
Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone"))
|
|
1136
1243
|
Schedule.struct_class = Types::Schedule
|
|
1137
1244
|
|
|
1245
|
+
ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
|
1246
|
+
ScheduleConfiguration.add_member(:start_time_offset, Shapes::ShapeRef.new(shape: StartTimeOffset, location_name: "StartTimeOffset"))
|
|
1247
|
+
ScheduleConfiguration.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: EndTimeOffset, location_name: "EndTimeOffset"))
|
|
1248
|
+
ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
|
|
1249
|
+
|
|
1250
|
+
ScheduledQueryConfiguration.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
|
|
1251
|
+
ScheduledQueryConfiguration.add_member(:log_group_identifiers, Shapes::ShapeRef.new(shape: LogGroupIdentifiers, location_name: "LogGroupIdentifiers"))
|
|
1252
|
+
ScheduledQueryConfiguration.add_member(:query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "QueryARN"))
|
|
1253
|
+
ScheduledQueryConfiguration.add_member(:scheduled_query_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryRoleARN"))
|
|
1254
|
+
ScheduledQueryConfiguration.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
|
|
1255
|
+
ScheduledQueryConfiguration.add_member(:aggregation_expression, Shapes::ShapeRef.new(shape: AggregationExpression, required: true, location_name: "AggregationExpression"))
|
|
1256
|
+
ScheduledQueryConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1257
|
+
ScheduledQueryConfiguration.struct_class = Types::ScheduledQueryConfiguration
|
|
1258
|
+
|
|
1138
1259
|
SetAlarmStateInput.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "AlarmName"))
|
|
1139
1260
|
SetAlarmStateInput.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, required: true, location_name: "StateValue"))
|
|
1140
1261
|
SetAlarmStateInput.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "StateReason"))
|
|
@@ -1221,6 +1342,19 @@ module Aws::CloudWatch
|
|
|
1221
1342
|
"xmlNamespace" => "http://monitoring.amazonaws.com/doc/2010-08-01/",
|
|
1222
1343
|
}
|
|
1223
1344
|
|
|
1345
|
+
api.add_operation(:associate_dataset_kms_key, Seahorse::Model::Operation.new.tap do |o|
|
|
1346
|
+
o.name = "AssociateDatasetKmsKey"
|
|
1347
|
+
o.http_method = "POST"
|
|
1348
|
+
o.http_request_uri = "/"
|
|
1349
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateDatasetKmsKeyInput)
|
|
1350
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateDatasetKmsKeyOutput)
|
|
1351
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
|
|
1352
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
|
1353
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1354
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
|
|
1355
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1356
|
+
end)
|
|
1357
|
+
|
|
1224
1358
|
api.add_operation(:delete_alarm_mute_rule, Seahorse::Model::Operation.new.tap do |o|
|
|
1225
1359
|
o.name = "DeleteAlarmMuteRule"
|
|
1226
1360
|
o.http_method = "POST"
|
|
@@ -1236,6 +1370,7 @@ module Aws::CloudWatch
|
|
|
1236
1370
|
o.input = Shapes::ShapeRef.new(shape: DeleteAlarmsInput)
|
|
1237
1371
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1238
1372
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflict)
|
|
1239
1374
|
end)
|
|
1240
1375
|
|
|
1241
1376
|
api.add_operation(:delete_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1382,6 +1517,16 @@ module Aws::CloudWatch
|
|
|
1382
1517
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
|
1383
1518
|
end)
|
|
1384
1519
|
|
|
1520
|
+
api.add_operation(:disassociate_dataset_kms_key, Seahorse::Model::Operation.new.tap do |o|
|
|
1521
|
+
o.name = "DisassociateDatasetKmsKey"
|
|
1522
|
+
o.http_method = "POST"
|
|
1523
|
+
o.http_request_uri = "/"
|
|
1524
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateDatasetKmsKeyInput)
|
|
1525
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateDatasetKmsKeyOutput)
|
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1528
|
+
end)
|
|
1529
|
+
|
|
1385
1530
|
api.add_operation(:enable_alarm_actions, Seahorse::Model::Operation.new.tap do |o|
|
|
1386
1531
|
o.name = "EnableAlarmActions"
|
|
1387
1532
|
o.http_method = "POST"
|
|
@@ -1421,6 +1566,15 @@ module Aws::CloudWatch
|
|
|
1421
1566
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
|
|
1422
1567
|
end)
|
|
1423
1568
|
|
|
1569
|
+
api.add_operation(:get_dataset, Seahorse::Model::Operation.new.tap do |o|
|
|
1570
|
+
o.name = "GetDataset"
|
|
1571
|
+
o.http_method = "POST"
|
|
1572
|
+
o.http_request_uri = "/"
|
|
1573
|
+
o.input = Shapes::ShapeRef.new(shape: GetDatasetInput)
|
|
1574
|
+
o.output = Shapes::ShapeRef.new(shape: GetDatasetOutput)
|
|
1575
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1576
|
+
end)
|
|
1577
|
+
|
|
1424
1578
|
api.add_operation(:get_insight_rule_report, Seahorse::Model::Operation.new.tap do |o|
|
|
1425
1579
|
o.name = "GetInsightRuleReport"
|
|
1426
1580
|
o.http_method = "POST"
|
|
@@ -1633,6 +1787,16 @@ module Aws::CloudWatch
|
|
|
1633
1787
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1634
1788
|
end)
|
|
1635
1789
|
|
|
1790
|
+
api.add_operation(:put_log_alarm, Seahorse::Model::Operation.new.tap do |o|
|
|
1791
|
+
o.name = "PutLogAlarm"
|
|
1792
|
+
o.http_method = "POST"
|
|
1793
|
+
o.http_request_uri = "/"
|
|
1794
|
+
o.input = Shapes::ShapeRef.new(shape: PutLogAlarmInput)
|
|
1795
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1796
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
|
1797
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflict)
|
|
1798
|
+
end)
|
|
1799
|
+
|
|
1636
1800
|
api.add_operation(:put_managed_insight_rules, Seahorse::Model::Operation.new.tap do |o|
|
|
1637
1801
|
o.name = "PutManagedInsightRules"
|
|
1638
1802
|
o.http_method = "POST"
|
|
@@ -360,7 +360,7 @@ module Aws::CloudWatch
|
|
|
360
360
|
#
|
|
361
361
|
# composite_alarm.describe_history({
|
|
362
362
|
# alarm_contributor_id: "ContributorId",
|
|
363
|
-
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm
|
|
363
|
+
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm, LogAlarm
|
|
364
364
|
# history_item_type: "ConfigurationUpdate", # accepts ConfigurationUpdate, StateUpdate, Action, AlarmContributorStateUpdate, AlarmContributorAction
|
|
365
365
|
# start_date: Time.now,
|
|
366
366
|
# end_date: Time.now,
|
|
@@ -374,8 +374,8 @@ module Aws::CloudWatch
|
|
|
374
374
|
# alarm history results.
|
|
375
375
|
# @option options [Array<String>] :alarm_types
|
|
376
376
|
# Use this parameter to specify whether you want the operation to return
|
|
377
|
-
# metric alarms or
|
|
378
|
-
# metric alarms are returned.
|
|
377
|
+
# metric alarms, composite alarms, or log alarms. If you omit this
|
|
378
|
+
# parameter, only metric alarms are returned.
|
|
379
379
|
# @option options [String] :history_item_type
|
|
380
380
|
# The type of alarm histories to retrieve.
|
|
381
381
|
# @option options [Time,DateTime,Date,Integer,String] :start_date
|
|
@@ -42,11 +42,15 @@ module Aws::CloudWatch
|
|
|
42
42
|
# * This error class is not used. `InvalidParameterCombination` is used during parsing instead.
|
|
43
43
|
# * {InvalidParameterValueException}
|
|
44
44
|
# * This error class is not used. `InvalidParameterValue` is used during parsing instead.
|
|
45
|
+
# * {KmsAccessDeniedException}
|
|
46
|
+
# * {KmsKeyDisabledException}
|
|
47
|
+
# * {KmsKeyNotFoundException}
|
|
45
48
|
# * {LimitExceededException}
|
|
46
49
|
# * {LimitExceededFault}
|
|
47
50
|
# * This error class is not used. `LimitExceeded` is used during parsing instead.
|
|
48
51
|
# * {MissingRequiredParameterException}
|
|
49
52
|
# * This error class is not used. `MissingParameter` is used during parsing instead.
|
|
53
|
+
# * {ResourceConflict}
|
|
50
54
|
# * {ResourceNotFound}
|
|
51
55
|
# * {ResourceNotFoundException}
|
|
52
56
|
#
|
|
@@ -203,6 +207,51 @@ module Aws::CloudWatch
|
|
|
203
207
|
end
|
|
204
208
|
end
|
|
205
209
|
|
|
210
|
+
class KmsAccessDeniedException < ServiceError
|
|
211
|
+
|
|
212
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
213
|
+
# @param [String] message
|
|
214
|
+
# @param [Aws::CloudWatch::Types::KmsAccessDeniedException] data
|
|
215
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
216
|
+
super(context, message, data)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# @return [String]
|
|
220
|
+
def message
|
|
221
|
+
@message || @data[:message]
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
class KmsKeyDisabledException < ServiceError
|
|
226
|
+
|
|
227
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
228
|
+
# @param [String] message
|
|
229
|
+
# @param [Aws::CloudWatch::Types::KmsKeyDisabledException] data
|
|
230
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
231
|
+
super(context, message, data)
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# @return [String]
|
|
235
|
+
def message
|
|
236
|
+
@message || @data[:message]
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
class KmsKeyNotFoundException < ServiceError
|
|
241
|
+
|
|
242
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
243
|
+
# @param [String] message
|
|
244
|
+
# @param [Aws::CloudWatch::Types::KmsKeyNotFoundException] data
|
|
245
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
246
|
+
super(context, message, data)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# @return [String]
|
|
250
|
+
def message
|
|
251
|
+
@message || @data[:message]
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
206
255
|
class LimitExceededException < ServiceError
|
|
207
256
|
|
|
208
257
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -247,6 +296,21 @@ module Aws::CloudWatch
|
|
|
247
296
|
end
|
|
248
297
|
end
|
|
249
298
|
|
|
299
|
+
class ResourceConflict < ServiceError
|
|
300
|
+
|
|
301
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
302
|
+
# @param [String] message
|
|
303
|
+
# @param [Aws::CloudWatch::Types::ResourceConflict] data
|
|
304
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
305
|
+
super(context, message, data)
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# @return [String]
|
|
309
|
+
def message
|
|
310
|
+
@message || @data[:message]
|
|
311
|
+
end
|
|
312
|
+
end
|
|
313
|
+
|
|
250
314
|
class ResourceNotFound < ServiceError
|
|
251
315
|
|
|
252
316
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -49,7 +49,7 @@ module Aws::CloudWatch
|
|
|
49
49
|
# alarms = cloud_watch.alarms({
|
|
50
50
|
# alarm_names: ["AlarmName"],
|
|
51
51
|
# alarm_name_prefix: "AlarmNamePrefix",
|
|
52
|
-
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm
|
|
52
|
+
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm, LogAlarm
|
|
53
53
|
# children_of_alarm_name: "AlarmName",
|
|
54
54
|
# parents_of_alarm_name: "AlarmName",
|
|
55
55
|
# state_value: "OK", # accepts OK, ALARM, INSUFFICIENT_DATA
|
|
@@ -66,16 +66,19 @@ module Aws::CloudWatch
|
|
|
66
66
|
# If this parameter is specified, you cannot specify `AlarmNames`.
|
|
67
67
|
# @option options [Array<String>] :alarm_types
|
|
68
68
|
# Use this parameter to specify whether you want the operation to return
|
|
69
|
-
# metric alarms or
|
|
70
|
-
# metric alarms are returned, even if composite alarms
|
|
71
|
-
# account.
|
|
69
|
+
# metric alarms, composite alarms, or log alarms. If you omit this
|
|
70
|
+
# parameter, only metric alarms are returned, even if composite alarms
|
|
71
|
+
# or log alarms exist in the account.
|
|
72
72
|
#
|
|
73
73
|
# For example, if you omit this parameter or specify `MetricAlarms`, the
|
|
74
74
|
# operation returns only a list of metric alarms. It does not return any
|
|
75
|
-
# composite alarms, even if
|
|
75
|
+
# composite alarms or log alarms, even if they exist in the account.
|
|
76
76
|
#
|
|
77
77
|
# If you specify `CompositeAlarms`, the operation returns only a list of
|
|
78
|
-
# composite alarms, and does not return any metric alarms.
|
|
78
|
+
# composite alarms, and does not return any metric alarms or log alarms.
|
|
79
|
+
#
|
|
80
|
+
# If you specify `LogAlarms`, the operation returns only a list of log
|
|
81
|
+
# alarms, and does not return any metric alarms or composite alarms.
|
|
79
82
|
# @option options [String] :children_of_alarm_name
|
|
80
83
|
# If you use this parameter and specify the name of a composite alarm,
|
|
81
84
|
# the operation returns information about the "children" alarms of the
|
|
@@ -157,7 +160,7 @@ module Aws::CloudWatch
|
|
|
157
160
|
# composite_alarms = cloud_watch.composite_alarms({
|
|
158
161
|
# alarm_names: ["AlarmName"],
|
|
159
162
|
# alarm_name_prefix: "AlarmNamePrefix",
|
|
160
|
-
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm
|
|
163
|
+
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm, LogAlarm
|
|
161
164
|
# children_of_alarm_name: "AlarmName",
|
|
162
165
|
# parents_of_alarm_name: "AlarmName",
|
|
163
166
|
# state_value: "OK", # accepts OK, ALARM, INSUFFICIENT_DATA
|
|
@@ -174,16 +177,19 @@ module Aws::CloudWatch
|
|
|
174
177
|
# If this parameter is specified, you cannot specify `AlarmNames`.
|
|
175
178
|
# @option options [Array<String>] :alarm_types
|
|
176
179
|
# Use this parameter to specify whether you want the operation to return
|
|
177
|
-
# metric alarms or
|
|
178
|
-
# metric alarms are returned, even if composite alarms
|
|
179
|
-
# account.
|
|
180
|
+
# metric alarms, composite alarms, or log alarms. If you omit this
|
|
181
|
+
# parameter, only metric alarms are returned, even if composite alarms
|
|
182
|
+
# or log alarms exist in the account.
|
|
180
183
|
#
|
|
181
184
|
# For example, if you omit this parameter or specify `MetricAlarms`, the
|
|
182
185
|
# operation returns only a list of metric alarms. It does not return any
|
|
183
|
-
# composite alarms, even if
|
|
186
|
+
# composite alarms or log alarms, even if they exist in the account.
|
|
184
187
|
#
|
|
185
188
|
# If you specify `CompositeAlarms`, the operation returns only a list of
|
|
186
|
-
# composite alarms, and does not return any metric alarms.
|
|
189
|
+
# composite alarms, and does not return any metric alarms or log alarms.
|
|
190
|
+
#
|
|
191
|
+
# If you specify `LogAlarms`, the operation returns only a list of log
|
|
192
|
+
# alarms, and does not return any metric alarms or composite alarms.
|
|
187
193
|
# @option options [String] :children_of_alarm_name
|
|
188
194
|
# If you use this parameter and specify the name of a composite alarm,
|
|
189
195
|
# the operation returns information about the "children" alarms of the
|