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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/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 'gems/aws-sdk-kms/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.

Returns:

  • (String)


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

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