Struct aws_sdk_ivs::client::fluent_builders::StopStream [−][src]
pub struct StopStream<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StopStream
.
Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.
Many streaming client-software libraries automatically reconnect a dropped RTMPS
session, so to stop the stream permanently, you may want to first revoke the
streamKey
attached to the channel.
Implementations
impl<C, M, R> StopStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StopStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<StopStreamOutput, SdkError<StopStreamError>> where
R::Policy: SmithyRetryPolicy<StopStreamInputOperationOutputAlias, StopStreamOutput, StopStreamError, StopStreamInputOperationRetryAlias>,
pub async fn send(self) -> Result<StopStreamOutput, SdkError<StopStreamError>> where
R::Policy: SmithyRetryPolicy<StopStreamInputOperationOutputAlias, StopStreamOutput, StopStreamError, StopStreamInputOperationRetryAlias>,
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 for which the stream is to be stopped.
ARN of the channel for which the stream is to be stopped.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StopStream<C, M, R>
impl<C, M, R> Unpin for StopStream<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StopStream<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