Copyright | (c) 2013-2021 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 |
Updates an input.
Synopsis
- data UpdateInput = UpdateInput' {}
- newUpdateInput :: Text -> InputDefinition -> UpdateInput
- updateInput_inputDescription :: Lens' UpdateInput (Maybe Text)
- updateInput_inputName :: Lens' UpdateInput Text
- updateInput_inputDefinition :: Lens' UpdateInput InputDefinition
- data UpdateInputResponse = UpdateInputResponse' {}
- newUpdateInputResponse :: Int -> UpdateInputResponse
- updateInputResponse_inputConfiguration :: Lens' UpdateInputResponse (Maybe InputConfiguration)
- updateInputResponse_httpStatus :: Lens' UpdateInputResponse Int
Creating a Request
data UpdateInput Source #
See: newUpdateInput
smart constructor.
UpdateInput' | |
|
Instances
Create a value of UpdateInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inputDescription:UpdateInput'
, updateInput_inputDescription
- A brief description of the input.
$sel:inputName:UpdateInput'
, updateInput_inputName
- The name of the input you want to update.
$sel:inputDefinition:UpdateInput'
, updateInput_inputDefinition
- The definition of the input.
Request Lenses
updateInput_inputDescription :: Lens' UpdateInput (Maybe Text) Source #
A brief description of the input.
updateInput_inputName :: Lens' UpdateInput Text Source #
The name of the input you want to update.
updateInput_inputDefinition :: Lens' UpdateInput InputDefinition Source #
The definition of the input.
Destructuring the Response
data UpdateInputResponse Source #
See: newUpdateInputResponse
smart constructor.
UpdateInputResponse' | |
|
Instances
newUpdateInputResponse Source #
Create a value of UpdateInputResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inputConfiguration:UpdateInputResponse'
, updateInputResponse_inputConfiguration
- Information about the configuration of the input.
$sel:httpStatus:UpdateInputResponse'
, updateInputResponse_httpStatus
- The response's http status code.
Response Lenses
updateInputResponse_inputConfiguration :: Lens' UpdateInputResponse (Maybe InputConfiguration) Source #
Information about the configuration of the input.
updateInputResponse_httpStatus :: Lens' UpdateInputResponse Int Source #
The response's http status code.