Module Values.CreatePublicKeyResultSource

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.

Sourcetype nonrec t = {
  1. publicKey : PublicKey.t option;
    (*

    The public key.

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

    The URL of the public key.

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

    The identifier for this version of the public key.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidArgument of InvalidArgument.t
  2. | `PublicKeyAlreadyExists of PublicKeyAlreadyExists.t
  3. | `TooManyPublicKeys of TooManyPublicKeys.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?publicKey:??? -> ?location:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidArgument of InvalidArgument.t | `PublicKeyAlreadyExists of PublicKeyAlreadyExists.t | `TooManyPublicKeys of TooManyPublicKeys.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidArgument of InvalidArgument.t | `PublicKeyAlreadyExists of PublicKeyAlreadyExists.t | `TooManyPublicKeys of TooManyPublicKeys.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * PublicKey.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list | `Timestamp of Timestamp.t ]) list ]) 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