amazonka-medialive-2.0: Amazon Elemental MediaLive SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaLive.CreateInput

Description

Create an input

Synopsis

Creating a Request

data CreateInput' Source #

The name of the input

See: newCreateInput' smart constructor.

Constructors

CreateInput'' 

Fields

Instances

Instances details
ToJSON CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

ToHeaders CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

ToPath CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

ToQuery CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

AWSRequest CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Associated Types

type AWSResponse CreateInput' #

Generic CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Associated Types

type Rep CreateInput' :: Type -> Type #

Read CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Show CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

NFData CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Methods

rnf :: CreateInput' -> () #

Eq CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Hashable CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

type AWSResponse CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

type Rep CreateInput' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

type Rep CreateInput' = D1 ('MetaData "CreateInput'" "Amazonka.MediaLive.CreateInput" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateInput''" 'PrefixI 'True) (((S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputDestinationRequest])) :*: S1 ('MetaSel ('Just "inputDevices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputDeviceSettings]))) :*: (S1 ('MetaSel ('Just "inputSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "mediaConnectFlows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MediaConnectFlowRequest])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputSourceRequest])))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputType)) :*: S1 ('MetaSel ('Just "vpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputVpcRequest)))))))

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'_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'_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.

Destructuring the Response

data CreateInputResponse Source #

Placeholder documentation for CreateInputResponse

See: newCreateInputResponse smart constructor.

Constructors

CreateInputResponse' 

Fields

Instances

Instances details
Generic CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Associated Types

type Rep CreateInputResponse :: Type -> Type #

Read CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Show CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

NFData CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

Methods

rnf :: CreateInputResponse -> () #

Eq CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

type Rep CreateInputResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateInput

type Rep CreateInputResponse = D1 ('MetaData "CreateInputResponse" "Amazonka.MediaLive.CreateInput" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateInputResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Input)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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