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 |
Create an input
Synopsis
- data CreateInput' = CreateInput'' {
- destinations :: Maybe [InputDestinationRequest]
- inputDevices :: Maybe [InputDeviceSettings]
- inputSecurityGroups :: Maybe [Text]
- mediaConnectFlows :: Maybe [MediaConnectFlowRequest]
- name :: Maybe Text
- requestId :: Maybe Text
- roleArn :: Maybe Text
- sources :: Maybe [InputSourceRequest]
- tags :: Maybe (HashMap Text Text)
- type' :: Maybe InputType
- vpc :: Maybe InputVpcRequest
- newCreateInput' :: CreateInput'
- createInput'_destinations :: Lens' CreateInput' (Maybe [InputDestinationRequest])
- createInput'_inputDevices :: Lens' CreateInput' (Maybe [InputDeviceSettings])
- createInput'_inputSecurityGroups :: Lens' CreateInput' (Maybe [Text])
- createInput'_mediaConnectFlows :: Lens' CreateInput' (Maybe [MediaConnectFlowRequest])
- createInput'_name :: Lens' CreateInput' (Maybe Text)
- createInput'_requestId :: Lens' CreateInput' (Maybe Text)
- createInput'_roleArn :: Lens' CreateInput' (Maybe Text)
- createInput'_sources :: Lens' CreateInput' (Maybe [InputSourceRequest])
- createInput'_tags :: Lens' CreateInput' (Maybe (HashMap Text Text))
- createInput'_type :: Lens' CreateInput' (Maybe InputType)
- createInput'_vpc :: Lens' CreateInput' (Maybe InputVpcRequest)
- data CreateInputResponse = CreateInputResponse' {
- input :: Maybe Input
- httpStatus :: Int
- newCreateInputResponse :: Int -> CreateInputResponse
- createInputResponse_input :: Lens' CreateInputResponse (Maybe Input)
- createInputResponse_httpStatus :: Lens' CreateInputResponse Int
Creating a Request
data CreateInput' Source #
The name of the input
See: newCreateInput'
smart constructor.
CreateInput'' | |
|
Instances
newCreateInput' :: CreateInput' Source #
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:
CreateInput'
, createInput'_destinations
- Destination settings for PUSH type inputs.
CreateInput'
, createInput'_inputDevices
- Settings for the devices.
$sel:inputSecurityGroups:CreateInput''
, createInput'_inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.
CreateInput'
, createInput'_mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this 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.
CreateInput'
, createInput'_name
- Name of the input.
$sel:requestId:CreateInput''
, createInput'_requestId
- Unique identifier of the request to ensure the request is handled
exactly once in case of retries.
CreateInput'
, createInput'_roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and
after creation.
CreateInput'
, createInput'_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.
CreateInput'
, createInput'_tags
- A collection of key-value pairs.
CreateInput'
, createInput'_type
- Undocumented member.
CreateInput'
, createInput'_vpc
- Undocumented member.
Request Lenses
createInput'_destinations :: Lens' CreateInput' (Maybe [InputDestinationRequest]) Source #
Destination settings for PUSH type inputs.
createInput'_inputDevices :: Lens' CreateInput' (Maybe [InputDeviceSettings]) Source #
Settings for the devices.
createInput'_inputSecurityGroups :: Lens' CreateInput' (Maybe [Text]) Source #
A list of security groups referenced by IDs to attach to the input.
createInput'_mediaConnectFlows :: Lens' CreateInput' (Maybe [MediaConnectFlowRequest]) Source #
A list of the MediaConnect Flows that you want to use in this 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.
createInput'_name :: Lens' CreateInput' (Maybe Text) Source #
Name of the input.
createInput'_requestId :: Lens' CreateInput' (Maybe Text) Source #
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
createInput'_roleArn :: Lens' CreateInput' (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
createInput'_sources :: Lens' CreateInput' (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.
createInput'_tags :: Lens' CreateInput' (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
createInput'_type :: Lens' CreateInput' (Maybe InputType) Source #
Undocumented member.
createInput'_vpc :: Lens' CreateInput' (Maybe InputVpcRequest) Source #
Undocumented member.
Destructuring the Response
data CreateInputResponse Source #
Placeholder documentation for CreateInputResponse
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:input:CreateInputResponse'
, createInputResponse_input
- Undocumented member.
$sel:httpStatus:CreateInputResponse'
, createInputResponse_httpStatus
- The response's http status code.
Response Lenses
createInputResponse_input :: Lens' CreateInputResponse (Maybe Input) Source #
Undocumented member.
createInputResponse_httpStatus :: Lens' CreateInputResponse Int Source #
The response's http status code.