Struct aws_sdk_ivs::client::fluent_builders::PutMetadata [−][src]
pub struct PutMetadata<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutMetadata
.
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.
Implementations
impl<C, M, R> PutMetadata<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutMetadata<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<PutMetadataOutput, SdkError<PutMetadataError>> where
R::Policy: SmithyRetryPolicy<PutMetadataInputOperationOutputAlias, PutMetadataOutput, PutMetadataError, PutMetadataInputOperationRetryAlias>,
pub async fn send(self) -> Result<PutMetadataOutput, SdkError<PutMetadataError>> where
R::Policy: SmithyRetryPolicy<PutMetadataInputOperationOutputAlias, PutMetadataOutput, PutMetadataError, PutMetadataInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
ARN of the channel into which metadata is inserted. This channel must have an active stream.
ARN of the channel into which metadata is inserted. This channel must have an active stream.
Metadata to insert into the stream. Maximum: 1 KB per request.
Metadata to insert into the stream. Maximum: 1 KB per request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutMetadata<C, M, R>
impl<C, M, R> Unpin for PutMetadata<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutMetadata<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more