Copyright | (c) 2013-2016 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 |
Add one or more paramaters to the system.
- putParameter :: Text -> Text -> ParameterType -> PutParameter
- data PutParameter
- ppKeyId :: Lens' PutParameter (Maybe Text)
- ppOverwrite :: Lens' PutParameter (Maybe Bool)
- ppDescription :: Lens' PutParameter (Maybe Text)
- ppName :: Lens' PutParameter Text
- ppValue :: Lens' PutParameter Text
- ppType :: Lens' PutParameter ParameterType
- putParameterResponse :: Int -> PutParameterResponse
- data PutParameterResponse
- pprsResponseStatus :: Lens' PutParameterResponse Int
Creating a Request
Creates a value of PutParameter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ppKeyId
- The parameter key ID that you want to add to the system.ppOverwrite
- Overwrite an existing parameter.ppDescription
- Information about the parameter that you want to add to the systemppName
- The name of the parameter that you want to add to the system.ppValue
- The parameter value that you want to add to the system.ppType
- The type of parameter that you want to add to the system.
data PutParameter Source #
See: putParameter
smart constructor.
Request Lenses
ppKeyId :: Lens' PutParameter (Maybe Text) Source #
The parameter key ID that you want to add to the system.
ppOverwrite :: Lens' PutParameter (Maybe Bool) Source #
Overwrite an existing parameter.
ppDescription :: Lens' PutParameter (Maybe Text) Source #
Information about the parameter that you want to add to the system
ppName :: Lens' PutParameter Text Source #
The name of the parameter that you want to add to the system.
ppType :: Lens' PutParameter ParameterType Source #
The type of parameter that you want to add to the system.
Destructuring the Response
Creates a value of PutParameterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pprsResponseStatus
- -- | The response status code.
data PutParameterResponse Source #
See: putParameterResponse
smart constructor.
Response Lenses
pprsResponseStatus :: Lens' PutParameterResponse Int Source #
- - | The response status code.