Values.CreateDistributionResultSourceCreates 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.
type nonrec t = {distribution : LightsailDistribution.t option;An object that describes the distribution created.
*)operation : Operation.t option;An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InvalidInputException of InvalidInputException.t| `NotFoundException of NotFoundException.t| `OperationFailureException of OperationFailureException.t| `ServiceException of ServiceException.t| `UnauthenticatedException of UnauthenticatedException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InvalidInputException of InvalidInputException.t
| `NotFoundException of NotFoundException.t
| `OperationFailureException of OperationFailureException.t
| `ServiceException of ServiceException.t
| `UnauthenticatedException of UnauthenticatedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InvalidInputException of InvalidInputException.t
| `NotFoundException of NotFoundException.t
| `OperationFailureException of OperationFailureException.t
| `ServiceException of ServiceException.t
| `UnauthenticatedException of UnauthenticatedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of String_.t
| `Structure of
(string * [> `Enum of string | `String of String_.t ])
list ]
list
| `String of ResourceName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `Long of Long.t
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Enum of string | `String of String_.t ] list ])
list ])
list
| `Timestamp of IsoDate.t ])
list ])
list ]