amazonka-kms-0.3.2: Amazon Key Management Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.GenerateRandom

Contents

Description

Synopsis

Request

Request constructor

generateRandom :: GenerateRandom Source

GenerateRandom constructor.

The fields accessible through corresponding lenses are:

Request lenses

grNumberOfBytes :: Lens' GenerateRandom (Maybe Natural) Source

Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on. The current limit is 1024 bytes.

Response

Response constructor

generateRandomResponse :: GenerateRandomResponse Source

GenerateRandomResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

grrPlaintext :: Lens' GenerateRandomResponse (Maybe Base64) Source

Plaintext that contains the unpredictable byte string.