Skip to content

Commit 89382ea

Browse files
author
AWS
committed
Amazon CloudWatch Update: Adding support for the suppression of Composite Alarm actions
1 parent 9c65867 commit 89382ea

File tree

2 files changed

+64
-2
lines changed

2 files changed

+64
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudWatch",
4+
"contributor": "",
5+
"description": "Adding support for the suppression of Composite Alarm actions"
6+
}

services/cloudwatch/src/main/resources/codegen-resources/service-2.json

Lines changed: 58 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,19 @@
619619
"min":1
620620
},
621621
"ActionsEnabled":{"type":"boolean"},
622+
"ActionsSuppressedBy":{
623+
"type":"string",
624+
"enum":[
625+
"WaitPeriod",
626+
"ExtensionPeriod",
627+
"Alarm"
628+
]
629+
},
630+
"ActionsSuppressedReason":{
631+
"type":"string",
632+
"max":1024,
633+
"min":0
634+
},
622635
"AlarmArn":{
623636
"type":"string",
624637
"max":1600,
@@ -863,11 +876,35 @@
863876
},
864877
"StateUpdatedTimestamp":{
865878
"shape":"Timestamp",
866-
"documentation":"<p>The time stamp of the last update to the alarm state.</p>"
879+
"documentation":"<p>Tracks the timestamp of any state update, even if <code>StateValue</code> doesn't change.</p>"
867880
},
868881
"StateValue":{
869882
"shape":"StateValue",
870883
"documentation":"<p>The state value for the alarm.</p>"
884+
},
885+
"StateTransitionedTimestamp":{
886+
"shape":"Timestamp",
887+
"documentation":"<p> The timestamp of the last change to the alarm's <code>StateValue</code>. </p>"
888+
},
889+
"ActionsSuppressedBy":{
890+
"shape":"ActionsSuppressedBy",
891+
"documentation":"<p> When the value is <code>ALARM</code>, it means that the actions are suppressed because the suppressor alarm is in <code>ALARM</code> When the value is <code>WaitPeriod</code>, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the <code>ALARM</code> state. The maximum waiting time is as specified in <code>ActionsSuppressorWaitPeriod</code>. After this time, the composite alarm performs its actions. When the value is <code>ExtensionPeriod</code>, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the <code>ALARM</code> state. The maximum waiting time is as specified in <code>ActionsSuppressorExtensionPeriod</code>. After this time, the composite alarm performs its actions. </p>"
892+
},
893+
"ActionsSuppressedReason":{
894+
"shape":"ActionsSuppressedReason",
895+
"documentation":"<p> Captures the reason for action suppression. </p>"
896+
},
897+
"ActionsSuppressor":{
898+
"shape":"AlarmArn",
899+
"documentation":"<p> Actions will be suppressed if the suppressor alarm is in the <code>ALARM</code> state. <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. </p>"
900+
},
901+
"ActionsSuppressorWaitPeriod":{
902+
"shape":"SuppressorPeriod",
903+
"documentation":"<p> The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>WaitPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
904+
},
905+
"ActionsSuppressorExtensionPeriod":{
906+
"shape":"SuppressorPeriod",
907+
"documentation":"<p> The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>ExtensionPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
871908
}
872909
},
873910
"documentation":"<p>The details about a composite alarm.</p>",
@@ -884,7 +921,13 @@
884921
"StateReason",
885922
"StateReasonData",
886923
"StateUpdatedTimestamp",
887-
"StateValue"
924+
"StateValue",
925+
"StateTransitionedTimestamp",
926+
"ActionsSuppressedBy",
927+
"ActionsSuppressedReason",
928+
"ActionsSuppressor",
929+
"ActionsSuppressorWaitPeriod",
930+
"ActionsSuppressorExtensionPeriod"
888931
]
889932
},
890933
"CompositeAlarms":{
@@ -2889,6 +2932,18 @@
28892932
"Tags":{
28902933
"shape":"TagList",
28912934
"documentation":"<p>A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.</p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p>"
2935+
},
2936+
"ActionsSuppressor":{
2937+
"shape":"AlarmArn",
2938+
"documentation":"<p> Actions will be suppressed if the suppressor alarm is in the <code>ALARM</code> state. <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. </p>"
2939+
},
2940+
"ActionsSuppressorWaitPeriod":{
2941+
"shape":"SuppressorPeriod",
2942+
"documentation":"<p> The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>WaitPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
2943+
},
2944+
"ActionsSuppressorExtensionPeriod":{
2945+
"shape":"SuppressorPeriod",
2946+
"documentation":"<p> The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>ExtensionPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
28922947
}
28932948
}
28942949
},
@@ -3377,6 +3432,7 @@
33773432
"type":"integer",
33783433
"min":1
33793434
},
3435+
"SuppressorPeriod":{"type":"integer"},
33803436
"Tag":{
33813437
"type":"structure",
33823438
"required":[

0 commit comments

Comments
 (0)