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

Description

Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed. Also see Embedding Metadata within a Video Stream in the Amazon IVS User Guide.

Synopsis

Creating a Request

data PutMetadata Source #

See: newPutMetadata smart constructor.

Constructors

PutMetadata' 

Fields

  • channelArn :: Text

    ARN of the channel into which metadata is inserted. This channel must have an active stream.

  • metadata :: Sensitive Text

    Metadata to insert into the stream. Maximum: 1 KB per request.

Instances

Instances details
ToJSON PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

ToHeaders PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Methods

toHeaders :: PutMetadata -> [Header] #

ToPath PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

ToQuery PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

AWSRequest PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Associated Types

type AWSResponse PutMetadata #

Generic PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Associated Types

type Rep PutMetadata :: Type -> Type #

Show PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

NFData PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Methods

rnf :: PutMetadata -> () #

Eq PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Hashable PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

type AWSResponse PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

type Rep PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

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

newPutMetadata Source #

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

PutMetadata, putMetadata_channelArn - ARN of the channel into which metadata is inserted. This channel must have an active stream.

$sel:metadata:PutMetadata', putMetadata_metadata - Metadata to insert into the stream. Maximum: 1 KB per request.

Request Lenses

putMetadata_channelArn :: Lens' PutMetadata Text Source #

ARN of the channel into which metadata is inserted. This channel must have an active stream.

putMetadata_metadata :: Lens' PutMetadata Text Source #

Metadata to insert into the stream. Maximum: 1 KB per request.

Destructuring the Response

data PutMetadataResponse Source #

See: newPutMetadataResponse smart constructor.

Constructors

PutMetadataResponse' 

newPutMetadataResponse :: PutMetadataResponse Source #

Create a value of PutMetadataResponse with all optional fields omitted.

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