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 |
The ReadPreset operation gets detailed information about a preset.
See: AWS API Reference for ReadPreset.
Creating a Request
:: Text | |
-> ReadPreset |
Creates a value of ReadPreset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReadPreset Source
The ReadPresetRequest
structure.
See: readPreset
smart constructor.
Request Lenses
rpId :: Lens' ReadPreset Text Source
The identifier of the preset for which you want to get detailed information.
Destructuring the Response
Creates a value of ReadPresetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReadPresetResponse Source
The ReadPresetResponse
structure.
See: readPresetResponse
smart constructor.
Response Lenses
rprsPreset :: Lens' ReadPresetResponse (Maybe Preset) Source
A section of the response body that provides information about the preset.
rprsStatus :: Lens' ReadPresetResponse Int Source
The response status code.