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.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 # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Data StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Show StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Generic StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Associated Types

type Rep StopChannel :: Type -> Type #

Hashable StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

ToJSON StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

AWSRequest StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Associated Types

type Rs StopChannel :: Type #

ToHeaders StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Methods

toHeaders :: StopChannel -> [Header] #

ToPath StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

ToQuery StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

NFData StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Methods

rnf :: StopChannel -> () #

type Rep StopChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

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

Defined in Network.AWS.MediaLive.StopChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Data StopChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Show StopChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Generic StopChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Associated Types

type Rep StopChannelResponse :: Type -> Type #

NFData StopChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

Methods

rnf :: StopChannelResponse -> () #

type Rep StopChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.StopChannel

type Rep StopChannelResponse = D1 (MetaData "StopChannelResponse" "Network.AWS.MediaLive.StopChannel" "amazonka-medialive-1.6.1-Hf3aRK8WXQyFYNvbGtWknQ" False) (C1 (MetaCons "StopChannelResponse'" PrefixI True) (((S1 (MetaSel (Just "_srsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChannelState)) :*: (S1 (MetaSel (Just "_srsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srsPipelinesRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_srsInputSpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InputSpecification)) :*: (S1 (MetaSel (Just "_srsInputAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InputAttachment])) :*: S1 (MetaSel (Just "_srsDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OutputDestination]))))) :*: ((S1 (MetaSel (Just "_srsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_srsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srsEgressEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ChannelEgressEndpoint])))) :*: (S1 (MetaSel (Just "_srsEncoderSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncoderSettings)) :*: (S1 (MetaSel (Just "_srsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.