aws-sdk-ssm 1.140.0 → 1.142.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-ssm/client.rb +178 -12
- data/lib/aws-sdk-ssm/client_api.rb +46 -0
- data/lib/aws-sdk-ssm/types.rb +338 -50
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c1db6c7a075032daad5da9e8cc1d1184d6d42583003b0580a8fcc8591c3179e
|
4
|
+
data.tar.gz: 375c07c87a7d45ea401e712649df6d887aabfb7f40c83ae571b46591a6220e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fb7edf3dbc799609ceefae86c4e573499d1445bdfc06450dc814e9a69386aa76d741daefd43f44110f45cf445e2b7dc3832d82613617e45384cb5367a928e63
|
7
|
+
data.tar.gz: 5e26b395849d703b08c5303a83b313ee88d439327b4798e216abc6bb95011249fb80da324bc97ff9a2d4df62ba2702abd4751041934d3bd2e00e7185d65dc419
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.142.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support of AmazonLinux2022 by Patch Manager
|
8
|
+
|
9
|
+
1.141.0 (2022-09-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release includes support for applying a CloudWatch alarm to Systems Manager capabilities like Automation, Run Command, State Manager, and Maintenance Windows.
|
13
|
+
|
4
14
|
1.140.0 (2022-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.142.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -905,6 +905,10 @@ module Aws::SSM
|
|
905
905
|
# ways, for example, by purpose, owner, or environment. Each tag
|
906
906
|
# consists of a key and an optional value, both of which you define.
|
907
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.
|
911
|
+
#
|
908
912
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
909
913
|
#
|
910
914
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -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
|
#
|
@@ -1883,7 +1918,7 @@ module Aws::SSM
|
|
1883
1918
|
# @example Request syntax with placeholder values
|
1884
1919
|
#
|
1885
1920
|
# resp = client.create_patch_baseline({
|
1886
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
1921
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
1887
1922
|
# name: "BaselineName", # required
|
1888
1923
|
# global_filters: {
|
1889
1924
|
# patch_filters: [ # required
|
@@ -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
|
@@ -4732,7 +4794,7 @@ module Aws::SSM
|
|
4732
4794
|
# resp.baseline_identities #=> Array
|
4733
4795
|
# resp.baseline_identities[0].baseline_id #=> String
|
4734
4796
|
# resp.baseline_identities[0].baseline_name #=> String
|
4735
|
-
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
4797
|
+
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
4736
4798
|
# resp.baseline_identities[0].baseline_description #=> String
|
4737
4799
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
4738
4800
|
# resp.next_token #=> String
|
@@ -4845,7 +4907,7 @@ module Aws::SSM
|
|
4845
4907
|
# resp.mappings[0].patch_group #=> String
|
4846
4908
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
4847
4909
|
# resp.mappings[0].baseline_identity.baseline_name #=> String
|
4848
|
-
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
4910
|
+
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
4849
4911
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
4850
4912
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
4851
4913
|
# resp.next_token #=> String
|
@@ -4940,7 +5002,7 @@ module Aws::SSM
|
|
4940
5002
|
# @example Request syntax with placeholder values
|
4941
5003
|
#
|
4942
5004
|
# resp = client.describe_patch_properties({
|
4943
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5005
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
4944
5006
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
4945
5007
|
# patch_set: "OS", # accepts OS, APPLICATION
|
4946
5008
|
# max_results: 1,
|
@@ -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
|
@@ -5419,13 +5487,13 @@ module Aws::SSM
|
|
5419
5487
|
# @example Request syntax with placeholder values
|
5420
5488
|
#
|
5421
5489
|
# resp = client.get_default_patch_baseline({
|
5422
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5490
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5423
5491
|
# })
|
5424
5492
|
#
|
5425
5493
|
# @example Response structure
|
5426
5494
|
#
|
5427
5495
|
# resp.baseline_id #=> String
|
5428
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
5496
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
5429
5497
|
#
|
5430
5498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
5431
5499
|
#
|
@@ -5476,7 +5544,7 @@ module Aws::SSM
|
|
5476
5544
|
# instance_id: "InstanceId", # required
|
5477
5545
|
# snapshot_id: "SnapshotId", # required
|
5478
5546
|
# baseline_override: {
|
5479
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5547
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5480
5548
|
# global_filters: {
|
5481
5549
|
# patch_filters: [ # required
|
5482
5550
|
# {
|
@@ -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<Types::AlarmStateInformation>
|
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
|
#
|
@@ -6611,7 +6691,7 @@ module Aws::SSM
|
|
6611
6691
|
#
|
6612
6692
|
# resp.baseline_id #=> String
|
6613
6693
|
# resp.name #=> String
|
6614
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6694
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6615
6695
|
# resp.global_filters.patch_filters #=> Array
|
6616
6696
|
# resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
|
6617
6697
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -6672,14 +6752,14 @@ module Aws::SSM
|
|
6672
6752
|
#
|
6673
6753
|
# resp = client.get_patch_baseline_for_patch_group({
|
6674
6754
|
# patch_group: "PatchGroup", # required
|
6675
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
6755
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, AMAZON_LINUX_2022, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
6676
6756
|
# })
|
6677
6757
|
#
|
6678
6758
|
# @example Response structure
|
6679
6759
|
#
|
6680
6760
|
# resp.baseline_id #=> String
|
6681
6761
|
# resp.patch_group #=> String
|
6682
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6762
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
6683
6763
|
#
|
6684
6764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
6685
6765
|
#
|
@@ -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
|
#
|
@@ -11476,7 +11642,7 @@ module Aws::SSM
|
|
11476
11642
|
#
|
11477
11643
|
# resp.baseline_id #=> String
|
11478
11644
|
# resp.name #=> String
|
11479
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
11645
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "AMAZON_LINUX_2022", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN", "ROCKY_LINUX"
|
11480
11646
|
# resp.global_filters.patch_filters #=> Array
|
11481
11647
|
# resp.global_filters.patch_filters[0].key #=> String, one of "ARCH", "ADVISORY_ID", "BUGZILLA_ID", "PATCH_SET", "PRODUCT", "PRODUCT_FAMILY", "CLASSIFICATION", "CVE_ID", "EPOCH", "MSRC_SEVERITY", "NAME", "PATCH_ID", "SECTION", "PRIORITY", "REPOSITORY", "RELEASE", "SEVERITY", "SECURITY", "VERSION"
|
11482
11648
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -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.
|
11830
|
+
context[:gem_version] = '1.142.0'
|
11665
11831
|
Seahorse::Client::Request.new(handlers, context)
|
11666
11832
|
end
|
11667
11833
|
|