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 |
Updates an input.
Synopsis
- data UpdateInput' = UpdateInput'' {}
- newUpdateInput' :: Text -> UpdateInput'
- updateInput'_destinations :: Lens' UpdateInput' (Maybe [InputDestinationRequest])
- updateInput'_inputDevices :: Lens' UpdateInput' (Maybe [InputDeviceRequest])
- updateInput'_inputSecurityGroups :: Lens' UpdateInput' (Maybe [Text])
- updateInput'_mediaConnectFlows :: Lens' UpdateInput' (Maybe [MediaConnectFlowRequest])
- updateInput'_name :: Lens' UpdateInput' (Maybe Text)
- updateInput'_roleArn :: Lens' UpdateInput' (Maybe Text)
- updateInput'_sources :: Lens' UpdateInput' (Maybe [InputSourceRequest])
- updateInput'_inputId :: Lens' UpdateInput' Text
- data UpdateInputResponse = UpdateInputResponse' {
- input :: Maybe Input
- httpStatus :: Int
- newUpdateInputResponse :: Int -> UpdateInputResponse
- updateInputResponse_input :: Lens' UpdateInputResponse (Maybe Input)
- updateInputResponse_httpStatus :: Lens' UpdateInputResponse Int
Creating a Request
data UpdateInput' Source #
A request to update an input.
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:
UpdateInput'
, updateInput'_destinations
- Destination settings for PUSH type inputs.
UpdateInput'
, updateInput'_inputDevices
- Settings for the devices.
$sel:inputSecurityGroups:UpdateInput''
, updateInput'_inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.
UpdateInput'
, updateInput'_mediaConnectFlows
- A list of the MediaConnect Flow ARNs that you want to use as the source
of the input. You can specify as few as one Flow and presently, as many
as two. The only requirement is when you have more than one is that each
Flow is in a separate Availability Zone as this ensures your EML input
is redundant to AZ issues.
UpdateInput'
, updateInput'_name
- Name of the input.
UpdateInput'
, updateInput'_roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and
after creation.
UpdateInput'
, updateInput'_sources
- The source URLs for a PULL-type input. Every PULL type input needs
exactly two source URLs for redundancy. Only specify sources for PULL
type Inputs. Leave Destinations empty.
UpdateInput'
, updateInput'_inputId
- Unique ID of the input.
Request Lenses
updateInput'_destinations :: Lens' UpdateInput' (Maybe [InputDestinationRequest]) Source #
Destination settings for PUSH type inputs.
updateInput'_inputDevices :: Lens' UpdateInput' (Maybe [InputDeviceRequest]) Source #
Settings for the devices.
updateInput'_inputSecurityGroups :: Lens' UpdateInput' (Maybe [Text]) Source #
A list of security groups referenced by IDs to attach to the input.
updateInput'_mediaConnectFlows :: Lens' UpdateInput' (Maybe [MediaConnectFlowRequest]) Source #
A list of the MediaConnect Flow ARNs that you want to use as the source of the input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.
updateInput'_name :: Lens' UpdateInput' (Maybe Text) Source #
Name of the input.
updateInput'_roleArn :: Lens' UpdateInput' (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
updateInput'_sources :: Lens' UpdateInput' (Maybe [InputSourceRequest]) Source #
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
updateInput'_inputId :: Lens' UpdateInput' Text Source #
Unique ID of the input.
Destructuring the Response
data UpdateInputResponse Source #
Placeholder documentation for UpdateInputResponse
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:input:UpdateInputResponse'
, updateInputResponse_input
- Undocumented member.
$sel:httpStatus:UpdateInputResponse'
, updateInputResponse_httpStatus
- The response's http status code.
Response Lenses
updateInputResponse_input :: Lens' UpdateInputResponse (Maybe Input) Source #
Undocumented member.
updateInputResponse_httpStatus :: Lens' UpdateInputResponse Int Source #
The response's http status code.