aws-sdk-ssm 1.163.0 → 1.165.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: 86b9c8484ec6e1da2807ad972a41f79b8c712e8ac80a5be09d372b246b15e9d8
4
- data.tar.gz: c75ecbe08bc4c911b857385298346634446eb2e0c2189091e3f2fb34652fa508
3
+ metadata.gz: 379229f09f8ced43ffcf26ddee43e686118db4c24fc8dfe9d6e9206552de5d29
4
+ data.tar.gz: a07230ecc936c60d30858bba100a8c5002c423db3cf7b74f83938cd20b168124
5
5
  SHA512:
6
- metadata.gz: 6bdca321ed83de41deca6e2ae2ad7c2afb01657bbfeaf7f02e01a7ae336fc87d02239fc8f000d9f8d32e41f8a27b03086180c907eed60d8202bcc17c41941cd9
7
- data.tar.gz: 006e52f8a4ffeca387b1f2fd07909f432aa3812a6dee0f1d3476d76dfe8b729c3fb7c690f4d6dd0119ef28ae936a48584916635d6f9896057ddafc86ee320dff
6
+ metadata.gz: 8f98f45763b1be34d0b4692ade07ceced01ec8761457342c06f3ae6c7d98fb7e10d16d38ff3cabd13bcfafd9c2d8de7bb4e3ac3af23c25fbea7350ec3729fa43
7
+ data.tar.gz: 504d6371ee1a8a8c7e6089fb3e421b2cfaa5932cfb4384a6b8b5ce636e754e15e5bbb04cc98e385750e240087a6cc503c8e0b82e7c100c7a50633faf0267db02
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.165.0 (2024-02-21)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for sharing Systems Manager parameters with other AWS accounts.
8
+
9
+ 1.164.0 (2024-01-31)
10
+ ------------------
11
+
12
+ * Feature - This release adds an optional Duration parameter to StateManager Associations. This allows customers to specify how long an apply-only-on-cron association execution should run. Once the specified Duration is out all the ongoing cancellable commands or automations are cancelled.
13
+
4
14
  1.163.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.163.0
1
+ 1.165.0
@@ -937,6 +937,24 @@ module Aws::SSM
937
937
  #
938
938
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
939
939
  #
940
+ # @option params [Integer] :duration
941
+ # The number of hours the association can run before it is canceled.
942
+ # Duration applies to associations that are currently running, and any
943
+ # pending and in progress commands on all targets. If a target was taken
944
+ # offline for the association to run, it is made available again
945
+ # immediately, without a reboot.
946
+ #
947
+ # The `Duration` parameter applies only when both these conditions are
948
+ # true:
949
+ #
950
+ # * The association for which you specify a duration is cancelable
951
+ # according to the parameters of the SSM command document or
952
+ # Automation runbook associated with this execution.
953
+ #
954
+ # * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
955
+ # which means that the association doesn't run immediately after it
956
+ # is created, but only according to the specified schedule.
957
+ #
940
958
  # @option params [Array<Hash>] :target_maps
941
959
  # A key-value mapping of document parameters to target resources. Both
942
960
  # Targets and TargetMaps can't be specified together.
@@ -1005,6 +1023,7 @@ module Aws::SSM
1005
1023
  # },
1006
1024
  # ],
1007
1025
  # schedule_offset: 1,
1026
+ # duration: 1,
1008
1027
  # target_maps: [
1009
1028
  # {
1010
1029
  # "TargetMapKey" => ["TargetMapValue"],
@@ -1077,6 +1096,7 @@ module Aws::SSM
1077
1096
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
1078
1097
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1079
1098
  # resp.association_description.schedule_offset #=> Integer
1099
+ # resp.association_description.duration #=> Integer
1080
1100
  # resp.association_description.target_maps #=> Array
1081
1101
  # resp.association_description.target_maps[0] #=> Hash
1082
1102
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
@@ -1168,6 +1188,7 @@ module Aws::SSM
1168
1188
  # },
1169
1189
  # ],
1170
1190
  # schedule_offset: 1,
1191
+ # duration: 1,
1171
1192
  # target_maps: [
1172
1193
  # {
1173
1194
  # "TargetMapKey" => ["TargetMapValue"],
@@ -1237,6 +1258,7 @@ module Aws::SSM
1237
1258
  # resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
1238
1259
  # resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1239
1260
  # resp.successful[0].schedule_offset #=> Integer
1261
+ # resp.successful[0].duration #=> Integer
1240
1262
  # resp.successful[0].target_maps #=> Array
1241
1263
  # resp.successful[0].target_maps[0] #=> Hash
1242
1264
  # resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array
@@ -1283,6 +1305,7 @@ module Aws::SSM
1283
1305
  # resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms #=> Array
1284
1306
  # resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
1285
1307
  # resp.failed[0].entry.schedule_offset #=> Integer
1308
+ # resp.failed[0].entry.duration #=> Integer
1286
1309
  # resp.failed[0].entry.target_maps #=> Array
1287
1310
  # resp.failed[0].entry.target_maps[0] #=> Hash
1288
1311
  # resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array
@@ -2478,6 +2501,11 @@ module Aws::SSM
2478
2501
  # @option params [required, String] :name
2479
2502
  # The name of the parameter to delete.
2480
2503
  #
2504
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter, only
2505
+ # the parameter name itself.
2506
+ #
2507
+ # </note>
2508
+ #
2481
2509
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2482
2510
  #
2483
2511
  # @example Request syntax with placeholder values
@@ -2502,6 +2530,11 @@ module Aws::SSM
2502
2530
  # The names of the parameters to delete. After deleting a parameter,
2503
2531
  # wait for at least 30 seconds to create a parameter with the same name.
2504
2532
  #
2533
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter, only
2534
+ # the parameter name itself.
2535
+ #
2536
+ # </note>
2537
+ #
2505
2538
  # @return [Types::DeleteParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2506
2539
  #
2507
2540
  # * {Types::DeleteParametersResult#deleted_parameters #deleted_parameters} => Array&lt;String&gt;
@@ -2587,11 +2620,19 @@ module Aws::SSM
2587
2620
 
2588
2621
  # Deletes a Systems Manager resource policy. A resource policy helps you
2589
2622
  # to define the IAM entity (for example, an Amazon Web Services account)
2590
- # that can manage your Systems Manager resources. Currently,
2591
- # `OpsItemGroup` is the only resource that supports Systems Manager
2592
- # resource policies. The resource policy for `OpsItemGroup` enables
2593
- # Amazon Web Services accounts to view and interact with OpsCenter
2594
- # operational work items (OpsItems).
2623
+ # that can manage your Systems Manager resources. The following
2624
+ # resources support Systems Manager resource policies.
2625
+ #
2626
+ # * `OpsItemGroup` - The resource policy for `OpsItemGroup` enables
2627
+ # Amazon Web Services accounts to view and interact with OpsCenter
2628
+ # operational work items (OpsItems).
2629
+ #
2630
+ # * `Parameter` - The resource policy is used to share a parameter with
2631
+ # other accounts using Resource Access Manager (RAM). For more
2632
+ # information about cross-account sharing of parameters, see [Working
2633
+ # with shared
2634
+ # parameters](systems-manager/latest/userguide/parameter-store-shared-parameters.html)
2635
+ # in the *Amazon Web Services Systems Manager User Guide*.
2595
2636
  #
2596
2637
  # @option params [required, String] :resource_arn
2597
2638
  # Amazon Resource Name (ARN) of the resource to which the policies are
@@ -2905,6 +2946,7 @@ module Aws::SSM
2905
2946
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
2906
2947
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
2907
2948
  # resp.association_description.schedule_offset #=> Integer
2949
+ # resp.association_description.duration #=> Integer
2908
2950
  # resp.association_description.target_maps #=> Array
2909
2951
  # resp.association_description.target_maps[0] #=> Hash
2910
2952
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
@@ -3309,6 +3351,11 @@ module Aws::SSM
3309
3351
 
3310
3352
  # Lists all patches eligible to be included in a patch baseline.
3311
3353
  #
3354
+ # <note markdown="1"> Currently, `DescribeAvailablePatches` supports only the Amazon Linux
3355
+ # 1, Amazon Linux 2, and Windows Server operating systems.
3356
+ #
3357
+ # </note>
3358
+ #
3312
3359
  # @option params [Array<Types::PatchOrchestratorFilter>] :filters
3313
3360
  # Each element in the array is a structure containing a key-value pair.
3314
3361
  #
@@ -3482,8 +3529,8 @@ module Aws::SSM
3482
3529
  #
3483
3530
  # @option params [String] :version_name
3484
3531
  # An optional field specifying the version of the artifact associated
3485
- # with the document. For example, "Release 12, Update 6". This value
3486
- # is unique across all versions of a document, and can't be changed.
3532
+ # with the document. For example, 12.6. This value is unique across all
3533
+ # versions of a document, and can't be changed.
3487
3534
  #
3488
3535
  # @return [Types::DescribeDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3489
3536
  #
@@ -4878,7 +4925,8 @@ module Aws::SSM
4878
4925
  req.send_request(options)
4879
4926
  end
4880
4927
 
4881
- # Get information about a parameter.
4928
+ # Lists the parameters in your Amazon Web Services account or the
4929
+ # parameters shared with you when you enable the [Shared][1] option.
4882
4930
  #
4883
4931
  # Request results are returned on a best-effort basis. If you specify
4884
4932
  # `MaxResults` in the request, the response includes information up to
@@ -4894,6 +4942,10 @@ module Aws::SSM
4894
4942
  # to reference KMS. Otherwise, `DescribeParameters` retrieves whatever
4895
4943
  # the original key alias was referencing.
4896
4944
  #
4945
+ #
4946
+ #
4947
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeParameters.html#systemsmanager-DescribeParameters-request-Shared
4948
+ #
4897
4949
  # @option params [Array<Types::ParametersFilter>] :filters
4898
4950
  # This data type is deprecated. Instead, use `ParameterFilters`.
4899
4951
  #
@@ -4909,6 +4961,28 @@ module Aws::SSM
4909
4961
  # The token for the next set of items to return. (You received this
4910
4962
  # token from a previous call.)
4911
4963
  #
4964
+ # @option params [Boolean] :shared
4965
+ # Lists parameters that are shared with you.
4966
+ #
4967
+ # <note markdown="1"> By default when using this option, the command returns parameters that
4968
+ # have been shared using a standard Resource Access Manager Resource
4969
+ # Share. In order for a parameter that was shared using the
4970
+ # PutResourcePolicy command to be returned, the associated `RAM Resource
4971
+ # Share Created From Policy` must have been promoted to a standard
4972
+ # Resource Share using the RAM
4973
+ # [PromoteResourceShareCreatedFromPolicy][1] API operation.
4974
+ #
4975
+ # For more information about sharing parameters, see [Working with
4976
+ # shared
4977
+ # parameters](systems-manager/latest/userguide/parameter-store-shared-parameters.html)
4978
+ # in the *Amazon Web Services Systems Manager User Guide*.
4979
+ #
4980
+ # </note>
4981
+ #
4982
+ #
4983
+ #
4984
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
4985
+ #
4912
4986
  # @return [Types::DescribeParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4913
4987
  #
4914
4988
  # * {Types::DescribeParametersResult#parameters #parameters} => Array&lt;Types::ParameterMetadata&gt;
@@ -4934,12 +5008,14 @@ module Aws::SSM
4934
5008
  # ],
4935
5009
  # max_results: 1,
4936
5010
  # next_token: "NextToken",
5011
+ # shared: false,
4937
5012
  # })
4938
5013
  #
4939
5014
  # @example Response structure
4940
5015
  #
4941
5016
  # resp.parameters #=> Array
4942
5017
  # resp.parameters[0].name #=> String
5018
+ # resp.parameters[0].arn #=> String
4943
5019
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
4944
5020
  # resp.parameters[0].key_id #=> String
4945
5021
  # resp.parameters[0].last_modified_date #=> Time
@@ -5851,8 +5927,8 @@ module Aws::SSM
5851
5927
  #
5852
5928
  # @option params [String] :version_name
5853
5929
  # An optional field specifying the version of the artifact associated
5854
- # with the document. For example, "Release 12, Update 6". This value
5855
- # is unique across all versions of a document and can't be changed.
5930
+ # with the document. For example, 12.6. This value is unique across all
5931
+ # versions of a document and can't be changed.
5856
5932
  #
5857
5933
  # @option params [String] :document_version
5858
5934
  # The document version for which you want information.
@@ -6631,11 +6707,21 @@ module Aws::SSM
6631
6707
  # </note>
6632
6708
  #
6633
6709
  # @option params [required, String] :name
6634
- # The name of the parameter you want to query.
6710
+ # The name or Amazon Resource Name (ARN) of the parameter that you want
6711
+ # to query. For parameters shared with you from another account, you
6712
+ # must use the full ARN.
6635
6713
  #
6636
6714
  # To query by parameter label, use `"Name": "name:label"`. To query by
6637
6715
  # parameter version, use `"Name": "name:version"`.
6638
6716
  #
6717
+ # For more information about shared parameters, see [Working with shared
6718
+ # parameters][1] in the *Amazon Web Services Systems Manager User
6719
+ # Guide*.
6720
+ #
6721
+ #
6722
+ #
6723
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
6724
+ #
6639
6725
  # @option params [Boolean] :with_decryption
6640
6726
  # Return decrypted values for secure string parameters. This flag is
6641
6727
  # ignored for `String` and `StringList` parameter types.
@@ -6680,7 +6766,9 @@ module Aws::SSM
6680
6766
  # the original key alias was referencing.
6681
6767
  #
6682
6768
  # @option params [required, String] :name
6683
- # The name of the parameter for which you want to review history.
6769
+ # The name or Amazon Resource Name (ARN) of the parameter for which you
6770
+ # want to review history. For parameters shared with you from another
6771
+ # account, you must use the full ARN.
6684
6772
  #
6685
6773
  # @option params [Boolean] :with_decryption
6686
6774
  # Return decrypted values for secure string parameters. This flag is
@@ -6751,11 +6839,21 @@ module Aws::SSM
6751
6839
  # </note>
6752
6840
  #
6753
6841
  # @option params [required, Array<String>] :names
6754
- # Names of the parameters for which you want to query information.
6842
+ # The names or Amazon Resource Names (ARNs) of the parameters that you
6843
+ # want to query. For parameters shared with you from another account,
6844
+ # you must use the full ARNs.
6755
6845
  #
6756
6846
  # To query by parameter label, use `"Name": "name:label"`. To query by
6757
6847
  # parameter version, use `"Name": "name:version"`.
6758
6848
  #
6849
+ # For more information about shared parameters, see [Working with shared
6850
+ # parameters][1] in the *Amazon Web Services Systems Manager User
6851
+ # Guide*.
6852
+ #
6853
+ #
6854
+ #
6855
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
6856
+ #
6759
6857
  # @option params [Boolean] :with_decryption
6760
6858
  # Return decrypted secure string value. Return decrypted values for
6761
6859
  # secure string parameters. This flag is ignored for `String` and
@@ -7168,6 +7266,11 @@ module Aws::SSM
7168
7266
  # @option params [required, String] :name
7169
7267
  # The parameter name on which you want to attach one or more labels.
7170
7268
  #
7269
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter, only
7270
+ # the parameter name itself.
7271
+ #
7272
+ # </note>
7273
+ #
7171
7274
  # @option params [Integer] :parameter_version
7172
7275
  # The specific version of the parameter on which you want to attach one
7173
7276
  # or more labels. If no version is specified, the system attaches the
@@ -7273,6 +7376,7 @@ module Aws::SSM
7273
7376
  # resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
7274
7377
  # resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
7275
7378
  # resp.association_versions[0].schedule_offset #=> Integer
7379
+ # resp.association_versions[0].duration #=> Integer
7276
7380
  # resp.association_versions[0].target_maps #=> Array
7277
7381
  # resp.association_versions[0].target_maps[0] #=> Hash
7278
7382
  # resp.association_versions[0].target_maps[0]["TargetMapKey"] #=> Array
@@ -7354,6 +7458,7 @@ module Aws::SSM
7354
7458
  # resp.associations[0].schedule_expression #=> String
7355
7459
  # resp.associations[0].association_name #=> String
7356
7460
  # resp.associations[0].schedule_offset #=> Integer
7461
+ # resp.associations[0].duration #=> Integer
7357
7462
  # resp.associations[0].target_maps #=> Array
7358
7463
  # resp.associations[0].target_maps[0] #=> Hash
7359
7464
  # resp.associations[0].target_maps[0]["TargetMapKey"] #=> Array
@@ -8594,8 +8699,15 @@ module Aws::SSM
8594
8699
  #
8595
8700
  # @option params [required, String] :name
8596
8701
  # The fully qualified name of the parameter that you want to add to the
8597
- # system. The fully qualified name includes the complete hierarchy of
8598
- # the parameter path and name. For parameters in a hierarchy, you must
8702
+ # system.
8703
+ #
8704
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter, only
8705
+ # the parameter name itself.
8706
+ #
8707
+ # </note>
8708
+ #
8709
+ # The fully qualified name includes the complete hierarchy of the
8710
+ # parameter path and name. For parameters in a hierarchy, you must
8599
8711
  # include a leading forward slash character (/) when you create or
8600
8712
  # reference a parameter. For example: `/Dev/DBServer/MySQL/db-string13`
8601
8713
  #
@@ -8898,11 +9010,50 @@ module Aws::SSM
8898
9010
 
8899
9011
  # Creates or updates a Systems Manager resource policy. A resource
8900
9012
  # policy helps you to define the IAM entity (for example, an Amazon Web
8901
- # Services account) that can manage your Systems Manager resources.
8902
- # Currently, `OpsItemGroup` is the only resource that supports Systems
8903
- # Manager resource policies. The resource policy for `OpsItemGroup`
8904
- # enables Amazon Web Services accounts to view and interact with
8905
- # OpsCenter operational work items (OpsItems).
9013
+ # Services account) that can manage your Systems Manager resources. The
9014
+ # following resources support Systems Manager resource policies.
9015
+ #
9016
+ # * `OpsItemGroup` - The resource policy for `OpsItemGroup` enables
9017
+ # Amazon Web Services accounts to view and interact with OpsCenter
9018
+ # operational work items (OpsItems).
9019
+ #
9020
+ # * `Parameter` - The resource policy is used to share a parameter with
9021
+ # other accounts using Resource Access Manager (RAM).
9022
+ #
9023
+ # To share a parameter, it must be in the advanced parameter tier. For
9024
+ # information about parameter tiers, see [Managing parameter
9025
+ # tiers][1]. For information about changing an existing standard
9026
+ # parameter to an advanced parameter, see [Changing a standard
9027
+ # parameter to an advanced parameter][2].
9028
+ #
9029
+ # To share a `SecureString` parameter, it must be encrypted with a
9030
+ # customer managed key, and you must share the key separately through
9031
+ # Key Management Service. Amazon Web Services managed keys cannot be
9032
+ # shared. Parameters encrypted with the default Amazon Web Services
9033
+ # managed key can be updated to use a customer managed key instead.
9034
+ # For KMS key definitions, see [KMS concepts][3] in the *Key
9035
+ # Management Service Developer Guide*.
9036
+ #
9037
+ # While you can share a parameter using the Systems Manager
9038
+ # `PutResourcePolicy` operation, we recommend using Resource Access
9039
+ # Manager (RAM) instead. This is because using `PutResourcePolicy`
9040
+ # requires the extra step of promoting the parameter to a standard RAM
9041
+ # Resource Share using the RAM
9042
+ # [PromoteResourceShareCreatedFromPolicy][4] API operation. Otherwise,
9043
+ # the parameter won't be returned by the Systems Manager
9044
+ # [DescribeParameters][5] API operation using the `--shared` option.
9045
+ #
9046
+ # For more information, see [Sharing a parameter][6] in the *Amazon
9047
+ # Web Services Systems Manager User Guide*
9048
+ #
9049
+ #
9050
+ #
9051
+ # [1]: https://docs.aws.amazon.com/parameter-store- advanced-parameters.html
9052
+ # [2]: https://docs.aws.amazon.com/parameter-store-advanced-parameters.html#parameter- store-advanced-parameters-enabling
9053
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-mgmt
9054
+ # [4]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
9055
+ # [5]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeParameters.html
9056
+ # [6]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html#share
8906
9057
  #
8907
9058
  # @option params [required, String] :resource_arn
8908
9059
  # Amazon Resource Name (ARN) of the resource to which you want to attach
@@ -10363,6 +10514,11 @@ module Aws::SSM
10363
10514
  # The name of the parameter from which you want to delete one or more
10364
10515
  # labels.
10365
10516
  #
10517
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter, only
10518
+ # the parameter name itself.
10519
+ #
10520
+ # </note>
10521
+ #
10366
10522
  # @option params [required, Integer] :parameter_version
10367
10523
  # The specific version of the parameter which you want to delete one or
10368
10524
  # more labels from. If it isn't present, the call will fail.
@@ -10597,6 +10753,24 @@ module Aws::SSM
10597
10753
  #
10598
10754
  # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
10599
10755
  #
10756
+ # @option params [Integer] :duration
10757
+ # The number of hours the association can run before it is canceled.
10758
+ # Duration applies to associations that are currently running, and any
10759
+ # pending and in progress commands on all targets. If a target was taken
10760
+ # offline for the association to run, it is made available again
10761
+ # immediately, without a reboot.
10762
+ #
10763
+ # The `Duration` parameter applies only when both these conditions are
10764
+ # true:
10765
+ #
10766
+ # * The association for which you specify a duration is cancelable
10767
+ # according to the parameters of the SSM command document or
10768
+ # Automation runbook associated with this execution.
10769
+ #
10770
+ # * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
10771
+ # which means that the association doesn't run immediately after it
10772
+ # is updated, but only according to the specified schedule.
10773
+ #
10600
10774
  # @option params [Array<Hash>] :target_maps
10601
10775
  # A key-value mapping of document parameters to target resources. Both
10602
10776
  # Targets and TargetMaps can't be specified together.
@@ -10659,6 +10833,7 @@ module Aws::SSM
10659
10833
  # },
10660
10834
  # ],
10661
10835
  # schedule_offset: 1,
10836
+ # duration: 1,
10662
10837
  # target_maps: [
10663
10838
  # {
10664
10839
  # "TargetMapKey" => ["TargetMapValue"],
@@ -10725,6 +10900,7 @@ module Aws::SSM
10725
10900
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
10726
10901
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
10727
10902
  # resp.association_description.schedule_offset #=> Integer
10903
+ # resp.association_description.duration #=> Integer
10728
10904
  # resp.association_description.target_maps #=> Array
10729
10905
  # resp.association_description.target_maps[0] #=> Hash
10730
10906
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
@@ -10830,6 +11006,7 @@ module Aws::SSM
10830
11006
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
10831
11007
  # resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
10832
11008
  # resp.association_description.schedule_offset #=> Integer
11009
+ # resp.association_description.duration #=> Integer
10833
11010
  # resp.association_description.target_maps #=> Array
10834
11011
  # resp.association_description.target_maps[0] #=> Hash
10835
11012
  # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array
@@ -10870,9 +11047,8 @@ module Aws::SSM
10870
11047
  #
10871
11048
  # @option params [String] :version_name
10872
11049
  # An optional field specifying the version of the artifact you are
10873
- # updating with the document. For example, "Release 12, Update 6".
10874
- # This value is unique across all versions of a document, and can't be
10875
- # changed.
11050
+ # updating with the document. For example, 12.6. This value is unique
11051
+ # across all versions of a document, and can't be changed.
10876
11052
  #
10877
11053
  # @option params [String] :document_version
10878
11054
  # The version of the document that you want to update. Currently,
@@ -12257,7 +12433,7 @@ module Aws::SSM
12257
12433
  params: params,
12258
12434
  config: config)
12259
12435
  context[:gem_name] = 'aws-sdk-ssm'
12260
- context[:gem_version] = '1.163.0'
12436
+ context[:gem_version] = '1.165.0'
12261
12437
  Seahorse::Client::Request.new(handlers, context)
12262
12438
  end
12263
12439
 
@@ -385,6 +385,7 @@ module Aws::SSM
385
385
  DuplicateDocumentContent = Shapes::StructureShape.new(name: 'DuplicateDocumentContent')
386
386
  DuplicateDocumentVersionName = Shapes::StructureShape.new(name: 'DuplicateDocumentVersionName')
387
387
  DuplicateInstanceId = Shapes::StructureShape.new(name: 'DuplicateInstanceId')
388
+ Duration = Shapes::IntegerShape.new(name: 'Duration')
388
389
  EffectiveInstanceAssociationMaxResults = Shapes::IntegerShape.new(name: 'EffectiveInstanceAssociationMaxResults')
389
390
  EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
390
391
  EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
@@ -702,6 +703,7 @@ module Aws::SSM
702
703
  MaintenanceWindowTaskType = Shapes::StringShape.new(name: 'MaintenanceWindowTaskType')
703
704
  MaintenanceWindowTimezone = Shapes::StringShape.new(name: 'MaintenanceWindowTimezone')
704
705
  MaintenanceWindowsForTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowsForTargetList')
706
+ MalformedResourcePolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedResourcePolicyDocumentException')
705
707
  ManagedInstanceId = Shapes::StringShape.new(name: 'ManagedInstanceId')
706
708
  MaxConcurrency = Shapes::StringShape.new(name: 'MaxConcurrency')
707
709
  MaxDocumentSizeExceeded = Shapes::StructureShape.new(name: 'MaxDocumentSizeExceeded')
@@ -1039,10 +1041,12 @@ module Aws::SSM
1039
1041
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
1040
1042
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
1041
1043
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
1044
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
1042
1045
  ResourcePolicyConflictException = Shapes::StructureShape.new(name: 'ResourcePolicyConflictException')
1043
1046
  ResourcePolicyInvalidParameterException = Shapes::StructureShape.new(name: 'ResourcePolicyInvalidParameterException')
1044
1047
  ResourcePolicyLimitExceededException = Shapes::StructureShape.new(name: 'ResourcePolicyLimitExceededException')
1045
1048
  ResourcePolicyMaxResults = Shapes::IntegerShape.new(name: 'ResourcePolicyMaxResults')
1049
+ ResourcePolicyNotFoundException = Shapes::StructureShape.new(name: 'ResourcePolicyNotFoundException')
1046
1050
  ResourcePolicyParameterNamesList = Shapes::ListShape.new(name: 'ResourcePolicyParameterNamesList')
1047
1051
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
1048
1052
  ResourceTypeForTagging = Shapes::StringShape.new(name: 'ResourceTypeForTagging')
@@ -1276,6 +1280,7 @@ module Aws::SSM
1276
1280
  Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
1277
1281
  Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
1278
1282
  Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1283
+ Association.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
1279
1284
  Association.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1280
1285
  Association.struct_class = Types::Association
1281
1286
 
@@ -1306,6 +1311,7 @@ module Aws::SSM
1306
1311
  AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1307
1312
  AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1308
1313
  AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1314
+ AssociationDescription.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
1309
1315
  AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1310
1316
  AssociationDescription.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1311
1317
  AssociationDescription.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
@@ -1403,6 +1409,7 @@ module Aws::SSM
1403
1409
  AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1404
1410
  AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1405
1411
  AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1412
+ AssociationVersionInfo.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
1406
1413
  AssociationVersionInfo.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1407
1414
  AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
1408
1415
 
@@ -1732,6 +1739,7 @@ module Aws::SSM
1732
1739
  CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1733
1740
  CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1734
1741
  CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1742
+ CreateAssociationBatchRequestEntry.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
1735
1743
  CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1736
1744
  CreateAssociationBatchRequestEntry.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1737
1745
  CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
@@ -1757,6 +1765,7 @@ module Aws::SSM
1757
1765
  CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
1758
1766
  CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
1759
1767
  CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
1768
+ CreateAssociationRequest.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
1760
1769
  CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
1761
1770
  CreateAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
1762
1771
  CreateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
@@ -2227,6 +2236,7 @@ module Aws::SSM
2227
2236
  DescribeParametersRequest.add_member(:parameter_filters, Shapes::ShapeRef.new(shape: ParameterStringFilterList, location_name: "ParameterFilters"))
2228
2237
  DescribeParametersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
2229
2238
  DescribeParametersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2239
+ DescribeParametersRequest.add_member(:shared, Shapes::ShapeRef.new(shape: Boolean, location_name: "Shared", metadata: {"box"=>true}))
2230
2240
  DescribeParametersRequest.struct_class = Types::DescribeParametersRequest
2231
2241
 
2232
2242
  DescribeParametersResult.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMetadataList, location_name: "Parameters"))
@@ -3474,6 +3484,9 @@ module Aws::SSM
3474
3484
 
3475
3485
  MaintenanceWindowsForTargetList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowIdentityForTarget)
3476
3486
 
3487
+ MalformedResourcePolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3488
+ MalformedResourcePolicyDocumentException.struct_class = Types::MalformedResourcePolicyDocumentException
3489
+
3477
3490
  MaxDocumentSizeExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3478
3491
  MaxDocumentSizeExceeded.struct_class = Types::MaxDocumentSizeExceeded
3479
3492
 
@@ -3785,6 +3798,7 @@ module Aws::SSM
3785
3798
  ParameterMaxVersionLimitExceeded.struct_class = Types::ParameterMaxVersionLimitExceeded
3786
3799
 
3787
3800
  ParameterMetadata.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
3801
+ ParameterMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
3788
3802
  ParameterMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
3789
3803
  ParameterMetadata.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
3790
3804
  ParameterMetadata.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
@@ -4177,6 +4191,9 @@ module Aws::SSM
4177
4191
  ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4178
4192
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
4179
4193
 
4194
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4195
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
4196
+
4180
4197
  ResourcePolicyConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4181
4198
  ResourcePolicyConflictException.struct_class = Types::ResourcePolicyConflictException
4182
4199
 
@@ -4189,6 +4206,9 @@ module Aws::SSM
4189
4206
  ResourcePolicyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4190
4207
  ResourcePolicyLimitExceededException.struct_class = Types::ResourcePolicyLimitExceededException
4191
4208
 
4209
+ ResourcePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4210
+ ResourcePolicyNotFoundException.struct_class = Types::ResourcePolicyNotFoundException
4211
+
4192
4212
  ResourcePolicyParameterNamesList.member = Shapes::ShapeRef.new(shape: String)
4193
4213
 
4194
4214
  ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
@@ -4519,6 +4539,7 @@ module Aws::SSM
4519
4539
  UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
4520
4540
  UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
4521
4541
  UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
4542
+ UpdateAssociationRequest.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration", metadata: {"box"=>true}))
4522
4543
  UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
4523
4544
  UpdateAssociationRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4524
4545
  UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
@@ -5043,6 +5064,9 @@ module Aws::SSM
5043
5064
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5044
5065
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5045
5066
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyConflictException)
5067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5068
+ o.errors << Shapes::ShapeRef.new(shape: MalformedResourcePolicyDocumentException)
5069
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
5046
5070
  end)
5047
5071
 
5048
5072
  api.add_operation(:deregister_managed_instance, Seahorse::Model::Operation.new.tap do |o|
@@ -5903,6 +5927,7 @@ module Aws::SSM
5903
5927
  o.output = Shapes::ShapeRef.new(shape: GetResourcePoliciesResponse)
5904
5928
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5905
5929
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5930
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5906
5931
  o[:pager] = Aws::Pager.new(
5907
5932
  limit_key: "max_results",
5908
5933
  tokens: {
@@ -6276,6 +6301,9 @@ module Aws::SSM
6276
6301
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
6277
6302
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyLimitExceededException)
6278
6303
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyConflictException)
6304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6305
+ o.errors << Shapes::ShapeRef.new(shape: MalformedResourcePolicyDocumentException)
6306
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
6279
6307
  end)
6280
6308
 
6281
6309
  api.add_operation(:register_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|