Create a new streaming distribution.
Declaration Syntax
C# |
CreateStreamingDistributionResponse CreateStreamingDistribution( CreateStreamingDistributionRequest request )
Parameters
- request (CreateStreamingDistributionRequest)
- Container for the necessary parameters to execute the CreateStreamingDistribution service method.
Return Value
The response from the CreateStreamingDistribution service method, as returned by CloudFront.
Exceptions
Exception | Condition |
---|---|
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.
|