create_streaming_distribution
¶
create_streaming_distribution(
streaming_distribution_config: StreamingDistributionConfig,
*,
config_overrides: Optional[CloudFrontClientConfig] = None,
) -> CreateStreamingDistributionResult
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.
Parameters:
-
streaming_distribution_config(StreamingDistributionConfig) –The streaming distribution's configuration information.
Raises:
-
AccessDenied–Access denied.
-
CNAMEAlreadyExists–The CNAME specified is already defined for CloudFront.
-
InconsistentQuantities–The value of
Quantityand the size ofItemsdon't match. -
InvalidArgument–An argument is invalid.
-
InvalidOrigin–The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
-
InvalidOriginAccessControl–The origin access control is not valid.
-
InvalidOriginAccessIdentity–The origin access identity is not valid or doesn't exist.
-
MissingBody–This operation requires a body. Ensure that the body is present and the
Content-Typeheader is set. -
StreamingDistributionAlreadyExists–The caller reference you attempted to create the streaming distribution with is associated with another distribution
-
TooManyStreamingDistributionCNAMEs–Your request contains more CNAMEs than are allowed per distribution.
-
TooManyStreamingDistributions–Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
-
TooManyTrustedSigners–Your request contains more trusted signers than are allowed per distribution.
-
TrustedSignerDoesNotExist–One or more of your trusted signers don't exist.
-
UnknownServiceError–The service returned an error code this client does not model.