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

Description

Gets information about the active (live) stream on a specified channel.

Synopsis

Creating a Request

data GetStream Source #

See: newGetStream smart constructor.

Constructors

GetStream' 

Fields

Instances

Instances details
Eq GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Read GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Show GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Generic GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Associated Types

type Rep GetStream :: Type -> Type #

NFData GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Methods

rnf :: GetStream -> () #

Hashable GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

ToJSON GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

AWSRequest GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Associated Types

type AWSResponse GetStream #

ToHeaders GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Methods

toHeaders :: GetStream -> [Header] #

ToPath GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

ToQuery GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

type Rep GetStream Source # 
Instance details

Defined in Amazonka.IVS.GetStream

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

Defined in Amazonka.IVS.GetStream

newGetStream Source #

Create a value of GetStream 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:GetStream', getStream_channelArn - Channel ARN for stream to be accessed.

Request Lenses

getStream_channelArn :: Lens' GetStream Text Source #

Channel ARN for stream to be accessed.

Destructuring the Response

data GetStreamResponse Source #

See: newGetStreamResponse smart constructor.

Constructors

GetStreamResponse' 

Fields

Instances

Instances details
Eq GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Read GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Show GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Generic GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Associated Types

type Rep GetStreamResponse :: Type -> Type #

NFData GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

Methods

rnf :: GetStreamResponse -> () #

type Rep GetStreamResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStream

type Rep GetStreamResponse = D1 ('MetaData "GetStreamResponse" "Amazonka.IVS.GetStream" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "GetStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Stream)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetStreamResponse Source #

Create a value of GetStreamResponse 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:stream:GetStreamResponse', getStreamResponse_stream -

$sel:httpStatus:GetStreamResponse', getStreamResponse_httpStatus - The response's http status code.

Response Lenses

getStreamResponse_httpStatus :: Lens' GetStreamResponse Int Source #

The response's http status code.