amazonka-ivs-2.0: Amazon Interactive Video Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVS.GetStreamSession

Description

Gets metadata on a specified stream.

Synopsis

Creating a Request

data GetStreamSession Source #

See: newGetStreamSession smart constructor.

Constructors

GetStreamSession' 

Fields

  • streamId :: Maybe Text

    Unique identifier for a live or previously live stream in the specified channel. If no streamId is provided, this returns the most recent stream session for the channel, if it exists.

  • channelArn :: Text

    ARN of the channel resource

Instances

Instances details
ToJSON GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

ToHeaders GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

ToPath GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

ToQuery GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

AWSRequest GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Associated Types

type AWSResponse GetStreamSession #

Generic GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Associated Types

type Rep GetStreamSession :: Type -> Type #

Read GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Show GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

NFData GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Methods

rnf :: GetStreamSession -> () #

Eq GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Hashable GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

type AWSResponse GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

type Rep GetStreamSession Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

type Rep GetStreamSession = D1 ('MetaData "GetStreamSession" "Amazonka.IVS.GetStreamSession" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "GetStreamSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetStreamSession Source #

Create a value of GetStreamSession 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:

GetStreamSession, getStreamSession_streamId - Unique identifier for a live or previously live stream in the specified channel. If no streamId is provided, this returns the most recent stream session for the channel, if it exists.

GetStreamSession, getStreamSession_channelArn - ARN of the channel resource

Request Lenses

getStreamSession_streamId :: Lens' GetStreamSession (Maybe Text) Source #

Unique identifier for a live or previously live stream in the specified channel. If no streamId is provided, this returns the most recent stream session for the channel, if it exists.

Destructuring the Response

data GetStreamSessionResponse Source #

See: newGetStreamSessionResponse smart constructor.

Constructors

GetStreamSessionResponse' 

Fields

Instances

Instances details
Generic GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Associated Types

type Rep GetStreamSessionResponse :: Type -> Type #

Read GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Show GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

NFData GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

Eq GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

type Rep GetStreamSessionResponse Source # 
Instance details

Defined in Amazonka.IVS.GetStreamSession

type Rep GetStreamSessionResponse = D1 ('MetaData "GetStreamSessionResponse" "Amazonka.IVS.GetStreamSession" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "GetStreamSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamSession") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamSession)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetStreamSessionResponse Source #

Create a value of GetStreamSessionResponse 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:streamSession:GetStreamSessionResponse', getStreamSessionResponse_streamSession - List of stream details.

$sel:httpStatus:GetStreamSessionResponse', getStreamSessionResponse_httpStatus - The response's http status code.

Response Lenses