Struct aws_sdk_ivs::client::fluent_builders::CreateRecordingConfiguration [−][src]
pub struct CreateRecordingConfiguration<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateRecordingConfiguration
.
Creates a new recording configuration, used to enable recording to Amazon S3.
Known issue: In the us-east-1 region, if you use the
Amazon Web Services CLI to create a recording configuration, it returns success even if the
S3 bucket is in a different region. In this case, the state
of the recording
configuration is CREATE_FAILED
(instead of ACTIVE
). (In other
regions, the CLI correctly returns failure if the bucket is in a different region.)
Workaround: Ensure that your S3 bucket is in the same region as the recording configuration. If you create a recording configuration in a different region as your S3 bucket, delete that recording configuration and create a new one with an S3 bucket from the correct region.
Implementations
impl<C, M, R> CreateRecordingConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateRecordingConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateRecordingConfigurationOutput, SdkError<CreateRecordingConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateRecordingConfigurationInputOperationOutputAlias, CreateRecordingConfigurationOutput, CreateRecordingConfigurationError, CreateRecordingConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateRecordingConfigurationOutput, SdkError<CreateRecordingConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateRecordingConfigurationInputOperationOutputAlias, CreateRecordingConfigurationOutput, CreateRecordingConfigurationError, CreateRecordingConfigurationInputOperationRetryAlias>,
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.
Recording-configuration name. The value does not need to be unique.
Recording-configuration name. The value does not need to be unique.
A complex type that contains a destination configuration for where recorded video will be stored.
A complex type that contains a destination configuration for where recorded video will be stored.
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 CreateRecordingConfiguration<C, M, R>
impl<C, M, R> Send for CreateRecordingConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateRecordingConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateRecordingConfiguration<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateRecordingConfiguration<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