pub struct CreateStreamingDistribution { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStreamingDistribution
.
This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
Implementations§
source§impl CreateStreamingDistribution
impl CreateStreamingDistribution
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateStreamingDistribution, AwsResponseRetryClassifier>, SdkError<CreateStreamingDistributionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateStreamingDistribution, AwsResponseRetryClassifier>, SdkError<CreateStreamingDistributionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateStreamingDistributionOutput, SdkError<CreateStreamingDistributionError>>
pub async fn send(
self
) -> Result<CreateStreamingDistributionOutput, SdkError<CreateStreamingDistributionError>>
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.
sourcepub fn streaming_distribution_config(
self,
input: StreamingDistributionConfig
) -> Self
pub fn streaming_distribution_config(
self,
input: StreamingDistributionConfig
) -> Self
The streaming distribution's configuration information.
sourcepub fn set_streaming_distribution_config(
self,
input: Option<StreamingDistributionConfig>
) -> Self
pub fn set_streaming_distribution_config(
self,
input: Option<StreamingDistributionConfig>
) -> Self
The streaming distribution's configuration information.
Trait Implementations§
source§impl Clone for CreateStreamingDistribution
impl Clone for CreateStreamingDistribution
source§fn clone(&self) -> CreateStreamingDistribution
fn clone(&self) -> CreateStreamingDistribution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more