aws-sdk-ssm 1.135.0 → 1.137.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ab4b98c84dece7a26c3e636aa2b3073112acf0f2c3b2133fb62814df253c981
4
- data.tar.gz: 1d9544de02ecbf2abbf489bcd034724b9f37aa69235e0115ad86786d891601d1
3
+ metadata.gz: 886618fdef13902675fafbb1348fea3df807eee583dc048dcf5698846eb6f35b
4
+ data.tar.gz: 46abc9049a9fa553fb833a3c86596bfe115c45c165f8954434e53d43a7901d76
5
5
  SHA512:
6
- metadata.gz: f21e3def0423834016837427a5d8f4c11fa733eba4a8e24be6fc302bedeeab4f128bac33a6df1f708fba06d986e8dc9edcc6a87facdc9337958e80f016e628a0
7
- data.tar.gz: f9801aed4169e101917dfb04a61257cf9b36aeb958302054dd9b44c1616f78b995f4e8122195895e89ceb0b6467326fdf02207ec0da8abab575f7b0f2df43a8b
6
+ metadata.gz: 939da93c044acdf02436e09f6ba69c0305a783cda1fccea51f8625e8402235f73d3171ac9ea094a6f03938450b6e4f5bcf7c9af31e706f3276ec8c411b614e5d
7
+ data.tar.gz: a2e554c522805d883f62aa77fcceb67d4c38fe84548368c1fd9117676155a9ff8d22252e0bad43931ac17a4686ffff5d3c6029c64d017d4563f5fbc804f7b1b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
4
14
  1.135.0 (2022-04-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.135.0
1
+ 1.137.0
@@ -894,6 +894,10 @@ module Aws::SSM
894
894
  #
895
895
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
896
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
+ #
897
901
  # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
898
902
  #
899
903
  # * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -939,6 +943,11 @@ module Aws::SSM
939
943
  # },
940
944
  # ],
941
945
  # schedule_offset: 1,
946
+ # target_maps: [
947
+ # {
948
+ # "TargetMapKey" => ["TargetMapValue"],
949
+ # },
950
+ # ],
942
951
  # })
943
952
  #
944
953
  # @example Response structure
@@ -989,6 +998,10 @@ module Aws::SSM
989
998
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
990
999
  # resp.association_description.target_locations[0].execution_role_name #=> String
991
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
992
1005
  #
993
1006
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
994
1007
  #
@@ -1062,6 +1075,11 @@ module Aws::SSM
1062
1075
  # },
1063
1076
  # ],
1064
1077
  # schedule_offset: 1,
1078
+ # target_maps: [
1079
+ # {
1080
+ # "TargetMapKey" => ["TargetMapValue"],
1081
+ # },
1082
+ # ],
1065
1083
  # },
1066
1084
  # ],
1067
1085
  # })
@@ -1115,6 +1133,10 @@ module Aws::SSM
1115
1133
  # resp.successful[0].target_locations[0].target_location_max_errors #=> String
1116
1134
  # resp.successful[0].target_locations[0].execution_role_name #=> String
1117
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
1118
1140
  # resp.failed #=> Array
1119
1141
  # resp.failed[0].entry.name #=> String
1120
1142
  # resp.failed[0].entry.instance_id #=> String
@@ -1148,6 +1170,10 @@ module Aws::SSM
1148
1170
  # resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
1149
1171
  # resp.failed[0].entry.target_locations[0].execution_role_name #=> String
1150
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
1151
1177
  # resp.failed[0].message #=> String
1152
1178
  # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
1153
1179
  #
@@ -2641,6 +2667,10 @@ module Aws::SSM
2641
2667
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
2642
2668
  # resp.association_description.target_locations[0].execution_role_name #=> String
2643
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
2644
2674
  #
2645
2675
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
2646
2676
  #
@@ -2878,6 +2908,10 @@ module Aws::SSM
2878
2908
  # resp.automation_execution_metadata_list[0].runbooks[0].targets[0].key #=> String
2879
2909
  # resp.automation_execution_metadata_list[0].runbooks[0].targets[0].values #=> Array
2880
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
2881
2915
  # resp.automation_execution_metadata_list[0].runbooks[0].max_concurrency #=> String
2882
2916
  # resp.automation_execution_metadata_list[0].runbooks[0].max_errors #=> String
2883
2917
  # resp.automation_execution_metadata_list[0].runbooks[0].target_locations #=> Array
@@ -5136,6 +5170,10 @@ module Aws::SSM
5136
5170
  # resp.automation_execution.runbooks[0].targets[0].key #=> String
5137
5171
  # resp.automation_execution.runbooks[0].targets[0].values #=> Array
5138
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
5139
5177
  # resp.automation_execution.runbooks[0].max_concurrency #=> String
5140
5178
  # resp.automation_execution.runbooks[0].max_errors #=> String
5141
5179
  # resp.automation_execution.runbooks[0].target_locations #=> Array
@@ -5242,20 +5280,18 @@ module Aws::SSM
5242
5280
  # Manager.
5243
5281
  #
5244
5282
  # @option params [String] :plugin_name
5245
- # The name of the plugin for which you want detailed results. If the
5246
- # document contains only one plugin, you can omit the name and details
5247
- # for that plugin. If the document contains more than one plugin, you
5248
- # must specify the name of the plugin for which you want to view
5249
- # details.
5250
- #
5251
- # Plugin names are also referred to as *step names* in Systems Manager
5252
- # documents (SSM documents). For example, `aws:RunShellScript` is a
5253
- # 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`.
5254
5289
  #
5255
5290
  # To find the `PluginName`, check the document content and find the name
5256
- # of the plugin. Alternatively, use ListCommandInvocations with the
5257
- # `CommandId` and `Details` parameters. The `PluginName` is the `Name`
5258
- # attribute of the `CommandPlugin` object in the `CommandPlugins` list.
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.
5259
5295
  #
5260
5296
  # @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5261
5297
  #
@@ -6843,6 +6879,10 @@ module Aws::SSM
6843
6879
  # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6844
6880
  # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6845
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
6846
6886
  # resp.next_token #=> String
6847
6887
  #
6848
6888
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6920,6 +6960,10 @@ module Aws::SSM
6920
6960
  # resp.associations[0].schedule_expression #=> String
6921
6961
  # resp.associations[0].association_name #=> String
6922
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
6923
6967
  # resp.next_token #=> String
6924
6968
  #
6925
6969
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
@@ -9604,6 +9648,11 @@ module Aws::SSM
9604
9648
  # values: ["TargetValue"],
9605
9649
  # },
9606
9650
  # ],
9651
+ # target_maps: [
9652
+ # {
9653
+ # "TargetMapKey" => ["TargetMapValue"],
9654
+ # },
9655
+ # ],
9607
9656
  # max_concurrency: "MaxConcurrency",
9608
9657
  # max_errors: "MaxErrors",
9609
9658
  # target_locations: [
@@ -10009,6 +10058,10 @@ module Aws::SSM
10009
10058
  #
10010
10059
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
10011
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
+ #
10012
10065
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10013
10066
  #
10014
10067
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -10055,6 +10108,11 @@ module Aws::SSM
10055
10108
  # },
10056
10109
  # ],
10057
10110
  # schedule_offset: 1,
10111
+ # target_maps: [
10112
+ # {
10113
+ # "TargetMapKey" => ["TargetMapValue"],
10114
+ # },
10115
+ # ],
10058
10116
  # })
10059
10117
  #
10060
10118
  # @example Response structure
@@ -10105,6 +10163,10 @@ module Aws::SSM
10105
10163
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10106
10164
  # resp.association_description.target_locations[0].execution_role_name #=> String
10107
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
10108
10170
  #
10109
10171
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
10110
10172
  #
@@ -10197,6 +10259,10 @@ module Aws::SSM
10197
10259
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10198
10260
  # resp.association_description.target_locations[0].execution_role_name #=> String
10199
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
10200
10266
  #
10201
10267
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
10202
10268
  #
@@ -11561,7 +11627,7 @@ module Aws::SSM
11561
11627
  params: params,
11562
11628
  config: config)
11563
11629
  context[:gem_name] = 'aws-sdk-ssm'
11564
- context[:gem_version] = '1.135.0'
11630
+ context[:gem_version] = '1.137.0'
11565
11631
  Seahorse::Client::Request.new(handlers, context)
11566
11632
  end
11567
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')
@@ -1227,6 +1228,7 @@ module Aws::SSM
1227
1228
  Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
1228
1229
  Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
1229
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}))
1230
1232
  Association.struct_class = Types::Association
1231
1233
 
1232
1234
  AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists
@@ -1256,6 +1258,7 @@ module Aws::SSM
1256
1258
  AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1257
1259
  AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1258
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}))
1259
1262
  AssociationDescription.struct_class = Types::AssociationDescription
1260
1263
 
1261
1264
  AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
@@ -1348,6 +1351,7 @@ module Aws::SSM
1348
1351
  AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1349
1352
  AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1350
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}))
1351
1355
  AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
1352
1356
 
1353
1357
  AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -1669,6 +1673,7 @@ module Aws::SSM
1669
1673
  CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1670
1674
  CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1671
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}))
1672
1677
  CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
1673
1678
 
1674
1679
  CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
@@ -1692,6 +1697,7 @@ module Aws::SSM
1692
1697
  CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1693
1698
  CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1694
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}))
1695
1701
  CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
1696
1702
 
1697
1703
  CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -2933,6 +2939,9 @@ module Aws::SSM
2933
2939
  InvalidTarget.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2934
2940
  InvalidTarget.struct_class = Types::InvalidTarget
2935
2941
 
2942
+ InvalidTargetMaps.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2943
+ InvalidTargetMaps.struct_class = Types::InvalidTargetMaps
2944
+
2936
2945
  InvalidTypeNameException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2937
2946
  InvalidTypeNameException.struct_class = Types::InvalidTypeNameException
2938
2947
 
@@ -4064,6 +4073,7 @@ module Aws::SSM
4064
4073
  Runbook.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
4065
4074
  Runbook.add_member(:target_parameter_name, Shapes::ShapeRef.new(shape: AutomationParameterKey, location_name: "TargetParameterName"))
4066
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"))
4067
4077
  Runbook.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
4068
4078
  Runbook.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
4069
4079
  Runbook.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
@@ -4361,6 +4371,7 @@ module Aws::SSM
4361
4371
  UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
4362
4372
  UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
4363
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}))
4364
4375
  UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
4365
4376
 
4366
4377
  UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -4652,6 +4663,7 @@ module Aws::SSM
4652
4663
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameters)
4653
4664
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4654
4665
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4666
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4655
4667
  end)
4656
4668
 
4657
4669
  api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -4671,6 +4683,7 @@ module Aws::SSM
4671
4683
  o.errors << Shapes::ShapeRef.new(shape: InvalidOutputLocation)
4672
4684
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4673
4685
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4674
4687
  end)
4675
4688
 
4676
4689
  api.add_operation(:create_document, Seahorse::Model::Operation.new.tap do |o|
@@ -6273,6 +6286,7 @@ module Aws::SSM
6273
6286
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
6274
6287
  o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
6275
6288
  o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded)
6289
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
6276
6290
  end)
6277
6291
 
6278
6292
  api.add_operation(:update_association_status, Seahorse::Model::Operation.new.tap do |o|
@@ -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
@@ -318,6 +318,11 @@ module Aws::SSM
318
318
  # association.
319
319
  # @return [Integer]
320
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
+ #
321
326
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
322
327
  #
323
328
  class Association < Struct.new(
@@ -331,7 +336,8 @@ module Aws::SSM
331
336
  :overview,
332
337
  :schedule_expression,
333
338
  :association_name,
334
- :schedule_offset)
339
+ :schedule_offset,
340
+ :target_maps)
335
341
  SENSITIVE = []
336
342
  include Aws::Structure
337
343
  end
@@ -498,6 +504,11 @@ module Aws::SSM
498
504
  # association.
499
505
  # @return [Integer]
500
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
+ #
501
512
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
502
513
  #
503
514
  class AssociationDescription < Struct.new(
@@ -525,7 +536,8 @@ module Aws::SSM
525
536
  :apply_only_at_cron_interval,
526
537
  :calendar_names,
527
538
  :target_locations,
528
- :schedule_offset)
539
+ :schedule_offset,
540
+ :target_maps)
529
541
  SENSITIVE = [:parameters]
530
542
  include Aws::Structure
531
543
  end
@@ -956,6 +968,11 @@ module Aws::SSM
956
968
  # association.
957
969
  # @return [Integer]
958
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
+ #
959
976
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
960
977
  #
961
978
  class AssociationVersionInfo < Struct.new(
@@ -976,7 +993,8 @@ module Aws::SSM
976
993
  :apply_only_at_cron_interval,
977
994
  :calendar_names,
978
995
  :target_locations,
979
- :schedule_offset)
996
+ :schedule_offset,
997
+ :target_maps)
980
998
  SENSITIVE = [:parameters]
981
999
  include Aws::Structure
982
1000
  end
@@ -2872,6 +2890,11 @@ module Aws::SSM
2872
2890
  # },
2873
2891
  # ],
2874
2892
  # schedule_offset: 1,
2893
+ # target_maps: [
2894
+ # {
2895
+ # "TargetMapKey" => ["TargetMapValue"],
2896
+ # },
2897
+ # ],
2875
2898
  # },
2876
2899
  # ],
2877
2900
  # }
@@ -2933,6 +2956,11 @@ module Aws::SSM
2933
2956
  # },
2934
2957
  # ],
2935
2958
  # schedule_offset: 1,
2959
+ # target_maps: [
2960
+ # {
2961
+ # "TargetMapKey" => ["TargetMapValue"],
2962
+ # },
2963
+ # ],
2936
2964
  # }
2937
2965
  #
2938
2966
  # @!attribute [rw] name
@@ -3087,6 +3115,11 @@ module Aws::SSM
3087
3115
  # association.
3088
3116
  # @return [Integer]
3089
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
+ #
3090
3123
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
3091
3124
  #
3092
3125
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -3106,7 +3139,8 @@ module Aws::SSM
3106
3139
  :apply_only_at_cron_interval,
3107
3140
  :calendar_names,
3108
3141
  :target_locations,
3109
- :schedule_offset)
3142
+ :schedule_offset,
3143
+ :target_maps)
3110
3144
  SENSITIVE = [:parameters]
3111
3145
  include Aws::Structure
3112
3146
  end
@@ -3170,6 +3204,11 @@ module Aws::SSM
3170
3204
  # },
3171
3205
  # ],
3172
3206
  # schedule_offset: 1,
3207
+ # target_maps: [
3208
+ # {
3209
+ # "TargetMapKey" => ["TargetMapValue"],
3210
+ # },
3211
+ # ],
3173
3212
  # }
3174
3213
  #
3175
3214
  # @!attribute [rw] name
@@ -3361,6 +3400,11 @@ module Aws::SSM
3361
3400
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
3362
3401
  # @return [Integer]
3363
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
+ #
3364
3408
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
3365
3409
  #
3366
3410
  class CreateAssociationRequest < Struct.new(
@@ -3380,7 +3424,8 @@ module Aws::SSM
3380
3424
  :apply_only_at_cron_interval,
3381
3425
  :calendar_names,
3382
3426
  :target_locations,
3383
- :schedule_offset)
3427
+ :schedule_offset,
3428
+ :target_maps)
3384
3429
  SENSITIVE = [:parameters]
3385
3430
  include Aws::Structure
3386
3431
  end
@@ -8159,21 +8204,18 @@ module Aws::SSM
8159
8204
  # @return [String]
8160
8205
  #
8161
8206
  # @!attribute [rw] plugin_name
8162
- # The name of the plugin for which you want detailed results. If the
8163
- # document contains only one plugin, you can omit the name and details
8164
- # for that plugin. If the document contains more than one plugin, you
8165
- # must specify the name of the plugin for which you want to view
8166
- # details.
8167
- #
8168
- # Plugin names are also referred to as *step names* in Systems Manager
8169
- # documents (SSM documents). For example, `aws:RunShellScript` is a
8170
- # 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`.
8171
8213
  #
8172
8214
  # To find the `PluginName`, check the document content and find the
8173
- # name of the plugin. Alternatively, use ListCommandInvocations with
8174
- # the `CommandId` and `Details` parameters. The `PluginName` is the
8175
- # `Name` attribute of the `CommandPlugin` object in the
8176
- # `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.
8177
8219
  # @return [String]
8178
8220
  #
8179
8221
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
@@ -11380,6 +11422,19 @@ module Aws::SSM
11380
11422
  include Aws::Structure
11381
11423
  end
11382
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
+
11383
11438
  # The parameter type name isn't valid.
11384
11439
  #
11385
11440
  # @!attribute [rw] message
@@ -17997,6 +18052,11 @@ module Aws::SSM
17997
18052
  # values: ["TargetValue"],
17998
18053
  # },
17999
18054
  # ],
18055
+ # target_maps: [
18056
+ # {
18057
+ # "TargetMapKey" => ["TargetMapValue"],
18058
+ # },
18059
+ # ],
18000
18060
  # max_concurrency: "MaxConcurrency",
18001
18061
  # max_errors: "MaxErrors",
18002
18062
  # target_locations: [
@@ -18033,6 +18093,11 @@ module Aws::SSM
18033
18093
  # performs tasks on. Required if you specify `TargetParameterName`.
18034
18094
  # @return [Array<Types::Target>]
18035
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
+ #
18036
18101
  # @!attribute [rw] max_concurrency
18037
18102
  # The `MaxConcurrency` value specified by the user when the operation
18038
18103
  # started, indicating the maximum number of resources that the runbook
@@ -18058,6 +18123,7 @@ module Aws::SSM
18058
18123
  :parameters,
18059
18124
  :target_parameter_name,
18060
18125
  :targets,
18126
+ :target_maps,
18061
18127
  :max_concurrency,
18062
18128
  :max_errors,
18063
18129
  :target_locations)
@@ -18943,6 +19009,11 @@ module Aws::SSM
18943
19009
  # values: ["TargetValue"],
18944
19010
  # },
18945
19011
  # ],
19012
+ # target_maps: [
19013
+ # {
19014
+ # "TargetMapKey" => ["TargetMapValue"],
19015
+ # },
19016
+ # ],
18946
19017
  # max_concurrency: "MaxConcurrency",
18947
19018
  # max_errors: "MaxErrors",
18948
19019
  # target_locations: [
@@ -19876,6 +19947,11 @@ module Aws::SSM
19876
19947
  # },
19877
19948
  # ],
19878
19949
  # schedule_offset: 1,
19950
+ # target_maps: [
19951
+ # {
19952
+ # "TargetMapKey" => ["TargetMapValue"],
19953
+ # },
19954
+ # ],
19879
19955
  # }
19880
19956
  #
19881
19957
  # @!attribute [rw] association_id
@@ -20072,6 +20148,11 @@ module Aws::SSM
20072
20148
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
20073
20149
  # @return [Integer]
20074
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
+ #
20075
20156
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
20076
20157
  #
20077
20158
  class UpdateAssociationRequest < Struct.new(
@@ -20092,7 +20173,8 @@ module Aws::SSM
20092
20173
  :apply_only_at_cron_interval,
20093
20174
  :calendar_names,
20094
20175
  :target_locations,
20095
- :schedule_offset)
20176
+ :schedule_offset,
20177
+ :target_maps)
20096
20178
  SENSITIVE = [:parameters]
20097
20179
  include Aws::Structure
20098
20180
  end
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.135.0'
52
+ GEM_VERSION = '1.137.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.135.0
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-04-19 00:00:00.000000000 Z
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