Module Values.GetCertificateResponseSource

Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM RequestCertificate action, or a certificate imported into ACM using the ImportCertificate action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.

Sourcetype nonrec t = {
  1. certificate : CertificateBody.t option;
    (*

    The ACM-issued certificate corresponding to the ARN specified as input.

    *)
  2. certificateChain : CertificateChain.t option;
    (*

    Certificates forming the requested certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidArnException of InvalidArnException.t
  2. | `RequestInProgressException of RequestInProgressException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?certificate:??? -> ?certificateChain:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidArnException of InvalidArnException.t | `RequestInProgressException of RequestInProgressException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidArnException of InvalidArnException.t | `RequestInProgressException of RequestInProgressException.t | `ResourceNotFoundException of ResourceNotFoundException.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 CertificateBody.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