Method: Aws::KMS::Types::GenerateDataKeyPairRequest#grant_tokens

Defined in:
lib/aws-sdk-kms/types.rb

#grant_tokensArray<String>

A list of grant tokens.

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/using-grant-token.html

Returns:

  • (Array<String>)


2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
# File 'lib/aws-sdk-kms/types.rb', line 2622

class GenerateDataKeyPairRequest < Struct.new(
  :encryption_context,
  :key_id,
  :key_pair_spec,
  :grant_tokens,
  :recipient,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end