aws-sdk-ssm 1.222.0 → 1.223.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +40 -3
- data/lib/aws-sdk-ssm/client_api.rb +2 -0
- data/lib/aws-sdk-ssm/types.rb +17 -3
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f387e08d59065da73e6645ff40f09e3987dad6f549900f761bd801ff86e5561
|
|
4
|
+
data.tar.gz: f6b7bc8b54cff0cfa9fda52eec408c6ad81809ce1b903f7fb3e74c7acd833dc8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d72ee1a420989ac01f5499ecbd3d43f0f2c56022c0deae8a8c785d872a26089ecaa2225b348d3a42afeab51ea0d2c122a85a132656f965c2fc6725e3c40c323
|
|
7
|
+
data.tar.gz: 37932605c16bb6976d45c0b266f832bd5d3323a8d785ea6e7a638610066633dedd9593b3f63088122ede6803ff81364f62637504578b9df6f09cd9efbc66c04a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.223.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
|
@@ -2987,9 +2987,15 @@ module Aws::SSM
|
|
|
2987
2987
|
# with shared parameters][1] in the *Amazon Web Services Systems
|
|
2988
2988
|
# Manager User Guide*.
|
|
2989
2989
|
#
|
|
2990
|
+
# * `Document` – Shares the document using Resource Access Manager
|
|
2991
|
+
# (RAM). For more information about sharing documents, see [Sharing
|
|
2992
|
+
# Systems Manager documents][2] in the *Amazon Web Services Systems
|
|
2993
|
+
# Manager User Guide*.
|
|
2994
|
+
#
|
|
2990
2995
|
#
|
|
2991
2996
|
#
|
|
2992
2997
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html
|
|
2998
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/documents-ssm-sharing.html
|
|
2993
2999
|
#
|
|
2994
3000
|
# @option params [required, String] :resource_arn
|
|
2995
3001
|
# Amazon Resource Name (ARN) of the resource to which the policies are
|
|
@@ -3002,6 +3008,17 @@ module Aws::SSM
|
|
|
3002
3008
|
# ID of the current policy version. The hash helps to prevent multiple
|
|
3003
3009
|
# calls from attempting to overwrite a policy.
|
|
3004
3010
|
#
|
|
3011
|
+
# @option params [String] :deletion_mode
|
|
3012
|
+
# Specifies the intended outcome of the operation. Applies only to the
|
|
3013
|
+
# `Document` resource type. The operation ignores this parameter for
|
|
3014
|
+
# other resource types. Optional. Defaults to `RemoveSharing`.
|
|
3015
|
+
#
|
|
3016
|
+
# * `RemoveSharing` – Deletes the resource policy and removes sharing of
|
|
3017
|
+
# the document.
|
|
3018
|
+
#
|
|
3019
|
+
# * `RollbackMigration` – Reverts the document to Custom sharing,
|
|
3020
|
+
# preserving existing consumer access, instead of removing the policy.
|
|
3021
|
+
#
|
|
3005
3022
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3006
3023
|
#
|
|
3007
3024
|
# @example Request syntax with placeholder values
|
|
@@ -3010,6 +3027,7 @@ module Aws::SSM
|
|
|
3010
3027
|
# resource_arn: "ResourceArnString", # required
|
|
3011
3028
|
# policy_id: "PolicyId", # required
|
|
3012
3029
|
# policy_hash: "PolicyHash", # required
|
|
3030
|
+
# deletion_mode: "RemoveSharing", # accepts RemoveSharing, RollbackMigration
|
|
3013
3031
|
# })
|
|
3014
3032
|
#
|
|
3015
3033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicy AWS API Documentation
|
|
@@ -10207,6 +10225,22 @@ module Aws::SSM
|
|
|
10207
10225
|
# For more information, see [Sharing a parameter][6] in the *Amazon
|
|
10208
10226
|
# Web Services Systems Manager User Guide*
|
|
10209
10227
|
#
|
|
10228
|
+
# * `Document` – Shares the document using Resource Access Manager
|
|
10229
|
+
# (RAM). For more information about sharing documents, see [Sharing
|
|
10230
|
+
# Systems Manager documents][7] in the *Amazon Web Services Systems
|
|
10231
|
+
# Manager User Guide*.
|
|
10232
|
+
#
|
|
10233
|
+
# While you can share a document using the Systems Manager
|
|
10234
|
+
# `PutResourcePolicy` operation, we recommend using Resource Access
|
|
10235
|
+
# Manager (RAM) instead. Using `PutResourcePolicy` requires an extra
|
|
10236
|
+
# step. You must promote the document to a standard RAM Resource Share
|
|
10237
|
+
# using the RAM [PromoteResourceShareCreatedFromPolicy][4] API
|
|
10238
|
+
# operation. Otherwise, the Systems Manager [ListDocuments][8] API
|
|
10239
|
+
# operation won't return the document when filtering for shared
|
|
10240
|
+
# documents. The Amazon Web Services Config
|
|
10241
|
+
# [PutRemediationConfigurations][9] API operation also can't use the
|
|
10242
|
+
# document.
|
|
10243
|
+
#
|
|
10210
10244
|
#
|
|
10211
10245
|
#
|
|
10212
10246
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html
|
|
@@ -10215,6 +10249,9 @@ module Aws::SSM
|
|
|
10215
10249
|
# [4]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
|
|
10216
10250
|
# [5]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeParameters.html
|
|
10217
10251
|
# [6]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html#share
|
|
10252
|
+
# [7]: https://docs.aws.amazon.com/systems-manager/latest/userguide/documents-ssm-sharing.html
|
|
10253
|
+
# [8]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_ListDocuments.html
|
|
10254
|
+
# [9]: https://docs.aws.amazon.com/config/latest/APIReference/API_PutRemediationConfigurations.html
|
|
10218
10255
|
#
|
|
10219
10256
|
# @option params [required, String] :resource_arn
|
|
10220
10257
|
# Amazon Resource Name (ARN) of the resource to which you want to attach
|
|
@@ -12560,8 +12597,8 @@ module Aws::SSM
|
|
|
12560
12597
|
# </note>
|
|
12561
12598
|
#
|
|
12562
12599
|
# @option params [String] :document_format
|
|
12563
|
-
# Specify the document format for the new document version.
|
|
12564
|
-
#
|
|
12600
|
+
# Specify the document format for the new document version. The document
|
|
12601
|
+
# format can be JSON, YAML, or TEXT. JSON is the default format.
|
|
12565
12602
|
#
|
|
12566
12603
|
# @option params [String] :target_type
|
|
12567
12604
|
# Specify a new target type for the document.
|
|
@@ -14040,7 +14077,7 @@ module Aws::SSM
|
|
|
14040
14077
|
tracer: tracer
|
|
14041
14078
|
)
|
|
14042
14079
|
context[:gem_name] = 'aws-sdk-ssm'
|
|
14043
|
-
context[:gem_version] = '1.
|
|
14080
|
+
context[:gem_version] = '1.223.0'
|
|
14044
14081
|
Seahorse::Client::Request.new(handlers, context)
|
|
14045
14082
|
end
|
|
14046
14083
|
|
|
@@ -291,6 +291,7 @@ module Aws::SSM
|
|
|
291
291
|
DeleteResourceDataSyncResult = Shapes::StructureShape.new(name: 'DeleteResourceDataSyncResult')
|
|
292
292
|
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
|
293
293
|
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
|
294
|
+
DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
|
|
294
295
|
DeliveryTimedOutCount = Shapes::IntegerShape.new(name: 'DeliveryTimedOutCount')
|
|
295
296
|
DeregisterManagedInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceRequest')
|
|
296
297
|
DeregisterManagedInstanceResult = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceResult')
|
|
@@ -2183,6 +2184,7 @@ module Aws::SSM
|
|
|
2183
2184
|
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
|
2184
2185
|
DeleteResourcePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
|
2185
2186
|
DeleteResourcePolicyRequest.add_member(:policy_hash, Shapes::ShapeRef.new(shape: PolicyHash, required: true, location_name: "PolicyHash"))
|
|
2187
|
+
DeleteResourcePolicyRequest.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "DeletionMode"))
|
|
2186
2188
|
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
|
2187
2189
|
|
|
2188
2190
|
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
|
@@ -4971,12 +4971,26 @@ module Aws::SSM
|
|
|
4971
4971
|
# calls from attempting to overwrite a policy.
|
|
4972
4972
|
# @return [String]
|
|
4973
4973
|
#
|
|
4974
|
+
# @!attribute [rw] deletion_mode
|
|
4975
|
+
# Specifies the intended outcome of the operation. Applies only to the
|
|
4976
|
+
# `Document` resource type. The operation ignores this parameter for
|
|
4977
|
+
# other resource types. Optional. Defaults to `RemoveSharing`.
|
|
4978
|
+
#
|
|
4979
|
+
# * `RemoveSharing` – Deletes the resource policy and removes sharing
|
|
4980
|
+
# of the document.
|
|
4981
|
+
#
|
|
4982
|
+
# * `RollbackMigration` – Reverts the document to Custom sharing,
|
|
4983
|
+
# preserving existing consumer access, instead of removing the
|
|
4984
|
+
# policy.
|
|
4985
|
+
# @return [String]
|
|
4986
|
+
#
|
|
4974
4987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicyRequest AWS API Documentation
|
|
4975
4988
|
#
|
|
4976
4989
|
class DeleteResourcePolicyRequest < Struct.new(
|
|
4977
4990
|
:resource_arn,
|
|
4978
4991
|
:policy_id,
|
|
4979
|
-
:policy_hash
|
|
4992
|
+
:policy_hash,
|
|
4993
|
+
:deletion_mode)
|
|
4980
4994
|
SENSITIVE = []
|
|
4981
4995
|
include Aws::Structure
|
|
4982
4996
|
end
|
|
@@ -20485,8 +20499,8 @@ module Aws::SSM
|
|
|
20485
20499
|
# @return [String]
|
|
20486
20500
|
#
|
|
20487
20501
|
# @!attribute [rw] document_format
|
|
20488
|
-
# Specify the document format for the new document version.
|
|
20489
|
-
#
|
|
20502
|
+
# Specify the document format for the new document version. The
|
|
20503
|
+
# document format can be JSON, YAML, or TEXT. JSON is the default
|
|
20490
20504
|
# format.
|
|
20491
20505
|
# @return [String]
|
|
20492
20506
|
#
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -608,7 +608,8 @@ module Aws
|
|
|
608
608
|
def delete_resource_policy: (
|
|
609
609
|
resource_arn: ::String,
|
|
610
610
|
policy_id: ::String,
|
|
611
|
-
policy_hash: ::String
|
|
611
|
+
policy_hash: ::String,
|
|
612
|
+
?deletion_mode: ("RemoveSharing" | "RollbackMigration")
|
|
612
613
|
) -> _DeleteResourcePolicyResponseSuccess
|
|
613
614
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
|
614
615
|
|
data/sig/types.rbs
CHANGED