Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data PutMetadata = PutMetadata' {
- channelArn :: Text
- metadata :: Sensitive Text
- newPutMetadata :: Text -> Text -> PutMetadata
- putMetadata_channelArn :: Lens' PutMetadata Text
- putMetadata_metadata :: Lens' PutMetadata Text
- data PutMetadataResponse = PutMetadataResponse' {
- newPutMetadataResponse :: PutMetadataResponse
Creating a Request
data PutMetadata Source #
See: newPutMetadata
smart constructor.
PutMetadata' | |
|
Instances
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.
Instances
Eq PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata (==) :: PutMetadataResponse -> PutMetadataResponse -> Bool # (/=) :: PutMetadataResponse -> PutMetadataResponse -> Bool # | |
Read PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata | |
Show PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata showsPrec :: Int -> PutMetadataResponse -> ShowS # show :: PutMetadataResponse -> String # showList :: [PutMetadataResponse] -> ShowS # | |
Generic PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata type Rep PutMetadataResponse :: Type -> Type # from :: PutMetadataResponse -> Rep PutMetadataResponse x # to :: Rep PutMetadataResponse x -> PutMetadataResponse # | |
NFData PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata rnf :: PutMetadataResponse -> () # | |
type Rep PutMetadataResponse Source # | |
newPutMetadataResponse :: PutMetadataResponse Source #
Create a value of PutMetadataResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.