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

Amazonka.IVS.StopStream

Description

Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

Many streaming client-software libraries automatically reconnect a dropped RTMPS session, so to stop the stream permanently, you may want to first revoke the streamKey attached to the channel.

Synopsis

Creating a Request

data StopStream Source #

See: newStopStream smart constructor.

Constructors

StopStream' 

Fields

  • channelArn :: Text

    ARN of the channel for which the stream is to be stopped.

Instances

Instances details
Eq StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Read StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Show StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Generic StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Associated Types

type Rep StopStream :: Type -> Type #

NFData StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Methods

rnf :: StopStream -> () #

Hashable StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

ToJSON StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

AWSRequest StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Associated Types

type AWSResponse StopStream #

ToHeaders StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Methods

toHeaders :: StopStream -> [Header] #

ToPath StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

ToQuery StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

type Rep StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

type Rep StopStream = D1 ('MetaData "StopStream" "Amazonka.IVS.StopStream" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "StopStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopStream Source # 
Instance details

Defined in Amazonka.IVS.StopStream

newStopStream Source #

Create a value of StopStream with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:channelArn:StopStream', stopStream_channelArn - ARN of the channel for which the stream is to be stopped.

Request Lenses

stopStream_channelArn :: Lens' StopStream Text Source #

ARN of the channel for which the stream is to be stopped.

Destructuring the Response

data StopStreamResponse Source #

See: newStopStreamResponse smart constructor.

Constructors

StopStreamResponse' 

Fields

Instances

Instances details
Eq StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Read StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Show StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Generic StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Associated Types

type Rep StopStreamResponse :: Type -> Type #

NFData StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

Methods

rnf :: StopStreamResponse -> () #

type Rep StopStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.StopStream

type Rep StopStreamResponse = D1 ('MetaData "StopStreamResponse" "Amazonka.IVS.StopStream" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "StopStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopStreamResponse Source #

Create a value of StopStreamResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StopStreamResponse', stopStreamResponse_httpStatus - The response's http status code.

Response Lenses