| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SSM.GetParameter
Description
Get information about a parameter by using the parameter name.
Synopsis
- getParameter :: Text -> GetParameter
- data GetParameter
- gWithDecryption :: Lens' GetParameter (Maybe Bool)
- gName :: Lens' GetParameter Text
- getParameterResponse :: Int -> GetParameterResponse
- data GetParameterResponse
- gprsParameter :: Lens' GetParameterResponse (Maybe Parameter)
- gprsResponseStatus :: Lens' GetParameterResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetParameter |
Creates a value of GetParameter with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gWithDecryption- Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.gName- The name of the parameter you want to query.
data GetParameter Source #
See: getParameter smart constructor.
Instances
Request Lenses
gWithDecryption :: Lens' GetParameter (Maybe Bool) Source #
Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.
Destructuring the Response
Arguments
| :: Int | |
| -> GetParameterResponse |
Creates a value of GetParameterResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gprsParameter- Information about a parameter.gprsResponseStatus- -- | The response status code.
data GetParameterResponse Source #
See: getParameterResponse smart constructor.
Instances
Response Lenses
gprsParameter :: Lens' GetParameterResponse (Maybe Parameter) Source #
Information about a parameter.
gprsResponseStatus :: Lens' GetParameterResponse Int Source #
- - | The response status code.