Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Generates an unpredictable byte string.
See: AWS API Reference for GenerateRandom.
Creating a Request
generateRandom :: GenerateRandom Source
Creates a value of GenerateRandom
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GenerateRandom Source
See: generateRandom
smart constructor.
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.
Destructuring the Response
Creates a value of GenerateRandomResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GenerateRandomResponse Source
See: generateRandomResponse
smart constructor.
Response Lenses
grrsPlaintext :: Lens' GenerateRandomResponse (Maybe ByteString) Source
Plaintext that contains the unpredictable byte string.
grrsStatus :: Lens' GenerateRandomResponse Int Source
The response status code.