Safe Haskell | None |
---|---|
Language | Haskell2010 |
Generates an unpredictable byte string.
http://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateRandom.html
Request
data GenerateRandom Source
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.