AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Create a new streaming distribution.

Namespace: Amazon.CloudFront
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract CreateStreamingDistributionResponse CreateStreamingDistribution(
         CreateStreamingDistributionRequest request
)

Parameters

request
Type: Amazon.CloudFront.Model.CreateStreamingDistributionRequest

Container for the necessary parameters to execute the CreateStreamingDistribution service method.

Return Value
Type: Amazon.CloudFront.Model.CreateStreamingDistributionResponse
The response from the CreateStreamingDistribution service method, as returned by CloudFront.

Exceptions

ExceptionCondition
AccessDeniedException Access denied.
CNAMEAlreadyExistsException
InconsistentQuantitiesException The value of Quantity and the size of Items do not match.
InvalidArgumentException The argument is invalid.
InvalidOriginAccessIdentityException The origin access identity is not valid or doesn't exist.
InvalidOriginException The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
MissingBodyException This operation requires a body. Ensure that the body is present and the Content-Type header is set.
StreamingDistributionAlreadyExistsException
TooManyStreamingDistributionCNAMEsException
TooManyStreamingDistributionsException Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
TooManyTrustedSignersException Your request contains more trusted signers than are allowed per distribution.
TrustedSignerDoesNotExistException One or more of your trusted signers do not exist.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5