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.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 # 
Data StartChannel Source # 

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 # 
Show StartChannel Source # 
Generic StartChannel Source # 

Associated Types

type Rep StartChannel :: * -> * #

Hashable StartChannel Source # 
ToJSON StartChannel Source # 
NFData StartChannel Source # 

Methods

rnf :: StartChannel -> () #

AWSRequest StartChannel Source # 
ToHeaders StartChannel Source # 
ToPath StartChannel Source # 
ToQuery StartChannel Source # 
type Rep StartChannel Source # 
type Rep StartChannel = D1 * (MetaData "StartChannel" "Network.AWS.MediaLive.StartChannel" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" True) (C1 * (MetaCons "StartChannel'" PrefixI True) (S1 * (MetaSel (Just Symbol "_scChannelId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs StartChannel Source # 

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 # 
Data StartChannelResponse Source # 

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 # 
Show StartChannelResponse Source # 
Generic StartChannelResponse Source # 
NFData StartChannelResponse Source # 

Methods

rnf :: StartChannelResponse -> () #

type Rep StartChannelResponse Source # 
type Rep StartChannelResponse = D1 * (MetaData "StartChannelResponse" "Network.AWS.MediaLive.StartChannel" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "StartChannelResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ChannelState))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_scrsPipelinesRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsInputSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe InputSpecification))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsInputAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InputAttachment]))) (S1 * (MetaSel (Just Symbol "_scrsDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [OutputDestination])))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_scrsEgressEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ChannelEgressEndpoint]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsEncoderSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EncoderSettings))) ((:*:) * (S1 * (MetaSel (Just Symbol "_scrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.