Module Smaws_Client_Lightsail.CreateDistribution

Creates an Amazon Lightsail content delivery network (CDN) distribution.

A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.

val request : Smaws_Lib.Context.t -> Types.create_distribution_request -> (Types.create_distribution_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `OperationFailureException of Types.operation_failure_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ]) Stdlib.result