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.StopChannel

Contents

Description

Stops a running channel

Synopsis

Creating a Request

stopChannel Source #

Arguments

:: Text

sChannelId

-> StopChannel 

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

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

data StopChannel Source #

Placeholder documentation for StopChannelRequest

See: stopChannel smart constructor.

Instances

Eq StopChannel Source # 
Data StopChannel Source # 

Methods

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

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

toConstr :: StopChannel -> Constr #

dataTypeOf :: StopChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopChannel Source # 
Show StopChannel Source # 
Generic StopChannel Source # 

Associated Types

type Rep StopChannel :: * -> * #

Hashable StopChannel Source # 
ToJSON StopChannel Source # 
NFData StopChannel Source # 

Methods

rnf :: StopChannel -> () #

AWSRequest StopChannel Source # 
ToHeaders StopChannel Source # 

Methods

toHeaders :: StopChannel -> [Header] #

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

Request Lenses

sChannelId :: Lens' StopChannel Text Source #

A request to stop a running channel

Destructuring the Response

stopChannelResponse Source #

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

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

data StopChannelResponse Source #

Placeholder documentation for StopChannelResponse

See: stopChannelResponse smart constructor.

Instances

Eq StopChannelResponse Source # 
Data StopChannelResponse Source # 

Methods

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

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

toConstr :: StopChannelResponse -> Constr #

dataTypeOf :: StopChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopChannelResponse Source # 
Show StopChannelResponse Source # 
Generic StopChannelResponse Source # 
NFData StopChannelResponse Source # 

Methods

rnf :: StopChannelResponse -> () #

type Rep StopChannelResponse Source # 
type Rep StopChannelResponse = D1 * (MetaData "StopChannelResponse" "Network.AWS.MediaLive.StopChannel" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "StopChannelResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_srsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ChannelState))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_srsPipelinesRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsInputSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe InputSpecification))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsInputAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InputAttachment]))) (S1 * (MetaSel (Just Symbol "_srsDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [OutputDestination])))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_srsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_srsEgressEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ChannelEgressEndpoint]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsEncoderSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EncoderSettings))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))))

Response Lenses

srsARN :: Lens' StopChannelResponse (Maybe Text) Source #

The unique arn of the channel.

srsPipelinesRunningCount :: Lens' StopChannelResponse (Maybe Int) Source #

The number of currently healthy pipelines.

srsInputAttachments :: Lens' StopChannelResponse [InputAttachment] Source #

List of input attachments for channel.

srsDestinations :: Lens' StopChannelResponse [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.

srsName :: Lens' StopChannelResponse (Maybe Text) Source #

The name of the channel. (user-mutable)

srsId :: Lens' StopChannelResponse (Maybe Text) Source #

The unique id of the channel.

srsEgressEndpoints :: Lens' StopChannelResponse [ChannelEgressEndpoint] Source #

The endpoints where outgoing connections initiate from

srsRoleARN :: Lens' StopChannelResponse (Maybe Text) Source #

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

srsResponseStatus :: Lens' StopChannelResponse Int Source #

  • - | The response status code.