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

Defined in Amazonka.IVS.PutMetadata

Show PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Generic PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Associated Types

type Rep PutMetadata :: Type -> Type #

NFData PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Methods

rnf :: PutMetadata -> () #

Hashable PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

ToJSON PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

AWSRequest PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

Associated Types

type AWSResponse 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

type Rep PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

type Rep PutMetadata = D1 ('MetaData "PutMetadata" "Amazonka.IVS.PutMetadata" "libZSservicesZSamazonka-ivsZSamazonka-ivs" '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))))
type AWSResponse PutMetadata Source # 
Instance details

Defined in Amazonka.IVS.PutMetadata

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:

$sel:channelArn: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.