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

Class: Aws::KMS::Types::GenerateRandomRequest

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 GenerateRandomRequest data as a hash:

{
  number_of_bytes: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#number_of_bytesInteger

The length of the byte string.

Returns:

  • (Integer)


955
956
957
958
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 955

class GenerateRandomRequest < Struct.new(
  :number_of_bytes)
  include Aws::Structure
end