You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#grant_idString

The unique identifier for the grant.

You can use the GrantId in a subsequent RetireGrant or RevokeGrant operation.

Returns:

  • (String)


253
254
255
256
257
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 253

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

#grant_tokenString

The grant token.

For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.

Returns:

  • (String)


253
254
255
256
257
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 253

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