aws-sdk-ssm 1.136.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: d80512efa1f3f803ec5144b0bd8e21bf32fb58c82eef2ba5dc3e0ca31d3e1f9f
4
- data.tar.gz: bf353d941300f8a96fe21f650cffc47e54115f50f05edc451efcee0a9519d228
3
+ metadata.gz: 886618fdef13902675fafbb1348fea3df807eee583dc048dcf5698846eb6f35b
4
+ data.tar.gz: 46abc9049a9fa553fb833a3c86596bfe115c45c165f8954434e53d43a7901d76
5
5
  SHA512:
6
- metadata.gz: c3faddfd6a97fe84e57577545419810c8d44ace5c10534f8c1f603306088e0f44ba99768c2865033c7dfe07146fe21d4c7d6edc8827ab084855ff0342f2ec2e7
7
- data.tar.gz: c9c94913d9fb27707cfad282e322ea8c8951f3bf631f9b0523a8cdf870ab8fe83f854076e157958f6968d6e9a2b3bebe4095e548c98e9e3108008b647606bf73
6
+ metadata.gz: 939da93c044acdf02436e09f6ba69c0305a783cda1fccea51f8625e8402235f73d3171ac9ea094a6f03938450b6e4f5bcf7c9af31e706f3276ec8c411b614e5d
7
+ data.tar.gz: a2e554c522805d883f62aa77fcceb67d4c38fe84548368c1fd9117676155a9ff8d22252e0bad43931ac17a4686ffff5d3c6029c64d017d4563f5fbc804f7b1b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.136.0 (2022-04-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.136.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
  #
@@ -6849,6 +6879,10 @@ module Aws::SSM
6849
6879
  # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6850
6880
  # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6851
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
6852
6886
  # resp.next_token #=> String
6853
6887
  #
6854
6888
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6926,6 +6960,10 @@ module Aws::SSM
6926
6960
  # resp.associations[0].schedule_expression #=> String
6927
6961
  # resp.associations[0].association_name #=> String
6928
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
6929
6967
  # resp.next_token #=> String
6930
6968
  #
6931
6969
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
@@ -10020,6 +10058,10 @@ module Aws::SSM
10020
10058
  #
10021
10059
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
10022
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
+ #
10023
10065
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10024
10066
  #
10025
10067
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -10066,6 +10108,11 @@ module Aws::SSM
10066
10108
  # },
10067
10109
  # ],
10068
10110
  # schedule_offset: 1,
10111
+ # target_maps: [
10112
+ # {
10113
+ # "TargetMapKey" => ["TargetMapValue"],
10114
+ # },
10115
+ # ],
10069
10116
  # })
10070
10117
  #
10071
10118
  # @example Response structure
@@ -10116,6 +10163,10 @@ module Aws::SSM
10116
10163
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10117
10164
  # resp.association_description.target_locations[0].execution_role_name #=> String
10118
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
10119
10170
  #
10120
10171
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
10121
10172
  #
@@ -10208,6 +10259,10 @@ module Aws::SSM
10208
10259
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10209
10260
  # resp.association_description.target_locations[0].execution_role_name #=> String
10210
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
10211
10266
  #
10212
10267
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
10213
10268
  #
@@ -11572,7 +11627,7 @@ module Aws::SSM
11572
11627
  params: params,
11573
11628
  config: config)
11574
11629
  context[:gem_name] = 'aws-sdk-ssm'
11575
- context[:gem_version] = '1.136.0'
11630
+ context[:gem_version] = '1.137.0'
11576
11631
  Seahorse::Client::Request.new(handlers, context)
11577
11632
  end
11578
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
 
@@ -4362,6 +4371,7 @@ module Aws::SSM
4362
4371
  UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
4363
4372
  UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
4364
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}))
4365
4375
  UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
4366
4376
 
4367
4377
  UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -4653,6 +4663,7 @@ module Aws::SSM
4653
4663
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameters)
4654
4664
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4655
4665
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4666
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4656
4667
  end)
4657
4668
 
4658
4669
  api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -4672,6 +4683,7 @@ module Aws::SSM
4672
4683
  o.errors << Shapes::ShapeRef.new(shape: InvalidOutputLocation)
4673
4684
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4674
4685
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4675
4687
  end)
4676
4688
 
4677
4689
  api.add_operation(:create_document, Seahorse::Model::Operation.new.tap do |o|
@@ -6274,6 +6286,7 @@ module Aws::SSM
6274
6286
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
6275
6287
  o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
6276
6288
  o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded)
6289
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
6277
6290
  end)
6278
6291
 
6279
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
@@ -11377,6 +11422,19 @@ module Aws::SSM
11377
11422
  include Aws::Structure
11378
11423
  end
11379
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
+
11380
11438
  # The parameter type name isn't valid.
11381
11439
  #
11382
11440
  # @!attribute [rw] message
@@ -19889,6 +19947,11 @@ module Aws::SSM
19889
19947
  # },
19890
19948
  # ],
19891
19949
  # schedule_offset: 1,
19950
+ # target_maps: [
19951
+ # {
19952
+ # "TargetMapKey" => ["TargetMapValue"],
19953
+ # },
19954
+ # ],
19892
19955
  # }
19893
19956
  #
19894
19957
  # @!attribute [rw] association_id
@@ -20085,6 +20148,11 @@ module Aws::SSM
20085
20148
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
20086
20149
  # @return [Integer]
20087
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
+ #
20088
20156
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
20089
20157
  #
20090
20158
  class UpdateAssociationRequest < Struct.new(
@@ -20105,7 +20173,8 @@ module Aws::SSM
20105
20173
  :apply_only_at_cron_interval,
20106
20174
  :calendar_names,
20107
20175
  :target_locations,
20108
- :schedule_offset)
20176
+ :schedule_offset,
20177
+ :target_maps)
20109
20178
  SENSITIVE = [:parameters]
20110
20179
  include Aws::Structure
20111
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.136.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.136.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-29 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