Module Values_0.CertificateDescriptionSource

Describes a certificate.

Sourcetype nonrec t = {
  1. certificateArn : CertificateArn.t option;
    (*

    The ARN of the certificate.

    *)
  2. certificateId : CertificateId.t option;
    (*

    The ID of the certificate.

    *)
  3. caCertificateId : CertificateId.t option;
    (*

    The certificate ID of the CA certificate used to sign this certificate.

    *)
  4. status : CertificateStatus.t option;
    (*

    The status of the certificate.

    *)
  5. certificatePem : CertificatePem.t option;
    (*

    The certificate data, in PEM format.

    *)
  6. ownedBy : AwsAccountId.t option;
    (*

    The ID of the Amazon Web Services account that owns the certificate.

    *)
  7. previousOwnedBy : AwsAccountId.t option;
    (*

    The ID of the Amazon Web Services account of the previous owner of the certificate.

    *)
  8. creationDate : DateType.t option;
    (*

    The date and time the certificate was created.

    *)
  9. lastModifiedDate : DateType.t option;
    (*

    The date and time the certificate was last modified.

    *)
  10. customerVersion : CustomerVersion.t option;
    (*

    The customer version of the certificate.

    *)
  11. transferData : TransferData.t option;
    (*

    The transfer data.

    *)
  12. generationId : GenerationId.t option;
    (*

    The generation ID of the certificate.

    *)
  13. validity : CertificateValidity.t option;
    (*

    When the certificate is valid.

    *)
  14. certificateMode : CertificateMode.t option;
    (*

    The mode of the certificate. DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with certificates in DEFAULT mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core. SNI_ONLY: A certificate in SNI_ONLY mode is registered without an issuer CA. Devices with certificates in SNI_ONLY mode must send the SNI extension when connecting to Amazon Web Services IoT Core. For more information about the value for SNI extension, see Transport security in IoT.

    *)
}
Sourceval make : ?certificateArn:??? -> ?certificateId:??? -> ?caCertificateId:??? -> ?status:??? -> ?certificatePem:??? -> ?ownedBy:??? -> ?previousOwnedBy:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?customerVersion:??? -> ?transferData:??? -> ?generationId:??? -> ?validity:??? -> ?certificateMode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of CustomerVersion.t | `String of CertificateArn.t | `Structure of (string * [> `String of Message.t | `Timestamp of DateType.t ]) list | `Timestamp of DateType.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