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 |
Creates an input.
Synopsis
- data CreateInput = CreateInput' {
- inputDescription :: Maybe Text
- tags :: Maybe [Tag]
- inputName :: Text
- inputDefinition :: InputDefinition
- newCreateInput :: Text -> InputDefinition -> CreateInput
- createInput_inputDescription :: Lens' CreateInput (Maybe Text)
- createInput_tags :: Lens' CreateInput (Maybe [Tag])
- createInput_inputName :: Lens' CreateInput Text
- createInput_inputDefinition :: Lens' CreateInput InputDefinition
- data CreateInputResponse = CreateInputResponse' {}
- newCreateInputResponse :: Int -> CreateInputResponse
- createInputResponse_inputConfiguration :: Lens' CreateInputResponse (Maybe InputConfiguration)
- createInputResponse_httpStatus :: Lens' CreateInputResponse Int
Creating a Request
data CreateInput Source #
See: newCreateInput
smart constructor.
CreateInput' | |
|
Instances
Create a value of CreateInput
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:CreateInput'
, createInput_inputDescription
- A brief description of the input.
$sel:tags:CreateInput'
, createInput_tags
- Metadata that can be used to manage the input.
$sel:inputName:CreateInput'
, createInput_inputName
- The name you want to give to the input.
$sel:inputDefinition:CreateInput'
, createInput_inputDefinition
- The definition of the input.
Request Lenses
createInput_inputDescription :: Lens' CreateInput (Maybe Text) Source #
A brief description of the input.
createInput_tags :: Lens' CreateInput (Maybe [Tag]) Source #
Metadata that can be used to manage the input.
createInput_inputName :: Lens' CreateInput Text Source #
The name you want to give to the input.
createInput_inputDefinition :: Lens' CreateInput InputDefinition Source #
The definition of the input.
Destructuring the Response
data CreateInputResponse Source #
See: newCreateInputResponse
smart constructor.
CreateInputResponse' | |
|
Instances
newCreateInputResponse Source #
Create a value of CreateInputResponse
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:CreateInputResponse'
, createInputResponse_inputConfiguration
- Information about the configuration of the input.
$sel:httpStatus:CreateInputResponse'
, createInputResponse_httpStatus
- The response's http status code.
Response Lenses
createInputResponse_inputConfiguration :: Lens' CreateInputResponse (Maybe InputConfiguration) Source #
Information about the configuration of the input.
createInputResponse_httpStatus :: Lens' CreateInputResponse Int Source #
The response's http status code.