| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEvents.UpdateInput
Description
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.
Constructors
| UpdateInput' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> InputDefinition | |
| -> UpdateInput |
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:
UpdateInput, updateInput_inputDescription - A brief description of the input.
UpdateInput, updateInput_inputName - The name of the input you want to update.
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.
Constructors
| UpdateInputResponse' | |
Fields
| |
Instances
newUpdateInputResponse Source #
Arguments
| :: Int | |
| -> UpdateInputResponse |
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:
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.