Safe Haskell | None |
---|---|
Language | Haskell2010 |
Generates an unpredictable byte string.
http://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateRandom.html
- data GenerateRandom
- generateRandom :: GenerateRandom
- grNumberOfBytes :: Lens' GenerateRandom (Maybe Natural)
- data GenerateRandomResponse
- generateRandomResponse :: GenerateRandomResponse
- grrPlaintext :: Lens' GenerateRandomResponse (Maybe Base64)
Request
data GenerateRandom Source
Eq GenerateRandom | |
Ord GenerateRandom | |
Read GenerateRandom | |
Show GenerateRandom | |
AWSRequest GenerateRandom | |
ToQuery GenerateRandom | |
ToPath GenerateRandom | |
ToHeaders GenerateRandom | |
ToJSON GenerateRandom | |
type Sv GenerateRandom = KMS | |
type Rs GenerateRandom = GenerateRandomResponse |
Request constructor
generateRandom :: GenerateRandom Source
GenerateRandom
constructor.
The fields accessible through corresponding lenses are:
grNumberOfBytes
::
Maybe
Natural
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:
grrPlaintext
::
Maybe
Base64
Response lenses
grrPlaintext :: Lens' GenerateRandomResponse (Maybe Base64) Source
Plaintext that contains the unpredictable byte string.