aws-sdk-ssm 1.136.0 → 1.139.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d80512efa1f3f803ec5144b0bd8e21bf32fb58c82eef2ba5dc3e0ca31d3e1f9f
4
- data.tar.gz: bf353d941300f8a96fe21f650cffc47e54115f50f05edc451efcee0a9519d228
3
+ metadata.gz: 72a1f5983bf267fd307111601fef67009aeff3d0adf789275e786162ea646982
4
+ data.tar.gz: 2cb395c24fd4e87c0c5de6a5fe991a2c18365f077747639f425eca3f4696f9ee
5
5
  SHA512:
6
- metadata.gz: c3faddfd6a97fe84e57577545419810c8d44ace5c10534f8c1f603306088e0f44ba99768c2865033c7dfe07146fe21d4c7d6edc8827ab084855ff0342f2ec2e7
7
- data.tar.gz: c9c94913d9fb27707cfad282e322ea8c8951f3bf631f9b0523a8cdf870ab8fe83f854076e157958f6968d6e9a2b3bebe4095e548c98e9e3108008b647606bf73
6
+ metadata.gz: c99571a915b05aee691c4135614f6a913c5a7a1ba26c1d38ea40d036b8061e919963d0961355cccdacd038788cc8fd904f172921b729cd5811d2bc5ff4dd6492
7
+ data.tar.gz: 99c2deb658dac52e9bee18f65ab805594e6331a40ab1a2855b05cbe76ddf69e16eec9c562fc98ab61113c34c36bb35748301a985fff13b73aadcaa49191db9fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.139.0 (2022-09-08)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Systems Manager State Manager Association tagging.
8
+
9
+ 1.138.0 (2022-07-27)
10
+ ------------------
11
+
12
+ * Feature - Adding doc updates for OpsCenter support in Service Setting actions.
13
+
14
+ 1.137.0 (2022-05-04)
15
+ ------------------
16
+
17
+ * Feature - This release adds the TargetMaps parameter in SSM State Manager API.
18
+
4
19
  1.136.0 (2022-04-29)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.136.0
1
+ 1.139.0
@@ -361,7 +361,7 @@ module Aws::SSM
361
361
 
362
362
  # @!group API Operations
363
363
 
364
- # Adds or overwrites one or more tags for the specified resource. Tags
364
+ # Adds or overwrites one or more tags for the specified resource. *Tags*
365
365
  # are metadata that you can assign to your automations, documents,
366
366
  # managed nodes, maintenance windows, Parameter Store parameters, and
367
367
  # patch baselines. Tags enable you to categorize your resources in
@@ -450,7 +450,7 @@ module Aws::SSM
450
450
  # @example Request syntax with placeholder values
451
451
  #
452
452
  # resp = client.add_tags_to_resource({
453
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
453
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
454
454
  # resource_id: "ResourceId", # required
455
455
  # tags: [ # required
456
456
  # {
@@ -894,6 +894,17 @@ 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
+ #
901
+ # @option params [Array<Types::Tag>] :tags
902
+ # Adds or overwrites one or more tags for a State Manager association.
903
+ # *Tags* are metadata that you can assign to your Amazon Web Services
904
+ # resources. Tags enable you to categorize your resources in different
905
+ # ways, for example, by purpose, owner, or environment. Each tag
906
+ # consists of a key and an optional value, both of which you define.
907
+ #
897
908
  # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
898
909
  #
899
910
  # * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -939,6 +950,17 @@ module Aws::SSM
939
950
  # },
940
951
  # ],
941
952
  # schedule_offset: 1,
953
+ # target_maps: [
954
+ # {
955
+ # "TargetMapKey" => ["TargetMapValue"],
956
+ # },
957
+ # ],
958
+ # tags: [
959
+ # {
960
+ # key: "TagKey", # required
961
+ # value: "TagValue", # required
962
+ # },
963
+ # ],
942
964
  # })
943
965
  #
944
966
  # @example Response structure
@@ -989,6 +1011,10 @@ module Aws::SSM
989
1011
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
990
1012
  # resp.association_description.target_locations[0].execution_role_name #=> String
991
1013
  # resp.association_description.schedule_offset #=> Integer
1014
+ # resp.association_description.target_maps #=> Array
1015
+ # resp.association_description.target_maps[0] #=> Hash
1016
+ # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
1017
+ # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
992
1018
  #
993
1019
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation
994
1020
  #
@@ -1062,6 +1088,11 @@ module Aws::SSM
1062
1088
  # },
1063
1089
  # ],
1064
1090
  # schedule_offset: 1,
1091
+ # target_maps: [
1092
+ # {
1093
+ # "TargetMapKey" => ["TargetMapValue"],
1094
+ # },
1095
+ # ],
1065
1096
  # },
1066
1097
  # ],
1067
1098
  # })
@@ -1115,6 +1146,10 @@ module Aws::SSM
1115
1146
  # resp.successful[0].target_locations[0].target_location_max_errors #=> String
1116
1147
  # resp.successful[0].target_locations[0].execution_role_name #=> String
1117
1148
  # resp.successful[0].schedule_offset #=> Integer
1149
+ # resp.successful[0].target_maps #=> Array
1150
+ # resp.successful[0].target_maps[0] #=> Hash
1151
+ # resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array
1152
+ # resp.successful[0].target_maps[0]["TargetMapKey"][0] #=> String
1118
1153
  # resp.failed #=> Array
1119
1154
  # resp.failed[0].entry.name #=> String
1120
1155
  # resp.failed[0].entry.instance_id #=> String
@@ -1148,6 +1183,10 @@ module Aws::SSM
1148
1183
  # resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String
1149
1184
  # resp.failed[0].entry.target_locations[0].execution_role_name #=> String
1150
1185
  # resp.failed[0].entry.schedule_offset #=> Integer
1186
+ # resp.failed[0].entry.target_maps #=> Array
1187
+ # resp.failed[0].entry.target_maps[0] #=> Hash
1188
+ # resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array
1189
+ # resp.failed[0].entry.target_maps[0]["TargetMapKey"][0] #=> String
1151
1190
  # resp.failed[0].message #=> String
1152
1191
  # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown"
1153
1192
  #
@@ -1214,7 +1253,7 @@ module Aws::SSM
1214
1253
  # You can't use the following strings as document name prefixes. These
1215
1254
  # are reserved by Amazon Web Services for use as document name prefixes:
1216
1255
  #
1217
- # * `aws-`
1256
+ # * `aws`
1218
1257
  #
1219
1258
  # * `amazon`
1220
1259
  #
@@ -1228,9 +1267,8 @@ module Aws::SSM
1228
1267
  #
1229
1268
  # @option params [String] :version_name
1230
1269
  # An optional field specifying the version of the artifact you are
1231
- # creating with the document. For example, "Release 12, Update 6".
1232
- # This value is unique across all versions of a document, and can't be
1233
- # changed.
1270
+ # creating with the document. For example, `Release12.1`. This value is
1271
+ # unique across all versions of a document, and can't be changed.
1234
1272
  #
1235
1273
  # @option params [String] :document_type
1236
1274
  # The type of document to create.
@@ -2641,6 +2679,10 @@ module Aws::SSM
2641
2679
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
2642
2680
  # resp.association_description.target_locations[0].execution_role_name #=> String
2643
2681
  # resp.association_description.schedule_offset #=> Integer
2682
+ # resp.association_description.target_maps #=> Array
2683
+ # resp.association_description.target_maps[0] #=> Hash
2684
+ # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
2685
+ # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
2644
2686
  #
2645
2687
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation
2646
2688
  #
@@ -3511,8 +3553,8 @@ module Aws::SSM
3511
3553
  #
3512
3554
  # @option params [Array<Types::InstanceInformationStringFilter>] :filters
3513
3555
  # One or more filters. Use a filter to return a more specific list of
3514
- # managed nodes. You can filter based on tags applied to EC2 instances.
3515
- # Use this `Filters` data type instead of
3556
+ # managed nodes. You can filter based on tags applied to your managed
3557
+ # nodes. Use this `Filters` data type instead of
3516
3558
  # `InstanceInformationFilterList`, which is deprecated.
3517
3559
  #
3518
3560
  # @option params [Integer] :max_results
@@ -6678,12 +6720,14 @@ module Aws::SSM
6678
6720
  #
6679
6721
  # * `/ssm/documents/console/public-sharing-permission`
6680
6722
  #
6723
+ # * `/ssm/managed-instance/activation-tier`
6724
+ #
6725
+ # * `/ssm/opsinsights/opscenter`
6726
+ #
6681
6727
  # * `/ssm/parameter-store/default-parameter-tier`
6682
6728
  #
6683
6729
  # * `/ssm/parameter-store/high-throughput-enabled`
6684
6730
  #
6685
- # * `/ssm/managed-instance/activation-tier`
6686
- #
6687
6731
  # @return [Types::GetServiceSettingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6688
6732
  #
6689
6733
  # * {Types::GetServiceSettingResult#service_setting #service_setting} => Types::ServiceSetting
@@ -6849,6 +6893,10 @@ module Aws::SSM
6849
6893
  # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String
6850
6894
  # resp.association_versions[0].target_locations[0].execution_role_name #=> String
6851
6895
  # resp.association_versions[0].schedule_offset #=> Integer
6896
+ # resp.association_versions[0].target_maps #=> Array
6897
+ # resp.association_versions[0].target_maps[0] #=> Hash
6898
+ # resp.association_versions[0].target_maps[0]["TargetMapKey"] #=> Array
6899
+ # resp.association_versions[0].target_maps[0]["TargetMapKey"][0] #=> String
6852
6900
  # resp.next_token #=> String
6853
6901
  #
6854
6902
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation
@@ -6926,6 +6974,10 @@ module Aws::SSM
6926
6974
  # resp.associations[0].schedule_expression #=> String
6927
6975
  # resp.associations[0].association_name #=> String
6928
6976
  # resp.associations[0].schedule_offset #=> Integer
6977
+ # resp.associations[0].target_maps #=> Array
6978
+ # resp.associations[0].target_maps[0] #=> Hash
6979
+ # resp.associations[0].target_maps[0]["TargetMapKey"] #=> Array
6980
+ # resp.associations[0].target_maps[0]["TargetMapKey"][0] #=> String
6929
6981
  # resp.next_token #=> String
6930
6982
  #
6931
6983
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation
@@ -7907,7 +7959,7 @@ module Aws::SSM
7907
7959
  # @example Request syntax with placeholder values
7908
7960
  #
7909
7961
  # resp = client.list_tags_for_resource({
7910
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
7962
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
7911
7963
  # resource_id: "ResourceId", # required
7912
7964
  # })
7913
7965
  #
@@ -7999,7 +8051,7 @@ module Aws::SSM
7999
8051
  # * Status: The status of the compliance item. For example, `approved`
8000
8052
  # for patches, or `Failed` for associations.
8001
8053
  #
8002
- # * Severity: A patch severity. For example, `critical`.
8054
+ # * Severity: A patch severity. For example, `Critical`.
8003
8055
  #
8004
8056
  # * DocumentName: An SSM document name. For example,
8005
8057
  # `AWS-RunPatchBaseline`.
@@ -8921,7 +8973,7 @@ module Aws::SSM
8921
8973
  # @example Request syntax with placeholder values
8922
8974
  #
8923
8975
  # resp = client.remove_tags_from_resource({
8924
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
8976
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
8925
8977
  # resource_id: "ResourceId", # required
8926
8978
  # tag_keys: ["TagKey"], # required
8927
8979
  # })
@@ -8965,12 +9017,14 @@ module Aws::SSM
8965
9017
  #
8966
9018
  # * `/ssm/documents/console/public-sharing-permission`
8967
9019
  #
9020
+ # * `/ssm/managed-instance/activation-tier`
9021
+ #
9022
+ # * `/ssm/opsinsights/opscenter`
9023
+ #
8968
9024
  # * `/ssm/parameter-store/default-parameter-tier`
8969
9025
  #
8970
9026
  # * `/ssm/parameter-store/high-throughput-enabled`
8971
9027
  #
8972
- # * `/ssm/managed-instance/activation-tier`
8973
- #
8974
9028
  # @return [Types::ResetServiceSettingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8975
9029
  #
8976
9030
  # * {Types::ResetServiceSettingResult#service_setting #service_setting} => Types::ServiceSetting
@@ -9229,6 +9283,16 @@ module Aws::SSM
9229
9283
  # use to publish Amazon Simple Notification Service (Amazon SNS)
9230
9284
  # notifications for Run Command commands.
9231
9285
  #
9286
+ # This role must provide the `sns:Publish` permission for your
9287
+ # notification topic. For information about creating and using this
9288
+ # service role, see [Monitoring Systems Manager status changes using
9289
+ # Amazon SNS notifications][1] in the *Amazon Web Services Systems
9290
+ # Manager User Guide*.
9291
+ #
9292
+ #
9293
+ #
9294
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html
9295
+ #
9232
9296
  # @option params [Types::NotificationConfig] :notification_config
9233
9297
  # Configurations for sending notifications.
9234
9298
  #
@@ -9675,11 +9739,17 @@ module Aws::SSM
9675
9739
  # The managed node to connect to for the session.
9676
9740
  #
9677
9741
  # @option params [String] :document_name
9678
- # The name of the SSM document to define the parameters and plugin
9679
- # settings for the session. For example, `SSM-SessionManagerRunShell`.
9680
- # You can call the GetDocument API to verify the document exists before
9681
- # attempting to start a session. If no document name is provided, a
9682
- # shell to the managed node is launched by default.
9742
+ # The name of the SSM document you want to use to define the type of
9743
+ # session, input parameters, or preferences for the session. For
9744
+ # example, `SSM-SessionManagerRunShell`. You can call the GetDocument
9745
+ # API to verify the document exists before attempting to start a
9746
+ # session. If no document name is provided, a shell to the managed node
9747
+ # is launched by default. For more information, see [Start a session][1]
9748
+ # in the *Amazon Web Services Systems Manager User Guide*.
9749
+ #
9750
+ #
9751
+ #
9752
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html
9683
9753
  #
9684
9754
  # @option params [String] :reason
9685
9755
  # The reason for connecting to the instance. This value is included in
@@ -10020,6 +10090,10 @@ module Aws::SSM
10020
10090
  #
10021
10091
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
10022
10092
  #
10093
+ # @option params [Array<Hash>] :target_maps
10094
+ # A key-value mapping of document parameters to target resources. Both
10095
+ # Targets and TargetMaps can't be specified together.
10096
+ #
10023
10097
  # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10024
10098
  #
10025
10099
  # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription
@@ -10066,6 +10140,11 @@ module Aws::SSM
10066
10140
  # },
10067
10141
  # ],
10068
10142
  # schedule_offset: 1,
10143
+ # target_maps: [
10144
+ # {
10145
+ # "TargetMapKey" => ["TargetMapValue"],
10146
+ # },
10147
+ # ],
10069
10148
  # })
10070
10149
  #
10071
10150
  # @example Response structure
@@ -10116,6 +10195,10 @@ module Aws::SSM
10116
10195
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10117
10196
  # resp.association_description.target_locations[0].execution_role_name #=> String
10118
10197
  # resp.association_description.schedule_offset #=> Integer
10198
+ # resp.association_description.target_maps #=> Array
10199
+ # resp.association_description.target_maps[0] #=> Hash
10200
+ # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
10201
+ # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
10119
10202
  #
10120
10203
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation
10121
10204
  #
@@ -10208,6 +10291,10 @@ module Aws::SSM
10208
10291
  # resp.association_description.target_locations[0].target_location_max_errors #=> String
10209
10292
  # resp.association_description.target_locations[0].execution_role_name #=> String
10210
10293
  # resp.association_description.schedule_offset #=> Integer
10294
+ # resp.association_description.target_maps #=> Array
10295
+ # resp.association_description.target_maps[0] #=> Hash
10296
+ # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
10297
+ # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String
10211
10298
  #
10212
10299
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation
10213
10300
  #
@@ -11514,23 +11601,18 @@ module Aws::SSM
11514
11601
  #
11515
11602
  # * `/ssm/documents/console/public-sharing-permission`
11516
11603
  #
11604
+ # * `/ssm/managed-instance/activation-tier`
11605
+ #
11606
+ # * `/ssm/opsinsights/opscenter`
11607
+ #
11517
11608
  # * `/ssm/parameter-store/default-parameter-tier`
11518
11609
  #
11519
11610
  # * `/ssm/parameter-store/high-throughput-enabled`
11520
11611
  #
11521
- # * `/ssm/managed-instance/activation-tier`
11522
- #
11523
11612
  # @option params [required, String] :setting_value
11524
11613
  # The new value to specify for the service setting. The following list
11525
11614
  # specifies the available values for each setting.
11526
11615
  #
11527
- # * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
11528
- # `Advanced`, `Intelligent-Tiering`
11529
- #
11530
- # * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
11531
- #
11532
- # * `/ssm/managed-instance/activation-tier`\: `true` or `false`
11533
- #
11534
11616
  # * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
11535
11617
  #
11536
11618
  # * `/ssm/automation/customer-script-log-group-name`\: the name of an
@@ -11541,6 +11623,13 @@ module Aws::SSM
11541
11623
  #
11542
11624
  # * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
11543
11625
  #
11626
+ # * `/ssm/opsinsights/opscenter`\: `Enabled` or `Disabled`
11627
+ #
11628
+ # * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
11629
+ # `Advanced`, `Intelligent-Tiering`
11630
+ #
11631
+ # * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
11632
+ #
11544
11633
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
11545
11634
  #
11546
11635
  # @example Request syntax with placeholder values
@@ -11572,7 +11661,7 @@ module Aws::SSM
11572
11661
  params: params,
11573
11662
  config: config)
11574
11663
  context[:gem_name] = 'aws-sdk-ssm'
11575
- context[:gem_version] = '1.136.0'
11664
+ context[:gem_version] = '1.139.0'
11576
11665
  Seahorse::Client::Request.new(handlers, context)
11577
11666
  end
11578
11667
 
@@ -526,7 +526,9 @@ module Aws::SSM
526
526
  InvalidResultAttributeException = Shapes::StructureShape.new(name: 'InvalidResultAttributeException')
527
527
  InvalidRole = Shapes::StructureShape.new(name: 'InvalidRole')
528
528
  InvalidSchedule = Shapes::StructureShape.new(name: 'InvalidSchedule')
529
+ InvalidTag = Shapes::StructureShape.new(name: 'InvalidTag')
529
530
  InvalidTarget = Shapes::StructureShape.new(name: 'InvalidTarget')
531
+ InvalidTargetMaps = Shapes::StructureShape.new(name: 'InvalidTargetMaps')
530
532
  InvalidTypeNameException = Shapes::StructureShape.new(name: 'InvalidTypeNameException')
531
533
  InvalidUpdate = Shapes::StructureShape.new(name: 'InvalidUpdate')
532
534
  InventoryAggregator = Shapes::StructureShape.new(name: 'InventoryAggregator')
@@ -1227,6 +1229,7 @@ module Aws::SSM
1227
1229
  Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
1228
1230
  Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
1229
1231
  Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1232
+ Association.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1230
1233
  Association.struct_class = Types::Association
1231
1234
 
1232
1235
  AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists
@@ -1256,6 +1259,7 @@ module Aws::SSM
1256
1259
  AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1257
1260
  AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1258
1261
  AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1262
+ AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1259
1263
  AssociationDescription.struct_class = Types::AssociationDescription
1260
1264
 
1261
1265
  AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
@@ -1348,6 +1352,7 @@ module Aws::SSM
1348
1352
  AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1349
1353
  AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1350
1354
  AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1355
+ AssociationVersionInfo.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1351
1356
  AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
1352
1357
 
1353
1358
  AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -1669,6 +1674,7 @@ module Aws::SSM
1669
1674
  CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1670
1675
  CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1671
1676
  CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1677
+ CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1672
1678
  CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
1673
1679
 
1674
1680
  CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
@@ -1692,6 +1698,8 @@ module Aws::SSM
1692
1698
  CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1693
1699
  CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1694
1700
  CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1701
+ CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1702
+ CreateAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
1695
1703
  CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
1696
1704
 
1697
1705
  CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -2930,9 +2938,15 @@ module Aws::SSM
2930
2938
  InvalidSchedule.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2931
2939
  InvalidSchedule.struct_class = Types::InvalidSchedule
2932
2940
 
2941
+ InvalidTag.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2942
+ InvalidTag.struct_class = Types::InvalidTag
2943
+
2933
2944
  InvalidTarget.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2934
2945
  InvalidTarget.struct_class = Types::InvalidTarget
2935
2946
 
2947
+ InvalidTargetMaps.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2948
+ InvalidTargetMaps.struct_class = Types::InvalidTargetMaps
2949
+
2936
2950
  InvalidTypeNameException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2937
2951
  InvalidTypeNameException.struct_class = Types::InvalidTypeNameException
2938
2952
 
@@ -4362,6 +4376,7 @@ module Aws::SSM
4362
4376
  UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
4363
4377
  UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
4364
4378
  UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
4379
+ UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
4365
4380
  UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
4366
4381
 
4367
4382
  UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
@@ -4653,6 +4668,8 @@ module Aws::SSM
4653
4668
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameters)
4654
4669
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4655
4670
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4671
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4672
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTag)
4656
4673
  end)
4657
4674
 
4658
4675
  api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -4672,6 +4689,7 @@ module Aws::SSM
4672
4689
  o.errors << Shapes::ShapeRef.new(shape: InvalidOutputLocation)
4673
4690
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
4674
4691
  o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
4692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
4675
4693
  end)
4676
4694
 
4677
4695
  api.add_operation(:create_document, Seahorse::Model::Operation.new.tap do |o|
@@ -6274,6 +6292,7 @@ module Aws::SSM
6274
6292
  o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
6275
6293
  o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
6276
6294
  o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded)
6295
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
6277
6296
  end)
6278
6297
 
6279
6298
  api.add_operation(:update_association_status, Seahorse::Model::Operation.new.tap do |o|
@@ -100,7 +100,9 @@ module Aws::SSM
100
100
  # * {InvalidResultAttributeException}
101
101
  # * {InvalidRole}
102
102
  # * {InvalidSchedule}
103
+ # * {InvalidTag}
103
104
  # * {InvalidTarget}
105
+ # * {InvalidTargetMaps}
104
106
  # * {InvalidTypeNameException}
105
107
  # * {InvalidUpdate}
106
108
  # * {InvocationDoesNotExist}
@@ -1201,6 +1203,21 @@ module Aws::SSM
1201
1203
  end
1202
1204
  end
1203
1205
 
1206
+ class InvalidTag < ServiceError
1207
+
1208
+ # @param [Seahorse::Client::RequestContext] context
1209
+ # @param [String] message
1210
+ # @param [Aws::SSM::Types::InvalidTag] data
1211
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1212
+ super(context, message, data)
1213
+ end
1214
+
1215
+ # @return [String]
1216
+ def message
1217
+ @message || @data[:message]
1218
+ end
1219
+ end
1220
+
1204
1221
  class InvalidTarget < ServiceError
1205
1222
 
1206
1223
  # @param [Seahorse::Client::RequestContext] context
@@ -1216,6 +1233,21 @@ module Aws::SSM
1216
1233
  end
1217
1234
  end
1218
1235
 
1236
+ class InvalidTargetMaps < ServiceError
1237
+
1238
+ # @param [Seahorse::Client::RequestContext] context
1239
+ # @param [String] message
1240
+ # @param [Aws::SSM::Types::InvalidTargetMaps] data
1241
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1242
+ super(context, message, data)
1243
+ end
1244
+
1245
+ # @return [String]
1246
+ def message
1247
+ @message || @data[:message]
1248
+ end
1249
+ end
1250
+
1219
1251
  class InvalidTypeNameException < ServiceError
1220
1252
 
1221
1253
  # @param [Seahorse::Client::RequestContext] context
@@ -101,7 +101,7 @@ module Aws::SSM
101
101
  # data as a hash:
102
102
  #
103
103
  # {
104
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
104
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
105
105
  # resource_id: "ResourceId", # required
106
106
  # tags: [ # required
107
107
  # {
@@ -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
@@ -1823,9 +1841,16 @@ module Aws::SSM
1823
1841
  # @return [String]
1824
1842
  #
1825
1843
  # @!attribute [rw] expires_after
1826
- # If this time is reached and the command hasn't already started
1827
- # running, it won't run. Calculated based on the `ExpiresAfter` user
1828
- # input provided as part of the `SendCommand` API operation.
1844
+ # If a command expires, it changes status to `DeliveryTimedOut` for
1845
+ # all invocations that have the status `InProgress`, `Pending`, or
1846
+ # `Delayed`. `ExpiresAfter` is calculated based on the total timeout
1847
+ # for the overall command. For more information, see [Understanding
1848
+ # command timeout values][1] in the *Amazon Web Services Systems
1849
+ # Manager User Guide*.
1850
+ #
1851
+ #
1852
+ #
1853
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html?icmpid=docs_ec2_console#monitor-about-status-timeouts
1829
1854
  # @return [Time]
1830
1855
  #
1831
1856
  # @!attribute [rw] parameters
@@ -1892,6 +1917,9 @@ module Aws::SSM
1892
1917
  # canceled the command before running it on any managed node. This
1893
1918
  # is a terminal state.
1894
1919
  #
1920
+ # * Delayed: The system attempted to send the command to the managed
1921
+ # node but wasn't successful. The system retries again.
1922
+ #
1895
1923
  #
1896
1924
  #
1897
1925
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
@@ -2220,6 +2248,9 @@ module Aws::SSM
2220
2248
  # subsequent command invocations were canceled by the system. This
2221
2249
  # is a terminal state.
2222
2250
  #
2251
+ # * Delayed: The system attempted to send the command to the managed
2252
+ # node but wasn't successful. The system retries again.
2253
+ #
2223
2254
  #
2224
2255
  #
2225
2256
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
@@ -2872,6 +2903,11 @@ module Aws::SSM
2872
2903
  # },
2873
2904
  # ],
2874
2905
  # schedule_offset: 1,
2906
+ # target_maps: [
2907
+ # {
2908
+ # "TargetMapKey" => ["TargetMapValue"],
2909
+ # },
2910
+ # ],
2875
2911
  # },
2876
2912
  # ],
2877
2913
  # }
@@ -2933,6 +2969,11 @@ module Aws::SSM
2933
2969
  # },
2934
2970
  # ],
2935
2971
  # schedule_offset: 1,
2972
+ # target_maps: [
2973
+ # {
2974
+ # "TargetMapKey" => ["TargetMapValue"],
2975
+ # },
2976
+ # ],
2936
2977
  # }
2937
2978
  #
2938
2979
  # @!attribute [rw] name
@@ -3087,6 +3128,11 @@ module Aws::SSM
3087
3128
  # association.
3088
3129
  # @return [Integer]
3089
3130
  #
3131
+ # @!attribute [rw] target_maps
3132
+ # A key-value mapping of document parameters to target resources. Both
3133
+ # Targets and TargetMaps can't be specified together.
3134
+ # @return [Array<Hash<String,Array<String>>>]
3135
+ #
3090
3136
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
3091
3137
  #
3092
3138
  class CreateAssociationBatchRequestEntry < Struct.new(
@@ -3106,7 +3152,8 @@ module Aws::SSM
3106
3152
  :apply_only_at_cron_interval,
3107
3153
  :calendar_names,
3108
3154
  :target_locations,
3109
- :schedule_offset)
3155
+ :schedule_offset,
3156
+ :target_maps)
3110
3157
  SENSITIVE = [:parameters]
3111
3158
  include Aws::Structure
3112
3159
  end
@@ -3170,6 +3217,17 @@ module Aws::SSM
3170
3217
  # },
3171
3218
  # ],
3172
3219
  # schedule_offset: 1,
3220
+ # target_maps: [
3221
+ # {
3222
+ # "TargetMapKey" => ["TargetMapValue"],
3223
+ # },
3224
+ # ],
3225
+ # tags: [
3226
+ # {
3227
+ # key: "TagKey", # required
3228
+ # value: "TagValue", # required
3229
+ # },
3230
+ # ],
3173
3231
  # }
3174
3232
  #
3175
3233
  # @!attribute [rw] name
@@ -3361,6 +3419,19 @@ module Aws::SSM
3361
3419
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
3362
3420
  # @return [Integer]
3363
3421
  #
3422
+ # @!attribute [rw] target_maps
3423
+ # A key-value mapping of document parameters to target resources. Both
3424
+ # Targets and TargetMaps can't be specified together.
3425
+ # @return [Array<Hash<String,Array<String>>>]
3426
+ #
3427
+ # @!attribute [rw] tags
3428
+ # Adds or overwrites one or more tags for a State Manager association.
3429
+ # *Tags* are metadata that you can assign to your Amazon Web Services
3430
+ # resources. Tags enable you to categorize your resources in different
3431
+ # ways, for example, by purpose, owner, or environment. Each tag
3432
+ # consists of a key and an optional value, both of which you define.
3433
+ # @return [Array<Types::Tag>]
3434
+ #
3364
3435
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
3365
3436
  #
3366
3437
  class CreateAssociationRequest < Struct.new(
@@ -3380,7 +3451,9 @@ module Aws::SSM
3380
3451
  :apply_only_at_cron_interval,
3381
3452
  :calendar_names,
3382
3453
  :target_locations,
3383
- :schedule_offset)
3454
+ :schedule_offset,
3455
+ :target_maps,
3456
+ :tags)
3384
3457
  SENSITIVE = [:parameters]
3385
3458
  include Aws::Structure
3386
3459
  end
@@ -3476,7 +3549,7 @@ module Aws::SSM
3476
3549
  # These are reserved by Amazon Web Services for use as document name
3477
3550
  # prefixes:
3478
3551
  #
3479
- # * `aws-`
3552
+ # * `aws`
3480
3553
  #
3481
3554
  # * `amazon`
3482
3555
  #
@@ -3492,9 +3565,8 @@ module Aws::SSM
3492
3565
  #
3493
3566
  # @!attribute [rw] version_name
3494
3567
  # An optional field specifying the version of the artifact you are
3495
- # creating with the document. For example, "Release 12, Update 6".
3496
- # This value is unique across all versions of a document, and can't
3497
- # be changed.
3568
+ # creating with the document. For example, `Release12.1`. This value
3569
+ # is unique across all versions of a document, and can't be changed.
3498
3570
  # @return [String]
3499
3571
  #
3500
3572
  # @!attribute [rw] document_type
@@ -5669,8 +5741,8 @@ module Aws::SSM
5669
5741
  #
5670
5742
  # @!attribute [rw] filters
5671
5743
  # One or more filters. Use a filter to return a more specific list of
5672
- # managed nodes. You can filter based on tags applied to EC2
5673
- # instances. Use this `Filters` data type instead of
5744
+ # managed nodes. You can filter based on tags applied to your managed
5745
+ # nodes. Use this `Filters` data type instead of
5674
5746
  # `InstanceInformationFilterList`, which is deprecated.
5675
5747
  # @return [Array<Types::InstanceInformationStringFilter>]
5676
5748
  #
@@ -10016,11 +10088,13 @@ module Aws::SSM
10016
10088
  #
10017
10089
  # * `/ssm/documents/console/public-sharing-permission`
10018
10090
  #
10091
+ # * `/ssm/managed-instance/activation-tier`
10092
+ #
10093
+ # * `/ssm/opsinsights/opscenter`
10094
+ #
10019
10095
  # * `/ssm/parameter-store/default-parameter-tier`
10020
10096
  #
10021
10097
  # * `/ssm/parameter-store/high-throughput-enabled`
10022
- #
10023
- # * `/ssm/managed-instance/activation-tier`
10024
10098
  # @return [String]
10025
10099
  #
10026
10100
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSettingRequest AWS API Documentation
@@ -10494,13 +10568,16 @@ module Aws::SSM
10494
10568
  # @!attribute [rw] key
10495
10569
  # The filter key name to describe your managed nodes. For example:
10496
10570
  #
10497
- # "InstanceIds"\|"AgentVersion"\|"PingStatus"\|"PlatformTypes"\|"ActivationIds"\|"IamRole"\|"ResourceType"\|"AssociationStatus"\|"Tag
10498
- # Key"
10571
+ # "InstanceIds" \| "AgentVersion" \| "PingStatus" \|
10572
+ # "PlatformTypes" \| "ActivationIds" \| "IamRole" \|
10573
+ # "ResourceType" \| "AssociationStatus" \| "tag-key" \|
10574
+ # "tag:`\{keyname\}`
10499
10575
  #
10500
- # `Tag key` isn't a valid filter. You must specify either `tag-key`
10501
- # or `tag:keyname` and a string. Here are some valid examples:
10502
- # tag-key, tag:123, tag:al!, tag:Windows. Here are some *invalid*
10503
- # examples: tag-keys, Tag Key, tag:, tagKey, abc:keyname.
10576
+ # `Tag Key` isn't a valid filter. You must specify either `tag-key`
10577
+ # or `tag:\{keyname\}` and a string. Here are some valid examples:
10578
+ # `tag-key`, `tag:123`, `tag:al!`, `tag:Windows`. Here are some
10579
+ # *invalid* examples: `tag-keys`, `Tag Key`, `tag:`, `tagKey`,
10580
+ # `abc:keyname`.
10504
10581
  # @return [String]
10505
10582
  #
10506
10583
  # @!attribute [rw] values
@@ -11362,6 +11439,19 @@ module Aws::SSM
11362
11439
  include Aws::Structure
11363
11440
  end
11364
11441
 
11442
+ # The specified tag key or value is not valid.
11443
+ #
11444
+ # @!attribute [rw] message
11445
+ # @return [String]
11446
+ #
11447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidTag AWS API Documentation
11448
+ #
11449
+ class InvalidTag < Struct.new(
11450
+ :message)
11451
+ SENSITIVE = []
11452
+ include Aws::Structure
11453
+ end
11454
+
11365
11455
  # The target isn't valid or doesn't exist. It might not be configured
11366
11456
  # for Systems Manager or you might not have permission to perform the
11367
11457
  # operation.
@@ -11377,6 +11467,19 @@ module Aws::SSM
11377
11467
  include Aws::Structure
11378
11468
  end
11379
11469
 
11470
+ # TargetMap parameter isn't valid.
11471
+ #
11472
+ # @!attribute [rw] message
11473
+ # @return [String]
11474
+ #
11475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidTargetMaps AWS API Documentation
11476
+ #
11477
+ class InvalidTargetMaps < Struct.new(
11478
+ :message)
11479
+ SENSITIVE = []
11480
+ include Aws::Structure
11481
+ end
11482
+
11380
11483
  # The parameter type name isn't valid.
11381
11484
  #
11382
11485
  # @!attribute [rw] message
@@ -12959,7 +13062,7 @@ module Aws::SSM
12959
13062
  # data as a hash:
12960
13063
  #
12961
13064
  # {
12962
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
13065
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
12963
13066
  # resource_id: "ResourceId", # required
12964
13067
  # }
12965
13068
  #
@@ -17213,7 +17316,7 @@ module Aws::SSM
17213
17316
  # data as a hash:
17214
17317
  #
17215
17318
  # {
17216
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
17319
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
17217
17320
  # resource_id: "ResourceId", # required
17218
17321
  # tag_keys: ["TagKey"], # required
17219
17322
  # }
@@ -17296,11 +17399,13 @@ module Aws::SSM
17296
17399
  #
17297
17400
  # * `/ssm/documents/console/public-sharing-permission`
17298
17401
  #
17402
+ # * `/ssm/managed-instance/activation-tier`
17403
+ #
17404
+ # * `/ssm/opsinsights/opscenter`
17405
+ #
17299
17406
  # * `/ssm/parameter-store/default-parameter-tier`
17300
17407
  #
17301
17408
  # * `/ssm/parameter-store/high-throughput-enabled`
17302
- #
17303
- # * `/ssm/managed-instance/activation-tier`
17304
17409
  # @return [String]
17305
17410
  #
17306
17411
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSettingRequest AWS API Documentation
@@ -18392,6 +18497,16 @@ module Aws::SSM
18392
18497
  # The ARN of the Identity and Access Management (IAM) service role to
18393
18498
  # use to publish Amazon Simple Notification Service (Amazon SNS)
18394
18499
  # notifications for Run Command commands.
18500
+ #
18501
+ # This role must provide the `sns:Publish` permission for your
18502
+ # notification topic. For information about creating and using this
18503
+ # service role, see [Monitoring Systems Manager status changes using
18504
+ # Amazon SNS notifications][1] in the *Amazon Web Services Systems
18505
+ # Manager User Guide*.
18506
+ #
18507
+ #
18508
+ #
18509
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html
18395
18510
  # @return [String]
18396
18511
  #
18397
18512
  # @!attribute [rw] notification_config
@@ -18677,7 +18792,7 @@ module Aws::SSM
18677
18792
  #
18678
18793
  # @!attribute [rw] critical_count
18679
18794
  # The total number of resources or compliance items that have a
18680
- # severity level of critical. Critical severity is determined by the
18795
+ # severity level of `Critical`. Critical severity is determined by the
18681
18796
  # organization that published the compliance items.
18682
18797
  # @return [Integer]
18683
18798
  #
@@ -19116,11 +19231,17 @@ module Aws::SSM
19116
19231
  # @return [String]
19117
19232
  #
19118
19233
  # @!attribute [rw] document_name
19119
- # The name of the SSM document to define the parameters and plugin
19120
- # settings for the session. For example, `SSM-SessionManagerRunShell`.
19121
- # You can call the GetDocument API to verify the document exists
19122
- # before attempting to start a session. If no document name is
19123
- # provided, a shell to the managed node is launched by default.
19234
+ # The name of the SSM document you want to use to define the type of
19235
+ # session, input parameters, or preferences for the session. For
19236
+ # example, `SSM-SessionManagerRunShell`. You can call the GetDocument
19237
+ # API to verify the document exists before attempting to start a
19238
+ # session. If no document name is provided, a shell to the managed
19239
+ # node is launched by default. For more information, see [Start a
19240
+ # session][1] in the *Amazon Web Services Systems Manager User Guide*.
19241
+ #
19242
+ #
19243
+ #
19244
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html
19124
19245
  # @return [String]
19125
19246
  #
19126
19247
  # @!attribute [rw] reason
@@ -19151,7 +19272,9 @@ module Aws::SSM
19151
19272
  #
19152
19273
  # @!attribute [rw] token_value
19153
19274
  # An encrypted token value containing session and caller information.
19154
- # Used to authenticate the connection to the managed node.
19275
+ # This token is used to authenticate the connection to the managed
19276
+ # node, and is valid only long enough to ensure the connection is
19277
+ # successful. Never share your session's token.
19155
19278
  # @return [String]
19156
19279
  #
19157
19280
  # @!attribute [rw] stream_url
@@ -19889,6 +20012,11 @@ module Aws::SSM
19889
20012
  # },
19890
20013
  # ],
19891
20014
  # schedule_offset: 1,
20015
+ # target_maps: [
20016
+ # {
20017
+ # "TargetMapKey" => ["TargetMapValue"],
20018
+ # },
20019
+ # ],
19892
20020
  # }
19893
20021
  #
19894
20022
  # @!attribute [rw] association_id
@@ -20085,6 +20213,11 @@ module Aws::SSM
20085
20213
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
20086
20214
  # @return [Integer]
20087
20215
  #
20216
+ # @!attribute [rw] target_maps
20217
+ # A key-value mapping of document parameters to target resources. Both
20218
+ # Targets and TargetMaps can't be specified together.
20219
+ # @return [Array<Hash<String,Array<String>>>]
20220
+ #
20088
20221
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
20089
20222
  #
20090
20223
  class UpdateAssociationRequest < Struct.new(
@@ -20105,7 +20238,8 @@ module Aws::SSM
20105
20238
  :apply_only_at_cron_interval,
20106
20239
  :calendar_names,
20107
20240
  :target_locations,
20108
- :schedule_offset)
20241
+ :schedule_offset,
20242
+ :target_maps)
20109
20243
  SENSITIVE = [:parameters]
20110
20244
  include Aws::Structure
20111
20245
  end
@@ -21597,24 +21731,19 @@ module Aws::SSM
21597
21731
  #
21598
21732
  # * `/ssm/documents/console/public-sharing-permission`
21599
21733
  #
21734
+ # * `/ssm/managed-instance/activation-tier`
21735
+ #
21736
+ # * `/ssm/opsinsights/opscenter`
21737
+ #
21600
21738
  # * `/ssm/parameter-store/default-parameter-tier`
21601
21739
  #
21602
21740
  # * `/ssm/parameter-store/high-throughput-enabled`
21603
- #
21604
- # * `/ssm/managed-instance/activation-tier`
21605
21741
  # @return [String]
21606
21742
  #
21607
21743
  # @!attribute [rw] setting_value
21608
21744
  # The new value to specify for the service setting. The following list
21609
21745
  # specifies the available values for each setting.
21610
21746
  #
21611
- # * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
21612
- # `Advanced`, `Intelligent-Tiering`
21613
- #
21614
- # * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
21615
- #
21616
- # * `/ssm/managed-instance/activation-tier`\: `true` or `false`
21617
- #
21618
21747
  # * `/ssm/automation/customer-script-log-destination`\: `CloudWatch`
21619
21748
  #
21620
21749
  # * `/ssm/automation/customer-script-log-group-name`\: the name of an
@@ -21624,6 +21753,13 @@ module Aws::SSM
21624
21753
  # `Disable`
21625
21754
  #
21626
21755
  # * `/ssm/managed-instance/activation-tier`\: `standard` or `advanced`
21756
+ #
21757
+ # * `/ssm/opsinsights/opscenter`\: `Enabled` or `Disabled`
21758
+ #
21759
+ # * `/ssm/parameter-store/default-parameter-tier`\: `Standard`,
21760
+ # `Advanced`, `Intelligent-Tiering`
21761
+ #
21762
+ # * `/ssm/parameter-store/high-throughput-enabled`\: `true` or `false`
21627
21763
  # @return [String]
21628
21764
  #
21629
21765
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
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.139.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.139.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-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core