aws-sdk-ssm 1.140.0 → 1.141.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd86e0858db6853405cc11ac2b6a139f11e984066349650193b1775683f18f28
4
- data.tar.gz: 5198025f1f86c950999b4d81839ef921ccd05d31e2ba55d6a2dfbec9c3e10d42
3
+ metadata.gz: acb90d2a1eb4eeaffe349e134aa509ef8ed8bdf57f17cf8d099d0f4c1b7cf108
4
+ data.tar.gz: 285c97fb797874331445c6ccf9e0d97ee4898292d1ea3a75c6141974e3eeb005
5
5
  SHA512:
6
- metadata.gz: 8d8e07af9fad6f9452bd9f846ccce2922b9a575d0fae3689776e7d5b4eb669aaab4fedca9f90c4bbbeaa50af90c4094c9aa55912a9186456bc3c9177af916195
7
- data.tar.gz: 6048e06d8127eaefbea73b98e50573acc5755d8fdb8fc6e19ca0f015bd1aa18a34b3563033d7b2380d5a8bcb5a3c2062d29883901780ce72a1bdbc1eddaec2c0
6
+ metadata.gz: 59f81005cfa18fbd733706059b883cfab24237edb0b1de68eae982a25f62b86d7f4c8182127fbc033e780548aceae94f3bd944391c9667f4d28268f585d0c49f
7
+ data.tar.gz: 151b705f4bc1423a5fe95d46ccacbfadec13de2fb0f82f6de129e112460f729bcf306a37bc754d9c48cf9f5a565f6e417c107ba505dc19f1a8bae9490a229871
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.141.0 (2022-09-26)
5
+ ------------------
6
+
7
+ * Feature - This release includes support for applying a CloudWatch alarm to Systems Manager capabilities like Automation, Run Command, State Manager, and Maintenance Windows.
8
+
4
9
  1.140.0 (2022-09-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.140.0
1
+ 1.141.0
@@ -899,11 +899,15 @@ module Aws::SSM
899
899
  # Targets and TargetMaps can't be specified together.
900
900
  #
901
901
  # @option params [Array<Types::Tag>] :tags
902
- # Adds or overwrites one or more tags for a State Manager association.
903
- # *Tags* are metadata that you can assign to your Amazon Web Services
904
- # resources. Tags enable you to categorize your resources in different
905
- # ways, for example, by purpose, owner, or environment. Each tag
906
- # consists of a key and an optional value, both of which you define.
902
+ # Optional metadata that you assign to a resource. Tags enable you to
903
+ # categorize a resource in different ways, such as by purpose, owner, or
904
+ # environment. For example, you might want to tag an association to
905
+ # identify the type of resource to which it applies, the environment, or
906
+ # the purpose of the association.
907
+ #
908
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
909
+ # The details for the CloudWatch alarm you want to apply to an
910
+ # automation or command.
907
911
  #
908
912
  # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
909
913
  #
@@ -961,6 +965,14 @@ module Aws::SSM
961
965
  # value: "TagValue", # required
962
966
  # },
963
967
  # ],
968
+ # alarm_configuration: {
969
+ # ignore_poll_alarm_failure: false,
970
+ # alarms: [ # required
971
+ # {
972
+ # name: "AlarmName", # required
973
+ # },
974
+ # ],
975
+ # },
964
976
  # })
965
977
  #
966
978
  # @example Response structure
@@ -1015,6 +1027,12 @@ module Aws::SSM
1015
1027
  # resp.association_description.target_maps[0] #=> Hash
1016
1028
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
1017
1029
  # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
1030
+ # resp.association_description.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1031
+ # resp.association_description.alarm_configuration.alarms #=> Array
1032
+ # resp.association_description.alarm_configuration.alarms[0].name #=> String
1033
+ # resp.association_description.triggered_alarms #=> Array
1034
+ # resp.association_description.triggered_alarms[0].name #=> String
1035
+ # resp.association_description.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
1018
1036
  #
1019
1037
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
1020
1038
  #
@@ -1093,6 +1111,14 @@ module Aws::SSM
1093
1111
  # "TargetMapKey" => ["TargetMapValue"],
1094
1112
  # },
1095
1113
  # ],
1114
+ # alarm_configuration: {
1115
+ # ignore_poll_alarm_failure: false,
1116
+ # alarms: [ # required
1117
+ # {
1118
+ # name: "AlarmName", # required
1119
+ # },
1120
+ # ],
1121
+ # },
1096
1122
  # },
1097
1123
  # ],
1098
1124
  # })
@@ -1150,6 +1176,12 @@ module Aws::SSM
1150
1176
  # resp.successful[0].target_maps[0] #=> Hash
1151
1177
  # resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array
1152
1178
  # resp.successful[0].target_maps[0]["TargetMapKey"][0] #=> String
1179
+ # resp.successful[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1180
+ # resp.successful[0].alarm_configuration.alarms #=> Array
1181
+ # resp.successful[0].alarm_configuration.alarms[0].name #=> String
1182
+ # resp.successful[0].triggered_alarms #=> Array
1183
+ # resp.successful[0].triggered_alarms[0].name #=> String
1184
+ # resp.successful[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
1153
1185
  # resp.failed #=> Array
1154
1186
  # resp.failed[0].entry.name #=> String
1155
1187
  # resp.failed[0].entry.instance_id #=> String
@@ -1187,6 +1219,9 @@ module Aws::SSM
1187
1219
  # resp.failed[0].entry.target_maps[0] #=> Hash
1188
1220
  # resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array
1189
1221
  # resp.failed[0].entry.target_maps[0]["TargetMapKey"][0] #=> String
1222
+ # resp.failed[0].entry.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1223
+ # resp.failed[0].entry.alarm_configuration.alarms #=> Array
1224
+ # resp.failed[0].entry.alarm_configuration.alarms[0].name #=> String
1190
1225
  # resp.failed[0].message #=> String
1191
1226
  # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
1192
1227
  #
@@ -2683,6 +2718,12 @@ module Aws::SSM
2683
2718
  # resp.association_description.target_maps[0] #=> Hash
2684
2719
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
2685
2720
  # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
2721
+ # resp.association_description.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2722
+ # resp.association_description.alarm_configuration.alarms #=> Array
2723
+ # resp.association_description.alarm_configuration.alarms[0].name #=> String
2724
+ # resp.association_description.triggered_alarms #=> Array
2725
+ # resp.association_description.triggered_alarms[0].name #=> String
2726
+ # resp.association_description.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
2686
2727
  #
2687
2728
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
2688
2729
  #
@@ -2826,6 +2867,12 @@ module Aws::SSM
2826
2867
  # resp.association_executions[0].created_time #=> Time
2827
2868
  # resp.association_executions[0].last_execution_date #=> Time
2828
2869
  # resp.association_executions[0].resource_count_by_status #=> String
2870
+ # resp.association_executions[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2871
+ # resp.association_executions[0].alarm_configuration.alarms #=> Array
2872
+ # resp.association_executions[0].alarm_configuration.alarms[0].name #=> String
2873
+ # resp.association_executions[0].triggered_alarms #=> Array
2874
+ # resp.association_executions[0].triggered_alarms[0].name #=> String
2875
+ # resp.association_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
2829
2876
  # resp.next_token #=> String
2830
2877
  #
2831
2878
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutions AWS API Documentation
@@ -2907,6 +2954,12 @@ module Aws::SSM
2907
2954
  # resp.automation_execution_metadata_list[0].max_errors #=> String
2908
2955
  # resp.automation_execution_metadata_list[0].target #=> String
2909
2956
  # resp.automation_execution_metadata_list[0].automation_type #=> String, one of "CrossAccount", "Local"
2957
+ # resp.automation_execution_metadata_list[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2958
+ # resp.automation_execution_metadata_list[0].alarm_configuration.alarms #=> Array
2959
+ # resp.automation_execution_metadata_list[0].alarm_configuration.alarms[0].name #=> String
2960
+ # resp.automation_execution_metadata_list[0].triggered_alarms #=> Array
2961
+ # resp.automation_execution_metadata_list[0].triggered_alarms[0].name #=> String
2962
+ # resp.automation_execution_metadata_list[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
2910
2963
  # resp.automation_execution_metadata_list[0].automation_subtype #=> String, one of "ChangeRequest"
2911
2964
  # resp.automation_execution_metadata_list[0].scheduled_time #=> Time
2912
2965
  # resp.automation_execution_metadata_list[0].runbooks #=> Array
@@ -4036,6 +4089,12 @@ module Aws::SSM
4036
4089
  # resp.window_execution_task_identities[0].end_time #=> Time
4037
4090
  # resp.window_execution_task_identities[0].task_arn #=> String
4038
4091
  # resp.window_execution_task_identities[0].task_type #=> String, one of "RUN_COMMAND", "AUTOMATION", "STEP_FUNCTIONS", "LAMBDA"
4092
+ # resp.window_execution_task_identities[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
4093
+ # resp.window_execution_task_identities[0].alarm_configuration.alarms #=> Array
4094
+ # resp.window_execution_task_identities[0].alarm_configuration.alarms[0].name #=> String
4095
+ # resp.window_execution_task_identities[0].triggered_alarms #=> Array
4096
+ # resp.window_execution_task_identities[0].triggered_alarms[0].name #=> String
4097
+ # resp.window_execution_task_identities[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
4039
4098
  # resp.next_token #=> String
4040
4099
  #
4041
4100
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks AWS API Documentation
@@ -4323,6 +4382,9 @@ module Aws::SSM
4323
4382
  # resp.tasks[0].name #=> String
4324
4383
  # resp.tasks[0].description #=> String
4325
4384
  # resp.tasks[0].cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
4385
+ # resp.tasks[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
4386
+ # resp.tasks[0].alarm_configuration.alarms #=> Array
4387
+ # resp.tasks[0].alarm_configuration.alarms[0].name #=> String
4326
4388
  # resp.next_token #=> String
4327
4389
  #
4328
4390
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks AWS API Documentation
@@ -5169,6 +5231,12 @@ module Aws::SSM
5169
5231
  # resp.automation_execution.progress_counters.failed_steps #=> Integer
5170
5232
  # resp.automation_execution.progress_counters.cancelled_steps #=> Integer
5171
5233
  # resp.automation_execution.progress_counters.timed_out_steps #=> Integer
5234
+ # resp.automation_execution.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
5235
+ # resp.automation_execution.alarm_configuration.alarms #=> Array
5236
+ # resp.automation_execution.alarm_configuration.alarms[0].name #=> String
5237
+ # resp.automation_execution.triggered_alarms #=> Array
5238
+ # resp.automation_execution.triggered_alarms[0].name #=> String
5239
+ # resp.automation_execution.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
5172
5240
  # resp.automation_execution.automation_subtype #=> String, one of "ChangeRequest"
5173
5241
  # resp.automation_execution.scheduled_time #=> Time
5174
5242
  # resp.automation_execution.runbooks #=> Array
@@ -5886,6 +5954,8 @@ module Aws::SSM
5886
5954
  # * {Types::GetMaintenanceWindowExecutionTaskResult#status_details #status_details} => String
5887
5955
  # * {Types::GetMaintenanceWindowExecutionTaskResult#start_time #start_time} => Time
5888
5956
  # * {Types::GetMaintenanceWindowExecutionTaskResult#end_time #end_time} => Time
5957
+ # * {Types::GetMaintenanceWindowExecutionTaskResult#alarm_configuration #alarm_configuration} => Types::AlarmConfiguration
5958
+ # * {Types::GetMaintenanceWindowExecutionTaskResult#triggered_alarms #triggered_alarms} => Array&lt;Types::AlarmStateInformation&gt;
5889
5959
  #
5890
5960
  # @example Request syntax with placeholder values
5891
5961
  #
@@ -5912,6 +5982,12 @@ module Aws::SSM
5912
5982
  # resp.status_details #=> String
5913
5983
  # resp.start_time #=> Time
5914
5984
  # resp.end_time #=> Time
5985
+ # resp.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
5986
+ # resp.alarm_configuration.alarms #=> Array
5987
+ # resp.alarm_configuration.alarms[0].name #=> String
5988
+ # resp.triggered_alarms #=> Array
5989
+ # resp.triggered_alarms[0].name #=> String
5990
+ # resp.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
5915
5991
  #
5916
5992
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask AWS API Documentation
5917
5993
  #
@@ -6019,6 +6095,7 @@ module Aws::SSM
6019
6095
  # * {Types::GetMaintenanceWindowTaskResult#name #name} => String
6020
6096
  # * {Types::GetMaintenanceWindowTaskResult#description #description} => String
6021
6097
  # * {Types::GetMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
6098
+ # * {Types::GetMaintenanceWindowTaskResult#alarm_configuration #alarm_configuration} => Types::AlarmConfiguration
6022
6099
  #
6023
6100
  # @example Request syntax with placeholder values
6024
6101
  #
@@ -6076,6 +6153,9 @@ module Aws::SSM
6076
6153
  # resp.name #=> String
6077
6154
  # resp.description #=> String
6078
6155
  # resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
6156
+ # resp.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
6157
+ # resp.alarm_configuration.alarms #=> Array
6158
+ # resp.alarm_configuration.alarms[0].name #=> String
6079
6159
  #
6080
6160
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask AWS API Documentation
6081
6161
  #
@@ -7176,6 +7256,12 @@ module Aws::SSM
7176
7256
  # resp.commands[0].cloud_watch_output_config.cloud_watch_log_group_name #=> String
7177
7257
  # resp.commands[0].cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
7178
7258
  # resp.commands[0].timeout_seconds #=> Integer
7259
+ # resp.commands[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
7260
+ # resp.commands[0].alarm_configuration.alarms #=> Array
7261
+ # resp.commands[0].alarm_configuration.alarms[0].name #=> String
7262
+ # resp.commands[0].triggered_alarms #=> Array
7263
+ # resp.commands[0].triggered_alarms[0].name #=> String
7264
+ # resp.commands[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
7179
7265
  # resp.next_token #=> String
7180
7266
  #
7181
7267
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands AWS API Documentation
@@ -8838,6 +8924,10 @@ module Aws::SSM
8838
8924
  #
8839
8925
  # The status for tasks that are not completed is `TIMED_OUT`.
8840
8926
  #
8927
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
8928
+ # The CloudWatch alarm you want to apply to your maintenance window
8929
+ # task.
8930
+ #
8841
8931
  # @return [Types::RegisterTaskWithMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8842
8932
  #
8843
8933
  # * {Types::RegisterTaskWithMaintenanceWindowResult#window_task_id #window_task_id} => String
@@ -8911,6 +9001,14 @@ module Aws::SSM
8911
9001
  # description: "MaintenanceWindowDescription",
8912
9002
  # client_token: "ClientToken",
8913
9003
  # cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
9004
+ # alarm_configuration: {
9005
+ # ignore_poll_alarm_failure: false,
9006
+ # alarms: [ # required
9007
+ # {
9008
+ # name: "AlarmName", # required
9009
+ # },
9010
+ # ],
9011
+ # },
8914
9012
  # })
8915
9013
  #
8916
9014
  # @example Response structure
@@ -9301,6 +9399,9 @@ module Aws::SSM
9301
9399
  # to Amazon CloudWatch Logs. Run Command is a capability of Amazon Web
9302
9400
  # Services Systems Manager.
9303
9401
  #
9402
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
9403
+ # The CloudWatch alarm you want to apply to your command.
9404
+ #
9304
9405
  # @return [Types::SendCommandResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9305
9406
  #
9306
9407
  # * {Types::SendCommandResult#command #command} => Types::Command
@@ -9339,6 +9440,14 @@ module Aws::SSM
9339
9440
  # cloud_watch_log_group_name: "CloudWatchLogGroupName",
9340
9441
  # cloud_watch_output_enabled: false,
9341
9442
  # },
9443
+ # alarm_configuration: {
9444
+ # ignore_poll_alarm_failure: false,
9445
+ # alarms: [ # required
9446
+ # {
9447
+ # name: "AlarmName", # required
9448
+ # },
9449
+ # ],
9450
+ # },
9342
9451
  # })
9343
9452
  #
9344
9453
  # @example Response structure
@@ -9377,6 +9486,12 @@ module Aws::SSM
9377
9486
  # resp.command.cloud_watch_output_config.cloud_watch_log_group_name #=> String
9378
9487
  # resp.command.cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
9379
9488
  # resp.command.timeout_seconds #=> Integer
9489
+ # resp.command.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
9490
+ # resp.command.alarm_configuration.alarms #=> Array
9491
+ # resp.command.alarm_configuration.alarms[0].name #=> String
9492
+ # resp.command.triggered_alarms #=> Array
9493
+ # resp.command.triggered_alarms[0].name #=> String
9494
+ # resp.command.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
9380
9495
  #
9381
9496
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand AWS API Documentation
9382
9497
  #
@@ -9504,6 +9619,9 @@ module Aws::SSM
9504
9619
  #
9505
9620
  # </note>
9506
9621
  #
9622
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
9623
+ # The CloudWatch alarm you want to apply to your automation.
9624
+ #
9507
9625
  # @return [Types::StartAutomationExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9508
9626
  #
9509
9627
  # * {Types::StartAutomationExecutionResult#automation_execution_id #automation_execution_id} => String
@@ -9547,6 +9665,14 @@ module Aws::SSM
9547
9665
  # value: "TagValue", # required
9548
9666
  # },
9549
9667
  # ],
9668
+ # alarm_configuration: {
9669
+ # ignore_poll_alarm_failure: false,
9670
+ # alarms: [ # required
9671
+ # {
9672
+ # name: "AlarmName", # required
9673
+ # },
9674
+ # ],
9675
+ # },
9550
9676
  # })
9551
9677
  #
9552
9678
  # @example Response structure
@@ -10094,6 +10220,10 @@ module Aws::SSM
10094
10220
  # A key-value mapping of document parameters to target resources. Both
10095
10221
  # Targets and TargetMaps can't be specified together.
10096
10222
  #
10223
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
10224
+ # The details for the CloudWatch alarm you want to apply to an
10225
+ # automation or command.
10226
+ #
10097
10227
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10098
10228
  #
10099
10229
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -10145,6 +10275,14 @@ module Aws::SSM
10145
10275
  # "TargetMapKey" => ["TargetMapValue"],
10146
10276
  # },
10147
10277
  # ],
10278
+ # alarm_configuration: {
10279
+ # ignore_poll_alarm_failure: false,
10280
+ # alarms: [ # required
10281
+ # {
10282
+ # name: "AlarmName", # required
10283
+ # },
10284
+ # ],
10285
+ # },
10148
10286
  # })
10149
10287
  #
10150
10288
  # @example Response structure
@@ -10199,6 +10337,12 @@ module Aws::SSM
10199
10337
  # resp.association_description.target_maps[0] #=> Hash
10200
10338
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
10201
10339
  # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
10340
+ # resp.association_description.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
10341
+ # resp.association_description.alarm_configuration.alarms #=> Array
10342
+ # resp.association_description.alarm_configuration.alarms[0].name #=> String
10343
+ # resp.association_description.triggered_alarms #=> Array
10344
+ # resp.association_description.triggered_alarms[0].name #=> String
10345
+ # resp.association_description.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
10202
10346
  #
10203
10347
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
10204
10348
  #
@@ -10295,6 +10439,12 @@ module Aws::SSM
10295
10439
  # resp.association_description.target_maps[0] #=> Hash
10296
10440
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
10297
10441
  # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
10442
+ # resp.association_description.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
10443
+ # resp.association_description.alarm_configuration.alarms #=> Array
10444
+ # resp.association_description.alarm_configuration.alarms[0].name #=> String
10445
+ # resp.association_description.triggered_alarms #=> Array
10446
+ # resp.association_description.triggered_alarms[0].name #=> String
10447
+ # resp.association_description.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
10298
10448
  #
10299
10449
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
10300
10450
  #
@@ -10956,6 +11106,10 @@ module Aws::SSM
10956
11106
  #
10957
11107
  # The status for tasks that are not completed is `TIMED_OUT`.
10958
11108
  #
11109
+ # @option params [Types::AlarmConfiguration] :alarm_configuration
11110
+ # The CloudWatch alarm you want to apply to your maintenance window
11111
+ # task.
11112
+ #
10959
11113
  # @return [Types::UpdateMaintenanceWindowTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10960
11114
  #
10961
11115
  # * {Types::UpdateMaintenanceWindowTaskResult#window_id #window_id} => String
@@ -10972,6 +11126,7 @@ module Aws::SSM
10972
11126
  # * {Types::UpdateMaintenanceWindowTaskResult#name #name} => String
10973
11127
  # * {Types::UpdateMaintenanceWindowTaskResult#description #description} => String
10974
11128
  # * {Types::UpdateMaintenanceWindowTaskResult#cutoff_behavior #cutoff_behavior} => String
11129
+ # * {Types::UpdateMaintenanceWindowTaskResult#alarm_configuration #alarm_configuration} => Types::AlarmConfiguration
10975
11130
  #
10976
11131
  # @example Request syntax with placeholder values
10977
11132
  #
@@ -11042,6 +11197,14 @@ module Aws::SSM
11042
11197
  # description: "MaintenanceWindowDescription",
11043
11198
  # replace: false,
11044
11199
  # cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
11200
+ # alarm_configuration: {
11201
+ # ignore_poll_alarm_failure: false,
11202
+ # alarms: [ # required
11203
+ # {
11204
+ # name: "AlarmName", # required
11205
+ # },
11206
+ # ],
11207
+ # },
11045
11208
  # })
11046
11209
  #
11047
11210
  # @example Response structure
@@ -11092,6 +11255,9 @@ module Aws::SSM
11092
11255
  # resp.name #=> String
11093
11256
  # resp.description #=> String
11094
11257
  # resp.cutoff_behavior #=> String, one of "CONTINUE_TASK", "CANCEL_TASK"
11258
+ # resp.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
11259
+ # resp.alarm_configuration.alarms #=> Array
11260
+ # resp.alarm_configuration.alarms[0].name #=> String
11095
11261
  #
11096
11262
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask AWS API Documentation
11097
11263
  #
@@ -11661,7 +11827,7 @@ module Aws::SSM
11661
11827
  params: params,
11662
11828
  config: config)
11663
11829
  context[:gem_name] = 'aws-sdk-ssm'
11664
- context[:gem_version] = '1.140.0'
11830
+ context[:gem_version] = '1.141.0'
11665
11831
  Seahorse::Client::Request.new(handlers, context)
11666
11832
  end
11667
11833
 
@@ -28,6 +28,12 @@ module Aws::SSM
28
28
  AddTagsToResourceResult = Shapes::StructureShape.new(name: 'AddTagsToResourceResult')
29
29
  AgentErrorCode = Shapes::StringShape.new(name: 'AgentErrorCode')
30
30
  AggregatorSchemaOnly = Shapes::BooleanShape.new(name: 'AggregatorSchemaOnly')
31
+ Alarm = Shapes::StructureShape.new(name: 'Alarm')
32
+ AlarmConfiguration = Shapes::StructureShape.new(name: 'AlarmConfiguration')
33
+ AlarmList = Shapes::ListShape.new(name: 'AlarmList')
34
+ AlarmName = Shapes::StringShape.new(name: 'AlarmName')
35
+ AlarmStateInformation = Shapes::StructureShape.new(name: 'AlarmStateInformation')
36
+ AlarmStateInformationList = Shapes::ListShape.new(name: 'AlarmStateInformationList')
31
37
  AllowedPattern = Shapes::StringShape.new(name: 'AllowedPattern')
32
38
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
33
39
  ApplyOnlyAtCronInterval = Shapes::BooleanShape.new(name: 'ApplyOnlyAtCronInterval')
@@ -382,6 +388,7 @@ module Aws::SSM
382
388
  ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
383
389
  ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName')
384
390
  ExpirationDate = Shapes::TimestampShape.new(name: 'ExpirationDate')
391
+ ExternalAlarmState = Shapes::StringShape.new(name: 'ExternalAlarmState')
385
392
  FailedCreateAssociation = Shapes::StructureShape.new(name: 'FailedCreateAssociation')
386
393
  FailedCreateAssociationList = Shapes::ListShape.new(name: 'FailedCreateAssociationList')
387
394
  FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
@@ -1204,6 +1211,21 @@ module Aws::SSM
1204
1211
 
1205
1212
  AddTagsToResourceResult.struct_class = Types::AddTagsToResourceResult
1206
1213
 
1214
+ Alarm.add_member(:name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "Name"))
1215
+ Alarm.struct_class = Types::Alarm
1216
+
1217
+ AlarmConfiguration.add_member(:ignore_poll_alarm_failure, Shapes::ShapeRef.new(shape: Boolean, location_name: "IgnorePollAlarmFailure"))
1218
+ AlarmConfiguration.add_member(:alarms, Shapes::ShapeRef.new(shape: AlarmList, required: true, location_name: "Alarms"))
1219
+ AlarmConfiguration.struct_class = Types::AlarmConfiguration
1220
+
1221
+ AlarmList.member = Shapes::ShapeRef.new(shape: Alarm)
1222
+
1223
+ AlarmStateInformation.add_member(:name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "Name"))
1224
+ AlarmStateInformation.add_member(:state, Shapes::ShapeRef.new(shape: ExternalAlarmState, required: true, location_name: "State"))
1225
+ AlarmStateInformation.struct_class = Types::AlarmStateInformation
1226
+
1227
+ AlarmStateInformationList.member = Shapes::ShapeRef.new(shape: AlarmStateInformation)
1228
+
1207
1229
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1208
1230
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
1209
1231
 
@@ -1260,6 +1282,8 @@ module Aws::SSM
1260
1282
  AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1261
1283
  AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1262
1284
  AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1285
+ AssociationDescription.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1286
+ AssociationDescription.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1263
1287
  AssociationDescription.struct_class = Types::AssociationDescription
1264
1288
 
1265
1289
  AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
@@ -1275,6 +1299,8 @@ module Aws::SSM
1275
1299
  AssociationExecution.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
1276
1300
  AssociationExecution.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastExecutionDate"))
1277
1301
  AssociationExecution.add_member(:resource_count_by_status, Shapes::ShapeRef.new(shape: ResourceCountByStatus, location_name: "ResourceCountByStatus"))
1302
+ AssociationExecution.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1303
+ AssociationExecution.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1278
1304
  AssociationExecution.struct_class = Types::AssociationExecution
1279
1305
 
1280
1306
  AssociationExecutionDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -1417,6 +1443,8 @@ module Aws::SSM
1417
1443
  AutomationExecution.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
1418
1444
  AutomationExecution.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
1419
1445
  AutomationExecution.add_member(:progress_counters, Shapes::ShapeRef.new(shape: ProgressCounters, location_name: "ProgressCounters"))
1446
+ AutomationExecution.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1447
+ AutomationExecution.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1420
1448
  AutomationExecution.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
1421
1449
  AutomationExecution.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
1422
1450
  AutomationExecution.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -1458,6 +1486,8 @@ module Aws::SSM
1458
1486
  AutomationExecutionMetadata.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
1459
1487
  AutomationExecutionMetadata.add_member(:target, Shapes::ShapeRef.new(shape: String, location_name: "Target"))
1460
1488
  AutomationExecutionMetadata.add_member(:automation_type, Shapes::ShapeRef.new(shape: AutomationType, location_name: "AutomationType"))
1489
+ AutomationExecutionMetadata.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1490
+ AutomationExecutionMetadata.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1461
1491
  AutomationExecutionMetadata.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
1462
1492
  AutomationExecutionMetadata.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
1463
1493
  AutomationExecutionMetadata.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -1536,6 +1566,8 @@ module Aws::SSM
1536
1566
  Command.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
1537
1567
  Command.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
1538
1568
  Command.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: TimeoutSeconds, location_name: "TimeoutSeconds"))
1569
+ Command.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1570
+ Command.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1539
1571
  Command.struct_class = Types::Command
1540
1572
 
1541
1573
  CommandFilter.add_member(:key, Shapes::ShapeRef.new(shape: CommandFilterKey, required: true, location_name: "key"))
@@ -1675,6 +1707,7 @@ module Aws::SSM
1675
1707
  CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1676
1708
  CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1677
1709
  CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1710
+ CreateAssociationBatchRequestEntry.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1678
1711
  CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
1679
1712
 
1680
1713
  CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
@@ -1700,6 +1733,7 @@ module Aws::SSM
1700
1733
  CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1701
1734
  CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1702
1735
  CreateAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
1736
+ CreateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1703
1737
  CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
1704
1738
 
1705
1739
  CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -2539,6 +2573,8 @@ module Aws::SSM
2539
2573
  GetMaintenanceWindowExecutionTaskResult.add_member(:status_details, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionStatusDetails, location_name: "StatusDetails"))
2540
2574
  GetMaintenanceWindowExecutionTaskResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
2541
2575
  GetMaintenanceWindowExecutionTaskResult.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
2576
+ GetMaintenanceWindowExecutionTaskResult.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
2577
+ GetMaintenanceWindowExecutionTaskResult.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
2542
2578
  GetMaintenanceWindowExecutionTaskResult.struct_class = Types::GetMaintenanceWindowExecutionTaskResult
2543
2579
 
2544
2580
  GetMaintenanceWindowRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
@@ -2580,6 +2616,7 @@ module Aws::SSM
2580
2616
  GetMaintenanceWindowTaskResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
2581
2617
  GetMaintenanceWindowTaskResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
2582
2618
  GetMaintenanceWindowTaskResult.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
2619
+ GetMaintenanceWindowTaskResult.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
2583
2620
  GetMaintenanceWindowTaskResult.struct_class = Types::GetMaintenanceWindowTaskResult
2584
2621
 
2585
2622
  GetOpsItemRequest.add_member(:ops_item_id, Shapes::ShapeRef.new(shape: OpsItemId, required: true, location_name: "OpsItemId"))
@@ -3258,6 +3295,8 @@ module Aws::SSM
3258
3295
  MaintenanceWindowExecutionTaskIdentity.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
3259
3296
  MaintenanceWindowExecutionTaskIdentity.add_member(:task_arn, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskArn, location_name: "TaskArn"))
3260
3297
  MaintenanceWindowExecutionTaskIdentity.add_member(:task_type, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskType, location_name: "TaskType"))
3298
+ MaintenanceWindowExecutionTaskIdentity.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
3299
+ MaintenanceWindowExecutionTaskIdentity.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
3261
3300
  MaintenanceWindowExecutionTaskIdentity.struct_class = Types::MaintenanceWindowExecutionTaskIdentity
3262
3301
 
3263
3302
  MaintenanceWindowExecutionTaskIdentityList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionTaskIdentity)
@@ -3353,6 +3392,7 @@ module Aws::SSM
3353
3392
  MaintenanceWindowTask.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
3354
3393
  MaintenanceWindowTask.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
3355
3394
  MaintenanceWindowTask.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
3395
+ MaintenanceWindowTask.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
3356
3396
  MaintenanceWindowTask.struct_class = Types::MaintenanceWindowTask
3357
3397
 
3358
3398
  MaintenanceWindowTaskInvocationParameters.add_member(:run_command, Shapes::ShapeRef.new(shape: MaintenanceWindowRunCommandParameters, location_name: "RunCommand"))
@@ -3934,6 +3974,7 @@ module Aws::SSM
3934
3974
  RegisterTaskWithMaintenanceWindowRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
3935
3975
  RegisterTaskWithMaintenanceWindowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3936
3976
  RegisterTaskWithMaintenanceWindowRequest.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
3977
+ RegisterTaskWithMaintenanceWindowRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
3937
3978
  RegisterTaskWithMaintenanceWindowRequest.struct_class = Types::RegisterTaskWithMaintenanceWindowRequest
3938
3979
 
3939
3980
  RegisterTaskWithMaintenanceWindowResult.add_member(:window_task_id, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskId, location_name: "WindowTaskId"))
@@ -4125,6 +4166,7 @@ module Aws::SSM
4125
4166
  SendCommandRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRoleArn"))
4126
4167
  SendCommandRequest.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
4127
4168
  SendCommandRequest.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
4169
+ SendCommandRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4128
4170
  SendCommandRequest.struct_class = Types::SendCommandRequest
4129
4171
 
4130
4172
  SendCommandResult.add_member(:command, Shapes::ShapeRef.new(shape: Command, location_name: "Command"))
@@ -4196,6 +4238,7 @@ module Aws::SSM
4196
4238
  StartAutomationExecutionRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
4197
4239
  StartAutomationExecutionRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
4198
4240
  StartAutomationExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
4241
+ StartAutomationExecutionRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4199
4242
  StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
4200
4243
 
4201
4244
  StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -4377,6 +4420,7 @@ module Aws::SSM
4377
4420
  UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
4378
4421
  UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
4379
4422
  UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
4423
+ UpdateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4380
4424
  UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
4381
4425
 
4382
4426
  UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -4478,6 +4522,7 @@ module Aws::SSM
4478
4522
  UpdateMaintenanceWindowTaskRequest.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
4479
4523
  UpdateMaintenanceWindowTaskRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
4480
4524
  UpdateMaintenanceWindowTaskRequest.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
4525
+ UpdateMaintenanceWindowTaskRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4481
4526
  UpdateMaintenanceWindowTaskRequest.struct_class = Types::UpdateMaintenanceWindowTaskRequest
4482
4527
 
4483
4528
  UpdateMaintenanceWindowTaskResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
@@ -4494,6 +4539,7 @@ module Aws::SSM
4494
4539
  UpdateMaintenanceWindowTaskResult.add_member(:name, Shapes::ShapeRef.new(shape: MaintenanceWindowName, location_name: "Name"))
4495
4540
  UpdateMaintenanceWindowTaskResult.add_member(:description, Shapes::ShapeRef.new(shape: MaintenanceWindowDescription, location_name: "Description"))
4496
4541
  UpdateMaintenanceWindowTaskResult.add_member(:cutoff_behavior, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskCutoffBehavior, location_name: "CutoffBehavior", metadata: {"box"=>true}))
4542
+ UpdateMaintenanceWindowTaskResult.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4497
4543
  UpdateMaintenanceWindowTaskResult.struct_class = Types::UpdateMaintenanceWindowTaskResult
4498
4544
 
4499
4545
  UpdateManagedInstanceRoleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ManagedInstanceId, required: true, location_name: "InstanceId"))
@@ -174,6 +174,80 @@ module Aws::SSM
174
174
  #
175
175
  class AddTagsToResourceResult < Aws::EmptyStructure; end
176
176
 
177
+ # A CloudWatch alarm you apply to an automation or command.
178
+ #
179
+ # @note When making an API call, you may pass Alarm
180
+ # data as a hash:
181
+ #
182
+ # {
183
+ # name: "AlarmName", # required
184
+ # }
185
+ #
186
+ # @!attribute [rw] name
187
+ # The name of your CloudWatch alarm.
188
+ # @return [String]
189
+ #
190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Alarm AWS API Documentation
191
+ #
192
+ class Alarm < Struct.new(
193
+ :name)
194
+ SENSITIVE = []
195
+ include Aws::Structure
196
+ end
197
+
198
+ # The details for the CloudWatch alarm you want to apply to an
199
+ # automation or command.
200
+ #
201
+ # @note When making an API call, you may pass AlarmConfiguration
202
+ # data as a hash:
203
+ #
204
+ # {
205
+ # ignore_poll_alarm_failure: false,
206
+ # alarms: [ # required
207
+ # {
208
+ # name: "AlarmName", # required
209
+ # },
210
+ # ],
211
+ # }
212
+ #
213
+ # @!attribute [rw] ignore_poll_alarm_failure
214
+ # If you specify `true` for this value, your automation or command
215
+ # continue to run even if we can't gather information about the state
216
+ # of your CloudWatch alarm. The default value is `false`.
217
+ # @return [Boolean]
218
+ #
219
+ # @!attribute [rw] alarms
220
+ # The name of the CloudWatch alarm specified in the configuration.
221
+ # @return [Array<Types::Alarm>]
222
+ #
223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AlarmConfiguration AWS API Documentation
224
+ #
225
+ class AlarmConfiguration < Struct.new(
226
+ :ignore_poll_alarm_failure,
227
+ :alarms)
228
+ SENSITIVE = []
229
+ include Aws::Structure
230
+ end
231
+
232
+ # The details about the state of your CloudWatch alarm.
233
+ #
234
+ # @!attribute [rw] name
235
+ # The name of your CloudWatch alarm.
236
+ # @return [String]
237
+ #
238
+ # @!attribute [rw] state
239
+ # The state of your CloudWatch alarm.
240
+ # @return [String]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AlarmStateInformation AWS API Documentation
243
+ #
244
+ class AlarmStateInformation < Struct.new(
245
+ :name,
246
+ :state)
247
+ SENSITIVE = []
248
+ include Aws::Structure
249
+ end
250
+
177
251
  # Error returned if an attempt is made to register a patch group with a
178
252
  # patch baseline that is already registered with a different patch
179
253
  # baseline.
@@ -509,6 +583,15 @@ module Aws::SSM
509
583
  # Targets and TargetMaps can't be specified together.
510
584
  # @return [Array<Hash<String,Array<String>>>]
511
585
  #
586
+ # @!attribute [rw] alarm_configuration
587
+ # The details for the CloudWatch alarm you want to apply to an
588
+ # automation or command.
589
+ # @return [Types::AlarmConfiguration]
590
+ #
591
+ # @!attribute [rw] triggered_alarms
592
+ # The CloudWatch alarm that was invoked during the association.
593
+ # @return [Array<Types::AlarmStateInformation>]
594
+ #
512
595
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
513
596
  #
514
597
  class AssociationDescription < Struct.new(
@@ -537,7 +620,9 @@ module Aws::SSM
537
620
  :calendar_names,
538
621
  :target_locations,
539
622
  :schedule_offset,
540
- :target_maps)
623
+ :target_maps,
624
+ :alarm_configuration,
625
+ :triggered_alarms)
541
626
  SENSITIVE = [:parameters]
542
627
  include Aws::Structure
543
628
  end
@@ -590,6 +675,15 @@ module Aws::SSM
590
675
  # status type.
591
676
  # @return [String]
592
677
  #
678
+ # @!attribute [rw] alarm_configuration
679
+ # The details for the CloudWatch alarm you want to apply to an
680
+ # automation or command.
681
+ # @return [Types::AlarmConfiguration]
682
+ #
683
+ # @!attribute [rw] triggered_alarms
684
+ # The CloudWatch alarms that were invoked by the association.
685
+ # @return [Array<Types::AlarmStateInformation>]
686
+ #
593
687
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationExecution AWS API Documentation
594
688
  #
595
689
  class AssociationExecution < Struct.new(
@@ -600,7 +694,9 @@ module Aws::SSM
600
694
  :detailed_status,
601
695
  :created_time,
602
696
  :last_execution_date,
603
- :resource_count_by_status)
697
+ :resource_count_by_status,
698
+ :alarm_configuration,
699
+ :triggered_alarms)
604
700
  SENSITIVE = []
605
701
  include Aws::Structure
606
702
  end
@@ -1282,6 +1378,14 @@ module Aws::SSM
1282
1378
  # multi-account Automation execution.
1283
1379
  # @return [Types::ProgressCounters]
1284
1380
  #
1381
+ # @!attribute [rw] alarm_configuration
1382
+ # The details for the CloudWatch alarm applied to your automation.
1383
+ # @return [Types::AlarmConfiguration]
1384
+ #
1385
+ # @!attribute [rw] triggered_alarms
1386
+ # The CloudWatch alarm that was invoked by the automation.
1387
+ # @return [Array<Types::AlarmStateInformation>]
1388
+ #
1285
1389
  # @!attribute [rw] automation_subtype
1286
1390
  # The subtype of the Automation operation. Currently, the only
1287
1391
  # supported value is `ChangeRequest`.
@@ -1344,6 +1448,8 @@ module Aws::SSM
1344
1448
  :target,
1345
1449
  :target_locations,
1346
1450
  :progress_counters,
1451
+ :alarm_configuration,
1452
+ :triggered_alarms,
1347
1453
  :automation_subtype,
1348
1454
  :scheduled_time,
1349
1455
  :runbooks,
@@ -1500,6 +1606,14 @@ module Aws::SSM
1500
1606
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html
1501
1607
  # @return [String]
1502
1608
  #
1609
+ # @!attribute [rw] alarm_configuration
1610
+ # The details for the CloudWatch alarm applied to your automation.
1611
+ # @return [Types::AlarmConfiguration]
1612
+ #
1613
+ # @!attribute [rw] triggered_alarms
1614
+ # The CloudWatch alarm that was invoked by the automation.
1615
+ # @return [Array<Types::AlarmStateInformation>]
1616
+ #
1503
1617
  # @!attribute [rw] automation_subtype
1504
1618
  # The subtype of the Automation operation. Currently, the only
1505
1619
  # supported value is `ChangeRequest`.
@@ -1559,6 +1673,8 @@ module Aws::SSM
1559
1673
  :max_errors,
1560
1674
  :target,
1561
1675
  :automation_type,
1676
+ :alarm_configuration,
1677
+ :triggered_alarms,
1562
1678
  :automation_subtype,
1563
1679
  :scheduled_time,
1564
1680
  :runbooks,
@@ -2009,6 +2125,14 @@ module Aws::SSM
2009
2125
  # The `TimeoutSeconds` value specified for a command.
2010
2126
  # @return [Integer]
2011
2127
  #
2128
+ # @!attribute [rw] alarm_configuration
2129
+ # The details for the CloudWatch alarm applied to your command.
2130
+ # @return [Types::AlarmConfiguration]
2131
+ #
2132
+ # @!attribute [rw] triggered_alarms
2133
+ # The CloudWatch alarm that was invoked by the command.
2134
+ # @return [Array<Types::AlarmStateInformation>]
2135
+ #
2012
2136
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Command AWS API Documentation
2013
2137
  #
2014
2138
  class Command < Struct.new(
@@ -2035,7 +2159,9 @@ module Aws::SSM
2035
2159
  :service_role,
2036
2160
  :notification_config,
2037
2161
  :cloud_watch_output_config,
2038
- :timeout_seconds)
2162
+ :timeout_seconds,
2163
+ :alarm_configuration,
2164
+ :triggered_alarms)
2039
2165
  SENSITIVE = [:parameters]
2040
2166
  include Aws::Structure
2041
2167
  end
@@ -2908,6 +3034,14 @@ module Aws::SSM
2908
3034
  # "TargetMapKey" => ["TargetMapValue"],
2909
3035
  # },
2910
3036
  # ],
3037
+ # alarm_configuration: {
3038
+ # ignore_poll_alarm_failure: false,
3039
+ # alarms: [ # required
3040
+ # {
3041
+ # name: "AlarmName", # required
3042
+ # },
3043
+ # ],
3044
+ # },
2911
3045
  # },
2912
3046
  # ],
2913
3047
  # }
@@ -2974,6 +3108,14 @@ module Aws::SSM
2974
3108
  # "TargetMapKey" => ["TargetMapValue"],
2975
3109
  # },
2976
3110
  # ],
3111
+ # alarm_configuration: {
3112
+ # ignore_poll_alarm_failure: false,
3113
+ # alarms: [ # required
3114
+ # {
3115
+ # name: "AlarmName", # required
3116
+ # },
3117
+ # ],
3118
+ # },
2977
3119
  # }
2978
3120
  #
2979
3121
  # @!attribute [rw] name
@@ -3133,6 +3275,11 @@ module Aws::SSM
3133
3275
  # Targets and TargetMaps can't be specified together.
3134
3276
  # @return [Array<Hash<String,Array<String>>>]
3135
3277
  #
3278
+ # @!attribute [rw] alarm_configuration
3279
+ # The details for the CloudWatch alarm you want to apply to an
3280
+ # automation or command.
3281
+ # @return [Types::AlarmConfiguration]
3282
+ #
3136
3283
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
3137
3284
  #
3138
3285
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -3153,7 +3300,8 @@ module Aws::SSM
3153
3300
  :calendar_names,
3154
3301
  :target_locations,
3155
3302
  :schedule_offset,
3156
- :target_maps)
3303
+ :target_maps,
3304
+ :alarm_configuration)
3157
3305
  SENSITIVE = [:parameters]
3158
3306
  include Aws::Structure
3159
3307
  end
@@ -3228,6 +3376,14 @@ module Aws::SSM
3228
3376
  # value: "TagValue", # required
3229
3377
  # },
3230
3378
  # ],
3379
+ # alarm_configuration: {
3380
+ # ignore_poll_alarm_failure: false,
3381
+ # alarms: [ # required
3382
+ # {
3383
+ # name: "AlarmName", # required
3384
+ # },
3385
+ # ],
3386
+ # },
3231
3387
  # }
3232
3388
  #
3233
3389
  # @!attribute [rw] name
@@ -3425,13 +3581,18 @@ module Aws::SSM
3425
3581
  # @return [Array<Hash<String,Array<String>>>]
3426
3582
  #
3427
3583
  # @!attribute [rw] tags
3428
- # Adds or overwrites one or more tags for a State Manager association.
3429
- # *Tags* are metadata that you can assign to your Amazon Web Services
3430
- # resources. Tags enable you to categorize your resources in different
3431
- # ways, for example, by purpose, owner, or environment. Each tag
3432
- # consists of a key and an optional value, both of which you define.
3584
+ # Optional metadata that you assign to a resource. Tags enable you to
3585
+ # categorize a resource in different ways, such as by purpose, owner,
3586
+ # or environment. For example, you might want to tag an association to
3587
+ # identify the type of resource to which it applies, the environment,
3588
+ # or the purpose of the association.
3433
3589
  # @return [Array<Types::Tag>]
3434
3590
  #
3591
+ # @!attribute [rw] alarm_configuration
3592
+ # The details for the CloudWatch alarm you want to apply to an
3593
+ # automation or command.
3594
+ # @return [Types::AlarmConfiguration]
3595
+ #
3435
3596
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
3436
3597
  #
3437
3598
  class CreateAssociationRequest < Struct.new(
@@ -3453,7 +3614,8 @@ module Aws::SSM
3453
3614
  :target_locations,
3454
3615
  :schedule_offset,
3455
3616
  :target_maps,
3456
- :tags)
3617
+ :tags,
3618
+ :alarm_configuration)
3457
3619
  SENSITIVE = [:parameters]
3458
3620
  include Aws::Structure
3459
3621
  end
@@ -9168,6 +9330,16 @@ module Aws::SSM
9168
9330
  # The time the task execution completed.
9169
9331
  # @return [Time]
9170
9332
  #
9333
+ # @!attribute [rw] alarm_configuration
9334
+ # The details for the CloudWatch alarm you applied to your maintenance
9335
+ # window task.
9336
+ # @return [Types::AlarmConfiguration]
9337
+ #
9338
+ # @!attribute [rw] triggered_alarms
9339
+ # The CloudWatch alarms that were invoked by the maintenance window
9340
+ # task.
9341
+ # @return [Array<Types::AlarmStateInformation>]
9342
+ #
9171
9343
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskResult AWS API Documentation
9172
9344
  #
9173
9345
  class GetMaintenanceWindowExecutionTaskResult < Struct.new(
@@ -9183,7 +9355,9 @@ module Aws::SSM
9183
9355
  :status,
9184
9356
  :status_details,
9185
9357
  :start_time,
9186
- :end_time)
9358
+ :end_time,
9359
+ :alarm_configuration,
9360
+ :triggered_alarms)
9187
9361
  SENSITIVE = [:task_parameters]
9188
9362
  include Aws::Structure
9189
9363
  end
@@ -9445,6 +9619,11 @@ module Aws::SSM
9445
9619
  # operation.
9446
9620
  # @return [String]
9447
9621
  #
9622
+ # @!attribute [rw] alarm_configuration
9623
+ # The details for the CloudWatch alarm you applied to your maintenance
9624
+ # window task.
9625
+ # @return [Types::AlarmConfiguration]
9626
+ #
9448
9627
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult AWS API Documentation
9449
9628
  #
9450
9629
  class GetMaintenanceWindowTaskResult < Struct.new(
@@ -9462,7 +9641,8 @@ module Aws::SSM
9462
9641
  :logging_info,
9463
9642
  :name,
9464
9643
  :description,
9465
- :cutoff_behavior)
9644
+ :cutoff_behavior,
9645
+ :alarm_configuration)
9466
9646
  SENSITIVE = [:task_parameters, :description]
9467
9647
  include Aws::Structure
9468
9648
  end
@@ -11439,7 +11619,7 @@ module Aws::SSM
11439
11619
  include Aws::Structure
11440
11620
  end
11441
11621
 
11442
- # The specified tag key or value is not valid.
11622
+ # The tag key or value isn't valid.
11443
11623
  #
11444
11624
  # @!attribute [rw] message
11445
11625
  # @return [String]
@@ -13267,6 +13447,16 @@ module Aws::SSM
13267
13447
  # The type of task that ran.
13268
13448
  # @return [String]
13269
13449
  #
13450
+ # @!attribute [rw] alarm_configuration
13451
+ # The details for the CloudWatch alarm applied to your maintenance
13452
+ # window task.
13453
+ # @return [Types::AlarmConfiguration]
13454
+ #
13455
+ # @!attribute [rw] triggered_alarms
13456
+ # The CloudWatch alarm that was invoked by the maintenance window
13457
+ # task.
13458
+ # @return [Array<Types::AlarmStateInformation>]
13459
+ #
13270
13460
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskIdentity AWS API Documentation
13271
13461
  #
13272
13462
  class MaintenanceWindowExecutionTaskIdentity < Struct.new(
@@ -13277,7 +13467,9 @@ module Aws::SSM
13277
13467
  :start_time,
13278
13468
  :end_time,
13279
13469
  :task_arn,
13280
- :task_type)
13470
+ :task_type,
13471
+ :alarm_configuration,
13472
+ :triggered_alarms)
13281
13473
  SENSITIVE = []
13282
13474
  include Aws::Structure
13283
13475
  end
@@ -13916,6 +14108,11 @@ module Aws::SSM
13916
14108
  # cutoff time specified in the maintenance windows is reached.
13917
14109
  # @return [String]
13918
14110
  #
14111
+ # @!attribute [rw] alarm_configuration
14112
+ # The details for the CloudWatch alarm applied to your maintenance
14113
+ # window task.
14114
+ # @return [Types::AlarmConfiguration]
14115
+ #
13919
14116
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask AWS API Documentation
13920
14117
  #
13921
14118
  class MaintenanceWindowTask < Struct.new(
@@ -13932,7 +14129,8 @@ module Aws::SSM
13932
14129
  :max_errors,
13933
14130
  :name,
13934
14131
  :description,
13935
- :cutoff_behavior)
14132
+ :cutoff_behavior,
14133
+ :alarm_configuration)
13936
14134
  SENSITIVE = [:task_parameters, :description]
13937
14135
  include Aws::Structure
13938
14136
  end
@@ -17051,6 +17249,14 @@ module Aws::SSM
17051
17249
  # description: "MaintenanceWindowDescription",
17052
17250
  # client_token: "ClientToken",
17053
17251
  # cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
17252
+ # alarm_configuration: {
17253
+ # ignore_poll_alarm_failure: false,
17254
+ # alarms: [ # required
17255
+ # {
17256
+ # name: "AlarmName", # required
17257
+ # },
17258
+ # ],
17259
+ # },
17054
17260
  # }
17055
17261
  #
17056
17262
  # @!attribute [rw] window_id
@@ -17228,6 +17434,11 @@ module Aws::SSM
17228
17434
  # The status for tasks that are not completed is `TIMED_OUT`.
17229
17435
  # @return [String]
17230
17436
  #
17437
+ # @!attribute [rw] alarm_configuration
17438
+ # The CloudWatch alarm you want to apply to your maintenance window
17439
+ # task.
17440
+ # @return [Types::AlarmConfiguration]
17441
+ #
17231
17442
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest AWS API Documentation
17232
17443
  #
17233
17444
  class RegisterTaskWithMaintenanceWindowRequest < Struct.new(
@@ -17245,7 +17456,8 @@ module Aws::SSM
17245
17456
  :name,
17246
17457
  :description,
17247
17458
  :client_token,
17248
- :cutoff_behavior)
17459
+ :cutoff_behavior,
17460
+ :alarm_configuration)
17249
17461
  SENSITIVE = [:task_parameters, :description]
17250
17462
  include Aws::Structure
17251
17463
  end
@@ -18341,6 +18553,14 @@ module Aws::SSM
18341
18553
  # cloud_watch_log_group_name: "CloudWatchLogGroupName",
18342
18554
  # cloud_watch_output_enabled: false,
18343
18555
  # },
18556
+ # alarm_configuration: {
18557
+ # ignore_poll_alarm_failure: false,
18558
+ # alarms: [ # required
18559
+ # {
18560
+ # name: "AlarmName", # required
18561
+ # },
18562
+ # ],
18563
+ # },
18344
18564
  # }
18345
18565
  #
18346
18566
  # @!attribute [rw] instance_ids
@@ -18519,6 +18739,10 @@ module Aws::SSM
18519
18739
  # Amazon Web Services Systems Manager.
18520
18740
  # @return [Types::CloudWatchOutputConfig]
18521
18741
  #
18742
+ # @!attribute [rw] alarm_configuration
18743
+ # The CloudWatch alarm you want to apply to your command.
18744
+ # @return [Types::AlarmConfiguration]
18745
+ #
18522
18746
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandRequest AWS API Documentation
18523
18747
  #
18524
18748
  class SendCommandRequest < Struct.new(
@@ -18538,7 +18762,8 @@ module Aws::SSM
18538
18762
  :max_errors,
18539
18763
  :service_role_arn,
18540
18764
  :notification_config,
18541
- :cloud_watch_output_config)
18765
+ :cloud_watch_output_config,
18766
+ :alarm_configuration)
18542
18767
  SENSITIVE = [:parameters]
18543
18768
  include Aws::Structure
18544
18769
  end
@@ -18903,6 +19128,14 @@ module Aws::SSM
18903
19128
  # value: "TagValue", # required
18904
19129
  # },
18905
19130
  # ],
19131
+ # alarm_configuration: {
19132
+ # ignore_poll_alarm_failure: false,
19133
+ # alarms: [ # required
19134
+ # {
19135
+ # name: "AlarmName", # required
19136
+ # },
19137
+ # ],
19138
+ # },
18906
19139
  # }
18907
19140
  #
18908
19141
  # @!attribute [rw] document_name
@@ -19008,6 +19241,10 @@ module Aws::SSM
19008
19241
  # </note>
19009
19242
  # @return [Array<Types::Tag>]
19010
19243
  #
19244
+ # @!attribute [rw] alarm_configuration
19245
+ # The CloudWatch alarm you want to apply to your automation.
19246
+ # @return [Types::AlarmConfiguration]
19247
+ #
19011
19248
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest AWS API Documentation
19012
19249
  #
19013
19250
  class StartAutomationExecutionRequest < Struct.new(
@@ -19022,7 +19259,8 @@ module Aws::SSM
19022
19259
  :max_concurrency,
19023
19260
  :max_errors,
19024
19261
  :target_locations,
19025
- :tags)
19262
+ :tags,
19263
+ :alarm_configuration)
19026
19264
  SENSITIVE = []
19027
19265
  include Aws::Structure
19028
19266
  end
@@ -20017,6 +20255,14 @@ module Aws::SSM
20017
20255
  # "TargetMapKey" => ["TargetMapValue"],
20018
20256
  # },
20019
20257
  # ],
20258
+ # alarm_configuration: {
20259
+ # ignore_poll_alarm_failure: false,
20260
+ # alarms: [ # required
20261
+ # {
20262
+ # name: "AlarmName", # required
20263
+ # },
20264
+ # ],
20265
+ # },
20020
20266
  # }
20021
20267
  #
20022
20268
  # @!attribute [rw] association_id
@@ -20218,6 +20464,11 @@ module Aws::SSM
20218
20464
  # Targets and TargetMaps can't be specified together.
20219
20465
  # @return [Array<Hash<String,Array<String>>>]
20220
20466
  #
20467
+ # @!attribute [rw] alarm_configuration
20468
+ # The details for the CloudWatch alarm you want to apply to an
20469
+ # automation or command.
20470
+ # @return [Types::AlarmConfiguration]
20471
+ #
20221
20472
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
20222
20473
  #
20223
20474
  class UpdateAssociationRequest < Struct.new(
@@ -20239,7 +20490,8 @@ module Aws::SSM
20239
20490
  :calendar_names,
20240
20491
  :target_locations,
20241
20492
  :schedule_offset,
20242
- :target_maps)
20493
+ :target_maps,
20494
+ :alarm_configuration)
20243
20495
  SENSITIVE = [:parameters]
20244
20496
  include Aws::Structure
20245
20497
  end
@@ -20862,6 +21114,14 @@ module Aws::SSM
20862
21114
  # description: "MaintenanceWindowDescription",
20863
21115
  # replace: false,
20864
21116
  # cutoff_behavior: "CONTINUE_TASK", # accepts CONTINUE_TASK, CANCEL_TASK
21117
+ # alarm_configuration: {
21118
+ # ignore_poll_alarm_failure: false,
21119
+ # alarms: [ # required
21120
+ # {
21121
+ # name: "AlarmName", # required
21122
+ # },
21123
+ # ],
21124
+ # },
20865
21125
  # }
20866
21126
  #
20867
21127
  # @!attribute [rw] window_id
@@ -21053,6 +21313,11 @@ module Aws::SSM
21053
21313
  # The status for tasks that are not completed is `TIMED_OUT`.
21054
21314
  # @return [String]
21055
21315
  #
21316
+ # @!attribute [rw] alarm_configuration
21317
+ # The CloudWatch alarm you want to apply to your maintenance window
21318
+ # task.
21319
+ # @return [Types::AlarmConfiguration]
21320
+ #
21056
21321
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest AWS API Documentation
21057
21322
  #
21058
21323
  class UpdateMaintenanceWindowTaskRequest < Struct.new(
@@ -21070,7 +21335,8 @@ module Aws::SSM
21070
21335
  :name,
21071
21336
  :description,
21072
21337
  :replace,
21073
- :cutoff_behavior)
21338
+ :cutoff_behavior,
21339
+ :alarm_configuration)
21074
21340
  SENSITIVE = [:task_parameters, :description]
21075
21341
  include Aws::Structure
21076
21342
  end
@@ -21153,6 +21419,11 @@ module Aws::SSM
21153
21419
  # cutoff time specified in the maintenance windows is reached.
21154
21420
  # @return [String]
21155
21421
  #
21422
+ # @!attribute [rw] alarm_configuration
21423
+ # The details for the CloudWatch alarm you applied to your maintenance
21424
+ # window task.
21425
+ # @return [Types::AlarmConfiguration]
21426
+ #
21156
21427
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult AWS API Documentation
21157
21428
  #
21158
21429
  class UpdateMaintenanceWindowTaskResult < Struct.new(
@@ -21169,7 +21440,8 @@ module Aws::SSM
21169
21440
  :logging_info,
21170
21441
  :name,
21171
21442
  :description,
21172
- :cutoff_behavior)
21443
+ :cutoff_behavior,
21444
+ :alarm_configuration)
21173
21445
  SENSITIVE = [:task_parameters, :description]
21174
21446
  include Aws::Structure
21175
21447
  end
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.140.0'
52
+ GEM_VERSION = '1.141.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.140.0
4
+ version: 1.141.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-23 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core