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

Class: Aws::KMS::Types::RevokeGrantRequest

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

Overview

Note:

When making an API call, you may pass RevokeGrantRequest data as a hash:

{
  key_id: "KeyIdType", # required
  grant_id: "GrantIdType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#grant_idString

Identifier of the grant to be revoked.

Returns:

  • (String)


2065
2066
2067
2068
2069
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2065

class RevokeGrantRequest < Struct.new(
  :key_id,
  :grant_id)
  include Aws::Structure
end

#key_idString

A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.

  • Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012

  • Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012

Returns:

  • (String)


2065
2066
2067
2068
2069
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2065

class RevokeGrantRequest < Struct.new(
  :key_id,
  :grant_id)
  include Aws::Structure
end