amazonka-medialive-1.6.0: Amazon Elemental MediaLive SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MediaLive.CreateInput

Contents

Description

Create an input

Synopsis

Creating a Request

createInput :: CreateInput Source #

Creates a value of CreateInput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ciRequestId - Unique identifier of the request to ensure the request is handled exactly once in case of retries.
  • ciSources - 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.
  • ciInputSecurityGroups - A list of security groups referenced by IDs to attach to the input.
  • ciDestinations - Destination settings for PUSH type inputs.
  • ciName - Name of the input.
  • ciType - Undocumented member.

data CreateInput Source #

The name of the input

See: createInput smart constructor.

Instances

Eq CreateInput Source # 
Data CreateInput Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateInput -> c CreateInput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateInput #

toConstr :: CreateInput -> Constr #

dataTypeOf :: CreateInput -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateInput) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateInput) #

gmapT :: (forall b. Data b => b -> b) -> CreateInput -> CreateInput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateInput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateInput -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateInput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateInput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateInput -> m CreateInput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateInput -> m CreateInput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateInput -> m CreateInput #

Read CreateInput Source # 
Show CreateInput Source # 
Generic CreateInput Source # 

Associated Types

type Rep CreateInput :: * -> * #

Hashable CreateInput Source # 
ToJSON CreateInput Source # 
NFData CreateInput Source # 

Methods

rnf :: CreateInput -> () #

AWSRequest CreateInput Source # 
ToHeaders CreateInput Source # 

Methods

toHeaders :: CreateInput -> [Header] #

ToPath CreateInput Source # 
ToQuery CreateInput Source # 
type Rep CreateInput Source # 
type Rs CreateInput Source # 

Request Lenses

ciRequestId :: Lens' CreateInput (Maybe Text) Source #

Unique identifier of the request to ensure the request is handled exactly once in case of retries.

ciSources :: Lens' CreateInput [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.

ciInputSecurityGroups :: Lens' CreateInput [Text] Source #

A list of security groups referenced by IDs to attach to the input.

ciDestinations :: Lens' CreateInput [InputDestinationRequest] Source #

Destination settings for PUSH type inputs.

ciName :: Lens' CreateInput (Maybe Text) Source #

Name of the input.

ciType :: Lens' CreateInput (Maybe InputType) Source #

Undocumented member.

Destructuring the Response

createInputResponse Source #

Creates a value of CreateInputResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateInputResponse Source #

Placeholder documentation for CreateInputResponse

See: createInputResponse smart constructor.

Instances

Eq CreateInputResponse Source # 
Data CreateInputResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateInputResponse -> c CreateInputResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateInputResponse #

toConstr :: CreateInputResponse -> Constr #

dataTypeOf :: CreateInputResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateInputResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateInputResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateInputResponse -> CreateInputResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateInputResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateInputResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateInputResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateInputResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateInputResponse -> m CreateInputResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateInputResponse -> m CreateInputResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateInputResponse -> m CreateInputResponse #

Read CreateInputResponse Source # 
Show CreateInputResponse Source # 
Generic CreateInputResponse Source # 
NFData CreateInputResponse Source # 

Methods

rnf :: CreateInputResponse -> () #

type Rep CreateInputResponse Source # 
type Rep CreateInputResponse = D1 * (MetaData "CreateInputResponse" "Network.AWS.MediaLive.CreateInput" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "CreateInputResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cirsInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Input))) (S1 * (MetaSel (Just Symbol "_cirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cirsResponseStatus :: Lens' CreateInputResponse Int Source #

  • - | The response status code.