AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


603
604
605
606
607
608
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 603

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)


603
604
605
606
607
608
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 603

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