Module Values.UpdateDomainAssociationResultSource

We recommend that you use the UpdateDomainAssociation API operation to move a domain association, as it supports both standard distributions and distribution tenants. AssociateAlias performs similar checks but only supports standard distributions. Moves a domain from its current standard distribution or distribution tenant to another one. You must first disable the source distribution (standard distribution or distribution tenant) and then separately call this operation to move the domain to another target distribution (standard distribution or distribution tenant). To use this operation, specify the domain and the ID of the target resource (standard distribution or distribution tenant). For more information, including how to set up the target resource, prerequisites that you must complete, and other restrictions, see Moving an alternate domain name to a different standard distribution or distribution tenant in the Amazon CloudFront Developer Guide.

Sourcetype nonrec t = {
  1. domain : String_.t option;
    (*

    The domain that you're moving.

    *)
  2. resourceId : String_.t option;
    (*

    The intended destination for the domain.

    *)
  3. eTag : String_.t option;
    (*

    The current version of the target standard distribution or distribution tenant that was associated with the domain.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `EntityNotFound of EntityNotFound.t
  3. | `IllegalUpdate of IllegalUpdate.t
  4. | `InvalidArgument of InvalidArgument.t
  5. | `InvalidIfMatchVersion of InvalidIfMatchVersion.t
  6. | `PreconditionFailed of PreconditionFailed.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?domain:??? -> ?resourceId:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `EntityNotFound of EntityNotFound.t | `IllegalUpdate of IllegalUpdate.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `PreconditionFailed of PreconditionFailed.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `EntityNotFound of EntityNotFound.t | `IllegalUpdate of IllegalUpdate.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `PreconditionFailed of PreconditionFailed.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t