aws-sdk-ssm 1.133.0 → 1.136.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +112 -27
- data/lib/aws-sdk-ssm/client_api.rb +8 -0
- data/lib/aws-sdk-ssm/types.rb +131 -28
- 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: d80512efa1f3f803ec5144b0bd8e21bf32fb58c82eef2ba5dc3e0ca31d3e1f9f
|
4
|
+
data.tar.gz: bf353d941300f8a96fe21f650cffc47e54115f50f05edc451efcee0a9519d228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3faddfd6a97fe84e57577545419810c8d44ace5c10534f8c1f603306088e0f44ba99768c2865033c7dfe07146fe21d4c7d6edc8827ab084855ff0342f2ec2e7
|
7
|
+
data.tar.gz: c9c94913d9fb27707cfad282e322ea8c8951f3bf631f9b0523a8cdf870ab8fe83f854076e157958f6968d6e9a2b3bebe4095e548c98e9e3108008b647606bf73
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.136.0 (2022-04-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Update the StartChangeRequestExecution, adding TargetMaps to the Runbook parameter
|
8
|
+
|
9
|
+
1.135.0 (2022-04-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added offset support for specifying the number of days to wait after the date and time specified by a CRON expression when creating SSM association.
|
13
|
+
|
14
|
+
1.134.0 (2022-03-25)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This Patch Manager release supports creating, updating, and deleting Patch Baselines for Rocky Linux OS.
|
18
|
+
|
4
19
|
1.133.0 (2022-03-23)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.136.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -875,6 +875,25 @@ module Aws::SSM
|
|
875
875
|
# action to create an association in multiple Regions and multiple
|
876
876
|
# accounts.
|
877
877
|
#
|
878
|
+
# @option params [Integer] :schedule_offset
|
879
|
+
# Number of days to wait after the scheduled day to run an association.
|
880
|
+
# For example, if you specified a cron schedule of `cron(0 0 ? * THU#2
|
881
|
+
# *)`, you could specify an offset of 3 to run the association each
|
882
|
+
# Sunday after the second Thursday of the month. For more information
|
883
|
+
# about cron schedules for associations, see [Reference: Cron and rate
|
884
|
+
# expressions for Systems Manager][1] in the *Amazon Web Services
|
885
|
+
# Systems Manager User Guide*.
|
886
|
+
#
|
887
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
888
|
+
# parameter. This option tells the system not to run an association
|
889
|
+
# immediately after you create it.
|
890
|
+
#
|
891
|
+
# </note>
|
892
|
+
#
|
893
|
+
#
|
894
|
+
#
|
895
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
896
|
+
#
|
878
897
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
879
898
|
#
|
880
899
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -919,6 +938,7 @@ module Aws::SSM
|
|
919
938
|
# execution_role_name: "ExecutionRoleName",
|
920
939
|
# },
|
921
940
|
# ],
|
941
|
+
# schedule_offset: 1,
|
922
942
|
# })
|
923
943
|
#
|
924
944
|
# @example Response structure
|
@@ -968,6 +988,7 @@ module Aws::SSM
|
|
968
988
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
969
989
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
970
990
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
991
|
+
# resp.association_description.schedule_offset #=> Integer
|
971
992
|
#
|
972
993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
973
994
|
#
|
@@ -1040,6 +1061,7 @@ module Aws::SSM
|
|
1040
1061
|
# execution_role_name: "ExecutionRoleName",
|
1041
1062
|
# },
|
1042
1063
|
# ],
|
1064
|
+
# schedule_offset: 1,
|
1043
1065
|
# },
|
1044
1066
|
# ],
|
1045
1067
|
# })
|
@@ -1092,6 +1114,7 @@ module Aws::SSM
|
|
1092
1114
|
# resp.successful[0].target_locations[0].target_location_max_concurrency #=> String
|
1093
1115
|
# resp.successful[0].target_locations[0].target_location_max_errors #=> String
|
1094
1116
|
# resp.successful[0].target_locations[0].execution_role_name #=> String
|
1117
|
+
# resp.successful[0].schedule_offset #=> Integer
|
1095
1118
|
# resp.failed #=> Array
|
1096
1119
|
# resp.failed[0].entry.name #=> String
|
1097
1120
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -1124,6 +1147,7 @@ module Aws::SSM
|
|
1124
1147
|
# resp.failed[0].entry.target_locations[0].target_location_max_concurrency #=> String
|
1125
1148
|
# resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
|
1126
1149
|
# resp.failed[0].entry.target_locations[0].execution_role_name #=> String
|
1150
|
+
# resp.failed[0].entry.schedule_offset #=> Integer
|
1127
1151
|
# resp.failed[0].message #=> String
|
1128
1152
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
1129
1153
|
#
|
@@ -1821,7 +1845,7 @@ module Aws::SSM
|
|
1821
1845
|
# @example Request syntax with placeholder values
|
1822
1846
|
#
|
1823
1847
|
# resp = client.create_patch_baseline({
|
1824
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
1848
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
1825
1849
|
# name: "BaselineName", # required
|
1826
1850
|
# global_filters: {
|
1827
1851
|
# patch_filters: [ # required
|
@@ -2616,6 +2640,7 @@ module Aws::SSM
|
|
2616
2640
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
2617
2641
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
2618
2642
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
2643
|
+
# resp.association_description.schedule_offset #=> Integer
|
2619
2644
|
#
|
2620
2645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
2621
2646
|
#
|
@@ -2853,6 +2878,10 @@ module Aws::SSM
|
|
2853
2878
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].key #=> String
|
2854
2879
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values #=> Array
|
2855
2880
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values[0] #=> String
|
2881
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps #=> Array
|
2882
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0] #=> Hash
|
2883
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0]["TargetMapKey"] #=> Array
|
2884
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0]["TargetMapKey"][0] #=> String
|
2856
2885
|
# resp.automation_execution_metadata_list[0].runbooks[0].max_concurrency #=> String
|
2857
2886
|
# resp.automation_execution_metadata_list[0].runbooks[0].max_errors #=> String
|
2858
2887
|
# resp.automation_execution_metadata_list[0].runbooks[0].target_locations #=> Array
|
@@ -4661,7 +4690,7 @@ module Aws::SSM
|
|
4661
4690
|
# resp.baseline_identities #=> Array
|
4662
4691
|
# resp.baseline_identities[0].baseline_id #=> String
|
4663
4692
|
# resp.baseline_identities[0].baseline_name #=> String
|
4664
|
-
# 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"
|
4693
|
+
# 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"
|
4665
4694
|
# resp.baseline_identities[0].baseline_description #=> String
|
4666
4695
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
4667
4696
|
# resp.next_token #=> String
|
@@ -4774,7 +4803,7 @@ module Aws::SSM
|
|
4774
4803
|
# resp.mappings[0].patch_group #=> String
|
4775
4804
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
4776
4805
|
# resp.mappings[0].baseline_identity.baseline_name #=> String
|
4777
|
-
# 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"
|
4806
|
+
# 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"
|
4778
4807
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
4779
4808
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
4780
4809
|
# resp.next_token #=> String
|
@@ -4869,7 +4898,7 @@ module Aws::SSM
|
|
4869
4898
|
# @example Request syntax with placeholder values
|
4870
4899
|
#
|
4871
4900
|
# resp = client.describe_patch_properties({
|
4872
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
4901
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
4873
4902
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
4874
4903
|
# patch_set: "OS", # accepts OS, APPLICATION
|
4875
4904
|
# max_results: 1,
|
@@ -5111,6 +5140,10 @@ module Aws::SSM
|
|
5111
5140
|
# resp.automation_execution.runbooks[0].targets[0].key #=> String
|
5112
5141
|
# resp.automation_execution.runbooks[0].targets[0].values #=> Array
|
5113
5142
|
# resp.automation_execution.runbooks[0].targets[0].values[0] #=> String
|
5143
|
+
# resp.automation_execution.runbooks[0].target_maps #=> Array
|
5144
|
+
# resp.automation_execution.runbooks[0].target_maps[0] #=> Hash
|
5145
|
+
# resp.automation_execution.runbooks[0].target_maps[0]["TargetMapKey"] #=> Array
|
5146
|
+
# resp.automation_execution.runbooks[0].target_maps[0]["TargetMapKey"][0] #=> String
|
5114
5147
|
# resp.automation_execution.runbooks[0].max_concurrency #=> String
|
5115
5148
|
# resp.automation_execution.runbooks[0].max_errors #=> String
|
5116
5149
|
# resp.automation_execution.runbooks[0].target_locations #=> Array
|
@@ -5217,20 +5250,18 @@ module Aws::SSM
|
|
5217
5250
|
# Manager.
|
5218
5251
|
#
|
5219
5252
|
# @option params [String] :plugin_name
|
5220
|
-
# The name of the
|
5221
|
-
# document contains only one
|
5222
|
-
#
|
5223
|
-
#
|
5224
|
-
#
|
5225
|
-
#
|
5226
|
-
# Plugin names are also referred to as *step names* in Systems Manager
|
5227
|
-
# documents (SSM documents). For example, `aws:RunShellScript` is a
|
5228
|
-
# plugin.
|
5253
|
+
# The name of the step for which you want detailed results. If the
|
5254
|
+
# document contains only one step, you can omit the name and details for
|
5255
|
+
# that step. If the document contains more than one step, you must
|
5256
|
+
# specify the name of the step for which you want to view details. Be
|
5257
|
+
# sure to specify the name of the step, not the name of a plugin like
|
5258
|
+
# `aws:RunShellScript`.
|
5229
5259
|
#
|
5230
5260
|
# To find the `PluginName`, check the document content and find the name
|
5231
|
-
# of the
|
5232
|
-
# `CommandId` and `Details` parameters.
|
5233
|
-
#
|
5261
|
+
# of the step you want details for. Alternatively, use
|
5262
|
+
# ListCommandInvocations with the `CommandId` and `Details` parameters.
|
5263
|
+
# The `PluginName` is the `Name` attribute of the `CommandPlugin` object
|
5264
|
+
# in the `CommandPlugins` list.
|
5234
5265
|
#
|
5235
5266
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5236
5267
|
#
|
@@ -5346,13 +5377,13 @@ module Aws::SSM
|
|
5346
5377
|
# @example Request syntax with placeholder values
|
5347
5378
|
#
|
5348
5379
|
# resp = client.get_default_patch_baseline({
|
5349
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
5380
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5350
5381
|
# })
|
5351
5382
|
#
|
5352
5383
|
# @example Response structure
|
5353
5384
|
#
|
5354
5385
|
# resp.baseline_id #=> String
|
5355
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
|
5386
|
+
# 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"
|
5356
5387
|
#
|
5357
5388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
5358
5389
|
#
|
@@ -5403,7 +5434,7 @@ module Aws::SSM
|
|
5403
5434
|
# instance_id: "InstanceId", # required
|
5404
5435
|
# snapshot_id: "SnapshotId", # required
|
5405
5436
|
# baseline_override: {
|
5406
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
5437
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
5407
5438
|
# global_filters: {
|
5408
5439
|
# patch_filters: [ # required
|
5409
5440
|
# {
|
@@ -5910,7 +5941,7 @@ module Aws::SSM
|
|
5910
5941
|
req.send_request(options)
|
5911
5942
|
end
|
5912
5943
|
|
5913
|
-
#
|
5944
|
+
# Retrieves the details of a maintenance window task.
|
5914
5945
|
#
|
5915
5946
|
# <note markdown="1"> For maintenance window tasks without a specified target, you can't
|
5916
5947
|
# supply values for `--max-errors` and `--max-concurrency`. Instead, the
|
@@ -5920,6 +5951,9 @@ module Aws::SSM
|
|
5920
5951
|
#
|
5921
5952
|
# </note>
|
5922
5953
|
#
|
5954
|
+
# To retrieve a list of tasks in a maintenance window, instead use the
|
5955
|
+
# DescribeMaintenanceWindowTasks command.
|
5956
|
+
#
|
5923
5957
|
# @option params [required, String] :window_id
|
5924
5958
|
# The maintenance window ID that includes the task to retrieve.
|
5925
5959
|
#
|
@@ -6535,7 +6569,7 @@ module Aws::SSM
|
|
6535
6569
|
#
|
6536
6570
|
# resp.baseline_id #=> String
|
6537
6571
|
# resp.name #=> String
|
6538
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
|
6572
|
+
# 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"
|
6539
6573
|
# resp.global_filters.patch_filters #=> Array
|
6540
6574
|
# 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"
|
6541
6575
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -6596,14 +6630,14 @@ module Aws::SSM
|
|
6596
6630
|
#
|
6597
6631
|
# resp = client.get_patch_baseline_for_patch_group({
|
6598
6632
|
# patch_group: "PatchGroup", # required
|
6599
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
6633
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
6600
6634
|
# })
|
6601
6635
|
#
|
6602
6636
|
# @example Response structure
|
6603
6637
|
#
|
6604
6638
|
# resp.baseline_id #=> String
|
6605
6639
|
# resp.patch_group #=> String
|
6606
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
|
6640
|
+
# 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"
|
6607
6641
|
#
|
6608
6642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
6609
6643
|
#
|
@@ -6814,6 +6848,7 @@ module Aws::SSM
|
|
6814
6848
|
# resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
|
6815
6849
|
# resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
|
6816
6850
|
# resp.association_versions[0].target_locations[0].execution_role_name #=> String
|
6851
|
+
# resp.association_versions[0].schedule_offset #=> Integer
|
6817
6852
|
# resp.next_token #=> String
|
6818
6853
|
#
|
6819
6854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6890,6 +6925,7 @@ module Aws::SSM
|
|
6890
6925
|
# resp.associations[0].overview.association_status_aggregated_count["StatusName"] #=> Integer
|
6891
6926
|
# resp.associations[0].schedule_expression #=> String
|
6892
6927
|
# resp.associations[0].association_name #=> String
|
6928
|
+
# resp.associations[0].schedule_offset #=> Integer
|
6893
6929
|
# resp.next_token #=> String
|
6894
6930
|
#
|
6895
6931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
|
@@ -9574,6 +9610,11 @@ module Aws::SSM
|
|
9574
9610
|
# values: ["TargetValue"],
|
9575
9611
|
# },
|
9576
9612
|
# ],
|
9613
|
+
# target_maps: [
|
9614
|
+
# {
|
9615
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
9616
|
+
# },
|
9617
|
+
# ],
|
9577
9618
|
# max_concurrency: "MaxConcurrency",
|
9578
9619
|
# max_errors: "MaxErrors",
|
9579
9620
|
# target_locations: [
|
@@ -9927,8 +9968,18 @@ module Aws::SSM
|
|
9927
9968
|
# run immediately after you update it. This parameter isn't supported
|
9928
9969
|
# for rate expressions.
|
9929
9970
|
#
|
9930
|
-
#
|
9931
|
-
# you
|
9971
|
+
# If you chose this option when you created an association and later you
|
9972
|
+
# edit that association or you make changes to the SSM document on which
|
9973
|
+
# that association is based (by using the Documents page in the
|
9974
|
+
# console), State Manager applies the association at the next specified
|
9975
|
+
# cron interval. For example, if you chose the `Latest` version of an
|
9976
|
+
# SSM document when you created an association and you edit the
|
9977
|
+
# association by choosing a different document version on the Documents
|
9978
|
+
# page, State Manager applies the association at the next specified cron
|
9979
|
+
# interval if you previously selected this option. If this option
|
9980
|
+
# wasn't selected, State Manager immediately runs the association.
|
9981
|
+
#
|
9982
|
+
# You can reset this option. To do so, specify the
|
9932
9983
|
# `no-apply-only-at-cron-interval` parameter when you update the
|
9933
9984
|
# association from the command line. This parameter forces the
|
9934
9985
|
# association to run immediately after updating it and according to the
|
@@ -9950,6 +10001,25 @@ module Aws::SSM
|
|
9950
10001
|
# action to update an association in multiple Regions and multiple
|
9951
10002
|
# accounts.
|
9952
10003
|
#
|
10004
|
+
# @option params [Integer] :schedule_offset
|
10005
|
+
# Number of days to wait after the scheduled day to run an association.
|
10006
|
+
# For example, if you specified a cron schedule of `cron(0 0 ? * THU#2
|
10007
|
+
# *)`, you could specify an offset of 3 to run the association each
|
10008
|
+
# Sunday after the second Thursday of the month. For more information
|
10009
|
+
# about cron schedules for associations, see [Reference: Cron and rate
|
10010
|
+
# expressions for Systems Manager][1] in the *Amazon Web Services
|
10011
|
+
# Systems Manager User Guide*.
|
10012
|
+
#
|
10013
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
10014
|
+
# parameter. This option tells the system not to run an association
|
10015
|
+
# immediately after you create it.
|
10016
|
+
#
|
10017
|
+
# </note>
|
10018
|
+
#
|
10019
|
+
#
|
10020
|
+
#
|
10021
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
10022
|
+
#
|
9953
10023
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9954
10024
|
#
|
9955
10025
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -9995,6 +10065,7 @@ module Aws::SSM
|
|
9995
10065
|
# execution_role_name: "ExecutionRoleName",
|
9996
10066
|
# },
|
9997
10067
|
# ],
|
10068
|
+
# schedule_offset: 1,
|
9998
10069
|
# })
|
9999
10070
|
#
|
10000
10071
|
# @example Response structure
|
@@ -10044,6 +10115,7 @@ module Aws::SSM
|
|
10044
10115
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10045
10116
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10046
10117
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10118
|
+
# resp.association_description.schedule_offset #=> Integer
|
10047
10119
|
#
|
10048
10120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
10049
10121
|
#
|
@@ -10135,6 +10207,7 @@ module Aws::SSM
|
|
10135
10207
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10136
10208
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10137
10209
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10210
|
+
# resp.association_description.schedule_offset #=> Integer
|
10138
10211
|
#
|
10139
10212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
10140
10213
|
#
|
@@ -10175,6 +10248,12 @@ module Aws::SSM
|
|
10175
10248
|
# document. You can specify the version number of the latest version or
|
10176
10249
|
# use the `$LATEST` variable.
|
10177
10250
|
#
|
10251
|
+
# <note markdown="1"> If you change a document version for a State Manager association,
|
10252
|
+
# Systems Manager immediately runs the association unless you previously
|
10253
|
+
# specifed the `apply-only-at-cron-interval` parameter.
|
10254
|
+
#
|
10255
|
+
# </note>
|
10256
|
+
#
|
10178
10257
|
# @option params [String] :document_format
|
10179
10258
|
# Specify the document format for the new document version. Systems
|
10180
10259
|
# Manager supports JSON and YAML documents. JSON is the default format.
|
@@ -10264,6 +10343,12 @@ module Aws::SSM
|
|
10264
10343
|
|
10265
10344
|
# Set the default version of a document.
|
10266
10345
|
#
|
10346
|
+
# <note markdown="1"> If you change a document version for a State Manager association,
|
10347
|
+
# Systems Manager immediately runs the association unless you previously
|
10348
|
+
# specifed the `apply-only-at-cron-interval` parameter.
|
10349
|
+
#
|
10350
|
+
# </note>
|
10351
|
+
#
|
10267
10352
|
# @option params [required, String] :name
|
10268
10353
|
# The name of a custom document that you want to set as the default
|
10269
10354
|
# version.
|
@@ -11304,7 +11389,7 @@ module Aws::SSM
|
|
11304
11389
|
#
|
11305
11390
|
# resp.baseline_id #=> String
|
11306
11391
|
# resp.name #=> String
|
11307
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "AMAZON_LINUX_2", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE", "CENTOS", "ORACLE_LINUX", "DEBIAN", "MACOS", "RASPBIAN"
|
11392
|
+
# 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"
|
11308
11393
|
# resp.global_filters.patch_filters #=> Array
|
11309
11394
|
# 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"
|
11310
11395
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -11487,7 +11572,7 @@ module Aws::SSM
|
|
11487
11572
|
params: params,
|
11488
11573
|
config: config)
|
11489
11574
|
context[:gem_name] = 'aws-sdk-ssm'
|
11490
|
-
context[:gem_version] = '1.
|
11575
|
+
context[:gem_version] = '1.136.0'
|
11491
11576
|
Seahorse::Client::Request.new(handlers, context)
|
11492
11577
|
end
|
11493
11578
|
|
@@ -1029,6 +1029,7 @@ module Aws::SSM
|
|
1029
1029
|
S3OutputUrl = Shapes::StructureShape.new(name: 'S3OutputUrl')
|
1030
1030
|
S3Region = Shapes::StringShape.new(name: 'S3Region')
|
1031
1031
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
1032
|
+
ScheduleOffset = Shapes::IntegerShape.new(name: 'ScheduleOffset')
|
1032
1033
|
ScheduledWindowExecution = Shapes::StructureShape.new(name: 'ScheduledWindowExecution')
|
1033
1034
|
ScheduledWindowExecutionList = Shapes::ListShape.new(name: 'ScheduledWindowExecutionList')
|
1034
1035
|
SendAutomationSignalRequest = Shapes::StructureShape.new(name: 'SendAutomationSignalRequest')
|
@@ -1225,6 +1226,7 @@ module Aws::SSM
|
|
1225
1226
|
Association.add_member(:overview, Shapes::ShapeRef.new(shape: AssociationOverview, location_name: "Overview"))
|
1226
1227
|
Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1227
1228
|
Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1229
|
+
Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1228
1230
|
Association.struct_class = Types::Association
|
1229
1231
|
|
1230
1232
|
AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists
|
@@ -1253,6 +1255,7 @@ module Aws::SSM
|
|
1253
1255
|
AssociationDescription.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1254
1256
|
AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1255
1257
|
AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1258
|
+
AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1256
1259
|
AssociationDescription.struct_class = Types::AssociationDescription
|
1257
1260
|
|
1258
1261
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
@@ -1344,6 +1347,7 @@ module Aws::SSM
|
|
1344
1347
|
AssociationVersionInfo.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1345
1348
|
AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1346
1349
|
AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1350
|
+
AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1347
1351
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1348
1352
|
|
1349
1353
|
AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -1664,6 +1668,7 @@ module Aws::SSM
|
|
1664
1668
|
CreateAssociationBatchRequestEntry.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1665
1669
|
CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1666
1670
|
CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1671
|
+
CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1667
1672
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1668
1673
|
|
1669
1674
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -1686,6 +1691,7 @@ module Aws::SSM
|
|
1686
1691
|
CreateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1687
1692
|
CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1688
1693
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1694
|
+
CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1689
1695
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1690
1696
|
|
1691
1697
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -4058,6 +4064,7 @@ module Aws::SSM
|
|
4058
4064
|
Runbook.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
|
4059
4065
|
Runbook.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
|
4060
4066
|
Runbook.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
4067
|
+
Runbook.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
|
4061
4068
|
Runbook.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
4062
4069
|
Runbook.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
4063
4070
|
Runbook.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
|
@@ -4354,6 +4361,7 @@ module Aws::SSM
|
|
4354
4361
|
UpdateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
4355
4362
|
UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
4356
4363
|
UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
4364
|
+
UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
4357
4365
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
4358
4366
|
|
4359
4367
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -276,7 +276,10 @@ module Aws::SSM
|
|
276
276
|
# @return [String]
|
277
277
|
#
|
278
278
|
# @!attribute [rw] document_version
|
279
|
-
# The version of the document used in the association.
|
279
|
+
# The version of the document used in the association. If you change a
|
280
|
+
# document version for a State Manager association, Systems Manager
|
281
|
+
# immediately runs the association unless you previously specifed the
|
282
|
+
# `apply-only-at-cron-interval` parameter.
|
280
283
|
#
|
281
284
|
# State Manager doesn't support running associations that use a new
|
282
285
|
# version of a document if that document is shared from another
|
@@ -310,6 +313,11 @@ module Aws::SSM
|
|
310
313
|
# The association name.
|
311
314
|
# @return [String]
|
312
315
|
#
|
316
|
+
# @!attribute [rw] schedule_offset
|
317
|
+
# Number of days to wait after the scheduled day to run an
|
318
|
+
# association.
|
319
|
+
# @return [Integer]
|
320
|
+
#
|
313
321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
|
314
322
|
#
|
315
323
|
class Association < Struct.new(
|
@@ -322,7 +330,8 @@ module Aws::SSM
|
|
322
330
|
:last_execution_date,
|
323
331
|
:overview,
|
324
332
|
:schedule_expression,
|
325
|
-
:association_name
|
333
|
+
:association_name,
|
334
|
+
:schedule_offset)
|
326
335
|
SENSITIVE = []
|
327
336
|
include Aws::Structure
|
328
337
|
end
|
@@ -484,6 +493,11 @@ module Aws::SSM
|
|
484
493
|
# Services accounts where you want to run the association.
|
485
494
|
# @return [Array<Types::TargetLocation>]
|
486
495
|
#
|
496
|
+
# @!attribute [rw] schedule_offset
|
497
|
+
# Number of days to wait after the scheduled day to run an
|
498
|
+
# association.
|
499
|
+
# @return [Integer]
|
500
|
+
#
|
487
501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
488
502
|
#
|
489
503
|
class AssociationDescription < Struct.new(
|
@@ -510,7 +524,8 @@ module Aws::SSM
|
|
510
524
|
:sync_compliance,
|
511
525
|
:apply_only_at_cron_interval,
|
512
526
|
:calendar_names,
|
513
|
-
:target_locations
|
527
|
+
:target_locations,
|
528
|
+
:schedule_offset)
|
514
529
|
SENSITIVE = [:parameters]
|
515
530
|
include Aws::Structure
|
516
531
|
end
|
@@ -936,6 +951,11 @@ module Aws::SSM
|
|
936
951
|
# association version was created.
|
937
952
|
# @return [Array<Types::TargetLocation>]
|
938
953
|
#
|
954
|
+
# @!attribute [rw] schedule_offset
|
955
|
+
# Number of days to wait after the scheduled day to run an
|
956
|
+
# association.
|
957
|
+
# @return [Integer]
|
958
|
+
#
|
939
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
940
960
|
#
|
941
961
|
class AssociationVersionInfo < Struct.new(
|
@@ -955,7 +975,8 @@ module Aws::SSM
|
|
955
975
|
:sync_compliance,
|
956
976
|
:apply_only_at_cron_interval,
|
957
977
|
:calendar_names,
|
958
|
-
:target_locations
|
978
|
+
:target_locations,
|
979
|
+
:schedule_offset)
|
959
980
|
SENSITIVE = [:parameters]
|
960
981
|
include Aws::Structure
|
961
982
|
end
|
@@ -1564,7 +1585,7 @@ module Aws::SSM
|
|
1564
1585
|
# data as a hash:
|
1565
1586
|
#
|
1566
1587
|
# {
|
1567
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
1588
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
1568
1589
|
# global_filters: {
|
1569
1590
|
# patch_filters: [ # required
|
1570
1591
|
# {
|
@@ -2850,6 +2871,7 @@ module Aws::SSM
|
|
2850
2871
|
# execution_role_name: "ExecutionRoleName",
|
2851
2872
|
# },
|
2852
2873
|
# ],
|
2874
|
+
# schedule_offset: 1,
|
2853
2875
|
# },
|
2854
2876
|
# ],
|
2855
2877
|
# }
|
@@ -2910,6 +2932,7 @@ module Aws::SSM
|
|
2910
2932
|
# execution_role_name: "ExecutionRoleName",
|
2911
2933
|
# },
|
2912
2934
|
# ],
|
2935
|
+
# schedule_offset: 1,
|
2913
2936
|
# }
|
2914
2937
|
#
|
2915
2938
|
# @!attribute [rw] name
|
@@ -3059,6 +3082,11 @@ module Aws::SSM
|
|
3059
3082
|
# multiple accounts.
|
3060
3083
|
# @return [Array<Types::TargetLocation>]
|
3061
3084
|
#
|
3085
|
+
# @!attribute [rw] schedule_offset
|
3086
|
+
# Number of days to wait after the scheduled day to run an
|
3087
|
+
# association.
|
3088
|
+
# @return [Integer]
|
3089
|
+
#
|
3062
3090
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
3063
3091
|
#
|
3064
3092
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -3077,7 +3105,8 @@ module Aws::SSM
|
|
3077
3105
|
:sync_compliance,
|
3078
3106
|
:apply_only_at_cron_interval,
|
3079
3107
|
:calendar_names,
|
3080
|
-
:target_locations
|
3108
|
+
:target_locations,
|
3109
|
+
:schedule_offset)
|
3081
3110
|
SENSITIVE = [:parameters]
|
3082
3111
|
include Aws::Structure
|
3083
3112
|
end
|
@@ -3140,6 +3169,7 @@ module Aws::SSM
|
|
3140
3169
|
# execution_role_name: "ExecutionRoleName",
|
3141
3170
|
# },
|
3142
3171
|
# ],
|
3172
|
+
# schedule_offset: 1,
|
3143
3173
|
# }
|
3144
3174
|
#
|
3145
3175
|
# @!attribute [rw] name
|
@@ -3311,6 +3341,26 @@ module Aws::SSM
|
|
3311
3341
|
# multiple accounts.
|
3312
3342
|
# @return [Array<Types::TargetLocation>]
|
3313
3343
|
#
|
3344
|
+
# @!attribute [rw] schedule_offset
|
3345
|
+
# Number of days to wait after the scheduled day to run an
|
3346
|
+
# association. For example, if you specified a cron schedule of
|
3347
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
3348
|
+
# association each Sunday after the second Thursday of the month. For
|
3349
|
+
# more information about cron schedules for associations, see
|
3350
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
3351
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
3352
|
+
#
|
3353
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
3354
|
+
# parameter. This option tells the system not to run an association
|
3355
|
+
# immediately after you create it.
|
3356
|
+
#
|
3357
|
+
# </note>
|
3358
|
+
#
|
3359
|
+
#
|
3360
|
+
#
|
3361
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
3362
|
+
# @return [Integer]
|
3363
|
+
#
|
3314
3364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
3315
3365
|
#
|
3316
3366
|
class CreateAssociationRequest < Struct.new(
|
@@ -3329,7 +3379,8 @@ module Aws::SSM
|
|
3329
3379
|
:sync_compliance,
|
3330
3380
|
:apply_only_at_cron_interval,
|
3331
3381
|
:calendar_names,
|
3332
|
-
:target_locations
|
3382
|
+
:target_locations,
|
3383
|
+
:schedule_offset)
|
3333
3384
|
SENSITIVE = [:parameters]
|
3334
3385
|
include Aws::Structure
|
3335
3386
|
end
|
@@ -3938,7 +3989,7 @@ module Aws::SSM
|
|
3938
3989
|
# data as a hash:
|
3939
3990
|
#
|
3940
3991
|
# {
|
3941
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
3992
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
3942
3993
|
# name: "BaselineName", # required
|
3943
3994
|
# global_filters: {
|
3944
3995
|
# patch_filters: [ # required
|
@@ -6927,7 +6978,7 @@ module Aws::SSM
|
|
6927
6978
|
# data as a hash:
|
6928
6979
|
#
|
6929
6980
|
# {
|
6930
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
6981
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
6931
6982
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
6932
6983
|
# patch_set: "OS", # accepts OS, APPLICATION
|
6933
6984
|
# max_results: 1,
|
@@ -8108,21 +8159,18 @@ module Aws::SSM
|
|
8108
8159
|
# @return [String]
|
8109
8160
|
#
|
8110
8161
|
# @!attribute [rw] plugin_name
|
8111
|
-
# The name of the
|
8112
|
-
# document contains only one
|
8113
|
-
# for that
|
8114
|
-
#
|
8115
|
-
#
|
8116
|
-
#
|
8117
|
-
# Plugin names are also referred to as *step names* in Systems Manager
|
8118
|
-
# documents (SSM documents). For example, `aws:RunShellScript` is a
|
8119
|
-
# plugin.
|
8162
|
+
# The name of the step for which you want detailed results. If the
|
8163
|
+
# document contains only one step, you can omit the name and details
|
8164
|
+
# for that step. If the document contains more than one step, you must
|
8165
|
+
# specify the name of the step for which you want to view details. Be
|
8166
|
+
# sure to specify the name of the step, not the name of a plugin like
|
8167
|
+
# `aws:RunShellScript`.
|
8120
8168
|
#
|
8121
8169
|
# To find the `PluginName`, check the document content and find the
|
8122
|
-
# name of the
|
8123
|
-
# the `CommandId` and `Details`
|
8124
|
-
# `
|
8125
|
-
# `CommandPlugins` list.
|
8170
|
+
# name of the step you want details for. Alternatively, use
|
8171
|
+
# ListCommandInvocations with the `CommandId` and `Details`
|
8172
|
+
# parameters. The `PluginName` is the `Name` attribute of the
|
8173
|
+
# `CommandPlugin` object in the `CommandPlugins` list.
|
8126
8174
|
# @return [String]
|
8127
8175
|
#
|
8128
8176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
|
@@ -8357,7 +8405,7 @@ module Aws::SSM
|
|
8357
8405
|
# data as a hash:
|
8358
8406
|
#
|
8359
8407
|
# {
|
8360
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
8408
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
8361
8409
|
# }
|
8362
8410
|
#
|
8363
8411
|
# @!attribute [rw] operating_system
|
@@ -8397,7 +8445,7 @@ module Aws::SSM
|
|
8397
8445
|
# instance_id: "InstanceId", # required
|
8398
8446
|
# snapshot_id: "SnapshotId", # required
|
8399
8447
|
# baseline_override: {
|
8400
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
8448
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
8401
8449
|
# global_filters: {
|
8402
8450
|
# patch_filters: [ # required
|
8403
8451
|
# {
|
@@ -9785,7 +9833,7 @@ module Aws::SSM
|
|
9785
9833
|
#
|
9786
9834
|
# {
|
9787
9835
|
# patch_group: "PatchGroup", # required
|
9788
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN
|
9836
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS, RASPBIAN, ROCKY_LINUX
|
9789
9837
|
# }
|
9790
9838
|
#
|
9791
9839
|
# @!attribute [rw] patch_group
|
@@ -17946,6 +17994,11 @@ module Aws::SSM
|
|
17946
17994
|
# values: ["TargetValue"],
|
17947
17995
|
# },
|
17948
17996
|
# ],
|
17997
|
+
# target_maps: [
|
17998
|
+
# {
|
17999
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
18000
|
+
# },
|
18001
|
+
# ],
|
17949
18002
|
# max_concurrency: "MaxConcurrency",
|
17950
18003
|
# max_errors: "MaxErrors",
|
17951
18004
|
# target_locations: [
|
@@ -17982,6 +18035,11 @@ module Aws::SSM
|
|
17982
18035
|
# performs tasks on. Required if you specify `TargetParameterName`.
|
17983
18036
|
# @return [Array<Types::Target>]
|
17984
18037
|
#
|
18038
|
+
# @!attribute [rw] target_maps
|
18039
|
+
# A key-value mapping of runbook parameters to target resources. Both
|
18040
|
+
# Targets and TargetMaps can't be specified together.
|
18041
|
+
# @return [Array<Hash<String,Array<String>>>]
|
18042
|
+
#
|
17985
18043
|
# @!attribute [rw] max_concurrency
|
17986
18044
|
# The `MaxConcurrency` value specified by the user when the operation
|
17987
18045
|
# started, indicating the maximum number of resources that the runbook
|
@@ -18007,6 +18065,7 @@ module Aws::SSM
|
|
18007
18065
|
:parameters,
|
18008
18066
|
:target_parameter_name,
|
18009
18067
|
:targets,
|
18068
|
+
:target_maps,
|
18010
18069
|
:max_concurrency,
|
18011
18070
|
:max_errors,
|
18012
18071
|
:target_locations)
|
@@ -18892,6 +18951,11 @@ module Aws::SSM
|
|
18892
18951
|
# values: ["TargetValue"],
|
18893
18952
|
# },
|
18894
18953
|
# ],
|
18954
|
+
# target_maps: [
|
18955
|
+
# {
|
18956
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
18957
|
+
# },
|
18958
|
+
# ],
|
18895
18959
|
# max_concurrency: "MaxConcurrency",
|
18896
18960
|
# max_errors: "MaxErrors",
|
18897
18961
|
# target_locations: [
|
@@ -19824,6 +19888,7 @@ module Aws::SSM
|
|
19824
19888
|
# execution_role_name: "ExecutionRoleName",
|
19825
19889
|
# },
|
19826
19890
|
# ],
|
19891
|
+
# schedule_offset: 1,
|
19827
19892
|
# }
|
19828
19893
|
#
|
19829
19894
|
# @!attribute [rw] association_id
|
@@ -19962,8 +20027,19 @@ module Aws::SSM
|
|
19962
20027
|
# to run immediately after you update it. This parameter isn't
|
19963
20028
|
# supported for rate expressions.
|
19964
20029
|
#
|
19965
|
-
#
|
19966
|
-
# you
|
20030
|
+
# If you chose this option when you created an association and later
|
20031
|
+
# you edit that association or you make changes to the SSM document on
|
20032
|
+
# which that association is based (by using the Documents page in the
|
20033
|
+
# console), State Manager applies the association at the next
|
20034
|
+
# specified cron interval. For example, if you chose the `Latest`
|
20035
|
+
# version of an SSM document when you created an association and you
|
20036
|
+
# edit the association by choosing a different document version on the
|
20037
|
+
# Documents page, State Manager applies the association at the next
|
20038
|
+
# specified cron interval if you previously selected this option. If
|
20039
|
+
# this option wasn't selected, State Manager immediately runs the
|
20040
|
+
# association.
|
20041
|
+
#
|
20042
|
+
# You can reset this option. To do so, specify the
|
19967
20043
|
# `no-apply-only-at-cron-interval` parameter when you update the
|
19968
20044
|
# association from the command line. This parameter forces the
|
19969
20045
|
# association to run immediately after updating it and according to
|
@@ -19989,6 +20065,26 @@ module Aws::SSM
|
|
19989
20065
|
# multiple accounts.
|
19990
20066
|
# @return [Array<Types::TargetLocation>]
|
19991
20067
|
#
|
20068
|
+
# @!attribute [rw] schedule_offset
|
20069
|
+
# Number of days to wait after the scheduled day to run an
|
20070
|
+
# association. For example, if you specified a cron schedule of
|
20071
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
20072
|
+
# association each Sunday after the second Thursday of the month. For
|
20073
|
+
# more information about cron schedules for associations, see
|
20074
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
20075
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
20076
|
+
#
|
20077
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
20078
|
+
# parameter. This option tells the system not to run an association
|
20079
|
+
# immediately after you create it.
|
20080
|
+
#
|
20081
|
+
# </note>
|
20082
|
+
#
|
20083
|
+
#
|
20084
|
+
#
|
20085
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
20086
|
+
# @return [Integer]
|
20087
|
+
#
|
19992
20088
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
19993
20089
|
#
|
19994
20090
|
class UpdateAssociationRequest < Struct.new(
|
@@ -20008,7 +20104,8 @@ module Aws::SSM
|
|
20008
20104
|
:sync_compliance,
|
20009
20105
|
:apply_only_at_cron_interval,
|
20010
20106
|
:calendar_names,
|
20011
|
-
:target_locations
|
20107
|
+
:target_locations,
|
20108
|
+
:schedule_offset)
|
20012
20109
|
SENSITIVE = [:parameters]
|
20013
20110
|
include Aws::Structure
|
20014
20111
|
end
|
@@ -20210,6 +20307,12 @@ module Aws::SSM
|
|
20210
20307
|
# Systems Manager supports updating only the latest version of the
|
20211
20308
|
# document. You can specify the version number of the latest version
|
20212
20309
|
# or use the `$LATEST` variable.
|
20310
|
+
#
|
20311
|
+
# <note markdown="1"> If you change a document version for a State Manager association,
|
20312
|
+
# Systems Manager immediately runs the association unless you
|
20313
|
+
# previously specifed the `apply-only-at-cron-interval` parameter.
|
20314
|
+
#
|
20315
|
+
# </note>
|
20213
20316
|
# @return [String]
|
20214
20317
|
#
|
20215
20318
|
# @!attribute [rw] document_format
|
data/lib/aws-sdk-ssm.rb
CHANGED
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.
|
4
|
+
version: 1.136.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-
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|