aws-sdk-ssm 1.164.0 → 1.165.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: aa045babfdc00e595896bf83d5256faa5618204fe3d333692aac80ce6ccd9240
4
- data.tar.gz: f185e8470c2d91643ffbba920cc92a0c0bd91d414072777e0cb0e144ab646560
3
+ metadata.gz: 379229f09f8ced43ffcf26ddee43e686118db4c24fc8dfe9d6e9206552de5d29
4
+ data.tar.gz: a07230ecc936c60d30858bba100a8c5002c423db3cf7b74f83938cd20b168124
5
5
  SHA512:
6
- metadata.gz: ea7750981ba94f304a68badb8c9c84a972011eb02d4e08fc65d1cc0c7f3c6db64b041172684cec904123fc6b5372692239b0df3e7eb0ddf07cc7c024f1688ea2
7
- data.tar.gz: 8742b96a17d80c176369b17f147070e2577c96593b1fec92f4dda9eaa3fb8484cb1856c703895d4a6e04739c6df8e1f87bae6601e322bf4063f7b5cf3f783545
6
+ metadata.gz: 8f98f45763b1be34d0b4692ade07ceced01ec8761457342c06f3ae6c7d98fb7e10d16d38ff3cabd13bcfafd9c2d8de7bb4e3ac3af23c25fbea7350ec3729fa43
7
+ data.tar.gz: 504d6371ee1a8a8c7e6089fb3e421b2cfaa5932cfb4384a6b8b5ce636e754e15e5bbb04cc98e385750e240087a6cc503c8e0b82e7c100c7a50633faf0267db02
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.164.0 (2024-01-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.164.0
1
+ 1.165.0
@@ -2501,6 +2501,11 @@ module Aws::SSM
2501
2501
  # @option params [required, String] :name
2502
2502
  # The name of the parameter to delete.
2503
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
+ #
2504
2509
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2505
2510
  #
2506
2511
  # @example Request syntax with placeholder values
@@ -2525,6 +2530,11 @@ module Aws::SSM
2525
2530
  # The names of the parameters to delete. After deleting a parameter,
2526
2531
  # wait for at least 30 seconds to create a parameter with the same name.
2527
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
+ #
2528
2538
  # @return [Types::DeleteParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2529
2539
  #
2530
2540
  # * {Types::DeleteParametersResult#deleted_parameters #deleted_parameters} => Array&lt;String&gt;
@@ -2610,11 +2620,19 @@ module Aws::SSM
2610
2620
 
2611
2621
  # Deletes a Systems Manager resource policy. A resource policy helps you
2612
2622
  # to define the IAM entity (for example, an Amazon Web Services account)
2613
- # that can manage your Systems Manager resources. Currently,
2614
- # `OpsItemGroup` is the only resource that supports Systems Manager
2615
- # resource policies. The resource policy for `OpsItemGroup` enables
2616
- # Amazon Web Services accounts to view and interact with OpsCenter
2617
- # 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*.
2618
2636
  #
2619
2637
  # @option params [required, String] :resource_arn
2620
2638
  # Amazon Resource Name (ARN) of the resource to which the policies are
@@ -4907,7 +4925,8 @@ module Aws::SSM
4907
4925
  req.send_request(options)
4908
4926
  end
4909
4927
 
4910
- # 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.
4911
4930
  #
4912
4931
  # Request results are returned on a best-effort basis. If you specify
4913
4932
  # `MaxResults` in the request, the response includes information up to
@@ -4923,6 +4942,10 @@ module Aws::SSM
4923
4942
  # to reference KMS. Otherwise, `DescribeParameters` retrieves whatever
4924
4943
  # the original key alias was referencing.
4925
4944
  #
4945
+ #
4946
+ #
4947
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeParameters.html#systemsmanager-DescribeParameters-request-Shared
4948
+ #
4926
4949
  # @option params [Array<Types::ParametersFilter>] :filters
4927
4950
  # This data type is deprecated. Instead, use `ParameterFilters`.
4928
4951
  #
@@ -4938,6 +4961,28 @@ module Aws::SSM
4938
4961
  # The token for the next set of items to return. (You received this
4939
4962
  # token from a previous call.)
4940
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
+ #
4941
4986
  # @return [Types::DescribeParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4942
4987
  #
4943
4988
  # * {Types::DescribeParametersResult#parameters #parameters} => Array&lt;Types::ParameterMetadata&gt;
@@ -4963,12 +5008,14 @@ module Aws::SSM
4963
5008
  # ],
4964
5009
  # max_results: 1,
4965
5010
  # next_token: "NextToken",
5011
+ # shared: false,
4966
5012
  # })
4967
5013
  #
4968
5014
  # @example Response structure
4969
5015
  #
4970
5016
  # resp.parameters #=> Array
4971
5017
  # resp.parameters[0].name #=> String
5018
+ # resp.parameters[0].arn #=> String
4972
5019
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
4973
5020
  # resp.parameters[0].key_id #=> String
4974
5021
  # resp.parameters[0].last_modified_date #=> Time
@@ -6660,11 +6707,21 @@ module Aws::SSM
6660
6707
  # </note>
6661
6708
  #
6662
6709
  # @option params [required, String] :name
6663
- # 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.
6664
6713
  #
6665
6714
  # To query by parameter label, use `"Name": "name:label"`. To query by
6666
6715
  # parameter version, use `"Name": "name:version"`.
6667
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
+ #
6668
6725
  # @option params [Boolean] :with_decryption
6669
6726
  # Return decrypted values for secure string parameters. This flag is
6670
6727
  # ignored for `String` and `StringList` parameter types.
@@ -6709,7 +6766,9 @@ module Aws::SSM
6709
6766
  # the original key alias was referencing.
6710
6767
  #
6711
6768
  # @option params [required, String] :name
6712
- # 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.
6713
6772
  #
6714
6773
  # @option params [Boolean] :with_decryption
6715
6774
  # Return decrypted values for secure string parameters. This flag is
@@ -6780,11 +6839,21 @@ module Aws::SSM
6780
6839
  # </note>
6781
6840
  #
6782
6841
  # @option params [required, Array<String>] :names
6783
- # 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.
6784
6845
  #
6785
6846
  # To query by parameter label, use `"Name": "name:label"`. To query by
6786
6847
  # parameter version, use `"Name": "name:version"`.
6787
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
+ #
6788
6857
  # @option params [Boolean] :with_decryption
6789
6858
  # Return decrypted secure string value. Return decrypted values for
6790
6859
  # secure string parameters. This flag is ignored for `String` and
@@ -7197,6 +7266,11 @@ module Aws::SSM
7197
7266
  # @option params [required, String] :name
7198
7267
  # The parameter name on which you want to attach one or more labels.
7199
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
+ #
7200
7274
  # @option params [Integer] :parameter_version
7201
7275
  # The specific version of the parameter on which you want to attach one
7202
7276
  # or more labels. If no version is specified, the system attaches the
@@ -8625,8 +8699,15 @@ module Aws::SSM
8625
8699
  #
8626
8700
  # @option params [required, String] :name
8627
8701
  # The fully qualified name of the parameter that you want to add to the
8628
- # system. The fully qualified name includes the complete hierarchy of
8629
- # 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
8630
8711
  # include a leading forward slash character (/) when you create or
8631
8712
  # reference a parameter. For example: `/Dev/DBServer/MySQL/db-string13`
8632
8713
  #
@@ -8929,11 +9010,50 @@ module Aws::SSM
8929
9010
 
8930
9011
  # Creates or updates a Systems Manager resource policy. A resource
8931
9012
  # policy helps you to define the IAM entity (for example, an Amazon Web
8932
- # Services account) that can manage your Systems Manager resources.
8933
- # Currently, `OpsItemGroup` is the only resource that supports Systems
8934
- # Manager resource policies. The resource policy for `OpsItemGroup`
8935
- # enables Amazon Web Services accounts to view and interact with
8936
- # 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
8937
9057
  #
8938
9058
  # @option params [required, String] :resource_arn
8939
9059
  # Amazon Resource Name (ARN) of the resource to which you want to attach
@@ -10394,6 +10514,11 @@ module Aws::SSM
10394
10514
  # The name of the parameter from which you want to delete one or more
10395
10515
  # labels.
10396
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
+ #
10397
10522
  # @option params [required, Integer] :parameter_version
10398
10523
  # The specific version of the parameter which you want to delete one or
10399
10524
  # more labels from. If it isn't present, the call will fail.
@@ -12308,7 +12433,7 @@ module Aws::SSM
12308
12433
  params: params,
12309
12434
  config: config)
12310
12435
  context[:gem_name] = 'aws-sdk-ssm'
12311
- context[:gem_version] = '1.164.0'
12436
+ context[:gem_version] = '1.165.0'
12312
12437
  Seahorse::Client::Request.new(handlers, context)
12313
12438
  end
12314
12439
 
@@ -703,6 +703,7 @@ module Aws::SSM
703
703
  MaintenanceWindowTaskType = Shapes::StringShape.new(name: 'MaintenanceWindowTaskType')
704
704
  MaintenanceWindowTimezone = Shapes::StringShape.new(name: 'MaintenanceWindowTimezone')
705
705
  MaintenanceWindowsForTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowsForTargetList')
706
+ MalformedResourcePolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedResourcePolicyDocumentException')
706
707
  ManagedInstanceId = Shapes::StringShape.new(name: 'ManagedInstanceId')
707
708
  MaxConcurrency = Shapes::StringShape.new(name: 'MaxConcurrency')
708
709
  MaxDocumentSizeExceeded = Shapes::StructureShape.new(name: 'MaxDocumentSizeExceeded')
@@ -1040,10 +1041,12 @@ module Aws::SSM
1040
1041
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
1041
1042
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
1042
1043
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
1044
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
1043
1045
  ResourcePolicyConflictException = Shapes::StructureShape.new(name: 'ResourcePolicyConflictException')
1044
1046
  ResourcePolicyInvalidParameterException = Shapes::StructureShape.new(name: 'ResourcePolicyInvalidParameterException')
1045
1047
  ResourcePolicyLimitExceededException = Shapes::StructureShape.new(name: 'ResourcePolicyLimitExceededException')
1046
1048
  ResourcePolicyMaxResults = Shapes::IntegerShape.new(name: 'ResourcePolicyMaxResults')
1049
+ ResourcePolicyNotFoundException = Shapes::StructureShape.new(name: 'ResourcePolicyNotFoundException')
1047
1050
  ResourcePolicyParameterNamesList = Shapes::ListShape.new(name: 'ResourcePolicyParameterNamesList')
1048
1051
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
1049
1052
  ResourceTypeForTagging = Shapes::StringShape.new(name: 'ResourceTypeForTagging')
@@ -2233,6 +2236,7 @@ module Aws::SSM
2233
2236
  DescribeParametersRequest.add_member(:parameter_filters, Shapes::ShapeRef.new(shape: ParameterStringFilterList, location_name: "ParameterFilters"))
2234
2237
  DescribeParametersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
2235
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}))
2236
2240
  DescribeParametersRequest.struct_class = Types::DescribeParametersRequest
2237
2241
 
2238
2242
  DescribeParametersResult.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMetadataList, location_name: "Parameters"))
@@ -3480,6 +3484,9 @@ module Aws::SSM
3480
3484
 
3481
3485
  MaintenanceWindowsForTargetList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowIdentityForTarget)
3482
3486
 
3487
+ MalformedResourcePolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3488
+ MalformedResourcePolicyDocumentException.struct_class = Types::MalformedResourcePolicyDocumentException
3489
+
3483
3490
  MaxDocumentSizeExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3484
3491
  MaxDocumentSizeExceeded.struct_class = Types::MaxDocumentSizeExceeded
3485
3492
 
@@ -3791,6 +3798,7 @@ module Aws::SSM
3791
3798
  ParameterMaxVersionLimitExceeded.struct_class = Types::ParameterMaxVersionLimitExceeded
3792
3799
 
3793
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"))
3794
3802
  ParameterMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
3795
3803
  ParameterMetadata.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
3796
3804
  ParameterMetadata.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
@@ -4183,6 +4191,9 @@ module Aws::SSM
4183
4191
  ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4184
4192
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
4185
4193
 
4194
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4195
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
4196
+
4186
4197
  ResourcePolicyConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4187
4198
  ResourcePolicyConflictException.struct_class = Types::ResourcePolicyConflictException
4188
4199
 
@@ -4195,6 +4206,9 @@ module Aws::SSM
4195
4206
  ResourcePolicyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4196
4207
  ResourcePolicyLimitExceededException.struct_class = Types::ResourcePolicyLimitExceededException
4197
4208
 
4209
+ ResourcePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4210
+ ResourcePolicyNotFoundException.struct_class = Types::ResourcePolicyNotFoundException
4211
+
4198
4212
  ResourcePolicyParameterNamesList.member = Shapes::ShapeRef.new(shape: String)
4199
4213
 
4200
4214
  ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
@@ -5050,6 +5064,9 @@ module Aws::SSM
5050
5064
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5051
5065
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5052
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)
5053
5070
  end)
5054
5071
 
5055
5072
  api.add_operation(:deregister_managed_instance, Seahorse::Model::Operation.new.tap do |o|
@@ -5910,6 +5927,7 @@ module Aws::SSM
5910
5927
  o.output = Shapes::ShapeRef.new(shape: GetResourcePoliciesResponse)
5911
5928
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5912
5929
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5930
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5913
5931
  o[:pager] = Aws::Pager.new(
5914
5932
  limit_key: "max_results",
5915
5933
  tokens: {
@@ -6283,6 +6301,9 @@ module Aws::SSM
6283
6301
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
6284
6302
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyLimitExceededException)
6285
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)
6286
6307
  end)
6287
6308
 
6288
6309
  api.add_operation(:register_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
@@ -108,6 +108,7 @@ module Aws::SSM
108
108
  # * {InvocationDoesNotExist}
109
109
  # * {ItemContentMismatchException}
110
110
  # * {ItemSizeLimitExceededException}
111
+ # * {MalformedResourcePolicyDocumentException}
111
112
  # * {MaxDocumentSizeExceeded}
112
113
  # * {OpsItemAccessDeniedException}
113
114
  # * {OpsItemAlreadyExistsException}
@@ -138,9 +139,11 @@ module Aws::SSM
138
139
  # * {ResourceDataSyncNotFoundException}
139
140
  # * {ResourceInUseException}
140
141
  # * {ResourceLimitExceededException}
142
+ # * {ResourceNotFoundException}
141
143
  # * {ResourcePolicyConflictException}
142
144
  # * {ResourcePolicyInvalidParameterException}
143
145
  # * {ResourcePolicyLimitExceededException}
146
+ # * {ResourcePolicyNotFoundException}
144
147
  # * {ServiceSettingNotFound}
145
148
  # * {StatusUnchanged}
146
149
  # * {SubTypeCountLimitExceededException}
@@ -1333,6 +1336,21 @@ module Aws::SSM
1333
1336
  end
1334
1337
  end
1335
1338
 
1339
+ class MalformedResourcePolicyDocumentException < ServiceError
1340
+
1341
+ # @param [Seahorse::Client::RequestContext] context
1342
+ # @param [String] message
1343
+ # @param [Aws::SSM::Types::MalformedResourcePolicyDocumentException] data
1344
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1345
+ super(context, message, data)
1346
+ end
1347
+
1348
+ # @return [String]
1349
+ def message
1350
+ @message || @data[:message]
1351
+ end
1352
+ end
1353
+
1336
1354
  class MaxDocumentSizeExceeded < ServiceError
1337
1355
 
1338
1356
  # @param [Seahorse::Client::RequestContext] context
@@ -1828,6 +1846,21 @@ module Aws::SSM
1828
1846
  end
1829
1847
  end
1830
1848
 
1849
+ class ResourceNotFoundException < ServiceError
1850
+
1851
+ # @param [Seahorse::Client::RequestContext] context
1852
+ # @param [String] message
1853
+ # @param [Aws::SSM::Types::ResourceNotFoundException] data
1854
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1855
+ super(context, message, data)
1856
+ end
1857
+
1858
+ # @return [String]
1859
+ def message
1860
+ @message || @data[:message]
1861
+ end
1862
+ end
1863
+
1831
1864
  class ResourcePolicyConflictException < ServiceError
1832
1865
 
1833
1866
  # @param [Seahorse::Client::RequestContext] context
@@ -1888,6 +1921,21 @@ module Aws::SSM
1888
1921
  end
1889
1922
  end
1890
1923
 
1924
+ class ResourcePolicyNotFoundException < ServiceError
1925
+
1926
+ # @param [Seahorse::Client::RequestContext] context
1927
+ # @param [String] message
1928
+ # @param [Aws::SSM::Types::ResourcePolicyNotFoundException] data
1929
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1930
+ super(context, message, data)
1931
+ end
1932
+
1933
+ # @return [String]
1934
+ def message
1935
+ @message || @data[:message]
1936
+ end
1937
+ end
1938
+
1891
1939
  class ServiceSettingNotFound < ServiceError
1892
1940
 
1893
1941
  # @param [Seahorse::Client::RequestContext] context
@@ -4231,6 +4231,11 @@ module Aws::SSM
4231
4231
 
4232
4232
  # @!attribute [rw] name
4233
4233
  # The name of the parameter to delete.
4234
+ #
4235
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
4236
+ # only the parameter name itself.
4237
+ #
4238
+ # </note>
4234
4239
  # @return [String]
4235
4240
  #
4236
4241
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterRequest AWS API Documentation
@@ -4249,6 +4254,11 @@ module Aws::SSM
4249
4254
  # The names of the parameters to delete. After deleting a parameter,
4250
4255
  # wait for at least 30 seconds to create a parameter with the same
4251
4256
  # name.
4257
+ #
4258
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
4259
+ # only the parameter name itself.
4260
+ #
4261
+ # </note>
4252
4262
  # @return [Array<String>]
4253
4263
  #
4254
4264
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersRequest AWS API Documentation
@@ -5992,13 +6002,37 @@ module Aws::SSM
5992
6002
  # token from a previous call.)
5993
6003
  # @return [String]
5994
6004
  #
6005
+ # @!attribute [rw] shared
6006
+ # Lists parameters that are shared with you.
6007
+ #
6008
+ # <note markdown="1"> By default when using this option, the command returns parameters
6009
+ # that have been shared using a standard Resource Access Manager
6010
+ # Resource Share. In order for a parameter that was shared using the
6011
+ # PutResourcePolicy command to be returned, the associated `RAM
6012
+ # Resource Share Created From Policy` must have been promoted to a
6013
+ # standard Resource Share using the RAM
6014
+ # [PromoteResourceShareCreatedFromPolicy][1] API operation.
6015
+ #
6016
+ # For more information about sharing parameters, see [Working with
6017
+ # shared
6018
+ # parameters](systems-manager/latest/userguide/parameter-store-shared-parameters.html)
6019
+ # in the *Amazon Web Services Systems Manager User Guide*.
6020
+ #
6021
+ # </note>
6022
+ #
6023
+ #
6024
+ #
6025
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
6026
+ # @return [Boolean]
6027
+ #
5995
6028
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersRequest AWS API Documentation
5996
6029
  #
5997
6030
  class DescribeParametersRequest < Struct.new(
5998
6031
  :filters,
5999
6032
  :parameter_filters,
6000
6033
  :max_results,
6001
- :next_token)
6034
+ :next_token,
6035
+ :shared)
6002
6036
  SENSITIVE = []
6003
6037
  include Aws::Structure
6004
6038
  end
@@ -8566,7 +8600,9 @@ module Aws::SSM
8566
8600
  end
8567
8601
 
8568
8602
  # @!attribute [rw] name
8569
- # The name of the parameter for which you want to review history.
8603
+ # The name or Amazon Resource Name (ARN) of the parameter for which
8604
+ # you want to review history. For parameters shared with you from
8605
+ # another account, you must use the full ARN.
8570
8606
  # @return [String]
8571
8607
  #
8572
8608
  # @!attribute [rw] with_decryption
@@ -8615,10 +8651,20 @@ module Aws::SSM
8615
8651
  end
8616
8652
 
8617
8653
  # @!attribute [rw] name
8618
- # The name of the parameter you want to query.
8654
+ # The name or Amazon Resource Name (ARN) of the parameter that you
8655
+ # want to query. For parameters shared with you from another account,
8656
+ # you must use the full ARN.
8619
8657
  #
8620
8658
  # To query by parameter label, use `"Name": "name:label"`. To query by
8621
8659
  # parameter version, use `"Name": "name:version"`.
8660
+ #
8661
+ # For more information about shared parameters, see [Working with
8662
+ # shared parameters][1] in the *Amazon Web Services Systems Manager
8663
+ # User Guide*.
8664
+ #
8665
+ #
8666
+ #
8667
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
8622
8668
  # @return [String]
8623
8669
  #
8624
8670
  # @!attribute [rw] with_decryption
@@ -8727,10 +8773,20 @@ module Aws::SSM
8727
8773
  end
8728
8774
 
8729
8775
  # @!attribute [rw] names
8730
- # Names of the parameters for which you want to query information.
8776
+ # The names or Amazon Resource Names (ARNs) of the parameters that you
8777
+ # want to query. For parameters shared with you from another account,
8778
+ # you must use the full ARNs.
8731
8779
  #
8732
8780
  # To query by parameter label, use `"Name": "name:label"`. To query by
8733
8781
  # parameter version, use `"Name": "name:version"`.
8782
+ #
8783
+ # For more information about shared parameters, see [Working with
8784
+ # shared parameters][1] in the *Amazon Web Services Systems Manager
8785
+ # User Guide*.
8786
+ #
8787
+ #
8788
+ #
8789
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
8734
8790
  # @return [Array<String>]
8735
8791
  #
8736
8792
  # @!attribute [rw] with_decryption
@@ -10807,6 +10863,11 @@ module Aws::SSM
10807
10863
 
10808
10864
  # @!attribute [rw] name
10809
10865
  # The parameter name on which you want to attach one or more labels.
10866
+ #
10867
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
10868
+ # only the parameter name itself.
10869
+ #
10870
+ # </note>
10810
10871
  # @return [String]
10811
10872
  #
10812
10873
  # @!attribute [rw] parameter_version
@@ -12519,6 +12580,20 @@ module Aws::SSM
12519
12580
  include Aws::Structure
12520
12581
  end
12521
12582
 
12583
+ # The specified policy document is malformed or invalid, or excessive
12584
+ # `PutResourcePolicy` or `DeleteResourcePolicy` calls have been made.
12585
+ #
12586
+ # @!attribute [rw] message
12587
+ # @return [String]
12588
+ #
12589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MalformedResourcePolicyDocumentException AWS API Documentation
12590
+ #
12591
+ class MalformedResourcePolicyDocumentException < Struct.new(
12592
+ :message)
12593
+ SENSITIVE = []
12594
+ include Aws::Structure
12595
+ end
12596
+
12522
12597
  # The size limit of a document is 64 KB.
12523
12598
  #
12524
12599
  # @!attribute [rw] message
@@ -13882,13 +13957,18 @@ module Aws::SSM
13882
13957
  include Aws::Structure
13883
13958
  end
13884
13959
 
13885
- # Metadata includes information like the ARN of the last user and the
13886
- # date/time the parameter was last used.
13960
+ # Metadata includes information like the Amazon Resource Name (ARN) of
13961
+ # the last user to update the parameter and the date and time the
13962
+ # parameter was last used.
13887
13963
  #
13888
13964
  # @!attribute [rw] name
13889
13965
  # The parameter name.
13890
13966
  # @return [String]
13891
13967
  #
13968
+ # @!attribute [rw] arn
13969
+ # The (ARN) of the last user to update the parameter.
13970
+ # @return [String]
13971
+ #
13892
13972
  # @!attribute [rw] type
13893
13973
  # The type of parameter. Valid parameter types include the following:
13894
13974
  # `String`, `StringList`, and `SecureString`.
@@ -13939,6 +14019,7 @@ module Aws::SSM
13939
14019
  #
13940
14020
  class ParameterMetadata < Struct.new(
13941
14021
  :name,
14022
+ :arn,
13942
14023
  :type,
13943
14024
  :key_id,
13944
14025
  :last_modified_date,
@@ -14760,10 +14841,17 @@ module Aws::SSM
14760
14841
 
14761
14842
  # @!attribute [rw] name
14762
14843
  # The fully qualified name of the parameter that you want to add to
14763
- # the system. The fully qualified name includes the complete hierarchy
14764
- # of the parameter path and name. For parameters in a hierarchy, you
14765
- # must include a leading forward slash character (/) when you create
14766
- # or reference a parameter. For example:
14844
+ # the system.
14845
+ #
14846
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
14847
+ # only the parameter name itself.
14848
+ #
14849
+ # </note>
14850
+ #
14851
+ # The fully qualified name includes the complete hierarchy of the
14852
+ # parameter path and name. For parameters in a hierarchy, you must
14853
+ # include a leading forward slash character (/) when you create or
14854
+ # reference a parameter. For example:
14767
14855
  # `/Dev/DBServer/MySQL/db-string13`
14768
14856
  #
14769
14857
  # Naming Constraints:
@@ -16131,6 +16219,19 @@ module Aws::SSM
16131
16219
  include Aws::Structure
16132
16220
  end
16133
16221
 
16222
+ # The specified parameter to be shared could not be found.
16223
+ #
16224
+ # @!attribute [rw] message
16225
+ # @return [String]
16226
+ #
16227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceNotFoundException AWS API Documentation
16228
+ #
16229
+ class ResourceNotFoundException < Struct.new(
16230
+ :message)
16231
+ SENSITIVE = []
16232
+ include Aws::Structure
16233
+ end
16234
+
16134
16235
  # The hash provided in the call doesn't match the stored hash. This
16135
16236
  # exception is thrown when trying to update an obsolete policy version
16136
16237
  # or when multiple requests to update a policy are sent.
@@ -16187,6 +16288,19 @@ module Aws::SSM
16187
16288
  include Aws::Structure
16188
16289
  end
16189
16290
 
16291
+ # No policies with the specified policy ID and hash could be found.
16292
+ #
16293
+ # @!attribute [rw] message
16294
+ # @return [String]
16295
+ #
16296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourcePolicyNotFoundException AWS API Documentation
16297
+ #
16298
+ class ResourcePolicyNotFoundException < Struct.new(
16299
+ :message)
16300
+ SENSITIVE = []
16301
+ include Aws::Structure
16302
+ end
16303
+
16190
16304
  # The inventory item result attribute.
16191
16305
  #
16192
16306
  # @!attribute [rw] type_name
@@ -17774,6 +17888,11 @@ module Aws::SSM
17774
17888
  # @!attribute [rw] name
17775
17889
  # The name of the parameter from which you want to delete one or more
17776
17890
  # labels.
17891
+ #
17892
+ # <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
17893
+ # only the parameter name itself.
17894
+ #
17895
+ # </note>
17777
17896
  # @return [String]
17778
17897
  #
17779
17898
  # @!attribute [rw] parameter_version
data/lib/aws-sdk-ssm.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ssm/customizations'
53
53
  # @!group service
54
54
  module Aws::SSM
55
55
 
56
- GEM_VERSION = '1.164.0'
56
+ GEM_VERSION = '1.165.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -1158,7 +1158,8 @@ module Aws
1158
1158
  },
1159
1159
  ],
1160
1160
  ?max_results: ::Integer,
1161
- ?next_token: ::String
1161
+ ?next_token: ::String,
1162
+ ?shared: bool
1162
1163
  ) -> _DescribeParametersResponseSuccess
1163
1164
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeParametersResponseSuccess
1164
1165
 
data/sig/errors.rbs CHANGED
@@ -245,6 +245,9 @@ module Aws
245
245
  def type_name: () -> ::String
246
246
  def message: () -> ::String
247
247
  end
248
+ class MalformedResourcePolicyDocumentException < ::Aws::Errors::ServiceError
249
+ def message: () -> ::String
250
+ end
248
251
  class MaxDocumentSizeExceeded < ::Aws::Errors::ServiceError
249
252
  def message: () -> ::String
250
253
  end
@@ -344,6 +347,9 @@ module Aws
344
347
  class ResourceLimitExceededException < ::Aws::Errors::ServiceError
345
348
  def message: () -> ::String
346
349
  end
350
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
351
+ def message: () -> ::String
352
+ end
347
353
  class ResourcePolicyConflictException < ::Aws::Errors::ServiceError
348
354
  def message: () -> ::String
349
355
  end
@@ -356,6 +362,9 @@ module Aws
356
362
  def limit_type: () -> ::String
357
363
  def message: () -> ::String
358
364
  end
365
+ class ResourcePolicyNotFoundException < ::Aws::Errors::ServiceError
366
+ def message: () -> ::String
367
+ end
359
368
  class ServiceSettingNotFound < ::Aws::Errors::ServiceError
360
369
  def message: () -> ::String
361
370
  end
data/sig/types.rbs CHANGED
@@ -1254,6 +1254,7 @@ module Aws::SSM
1254
1254
  attr_accessor parameter_filters: ::Array[Types::ParameterStringFilter]
1255
1255
  attr_accessor max_results: ::Integer
1256
1256
  attr_accessor next_token: ::String
1257
+ attr_accessor shared: bool
1257
1258
  SENSITIVE: []
1258
1259
  end
1259
1260
 
@@ -2813,6 +2814,11 @@ module Aws::SSM
2813
2814
  SENSITIVE: [:values]
2814
2815
  end
2815
2816
 
2817
+ class MalformedResourcePolicyDocumentException
2818
+ attr_accessor message: ::String
2819
+ SENSITIVE: []
2820
+ end
2821
+
2816
2822
  class MaxDocumentSizeExceeded
2817
2823
  attr_accessor message: ::String
2818
2824
  SENSITIVE: []
@@ -3142,6 +3148,7 @@ module Aws::SSM
3142
3148
 
3143
3149
  class ParameterMetadata
3144
3150
  attr_accessor name: ::String
3151
+ attr_accessor arn: ::String
3145
3152
  attr_accessor type: ("String" | "StringList" | "SecureString")
3146
3153
  attr_accessor key_id: ::String
3147
3154
  attr_accessor last_modified_date: ::Time
@@ -3577,6 +3584,11 @@ module Aws::SSM
3577
3584
  SENSITIVE: []
3578
3585
  end
3579
3586
 
3587
+ class ResourceNotFoundException
3588
+ attr_accessor message: ::String
3589
+ SENSITIVE: []
3590
+ end
3591
+
3580
3592
  class ResourcePolicyConflictException
3581
3593
  attr_accessor message: ::String
3582
3594
  SENSITIVE: []
@@ -3595,6 +3607,11 @@ module Aws::SSM
3595
3607
  SENSITIVE: []
3596
3608
  end
3597
3609
 
3610
+ class ResourcePolicyNotFoundException
3611
+ attr_accessor message: ::String
3612
+ SENSITIVE: []
3613
+ end
3614
+
3598
3615
  class ResultAttribute
3599
3616
  attr_accessor type_name: ::String
3600
3617
  SENSITIVE: []
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.164.0
4
+ version: 1.165.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: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core