aws-sdk-ssm 1.134.0 → 1.137.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 +143 -22
- data/lib/aws-sdk-ssm/client_api.rb +21 -0
- data/lib/aws-sdk-ssm/errors.rb +16 -0
- data/lib/aws-sdk-ssm/types.rb +176 -20
- 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: 886618fdef13902675fafbb1348fea3df807eee583dc048dcf5698846eb6f35b
|
4
|
+
data.tar.gz: 46abc9049a9fa553fb833a3c86596bfe115c45c165f8954434e53d43a7901d76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 939da93c044acdf02436e09f6ba69c0305a783cda1fccea51f8625e8402235f73d3171ac9ea094a6f03938450b6e4f5bcf7c9af31e706f3276ec8c411b614e5d
|
7
|
+
data.tar.gz: a2e554c522805d883f62aa77fcceb67d4c38fe84548368c1fd9117676155a9ff8d22252e0bad43931ac17a4686ffff5d3c6029c64d017d4563f5fbc804f7b1b7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.137.0 (2022-05-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the TargetMaps parameter in SSM State Manager API.
|
8
|
+
|
9
|
+
1.136.0 (2022-04-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update the StartChangeRequestExecution, adding TargetMaps to the Runbook parameter
|
13
|
+
|
14
|
+
1.135.0 (2022-04-19)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
4
19
|
1.134.0 (2022-03-25)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.137.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -362,13 +362,14 @@ module Aws::SSM
|
|
362
362
|
# @!group API Operations
|
363
363
|
|
364
364
|
# Adds or overwrites one or more tags for the specified resource. Tags
|
365
|
-
# are metadata that you can assign to your
|
366
|
-
# maintenance windows, Parameter Store parameters, and
|
367
|
-
# Tags enable you to categorize your resources in
|
368
|
-
# example, by purpose, owner, or environment. Each
|
369
|
-
# and an optional value, both of which you define.
|
370
|
-
# could define a set of tags for your account's
|
371
|
-
# helps you track each node's owner and stack level.
|
365
|
+
# are metadata that you can assign to your automations, documents,
|
366
|
+
# managed nodes, maintenance windows, Parameter Store parameters, and
|
367
|
+
# patch baselines. Tags enable you to categorize your resources in
|
368
|
+
# different ways, for example, by purpose, owner, or environment. Each
|
369
|
+
# tag consists of a key and an optional value, both of which you define.
|
370
|
+
# For example, you could define a set of tags for your account's
|
371
|
+
# managed nodes that helps you track each node's owner and stack level.
|
372
|
+
# For example:
|
372
373
|
#
|
373
374
|
# * `Key=Owner,Value=DbAdmin`
|
374
375
|
#
|
@@ -382,7 +383,8 @@ module Aws::SSM
|
|
382
383
|
#
|
383
384
|
# * `Key=Stack,Value=Test`
|
384
385
|
#
|
385
|
-
#
|
386
|
+
# Most resources can have a maximum of 50 tags. Automations can have a
|
387
|
+
# maximum of 5 tags.
|
386
388
|
#
|
387
389
|
# We recommend that you devise a set of tag keys that meets your needs
|
388
390
|
# for each resource type. Using a consistent set of tag keys makes it
|
@@ -416,6 +418,8 @@ module Aws::SSM
|
|
416
418
|
#
|
417
419
|
# `PatchBaseline`\: `pb-012345abcde`
|
418
420
|
#
|
421
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
422
|
+
#
|
419
423
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
420
424
|
# Amazon Resource Name (ARN) for the object. Specifically, `ResourceID`
|
421
425
|
# is created from the strings that come after the word `opsmetadata` in
|
@@ -871,6 +875,29 @@ module Aws::SSM
|
|
871
875
|
# action to create an association in multiple Regions and multiple
|
872
876
|
# accounts.
|
873
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
|
+
#
|
897
|
+
# @option params [Array<Hash>] :target_maps
|
898
|
+
# A key-value mapping of document parameters to target resources. Both
|
899
|
+
# Targets and TargetMaps can't be specified together.
|
900
|
+
#
|
874
901
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
875
902
|
#
|
876
903
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -915,6 +942,12 @@ module Aws::SSM
|
|
915
942
|
# execution_role_name: "ExecutionRoleName",
|
916
943
|
# },
|
917
944
|
# ],
|
945
|
+
# schedule_offset: 1,
|
946
|
+
# target_maps: [
|
947
|
+
# {
|
948
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
949
|
+
# },
|
950
|
+
# ],
|
918
951
|
# })
|
919
952
|
#
|
920
953
|
# @example Response structure
|
@@ -964,6 +997,11 @@ module Aws::SSM
|
|
964
997
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
965
998
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
966
999
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
1000
|
+
# resp.association_description.schedule_offset #=> Integer
|
1001
|
+
# resp.association_description.target_maps #=> Array
|
1002
|
+
# resp.association_description.target_maps[0] #=> Hash
|
1003
|
+
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
1004
|
+
# resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
|
967
1005
|
#
|
968
1006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
|
969
1007
|
#
|
@@ -1036,6 +1074,12 @@ module Aws::SSM
|
|
1036
1074
|
# execution_role_name: "ExecutionRoleName",
|
1037
1075
|
# },
|
1038
1076
|
# ],
|
1077
|
+
# schedule_offset: 1,
|
1078
|
+
# target_maps: [
|
1079
|
+
# {
|
1080
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
1081
|
+
# },
|
1082
|
+
# ],
|
1039
1083
|
# },
|
1040
1084
|
# ],
|
1041
1085
|
# })
|
@@ -1088,6 +1132,11 @@ module Aws::SSM
|
|
1088
1132
|
# resp.successful[0].target_locations[0].target_location_max_concurrency #=> String
|
1089
1133
|
# resp.successful[0].target_locations[0].target_location_max_errors #=> String
|
1090
1134
|
# resp.successful[0].target_locations[0].execution_role_name #=> String
|
1135
|
+
# resp.successful[0].schedule_offset #=> Integer
|
1136
|
+
# resp.successful[0].target_maps #=> Array
|
1137
|
+
# resp.successful[0].target_maps[0] #=> Hash
|
1138
|
+
# resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array
|
1139
|
+
# resp.successful[0].target_maps[0]["TargetMapKey"][0] #=> String
|
1091
1140
|
# resp.failed #=> Array
|
1092
1141
|
# resp.failed[0].entry.name #=> String
|
1093
1142
|
# resp.failed[0].entry.instance_id #=> String
|
@@ -1120,6 +1169,11 @@ module Aws::SSM
|
|
1120
1169
|
# resp.failed[0].entry.target_locations[0].target_location_max_concurrency #=> String
|
1121
1170
|
# resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
|
1122
1171
|
# resp.failed[0].entry.target_locations[0].execution_role_name #=> String
|
1172
|
+
# resp.failed[0].entry.schedule_offset #=> Integer
|
1173
|
+
# resp.failed[0].entry.target_maps #=> Array
|
1174
|
+
# resp.failed[0].entry.target_maps[0] #=> Hash
|
1175
|
+
# resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array
|
1176
|
+
# resp.failed[0].entry.target_maps[0]["TargetMapKey"][0] #=> String
|
1123
1177
|
# resp.failed[0].message #=> String
|
1124
1178
|
# resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
|
1125
1179
|
#
|
@@ -2612,6 +2666,11 @@ module Aws::SSM
|
|
2612
2666
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
2613
2667
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
2614
2668
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
2669
|
+
# resp.association_description.schedule_offset #=> Integer
|
2670
|
+
# resp.association_description.target_maps #=> Array
|
2671
|
+
# resp.association_description.target_maps[0] #=> Hash
|
2672
|
+
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
2673
|
+
# resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
|
2615
2674
|
#
|
2616
2675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
|
2617
2676
|
#
|
@@ -2849,6 +2908,10 @@ module Aws::SSM
|
|
2849
2908
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].key #=> String
|
2850
2909
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values #=> Array
|
2851
2910
|
# resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values[0] #=> String
|
2911
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps #=> Array
|
2912
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0] #=> Hash
|
2913
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0]["TargetMapKey"] #=> Array
|
2914
|
+
# resp.automation_execution_metadata_list[0].runbooks[0].target_maps[0]["TargetMapKey"][0] #=> String
|
2852
2915
|
# resp.automation_execution_metadata_list[0].runbooks[0].max_concurrency #=> String
|
2853
2916
|
# resp.automation_execution_metadata_list[0].runbooks[0].max_errors #=> String
|
2854
2917
|
# resp.automation_execution_metadata_list[0].runbooks[0].target_locations #=> Array
|
@@ -5107,6 +5170,10 @@ module Aws::SSM
|
|
5107
5170
|
# resp.automation_execution.runbooks[0].targets[0].key #=> String
|
5108
5171
|
# resp.automation_execution.runbooks[0].targets[0].values #=> Array
|
5109
5172
|
# resp.automation_execution.runbooks[0].targets[0].values[0] #=> String
|
5173
|
+
# resp.automation_execution.runbooks[0].target_maps #=> Array
|
5174
|
+
# resp.automation_execution.runbooks[0].target_maps[0] #=> Hash
|
5175
|
+
# resp.automation_execution.runbooks[0].target_maps[0]["TargetMapKey"] #=> Array
|
5176
|
+
# resp.automation_execution.runbooks[0].target_maps[0]["TargetMapKey"][0] #=> String
|
5110
5177
|
# resp.automation_execution.runbooks[0].max_concurrency #=> String
|
5111
5178
|
# resp.automation_execution.runbooks[0].max_errors #=> String
|
5112
5179
|
# resp.automation_execution.runbooks[0].target_locations #=> Array
|
@@ -5213,20 +5280,18 @@ module Aws::SSM
|
|
5213
5280
|
# Manager.
|
5214
5281
|
#
|
5215
5282
|
# @option params [String] :plugin_name
|
5216
|
-
# The name of the
|
5217
|
-
# document contains only one
|
5218
|
-
#
|
5219
|
-
#
|
5220
|
-
#
|
5221
|
-
#
|
5222
|
-
# Plugin names are also referred to as *step names* in Systems Manager
|
5223
|
-
# documents (SSM documents). For example, `aws:RunShellScript` is a
|
5224
|
-
# plugin.
|
5283
|
+
# The name of the step for which you want detailed results. If the
|
5284
|
+
# document contains only one step, you can omit the name and details for
|
5285
|
+
# that step. If the document contains more than one step, you must
|
5286
|
+
# specify the name of the step for which you want to view details. Be
|
5287
|
+
# sure to specify the name of the step, not the name of a plugin like
|
5288
|
+
# `aws:RunShellScript`.
|
5225
5289
|
#
|
5226
5290
|
# To find the `PluginName`, check the document content and find the name
|
5227
|
-
# of the
|
5228
|
-
# `CommandId` and `Details` parameters.
|
5229
|
-
#
|
5291
|
+
# of the step you want details for. Alternatively, use
|
5292
|
+
# ListCommandInvocations with the `CommandId` and `Details` parameters.
|
5293
|
+
# The `PluginName` is the `Name` attribute of the `CommandPlugin` object
|
5294
|
+
# in the `CommandPlugins` list.
|
5230
5295
|
#
|
5231
5296
|
# @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5232
5297
|
#
|
@@ -6813,6 +6878,11 @@ module Aws::SSM
|
|
6813
6878
|
# resp.association_versions[0].target_locations[0].target_location_max_concurrency #=> String
|
6814
6879
|
# resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
|
6815
6880
|
# resp.association_versions[0].target_locations[0].execution_role_name #=> String
|
6881
|
+
# resp.association_versions[0].schedule_offset #=> Integer
|
6882
|
+
# resp.association_versions[0].target_maps #=> Array
|
6883
|
+
# resp.association_versions[0].target_maps[0] #=> Hash
|
6884
|
+
# resp.association_versions[0].target_maps[0]["TargetMapKey"] #=> Array
|
6885
|
+
# resp.association_versions[0].target_maps[0]["TargetMapKey"][0] #=> String
|
6816
6886
|
# resp.next_token #=> String
|
6817
6887
|
#
|
6818
6888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
|
@@ -6889,6 +6959,11 @@ module Aws::SSM
|
|
6889
6959
|
# resp.associations[0].overview.association_status_aggregated_count["StatusName"] #=> Integer
|
6890
6960
|
# resp.associations[0].schedule_expression #=> String
|
6891
6961
|
# resp.associations[0].association_name #=> String
|
6962
|
+
# resp.associations[0].schedule_offset #=> Integer
|
6963
|
+
# resp.associations[0].target_maps #=> Array
|
6964
|
+
# resp.associations[0].target_maps[0] #=> Hash
|
6965
|
+
# resp.associations[0].target_maps[0]["TargetMapKey"] #=> Array
|
6966
|
+
# resp.associations[0].target_maps[0]["TargetMapKey"][0] #=> String
|
6892
6967
|
# resp.next_token #=> String
|
6893
6968
|
#
|
6894
6969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
|
@@ -8856,6 +8931,8 @@ module Aws::SSM
|
|
8856
8931
|
#
|
8857
8932
|
# MaintenanceWindow: mw-012345abcde
|
8858
8933
|
#
|
8934
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
8935
|
+
#
|
8859
8936
|
# PatchBaseline: pb-012345abcde
|
8860
8937
|
#
|
8861
8938
|
# OpsMetadata object: `ResourceID` for tagging is created from the
|
@@ -9396,7 +9473,7 @@ module Aws::SSM
|
|
9396
9473
|
#
|
9397
9474
|
# * `Key=OS,Value=Windows`
|
9398
9475
|
#
|
9399
|
-
# <note markdown="1"> To add tags to an existing
|
9476
|
+
# <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
|
9400
9477
|
# operation.
|
9401
9478
|
#
|
9402
9479
|
# </note>
|
@@ -9571,6 +9648,11 @@ module Aws::SSM
|
|
9571
9648
|
# values: ["TargetValue"],
|
9572
9649
|
# },
|
9573
9650
|
# ],
|
9651
|
+
# target_maps: [
|
9652
|
+
# {
|
9653
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
9654
|
+
# },
|
9655
|
+
# ],
|
9574
9656
|
# max_concurrency: "MaxConcurrency",
|
9575
9657
|
# max_errors: "MaxErrors",
|
9576
9658
|
# target_locations: [
|
@@ -9957,6 +10039,29 @@ module Aws::SSM
|
|
9957
10039
|
# action to update an association in multiple Regions and multiple
|
9958
10040
|
# accounts.
|
9959
10041
|
#
|
10042
|
+
# @option params [Integer] :schedule_offset
|
10043
|
+
# Number of days to wait after the scheduled day to run an association.
|
10044
|
+
# For example, if you specified a cron schedule of `cron(0 0 ? * THU#2
|
10045
|
+
# *)`, you could specify an offset of 3 to run the association each
|
10046
|
+
# Sunday after the second Thursday of the month. For more information
|
10047
|
+
# about cron schedules for associations, see [Reference: Cron and rate
|
10048
|
+
# expressions for Systems Manager][1] in the *Amazon Web Services
|
10049
|
+
# Systems Manager User Guide*.
|
10050
|
+
#
|
10051
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
10052
|
+
# parameter. This option tells the system not to run an association
|
10053
|
+
# immediately after you create it.
|
10054
|
+
#
|
10055
|
+
# </note>
|
10056
|
+
#
|
10057
|
+
#
|
10058
|
+
#
|
10059
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
10060
|
+
#
|
10061
|
+
# @option params [Array<Hash>] :target_maps
|
10062
|
+
# A key-value mapping of document parameters to target resources. Both
|
10063
|
+
# Targets and TargetMaps can't be specified together.
|
10064
|
+
#
|
9960
10065
|
# @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9961
10066
|
#
|
9962
10067
|
# * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -10002,6 +10107,12 @@ module Aws::SSM
|
|
10002
10107
|
# execution_role_name: "ExecutionRoleName",
|
10003
10108
|
# },
|
10004
10109
|
# ],
|
10110
|
+
# schedule_offset: 1,
|
10111
|
+
# target_maps: [
|
10112
|
+
# {
|
10113
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
10114
|
+
# },
|
10115
|
+
# ],
|
10005
10116
|
# })
|
10006
10117
|
#
|
10007
10118
|
# @example Response structure
|
@@ -10051,6 +10162,11 @@ module Aws::SSM
|
|
10051
10162
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10052
10163
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10053
10164
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10165
|
+
# resp.association_description.schedule_offset #=> Integer
|
10166
|
+
# resp.association_description.target_maps #=> Array
|
10167
|
+
# resp.association_description.target_maps[0] #=> Hash
|
10168
|
+
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
10169
|
+
# resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
|
10054
10170
|
#
|
10055
10171
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
|
10056
10172
|
#
|
@@ -10142,6 +10258,11 @@ module Aws::SSM
|
|
10142
10258
|
# resp.association_description.target_locations[0].target_location_max_concurrency #=> String
|
10143
10259
|
# resp.association_description.target_locations[0].target_location_max_errors #=> String
|
10144
10260
|
# resp.association_description.target_locations[0].execution_role_name #=> String
|
10261
|
+
# resp.association_description.schedule_offset #=> Integer
|
10262
|
+
# resp.association_description.target_maps #=> Array
|
10263
|
+
# resp.association_description.target_maps[0] #=> Hash
|
10264
|
+
# resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
|
10265
|
+
# resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
|
10145
10266
|
#
|
10146
10267
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
|
10147
10268
|
#
|
@@ -11506,7 +11627,7 @@ module Aws::SSM
|
|
11506
11627
|
params: params,
|
11507
11628
|
config: config)
|
11508
11629
|
context[:gem_name] = 'aws-sdk-ssm'
|
11509
|
-
context[:gem_version] = '1.
|
11630
|
+
context[:gem_version] = '1.137.0'
|
11510
11631
|
Seahorse::Client::Request.new(handlers, context)
|
11511
11632
|
end
|
11512
11633
|
|
@@ -527,6 +527,7 @@ module Aws::SSM
|
|
527
527
|
InvalidRole = Shapes::StructureShape.new(name: 'InvalidRole')
|
528
528
|
InvalidSchedule = Shapes::StructureShape.new(name: 'InvalidSchedule')
|
529
529
|
InvalidTarget = Shapes::StructureShape.new(name: 'InvalidTarget')
|
530
|
+
InvalidTargetMaps = Shapes::StructureShape.new(name: 'InvalidTargetMaps')
|
530
531
|
InvalidTypeNameException = Shapes::StructureShape.new(name: 'InvalidTypeNameException')
|
531
532
|
InvalidUpdate = Shapes::StructureShape.new(name: 'InvalidUpdate')
|
532
533
|
InventoryAggregator = Shapes::StructureShape.new(name: 'InventoryAggregator')
|
@@ -1029,6 +1030,7 @@ module Aws::SSM
|
|
1029
1030
|
S3OutputUrl = Shapes::StructureShape.new(name: 'S3OutputUrl')
|
1030
1031
|
S3Region = Shapes::StringShape.new(name: 'S3Region')
|
1031
1032
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
1033
|
+
ScheduleOffset = Shapes::IntegerShape.new(name: 'ScheduleOffset')
|
1032
1034
|
ScheduledWindowExecution = Shapes::StructureShape.new(name: 'ScheduledWindowExecution')
|
1033
1035
|
ScheduledWindowExecutionList = Shapes::ListShape.new(name: 'ScheduledWindowExecutionList')
|
1034
1036
|
SendAutomationSignalRequest = Shapes::StructureShape.new(name: 'SendAutomationSignalRequest')
|
@@ -1225,6 +1227,8 @@ module Aws::SSM
|
|
1225
1227
|
Association.add_member(:overview, Shapes::ShapeRef.new(shape: AssociationOverview, location_name: "Overview"))
|
1226
1228
|
Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
1227
1229
|
Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1230
|
+
Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1231
|
+
Association.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1228
1232
|
Association.struct_class = Types::Association
|
1229
1233
|
|
1230
1234
|
AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists
|
@@ -1253,6 +1257,8 @@ module Aws::SSM
|
|
1253
1257
|
AssociationDescription.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1254
1258
|
AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1255
1259
|
AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1260
|
+
AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1261
|
+
AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1256
1262
|
AssociationDescription.struct_class = Types::AssociationDescription
|
1257
1263
|
|
1258
1264
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
@@ -1344,6 +1350,8 @@ module Aws::SSM
|
|
1344
1350
|
AssociationVersionInfo.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1345
1351
|
AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1346
1352
|
AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1353
|
+
AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1354
|
+
AssociationVersionInfo.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1347
1355
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1348
1356
|
|
1349
1357
|
AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -1664,6 +1672,8 @@ module Aws::SSM
|
|
1664
1672
|
CreateAssociationBatchRequestEntry.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1665
1673
|
CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1666
1674
|
CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1675
|
+
CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1676
|
+
CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1667
1677
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1668
1678
|
|
1669
1679
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -1686,6 +1696,8 @@ module Aws::SSM
|
|
1686
1696
|
CreateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1687
1697
|
CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1688
1698
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1699
|
+
CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1700
|
+
CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1689
1701
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1690
1702
|
|
1691
1703
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -2927,6 +2939,9 @@ module Aws::SSM
|
|
2927
2939
|
InvalidTarget.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2928
2940
|
InvalidTarget.struct_class = Types::InvalidTarget
|
2929
2941
|
|
2942
|
+
InvalidTargetMaps.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2943
|
+
InvalidTargetMaps.struct_class = Types::InvalidTargetMaps
|
2944
|
+
|
2930
2945
|
InvalidTypeNameException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2931
2946
|
InvalidTypeNameException.struct_class = Types::InvalidTypeNameException
|
2932
2947
|
|
@@ -4058,6 +4073,7 @@ module Aws::SSM
|
|
4058
4073
|
Runbook.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
|
4059
4074
|
Runbook.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
|
4060
4075
|
Runbook.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
4076
|
+
Runbook.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps"))
|
4061
4077
|
Runbook.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
|
4062
4078
|
Runbook.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
|
4063
4079
|
Runbook.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
|
@@ -4354,6 +4370,8 @@ module Aws::SSM
|
|
4354
4370
|
UpdateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
4355
4371
|
UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
4356
4372
|
UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
4373
|
+
UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
4374
|
+
UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
4357
4375
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
4358
4376
|
|
4359
4377
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -4645,6 +4663,7 @@ module Aws::SSM
|
|
4645
4663
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameters)
|
4646
4664
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
|
4647
4665
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
|
4666
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
|
4648
4667
|
end)
|
4649
4668
|
|
4650
4669
|
api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4664,6 +4683,7 @@ module Aws::SSM
|
|
4664
4683
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOutputLocation)
|
4665
4684
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
|
4666
4685
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
|
4686
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
|
4667
4687
|
end)
|
4668
4688
|
|
4669
4689
|
api.add_operation(:create_document, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6266,6 +6286,7 @@ module Aws::SSM
|
|
6266
6286
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
|
6267
6287
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
|
6268
6288
|
o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded)
|
6289
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
|
6269
6290
|
end)
|
6270
6291
|
|
6271
6292
|
api.add_operation(:update_association_status, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -101,6 +101,7 @@ module Aws::SSM
|
|
101
101
|
# * {InvalidRole}
|
102
102
|
# * {InvalidSchedule}
|
103
103
|
# * {InvalidTarget}
|
104
|
+
# * {InvalidTargetMaps}
|
104
105
|
# * {InvalidTypeNameException}
|
105
106
|
# * {InvalidUpdate}
|
106
107
|
# * {InvocationDoesNotExist}
|
@@ -1216,6 +1217,21 @@ module Aws::SSM
|
|
1216
1217
|
end
|
1217
1218
|
end
|
1218
1219
|
|
1220
|
+
class InvalidTargetMaps < ServiceError
|
1221
|
+
|
1222
|
+
# @param [Seahorse::Client::RequestContext] context
|
1223
|
+
# @param [String] message
|
1224
|
+
# @param [Aws::SSM::Types::InvalidTargetMaps] data
|
1225
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1226
|
+
super(context, message, data)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# @return [String]
|
1230
|
+
def message
|
1231
|
+
@message || @data[:message]
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
|
1219
1235
|
class InvalidTypeNameException < ServiceError
|
1220
1236
|
|
1221
1237
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -130,6 +130,8 @@ module Aws::SSM
|
|
130
130
|
#
|
131
131
|
# `PatchBaseline`\: `pb-012345abcde`
|
132
132
|
#
|
133
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
134
|
+
#
|
133
135
|
# `OpsMetadata` object: `ResourceID` for tagging is created from the
|
134
136
|
# Amazon Resource Name (ARN) for the object. Specifically,
|
135
137
|
# `ResourceID` is created from the strings that come after the word
|
@@ -311,6 +313,16 @@ module Aws::SSM
|
|
311
313
|
# The association name.
|
312
314
|
# @return [String]
|
313
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
|
+
#
|
321
|
+
# @!attribute [rw] target_maps
|
322
|
+
# A key-value mapping of document parameters to target resources. Both
|
323
|
+
# Targets and TargetMaps can't be specified together.
|
324
|
+
# @return [Array<Hash<String,Array<String>>>]
|
325
|
+
#
|
314
326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
|
315
327
|
#
|
316
328
|
class Association < Struct.new(
|
@@ -323,7 +335,9 @@ module Aws::SSM
|
|
323
335
|
:last_execution_date,
|
324
336
|
:overview,
|
325
337
|
:schedule_expression,
|
326
|
-
:association_name
|
338
|
+
:association_name,
|
339
|
+
:schedule_offset,
|
340
|
+
:target_maps)
|
327
341
|
SENSITIVE = []
|
328
342
|
include Aws::Structure
|
329
343
|
end
|
@@ -485,6 +499,16 @@ module Aws::SSM
|
|
485
499
|
# Services accounts where you want to run the association.
|
486
500
|
# @return [Array<Types::TargetLocation>]
|
487
501
|
#
|
502
|
+
# @!attribute [rw] schedule_offset
|
503
|
+
# Number of days to wait after the scheduled day to run an
|
504
|
+
# association.
|
505
|
+
# @return [Integer]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] target_maps
|
508
|
+
# A key-value mapping of document parameters to target resources. Both
|
509
|
+
# Targets and TargetMaps can't be specified together.
|
510
|
+
# @return [Array<Hash<String,Array<String>>>]
|
511
|
+
#
|
488
512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
489
513
|
#
|
490
514
|
class AssociationDescription < Struct.new(
|
@@ -511,7 +535,9 @@ module Aws::SSM
|
|
511
535
|
:sync_compliance,
|
512
536
|
:apply_only_at_cron_interval,
|
513
537
|
:calendar_names,
|
514
|
-
:target_locations
|
538
|
+
:target_locations,
|
539
|
+
:schedule_offset,
|
540
|
+
:target_maps)
|
515
541
|
SENSITIVE = [:parameters]
|
516
542
|
include Aws::Structure
|
517
543
|
end
|
@@ -937,6 +963,16 @@ module Aws::SSM
|
|
937
963
|
# association version was created.
|
938
964
|
# @return [Array<Types::TargetLocation>]
|
939
965
|
#
|
966
|
+
# @!attribute [rw] schedule_offset
|
967
|
+
# Number of days to wait after the scheduled day to run an
|
968
|
+
# association.
|
969
|
+
# @return [Integer]
|
970
|
+
#
|
971
|
+
# @!attribute [rw] target_maps
|
972
|
+
# A key-value mapping of document parameters to target resources. Both
|
973
|
+
# Targets and TargetMaps can't be specified together.
|
974
|
+
# @return [Array<Hash<String,Array<String>>>]
|
975
|
+
#
|
940
976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
941
977
|
#
|
942
978
|
class AssociationVersionInfo < Struct.new(
|
@@ -956,7 +992,9 @@ module Aws::SSM
|
|
956
992
|
:sync_compliance,
|
957
993
|
:apply_only_at_cron_interval,
|
958
994
|
:calendar_names,
|
959
|
-
:target_locations
|
995
|
+
:target_locations,
|
996
|
+
:schedule_offset,
|
997
|
+
:target_maps)
|
960
998
|
SENSITIVE = [:parameters]
|
961
999
|
include Aws::Structure
|
962
1000
|
end
|
@@ -2851,6 +2889,12 @@ module Aws::SSM
|
|
2851
2889
|
# execution_role_name: "ExecutionRoleName",
|
2852
2890
|
# },
|
2853
2891
|
# ],
|
2892
|
+
# schedule_offset: 1,
|
2893
|
+
# target_maps: [
|
2894
|
+
# {
|
2895
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
2896
|
+
# },
|
2897
|
+
# ],
|
2854
2898
|
# },
|
2855
2899
|
# ],
|
2856
2900
|
# }
|
@@ -2911,6 +2955,12 @@ module Aws::SSM
|
|
2911
2955
|
# execution_role_name: "ExecutionRoleName",
|
2912
2956
|
# },
|
2913
2957
|
# ],
|
2958
|
+
# schedule_offset: 1,
|
2959
|
+
# target_maps: [
|
2960
|
+
# {
|
2961
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
2962
|
+
# },
|
2963
|
+
# ],
|
2914
2964
|
# }
|
2915
2965
|
#
|
2916
2966
|
# @!attribute [rw] name
|
@@ -3060,6 +3110,16 @@ module Aws::SSM
|
|
3060
3110
|
# multiple accounts.
|
3061
3111
|
# @return [Array<Types::TargetLocation>]
|
3062
3112
|
#
|
3113
|
+
# @!attribute [rw] schedule_offset
|
3114
|
+
# Number of days to wait after the scheduled day to run an
|
3115
|
+
# association.
|
3116
|
+
# @return [Integer]
|
3117
|
+
#
|
3118
|
+
# @!attribute [rw] target_maps
|
3119
|
+
# A key-value mapping of document parameters to target resources. Both
|
3120
|
+
# Targets and TargetMaps can't be specified together.
|
3121
|
+
# @return [Array<Hash<String,Array<String>>>]
|
3122
|
+
#
|
3063
3123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
3064
3124
|
#
|
3065
3125
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -3078,7 +3138,9 @@ module Aws::SSM
|
|
3078
3138
|
:sync_compliance,
|
3079
3139
|
:apply_only_at_cron_interval,
|
3080
3140
|
:calendar_names,
|
3081
|
-
:target_locations
|
3141
|
+
:target_locations,
|
3142
|
+
:schedule_offset,
|
3143
|
+
:target_maps)
|
3082
3144
|
SENSITIVE = [:parameters]
|
3083
3145
|
include Aws::Structure
|
3084
3146
|
end
|
@@ -3141,6 +3203,12 @@ module Aws::SSM
|
|
3141
3203
|
# execution_role_name: "ExecutionRoleName",
|
3142
3204
|
# },
|
3143
3205
|
# ],
|
3206
|
+
# schedule_offset: 1,
|
3207
|
+
# target_maps: [
|
3208
|
+
# {
|
3209
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
3210
|
+
# },
|
3211
|
+
# ],
|
3144
3212
|
# }
|
3145
3213
|
#
|
3146
3214
|
# @!attribute [rw] name
|
@@ -3312,6 +3380,31 @@ module Aws::SSM
|
|
3312
3380
|
# multiple accounts.
|
3313
3381
|
# @return [Array<Types::TargetLocation>]
|
3314
3382
|
#
|
3383
|
+
# @!attribute [rw] schedule_offset
|
3384
|
+
# Number of days to wait after the scheduled day to run an
|
3385
|
+
# association. For example, if you specified a cron schedule of
|
3386
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
3387
|
+
# association each Sunday after the second Thursday of the month. For
|
3388
|
+
# more information about cron schedules for associations, see
|
3389
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
3390
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
3391
|
+
#
|
3392
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
3393
|
+
# parameter. This option tells the system not to run an association
|
3394
|
+
# immediately after you create it.
|
3395
|
+
#
|
3396
|
+
# </note>
|
3397
|
+
#
|
3398
|
+
#
|
3399
|
+
#
|
3400
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
3401
|
+
# @return [Integer]
|
3402
|
+
#
|
3403
|
+
# @!attribute [rw] target_maps
|
3404
|
+
# A key-value mapping of document parameters to target resources. Both
|
3405
|
+
# Targets and TargetMaps can't be specified together.
|
3406
|
+
# @return [Array<Hash<String,Array<String>>>]
|
3407
|
+
#
|
3315
3408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
3316
3409
|
#
|
3317
3410
|
class CreateAssociationRequest < Struct.new(
|
@@ -3330,7 +3423,9 @@ module Aws::SSM
|
|
3330
3423
|
:sync_compliance,
|
3331
3424
|
:apply_only_at_cron_interval,
|
3332
3425
|
:calendar_names,
|
3333
|
-
:target_locations
|
3426
|
+
:target_locations,
|
3427
|
+
:schedule_offset,
|
3428
|
+
:target_maps)
|
3334
3429
|
SENSITIVE = [:parameters]
|
3335
3430
|
include Aws::Structure
|
3336
3431
|
end
|
@@ -8109,21 +8204,18 @@ module Aws::SSM
|
|
8109
8204
|
# @return [String]
|
8110
8205
|
#
|
8111
8206
|
# @!attribute [rw] plugin_name
|
8112
|
-
# The name of the
|
8113
|
-
# document contains only one
|
8114
|
-
# for that
|
8115
|
-
#
|
8116
|
-
#
|
8117
|
-
#
|
8118
|
-
# Plugin names are also referred to as *step names* in Systems Manager
|
8119
|
-
# documents (SSM documents). For example, `aws:RunShellScript` is a
|
8120
|
-
# plugin.
|
8207
|
+
# The name of the step for which you want detailed results. If the
|
8208
|
+
# document contains only one step, you can omit the name and details
|
8209
|
+
# for that step. If the document contains more than one step, you must
|
8210
|
+
# specify the name of the step for which you want to view details. Be
|
8211
|
+
# sure to specify the name of the step, not the name of a plugin like
|
8212
|
+
# `aws:RunShellScript`.
|
8121
8213
|
#
|
8122
8214
|
# To find the `PluginName`, check the document content and find the
|
8123
|
-
# name of the
|
8124
|
-
# the `CommandId` and `Details`
|
8125
|
-
# `
|
8126
|
-
# `CommandPlugins` list.
|
8215
|
+
# name of the step you want details for. Alternatively, use
|
8216
|
+
# ListCommandInvocations with the `CommandId` and `Details`
|
8217
|
+
# parameters. The `PluginName` is the `Name` attribute of the
|
8218
|
+
# `CommandPlugin` object in the `CommandPlugins` list.
|
8127
8219
|
# @return [String]
|
8128
8220
|
#
|
8129
8221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
|
@@ -11330,6 +11422,19 @@ module Aws::SSM
|
|
11330
11422
|
include Aws::Structure
|
11331
11423
|
end
|
11332
11424
|
|
11425
|
+
# TargetMap parameter isn't valid.
|
11426
|
+
#
|
11427
|
+
# @!attribute [rw] message
|
11428
|
+
# @return [String]
|
11429
|
+
#
|
11430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidTargetMaps AWS API Documentation
|
11431
|
+
#
|
11432
|
+
class InvalidTargetMaps < Struct.new(
|
11433
|
+
:message)
|
11434
|
+
SENSITIVE = []
|
11435
|
+
include Aws::Structure
|
11436
|
+
end
|
11437
|
+
|
11333
11438
|
# The parameter type name isn't valid.
|
11334
11439
|
#
|
11335
11440
|
# @!attribute [rw] message
|
@@ -17190,6 +17295,8 @@ module Aws::SSM
|
|
17190
17295
|
#
|
17191
17296
|
# MaintenanceWindow: mw-012345abcde
|
17192
17297
|
#
|
17298
|
+
# `Automation`\: `example-c160-4567-8519-012345abcde`
|
17299
|
+
#
|
17193
17300
|
# PatchBaseline: pb-012345abcde
|
17194
17301
|
#
|
17195
17302
|
# OpsMetadata object: `ResourceID` for tagging is created from the
|
@@ -17945,6 +18052,11 @@ module Aws::SSM
|
|
17945
18052
|
# values: ["TargetValue"],
|
17946
18053
|
# },
|
17947
18054
|
# ],
|
18055
|
+
# target_maps: [
|
18056
|
+
# {
|
18057
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
18058
|
+
# },
|
18059
|
+
# ],
|
17948
18060
|
# max_concurrency: "MaxConcurrency",
|
17949
18061
|
# max_errors: "MaxErrors",
|
17950
18062
|
# target_locations: [
|
@@ -17981,6 +18093,11 @@ module Aws::SSM
|
|
17981
18093
|
# performs tasks on. Required if you specify `TargetParameterName`.
|
17982
18094
|
# @return [Array<Types::Target>]
|
17983
18095
|
#
|
18096
|
+
# @!attribute [rw] target_maps
|
18097
|
+
# A key-value mapping of runbook parameters to target resources. Both
|
18098
|
+
# Targets and TargetMaps can't be specified together.
|
18099
|
+
# @return [Array<Hash<String,Array<String>>>]
|
18100
|
+
#
|
17984
18101
|
# @!attribute [rw] max_concurrency
|
17985
18102
|
# The `MaxConcurrency` value specified by the user when the operation
|
17986
18103
|
# started, indicating the maximum number of resources that the runbook
|
@@ -18006,6 +18123,7 @@ module Aws::SSM
|
|
18006
18123
|
:parameters,
|
18007
18124
|
:target_parameter_name,
|
18008
18125
|
:targets,
|
18126
|
+
:target_maps,
|
18009
18127
|
:max_concurrency,
|
18010
18128
|
:max_errors,
|
18011
18129
|
:target_locations)
|
@@ -18827,7 +18945,7 @@ module Aws::SSM
|
|
18827
18945
|
#
|
18828
18946
|
# * `Key=OS,Value=Windows`
|
18829
18947
|
#
|
18830
|
-
# <note markdown="1"> To add tags to an existing
|
18948
|
+
# <note markdown="1"> To add tags to an existing automation, use the AddTagsToResource
|
18831
18949
|
# operation.
|
18832
18950
|
#
|
18833
18951
|
# </note>
|
@@ -18891,6 +19009,11 @@ module Aws::SSM
|
|
18891
19009
|
# values: ["TargetValue"],
|
18892
19010
|
# },
|
18893
19011
|
# ],
|
19012
|
+
# target_maps: [
|
19013
|
+
# {
|
19014
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
19015
|
+
# },
|
19016
|
+
# ],
|
18894
19017
|
# max_concurrency: "MaxConcurrency",
|
18895
19018
|
# max_errors: "MaxErrors",
|
18896
19019
|
# target_locations: [
|
@@ -19823,6 +19946,12 @@ module Aws::SSM
|
|
19823
19946
|
# execution_role_name: "ExecutionRoleName",
|
19824
19947
|
# },
|
19825
19948
|
# ],
|
19949
|
+
# schedule_offset: 1,
|
19950
|
+
# target_maps: [
|
19951
|
+
# {
|
19952
|
+
# "TargetMapKey" => ["TargetMapValue"],
|
19953
|
+
# },
|
19954
|
+
# ],
|
19826
19955
|
# }
|
19827
19956
|
#
|
19828
19957
|
# @!attribute [rw] association_id
|
@@ -19999,6 +20128,31 @@ module Aws::SSM
|
|
19999
20128
|
# multiple accounts.
|
20000
20129
|
# @return [Array<Types::TargetLocation>]
|
20001
20130
|
#
|
20131
|
+
# @!attribute [rw] schedule_offset
|
20132
|
+
# Number of days to wait after the scheduled day to run an
|
20133
|
+
# association. For example, if you specified a cron schedule of
|
20134
|
+
# `cron(0 0 ? * THU#2 *)`, you could specify an offset of 3 to run the
|
20135
|
+
# association each Sunday after the second Thursday of the month. For
|
20136
|
+
# more information about cron schedules for associations, see
|
20137
|
+
# [Reference: Cron and rate expressions for Systems Manager][1] in the
|
20138
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
20139
|
+
#
|
20140
|
+
# <note markdown="1"> To use offsets, you must specify the `ApplyOnlyAtCronInterval`
|
20141
|
+
# parameter. This option tells the system not to run an association
|
20142
|
+
# immediately after you create it.
|
20143
|
+
#
|
20144
|
+
# </note>
|
20145
|
+
#
|
20146
|
+
#
|
20147
|
+
#
|
20148
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
20149
|
+
# @return [Integer]
|
20150
|
+
#
|
20151
|
+
# @!attribute [rw] target_maps
|
20152
|
+
# A key-value mapping of document parameters to target resources. Both
|
20153
|
+
# Targets and TargetMaps can't be specified together.
|
20154
|
+
# @return [Array<Hash<String,Array<String>>>]
|
20155
|
+
#
|
20002
20156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
20003
20157
|
#
|
20004
20158
|
class UpdateAssociationRequest < Struct.new(
|
@@ -20018,7 +20172,9 @@ module Aws::SSM
|
|
20018
20172
|
:sync_compliance,
|
20019
20173
|
:apply_only_at_cron_interval,
|
20020
20174
|
:calendar_names,
|
20021
|
-
:target_locations
|
20175
|
+
:target_locations,
|
20176
|
+
:schedule_offset,
|
20177
|
+
:target_maps)
|
20022
20178
|
SENSITIVE = [:parameters]
|
20023
20179
|
include Aws::Structure
|
20024
20180
|
end
|
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.137.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-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|