Struct aws_sdk_ivs::client::fluent_builders::CreateStreamKey [−][src]
pub struct CreateStreamKey<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateStreamKey
.
Creates a stream key, used to initiate a stream, for the specified channel ARN.
Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey on the same channel, it will fail because a stream key already exists and there is a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey and then CreateStreamKey.
Implementations
impl<C, M, R> CreateStreamKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateStreamKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateStreamKeyOutput, SdkError<CreateStreamKeyError>> where
R::Policy: SmithyRetryPolicy<CreateStreamKeyInputOperationOutputAlias, CreateStreamKeyOutput, CreateStreamKeyError, CreateStreamKeyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateStreamKeyOutput, SdkError<CreateStreamKeyError>> where
R::Policy: SmithyRetryPolicy<CreateStreamKeyInputOperationOutputAlias, CreateStreamKeyOutput, CreateStreamKeyError, CreateStreamKeyInputOperationRetryAlias>,
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 to create the stream key.
ARN of the channel for which to create the stream key.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Array of 1-50 maps, each of the form string:string (key:value)
.
Array of 1-50 maps, each of the form string:string (key:value)
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateStreamKey<C, M, R>
impl<C, M, R> Send for CreateStreamKey<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateStreamKey<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateStreamKey<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateStreamKey<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