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 |
Create an input
Synopsis
- data CreateInput' = CreateInput'' {
- requestId :: Maybe Text
- inputDevices :: Maybe [InputDeviceSettings]
- sources :: Maybe [InputSourceRequest]
- inputSecurityGroups :: Maybe [Text]
- destinations :: Maybe [InputDestinationRequest]
- name :: Maybe Text
- vpc :: Maybe InputVpcRequest
- type' :: Maybe InputType
- mediaConnectFlows :: Maybe [MediaConnectFlowRequest]
- tags :: Maybe (HashMap Text Text)
- roleArn :: Maybe Text
- newCreateInput' :: CreateInput'
- createInput'_requestId :: Lens' CreateInput' (Maybe Text)
- createInput'_inputDevices :: Lens' CreateInput' (Maybe [InputDeviceSettings])
- createInput'_sources :: Lens' CreateInput' (Maybe [InputSourceRequest])
- createInput'_inputSecurityGroups :: Lens' CreateInput' (Maybe [Text])
- createInput'_destinations :: Lens' CreateInput' (Maybe [InputDestinationRequest])
- createInput'_name :: Lens' CreateInput' (Maybe Text)
- createInput'_vpc :: Lens' CreateInput' (Maybe InputVpcRequest)
- createInput'_type :: Lens' CreateInput' (Maybe InputType)
- createInput'_mediaConnectFlows :: Lens' CreateInput' (Maybe [MediaConnectFlowRequest])
- createInput'_tags :: Lens' CreateInput' (Maybe (HashMap Text Text))
- createInput'_roleArn :: Lens' CreateInput' (Maybe Text)
- 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:
$sel:requestId:CreateInput''
, createInput'_requestId
- Unique identifier of the request to ensure the request is handled
exactly once in case of retries.
$sel:inputDevices:CreateInput''
, createInput'_inputDevices
- Settings for the devices.
$sel:sources: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.
$sel:inputSecurityGroups:CreateInput''
, createInput'_inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.
$sel:destinations:CreateInput''
, createInput'_destinations
- Destination settings for PUSH type inputs.
$sel:name:CreateInput''
, createInput'_name
- Name of the input.
$sel:vpc:CreateInput''
, createInput'_vpc
- Undocumented member.
$sel:type':CreateInput''
, createInput'_type
- Undocumented member.
$sel:mediaConnectFlows: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.
$sel:tags:CreateInput''
, createInput'_tags
- A collection of key-value pairs.
$sel:roleArn:CreateInput''
, createInput'_roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and
after creation.
Request Lenses
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'_inputDevices :: Lens' CreateInput' (Maybe [InputDeviceSettings]) Source #
Settings for the devices.
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'_inputSecurityGroups :: Lens' CreateInput' (Maybe [Text]) Source #
A list of security groups referenced by IDs to attach to the input.
createInput'_destinations :: Lens' CreateInput' (Maybe [InputDestinationRequest]) Source #
Destination settings for PUSH type inputs.
createInput'_name :: Lens' CreateInput' (Maybe Text) Source #
Name of the input.
createInput'_vpc :: Lens' CreateInput' (Maybe InputVpcRequest) Source #
Undocumented member.
createInput'_type :: Lens' CreateInput' (Maybe InputType) Source #
Undocumented member.
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'_tags :: Lens' CreateInput' (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
createInput'_roleArn :: Lens' CreateInput' (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
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.