amazonka-medialive-1.6.1: 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.StartChannel

Contents

Description

Starts an existing channel

Synopsis

Creating a Request

startChannel Source #

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

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

data StartChannel Source #

Placeholder documentation for StartChannelRequest

See: startChannel smart constructor.

Instances
Eq StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Data StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Methods

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

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

toConstr :: StartChannel -> Constr #

dataTypeOf :: StartChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Show StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Generic StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Associated Types

type Rep StartChannel :: Type -> Type #

Hashable StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

ToJSON StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

AWSRequest StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Associated Types

type Rs StartChannel :: Type #

ToHeaders StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

ToPath StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

ToQuery StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

NFData StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Methods

rnf :: StartChannel -> () #

type Rep StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

type Rep StartChannel = D1 (MetaData "StartChannel" "Network.AWS.MediaLive.StartChannel" "amazonka-medialive-1.6.1-Hf3aRK8WXQyFYNvbGtWknQ" True) (C1 (MetaCons "StartChannel'" PrefixI True) (S1 (MetaSel (Just "_scChannelId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StartChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Request Lenses

scChannelId :: Lens' StartChannel Text Source #

A request to start a channel

Destructuring the Response

startChannelResponse Source #

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

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

data StartChannelResponse Source #

Placeholder documentation for StartChannelResponse

See: startChannelResponse smart constructor.

Instances
Eq StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Data StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Methods

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

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

toConstr :: StartChannelResponse -> Constr #

dataTypeOf :: StartChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Show StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Generic StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Associated Types

type Rep StartChannelResponse :: Type -> Type #

NFData StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

Methods

rnf :: StartChannelResponse -> () #

type Rep StartChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StartChannel

type Rep StartChannelResponse = D1 (MetaData "StartChannelResponse" "Network.AWS.MediaLive.StartChannel" "amazonka-medialive-1.6.1-Hf3aRK8WXQyFYNvbGtWknQ" False) (C1 (MetaCons "StartChannelResponse'" PrefixI True) (((S1 (MetaSel (Just "_scrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChannelState)) :*: (S1 (MetaSel (Just "_scrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scrsPipelinesRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_scrsInputSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InputSpecification)) :*: (S1 (MetaSel (Just "_scrsInputAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InputAttachment])) :*: S1 (MetaSel (Just "_scrsDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OutputDestination]))))) :*: ((S1 (MetaSel (Just "_scrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_scrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scrsEgressEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ChannelEgressEndpoint])))) :*: (S1 (MetaSel (Just "_scrsEncoderSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncoderSettings)) :*: (S1 (MetaSel (Just "_scrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

scrsARN :: Lens' StartChannelResponse (Maybe Text) Source #

The unique arn of the channel.

scrsPipelinesRunningCount :: Lens' StartChannelResponse (Maybe Int) Source #

The number of currently healthy pipelines.

scrsInputAttachments :: Lens' StartChannelResponse [InputAttachment] Source #

List of input attachments for channel.

scrsDestinations :: Lens' StartChannelResponse [OutputDestination] Source #

A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.

scrsName :: Lens' StartChannelResponse (Maybe Text) Source #

The name of the channel. (user-mutable)

scrsId :: Lens' StartChannelResponse (Maybe Text) Source #

The unique id of the channel.

scrsEgressEndpoints :: Lens' StartChannelResponse [ChannelEgressEndpoint] Source #

The endpoints where outgoing connections initiate from

scrsRoleARN :: Lens' StartChannelResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the role assumed when running the Channel.

scrsResponseStatus :: Lens' StartChannelResponse Int Source #

  • - | The response status code.