Class: Aws::RAM::Types::UpdatePermissionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::RAM::Types::UpdatePermissionRequest
- Defined in:
- gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#permission_arn ⇒ String
Specifies the [Amazon Resource Name (ARN)][1] of the customer managed permission that you want to update.
-
#status ⇒ String
Specifies the new status for the permission.
Instance Attribute Details
#client_token ⇒ String
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with
different parameters, the retry fails with an
IdempotentParameterMismatch error.
4389 4390 4391 4392 4393 4394 4395 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 4389 class UpdatePermissionRequest < Struct.new( :permission_arn, :status, :client_token) SENSITIVE = [] include Aws::Structure end |
#permission_arn ⇒ String
Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to update.
4389 4390 4391 4392 4393 4394 4395 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 4389 class UpdatePermissionRequest < Struct.new( :permission_arn, :status, :client_token) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Specifies the new status for the permission. This can be one of the following values:
ATTACHABLE– Restores a previously deprecated permission so it can be associated with resource shares again.DEPRECATED– Deprecates the permission so it can no longer be associated with new resource shares.
4389 4390 4391 4392 4393 4394 4395 |
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 4389 class UpdatePermissionRequest < Struct.new( :permission_arn, :status, :client_token) SENSITIVE = [] include Aws::Structure end |