Class: Aws::KMS::Types::CreateGrantResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#grant_idString

The unique identifier for the grant.

You can use the ‘GrantId` in a ListGrants, RetireGrant, or RevokeGrant operation.

Returns:

  • (String)


771
772
773
774
775
776
# File 'lib/aws-sdk-kms/types.rb', line 771

class CreateGrantResponse < Struct.new(
  :grant_token,
  :grant_id)
  SENSITIVE = []
  include Aws::Structure
end

#grant_tokenString

The grant token.

Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved *eventual consistency*. For more information, see [Grant token] and [Using a grant token] in the *Key Management Service Developer Guide*.

[1]: docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token [2]: docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#using-grant-token

Returns:

  • (String)


771
772
773
774
775
776
# File 'lib/aws-sdk-kms/types.rb', line 771

class CreateGrantResponse < Struct.new(
  :grant_token,
  :grant_id)
  SENSITIVE = []
  include Aws::Structure
end