Module Smaws_Client_ACM.Types

type nonrec validation_method =
  1. | HTTP
  2. | DNS
  3. | EMAIL
type nonrec validation_exception_message = string
type nonrec validation_exception = {
  1. message : validation_exception_message option;
}

The supplied input failed to satisfy constraints of an Amazon Web Services service.

type nonrec string_ = string
type nonrec validation_email_list = string_ list
type nonrec arn = string
type nonrec certificate_transparency_logging_preference =
  1. | DISABLED
  2. | ENABLED
type nonrec certificate_export =
  1. | DISABLED
  2. | ENABLED
type nonrec certificate_options = {
  1. export_ : certificate_export option;
    (*

    You can opt in to allow the export of your certificates by specifying ENABLED.

    *)
  2. certificate_transparency_logging_preference : certificate_transparency_logging_preference option;
    (*

    You can opt out of certificate transparency logging by specifying the DISABLED option. Opt in by specifying ENABLED.

    *)
}

Structure that contains options for your certificate. You can use this structure to specify whether to opt in to or out of certificate transparency logging and export your certificate.

Some browsers require that public certificates issued for your domain be recorded in a log. Certificates that are not logged typically generate a browser error. Transparency makes it possible for you to detect SSL/TLS certificates that have been mistakenly or maliciously issued for your domain. For general information, see Certificate Transparency Logging.

You can export public ACM certificates to use with Amazon Web Services services as well as outside Amazon Web Services Cloud. For more information, see Certificate Manager exportable public certificate.

type nonrec update_certificate_options_request = {
  1. options : certificate_options;
    (*

    Use to update the options for your certificate. Currently, you can specify whether to add your certificate to a transparency log or export your certificate. Certificate transparency makes it possible to detect SSL/TLS certificates that have been mistakenly or maliciously issued. Certificates that have not been logged typically produce an error message in a browser.

    *)
  2. certificate_arn : arn;
    (*

    ARN of the requested certificate to update. This must be of the form:

    arn:aws:acm:us-east-1:{i account}:certificate/{i 12345678-1234-1234-1234-123456789012} 
    *)
}
type nonrec resource_not_found_exception = {
  1. message : string_ option;
}

The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

type nonrec limit_exceeded_exception = {
  1. message : string_ option;
}

An ACM quota has been exceeded.

type nonrec invalid_state_exception = {
  1. message : string_ option;
}

Processing has reached an invalid state.

type nonrec invalid_arn_exception = {
  1. message : string_ option;
}

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

type nonrec too_many_tags_exception = {
  1. message : string_ option;
}

The request contains too many tags. Try the request again with fewer tags.

type nonrec availability_error_message = string
type nonrec throttling_exception = {
  1. message : availability_error_message option;
}

The request was denied because it exceeded a quota.

type nonrec tag_value = string
type nonrec tag_policy_exception = {
  1. message : string_ option;
}

A specified tag did not comply with an existing tag policy and was rejected.

type nonrec tag_key = string
type nonrec tag = {
  1. value : tag_value option;
    (*

    The value of the tag.

    *)
  2. key : tag_key;
    (*

    The key of the tag.

    *)
}

A key-value pair that identifies or specifies metadata about an ACM resource.

type nonrec tag_list = tag list
type nonrec t_stamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec sort_order =
  1. | DESCENDING
  2. | ASCENDING
type nonrec sort_by =
  1. | CREATED_AT
type nonrec service_error_message = string
type nonrec revoke_certificate_response = {
  1. certificate_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the public or private certificate that was revoked.

    *)
}
type nonrec revocation_reason =
  1. | A_A_COMPROMISE
  2. | PRIVILEGE_WITHDRAWN
  3. | REMOVE_FROM_CRL
  4. | CERTIFICATE_HOLD
  5. | CESSATION_OF_OPERATION
  6. | SUPERSEDED
  7. | SUPERCEDED
  8. | AFFILIATION_CHANGED
  9. | CA_COMPROMISE
  10. | KEY_COMPROMISE
  11. | UNSPECIFIED
type nonrec revoke_certificate_request = {
  1. revocation_reason : revocation_reason;
    (*

    Specifies why you revoked the certificate.

    *)
  2. certificate_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the public or private certificate that will be revoked. The ARN must have the following form:

    arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012

    *)
}
type nonrec resource_in_use_exception = {
  1. message : string_ option;
}

The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.

type nonrec conflict_exception = {
  1. message : string_ option;
}

You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

type nonrec access_denied_exception = {
  1. message : service_error_message option;
}

You do not have access required to perform this action.

type nonrec record_type =
  1. | CNAME
type nonrec resource_record = {
  1. value : string_;
    (*

    The value of the CNAME record to add to your DNS database. This is supplied by ACM.

    *)
  2. type_ : record_type;
    (*

    The type of DNS record. Currently this can be CNAME.

    *)
  3. name : string_;
    (*

    The name of the DNS record to create in your domain. This is supplied by ACM.

    *)
}

Contains a DNS record value that you can use to validate ownership or control of a domain. This is used by the DescribeCertificate action.

type nonrec domain_name_string = string
type nonrec resend_validation_email_request = {
  1. validation_domain : domain_name_string;
    (*

    The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:

    • admin@subdomain.example.com
    • administrator@subdomain.example.com
    • hostmaster@subdomain.example.com
    • postmaster@subdomain.example.com
    • webmaster@subdomain.example.com
    *)
  2. domain : domain_name_string;
    (*

    The fully qualified domain name (FQDN) of the certificate that needs to be validated.

    *)
  3. certificate_arn : arn;
    (*

    String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the RequestCertificate action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form:

    arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

    *)
}
type nonrec invalid_domain_validation_options_exception = {
  1. message : string_ option;
}

One or more values in the DomainValidationOption structure is incorrect.

type nonrec request_in_progress_exception = {
  1. message : string_ option;
}

The certificate request is in process and the certificate in your account has not yet been issued.

type nonrec request_certificate_response = {
  1. certificate_arn : arn option;
    (*

    String that contains the ARN of the issued certificate. This must be of the form:

    arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

    *)
}
type nonrec domain_list = domain_name_string list
type nonrec idempotency_token = string
type nonrec domain_validation_option = {
  1. validation_domain : domain_name_string;
    (*

    The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you request a certificate for testing.example.com, you can specify example.com for this value. In that case, ACM sends domain validation emails to the following five addresses:

    • admin@example.com
    • administrator@example.com
    • hostmaster@example.com
    • postmaster@example.com
    • webmaster@example.com
    *)
  2. domain_name : domain_name_string;
    (*

    A fully qualified domain name (FQDN) in the certificate request.

    *)
}

Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.

type nonrec domain_validation_option_list = domain_validation_option list
type nonrec pca_arn = string
type nonrec key_algorithm =
  1. | EC_secp521r1
  2. | EC_secp384r1
  3. | EC_prime256v1
  4. | RSA_4096
  5. | RSA_3072
  6. | RSA_2048
  7. | RSA_1024
type nonrec certificate_managed_by =
  1. | CLOUDFRONT
type nonrec request_certificate_request = {
  1. managed_by : certificate_managed_by option;
    (*

    Identifies the Amazon Web Services service that manages the certificate issued by ACM.

    *)
  2. key_algorithm : key_algorithm option;
    (*

    Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see Key algorithms.

    Algorithms supported for an ACM certificate request include:

    • RSA_2048
    • EC_prime256v1
    • EC_secp384r1

    Other listed algorithms are for imported certificates only.

    When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.

    Default: RSA_2048

    *)
  3. tags : tag_list option;
    (*

    One or more resource tags to associate with the certificate.

    *)
  4. certificate_authority_arn : pca_arn option;
    (*

    The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the Amazon Web Services Private Certificate Authority user guide. The ARN must have the following form:

    arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

    *)
  5. options : certificate_options option;
    (*

    You can use this parameter to specify whether to add the certificate to a certificate transparency log and export your certificate.

    Certificate transparency makes it possible to detect SSL/TLS certificates that have been mistakenly or maliciously issued. Certificates that have not been logged typically produce an error message in a browser. For more information, see Opting Out of Certificate Transparency Logging.

    You can export public ACM certificates to use with Amazon Web Services services as well as outside the Amazon Web Services Cloud. For more information, see Certificate Manager exportable public certificate.

    *)
  6. domain_validation_options : domain_validation_option_list option;
    (*

    The domain name that you want ACM to use to send you emails so that you can validate domain ownership.

    *)
  7. idempotency_token : idempotency_token option;
    (*

    Customer chosen string that can be used to distinguish between calls to RequestCertificate. Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.

    *)
  8. subject_alternative_names : domain_list option;
    (*

    Additional FQDNs to be included in the Subject Alternative Name extension of the ACM certificate. For example, add the name www.example.net to a certificate for which the DomainName field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM certificate is 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must request a quota increase. For more information, see Quotas.

    The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples:

    • (63 octets).(63 octets).(63 octets).(61 octets) is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets.
    • (64 octets).(63 octets).(63 octets).(61 octets) is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets.
    • (63 octets).(63 octets).(63 octets).(62 octets) is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.
    *)
  9. validation_method : validation_method option;
    (*

    The method you want to use if you are requesting a public certificate to validate that you own or control domain. You can validate with DNS or validate with email. We recommend that you use DNS validation.

    *)
  10. domain_name : domain_name_string;
    (*

    Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.

    In compliance with RFC 5280, the length of the domain name (technically, the Common Name) that you provide cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative Name field, which supports names up to 253 octets in length.

    *)
}
type nonrec invalid_tag_exception = {
  1. message : string_ option;
}

One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

type nonrec invalid_parameter_exception = {
  1. message : string_ option;
}

An input parameter was invalid.

type nonrec renewal_status =
  1. | FAILED
  2. | SUCCESS
  3. | PENDING_VALIDATION
  4. | PENDING_AUTO_RENEWAL
type nonrec domain_status =
  1. | FAILED
  2. | SUCCESS
  3. | PENDING_VALIDATION
type nonrec http_redirect = {
  1. redirect_to : string_ option;
    (*

    The URL hosting the validation token. RedirectFrom must return this content or redirect here.

    *)
  2. redirect_from : string_ option;
    (*

    The URL including the domain to be validated. The certificate authority sends GET requests here during validation.

    *)
}

Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is AMAZON_ISSUED and the validation method is HTTP.

type nonrec domain_validation = {
  1. validation_method : validation_method option;
    (*

    Specifies the domain validation method.

    *)
  2. http_redirect : http_redirect option;
    (*

    Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is AMAZON_ISSUED and the validation method is HTTP.

    *)
  3. resource_record : resource_record option;
    (*

    Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.

    The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is _a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com, only _a79865eb4cd1a6ab990a45779b4e0b96 must be used.

    *)
  4. validation_status : domain_status option;
    (*

    The validation status of the domain name. This can be one of the following values:

    • PENDING_VALIDATION
    • SUCCESS

    *)
  5. validation_domain : domain_name_string option;
    (*

    The domain name that ACM used to send domain validation emails.

    *)
  6. validation_emails : validation_email_list option;
    (*

    A list of email addresses that ACM used to send domain validation emails.

    *)
  7. domain_name : domain_name_string;
    (*

    A fully qualified domain name (FQDN) in the certificate. For example, www.example.com or example.com.

    *)
}

Contains information about the validation of each domain name in the certificate.

type nonrec domain_validation_list = domain_validation list
type nonrec failure_reason =
  1. | OTHER
  2. | SLR_NOT_FOUND
  3. | PCA_ACCESS_DENIED
  4. | PCA_INVALID_DURATION
  5. | PCA_INVALID_ARGS
  6. | PCA_RESOURCE_NOT_FOUND
  7. | PCA_NAME_CONSTRAINTS_VALIDATION
  8. | PCA_REQUEST_FAILED
  9. | PCA_INVALID_STATE
  10. | PCA_INVALID_ARN
  11. | PCA_LIMIT_EXCEEDED
  12. | CAA_ERROR
  13. | DOMAIN_VALIDATION_DENIED
  14. | INVALID_PUBLIC_DOMAIN
  15. | DOMAIN_NOT_ALLOWED
  16. | ADDITIONAL_VERIFICATION_REQUIRED
  17. | NO_AVAILABLE_CONTACTS
type nonrec renewal_summary = {
  1. updated_at : t_stamp;
    (*

    The time at which the renewal summary was last updated.

    *)
  2. renewal_status_reason : failure_reason option;
    (*

    The reason that a renewal request was unsuccessful.

    *)
  3. domain_validation_options : domain_validation_list;
    (*

    Contains information about the validation of each domain name in the certificate, as it pertains to ACM's managed renewal. This is different from the initial validation that occurs as a result of the RequestCertificate request. This field exists only when the certificate type is AMAZON_ISSUED.

    *)
  4. renewal_status : renewal_status;
    (*

    The status of ACM's managed renewal of the certificate.

    *)
}

Contains information about the status of ACM's managed renewal for the certificate. This structure exists only when the certificate type is AMAZON_ISSUED.

type nonrec renewal_eligibility =
  1. | INELIGIBLE
  2. | ELIGIBLE
type nonrec renew_certificate_request = {
  1. certificate_arn : arn;
    (*

    String that contains the ARN of the ACM certificate to be renewed. This must be of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec remove_tags_from_certificate_request = {
  1. tags : tag_list;
    (*

    The key-value pair that defines the tag to remove.

    *)
  2. certificate_arn : arn;
    (*

    String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec positive_integer = int
type nonrec expiry_events_configuration = {
  1. days_before_expiry : positive_integer option;
    (*

    Specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

    *)
}

Object containing expiration events options associated with an Amazon Web Services account.

type nonrec put_account_configuration_request = {
  1. idempotency_token : idempotency_token;
    (*

    Customer-chosen string used to distinguish between calls to PutAccountConfiguration. Idempotency tokens time out after one hour. If you call PutAccountConfiguration multiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.

    *)
  2. expiry_events : expiry_events_configuration option;
    (*

    Specifies expiration events associated with an account.

    *)
}
type nonrec private_key_blob = bytes
type nonrec private_key = string
type nonrec passphrase_blob = bytes
type nonrec nullable_boolean = bool
type nonrec next_token = string
type nonrec max_items = int
type nonrec list_tags_for_certificate_response = {
  1. tags : tag_list option;
    (*

    The key-value pairs that define the applied tags.

    *)
}
type nonrec list_tags_for_certificate_request = {
  1. certificate_arn : arn;
    (*

    String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec certificate_status =
  1. | FAILED
  2. | REVOKED
  3. | VALIDATION_TIMED_OUT
  4. | EXPIRED
  5. | INACTIVE
  6. | ISSUED
  7. | PENDING_VALIDATION
type nonrec certificate_type =
  1. | PRIVATE
  2. | AMAZON_ISSUED
  3. | IMPORTED
type nonrec key_usage_name =
  1. | CUSTOM
  2. | ANY
  3. | DECIPHER_ONLY
  4. | ENCHIPER_ONLY
  5. | CRL_SIGNING
  6. | CERTIFICATE_SIGNING
  7. | KEY_AGREEMENT
  8. | DATA_ENCIPHERMENT
  9. | KEY_ENCIPHERMENT
  10. | NON_REPUDATION
  11. | DIGITAL_SIGNATURE
type nonrec key_usage_names = key_usage_name list
type nonrec extended_key_usage_name =
  1. | CUSTOM
  2. | NONE
  3. | ANY
  4. | IPSEC_USER
  5. | IPSEC_TUNNEL
  6. | IPSEC_END_SYSTEM
  7. | OCSP_SIGNING
  8. | TIME_STAMPING
  9. | EMAIL_PROTECTION
  10. | CODE_SIGNING
  11. | TLS_WEB_CLIENT_AUTHENTICATION
  12. | TLS_WEB_SERVER_AUTHENTICATION
type nonrec extended_key_usage_names = extended_key_usage_name list
type nonrec certificate_summary = {
  1. managed_by : certificate_managed_by option;
    (*

    Identifies the Amazon Web Services service that manages the certificate issued by ACM.

    *)
  2. revoked_at : t_stamp option;
    (*

    The time at which the certificate was revoked. This value exists only when the certificate status is REVOKED.

    *)
  3. imported_at : t_stamp option;
    (*

    The date and time when the certificate was imported. This value exists only when the certificate type is IMPORTED.

    *)
  4. issued_at : t_stamp option;
    (*

    The time at which the certificate was issued. This value exists only when the certificate type is AMAZON_ISSUED.

    *)
  5. created_at : t_stamp option;
    (*

    The time at which the certificate was requested.

    *)
  6. not_after : t_stamp option;
    (*

    The time after which the certificate is not valid.

    *)
  7. not_before : t_stamp option;
    (*

    The time before which the certificate is not valid.

    *)
  8. renewal_eligibility : renewal_eligibility option;
    (*

    Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.

    *)
  9. exported : nullable_boolean option;
    (*

    Indicates whether the certificate has been exported. This value exists only when the certificate type is PRIVATE.

    *)
  10. in_use : nullable_boolean option;
    (*

    Indicates whether the certificate is currently in use by any Amazon Web Services resources.

    *)
  11. export_option : certificate_export option;
    (*

    Indicates if export is enabled for the certificate.

    *)
  12. extended_key_usages : extended_key_usage_names option;
    (*

    Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).

    *)
  13. key_usages : key_usage_names option;
    (*

    A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.

    *)
  14. key_algorithm : key_algorithm option;
    (*

    The algorithm that was used to generate the public-private key pair.

    *)
  15. type_ : certificate_type option;
    (*

    The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide managed renewal for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see Importing Certificates in the Certificate Manager User Guide.

    *)
  16. status : certificate_status option;
    (*

    The status of the certificate.

    A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.

    *)
  17. has_additional_subject_alternative_names : nullable_boolean option;
    (*

    When called by ListCertificates, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.

    *)
  18. subject_alternative_name_summaries : domain_list option;
    (*

    One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

    When called by ListCertificates, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.

    *)
  19. domain_name : domain_name_string option;
    (*

    Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.

    *)
  20. certificate_arn : arn option;
    (*

    Amazon Resource Name (ARN) of the certificate. This is of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}

This structure is returned in the response object of ListCertificates action.

type nonrec certificate_summary_list = certificate_summary list
type nonrec list_certificates_response = {
  1. certificate_summary_list : certificate_summary_list option;
    (*

    A list of ACM certificates.

    *)
  2. next_token : next_token option;
    (*

    When the list is truncated, this value is present and contains the value to use for the NextToken parameter in a subsequent pagination request.

    *)
}
type nonrec certificate_statuses = certificate_status list
type nonrec extended_key_usage_filter_list = extended_key_usage_name list
type nonrec key_usage_filter_list = key_usage_name list
type nonrec key_algorithm_list = key_algorithm list
type nonrec filters = {
  1. managed_by : certificate_managed_by option;
    (*

    Identifies the Amazon Web Services service that manages the certificate issued by ACM.

    *)
  2. export_option : certificate_export option;
    (*

    Specify ENABLED or DISABLED to identify certificates that can be exported.

    *)
  3. key_types : key_algorithm_list option;
    (*

    Specify one or more algorithms that can be used to generate key pairs.

    Default filtering returns only RSA_1024 and RSA_2048 certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example, "keyTypes": ["RSA_2048","RSA_4096"] returns both RSA_2048 and RSA_4096 certificates.

    *)
  4. key_usage : key_usage_filter_list option;
    (*

    Specify one or more KeyUsage extension values.

    *)
  5. extended_key_usage : extended_key_usage_filter_list option;
    (*

    Specify one or more ExtendedKeyUsage extension values.

    *)
}

This structure can be used in the ListCertificates action to filter the output of the certificate list.

type nonrec list_certificates_request = {
  1. sort_order : sort_order option;
    (*

    Specifies the order of sorted results. If you specify SortOrder, you must also specify SortBy.

    *)
  2. sort_by : sort_by option;
    (*

    Specifies the field to sort results by. If you specify SortBy, you must also specify SortOrder.

    *)
  3. max_items : max_items option;
    (*

    Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

    *)
  4. next_token : next_token option;
    (*

    Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

    *)
  5. includes : filters option;
    (*

    Filter the certificate list. For more information, see the Filters structure.

    *)
  6. certificate_statuses : certificate_statuses option;
    (*

    Filter the certificate list by status value.

    *)
}
type nonrec invalid_args_exception = {
  1. message : string_ option;
}

One or more of request parameters specified is not valid.

type nonrec key_usage = {
  1. name : key_usage_name option;
    (*

    A string value that contains a Key Usage extension name.

    *)
}

The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.

type nonrec key_usage_list = key_usage list
type nonrec in_use_list = string_ list
type nonrec import_certificate_response = {
  1. certificate_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the imported certificate.

    *)
}
type nonrec certificate_body_blob = bytes
type nonrec certificate_chain_blob = bytes
type nonrec import_certificate_request = {
  1. tags : tag_list option;
    (*

    One or more resource tags to associate with the imported certificate.

    Note: You cannot apply tags when reimporting a certificate.

    *)
  2. certificate_chain : certificate_chain_blob option;
    (*

    The PEM encoded certificate chain.

    *)
  3. private_key : private_key_blob;
    (*

    The private key that matches the public key in the certificate.

    *)
  4. certificate : certificate_body_blob;
    (*

    The certificate to import.

    *)
  5. certificate_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.

    *)
}
type nonrec certificate_body = string
type nonrec certificate_chain = string
type nonrec get_certificate_response = {
  1. certificate_chain : certificate_chain 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.

    *)
  2. certificate : certificate_body option;
    (*

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

    *)
}
type nonrec get_certificate_request = {
  1. certificate_arn : arn;
    (*

    String that contains a certificate ARN in the following format:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec get_account_configuration_response = {
  1. expiry_events : expiry_events_configuration option;
    (*

    Expiration events configuration options associated with the Amazon Web Services account.

    *)
}
type nonrec extended_key_usage = {
  1. oi_d : string_ option;
    (*

    An object identifier (OID) for the extension value. OIDs are strings of numbers separated by periods. The following OIDs are defined in RFC 3280 and RFC 5280.

    • 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
    • 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
    • 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
    • 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
    • 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
    • 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
    • 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
    • 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
    • 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
    *)
  2. name : extended_key_usage_name option;
    (*

    The name of an Extended Key Usage value.

    *)
}

The Extended Key Usage X.509 v3 extension defines one or more purposes for which the public key can be used. This is in addition to or in place of the basic purposes specified by the Key Usage extension.

type nonrec extended_key_usage_list = extended_key_usage list
type nonrec export_certificate_response = {
  1. private_key : private_key option;
    (*

    The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.

    *)
  2. certificate_chain : certificate_chain option;
    (*

    The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.

    *)
  3. certificate : certificate_body option;
    (*

    The base64 PEM-encoded certificate.

    *)
}
type nonrec export_certificate_request = {
  1. passphrase : passphrase_blob;
    (*

    Passphrase to associate with the encrypted exported private key.

    When creating your passphrase, you can use any ASCII character except #, $, or %.

    If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.

    openssl rsa -in encrypted_key.pem -out decrypted_key.pem

    *)
  2. certificate_arn : arn;
    (*

    An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:

    arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012

    *)
}
type nonrec certificate_detail = {
  1. options : certificate_options option;
    (*

    Value that specifies whether to add the certificate to a transparency log. Certificate transparency makes it possible to detect SSL certificates that have been mistakenly or maliciously issued. A browser might respond to certificate that has not been logged by showing an error message. The logs are cryptographically secure.

    *)
  2. renewal_eligibility : renewal_eligibility option;
    (*

    Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.

    *)
  3. certificate_authority_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the private certificate authority (CA) that issued the certificate. This has the following format:

    arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

    *)
  4. extended_key_usages : extended_key_usage_list option;
    (*

    Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).

    *)
  5. key_usages : key_usage_list option;
    (*

    A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.

    *)
  6. renewal_summary : renewal_summary option;
    (*

    Contains information about the status of ACM's managed renewal for the certificate. This field exists only when the certificate type is AMAZON_ISSUED.

    *)
  7. type_ : certificate_type option;
    (*

    The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED. For certificates that you imported with ImportCertificate, this value is IMPORTED. ACM does not provide managed renewal for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see Importing Certificates in the Certificate Manager User Guide.

    *)
  8. failure_reason : failure_reason option;
    (*

    The reason the certificate request failed. This value exists only when the certificate status is FAILED. For more information, see Certificate Request Failed in the Certificate Manager User Guide.

    *)
  9. in_use_by : in_use_list option;
    (*

    A list of ARNs for the Amazon Web Services resources that are using the certificate. A certificate can be used by multiple Amazon Web Services resources.

    *)
  10. signature_algorithm : string_ option;
    (*

    The algorithm that was used to sign the certificate.

    *)
  11. key_algorithm : key_algorithm option;
    (*

    The algorithm that was used to generate the public-private key pair.

    *)
  12. not_after : t_stamp option;
    (*

    The time after which the certificate is not valid.

    *)
  13. not_before : t_stamp option;
    (*

    The time before which the certificate is not valid.

    *)
  14. revocation_reason : revocation_reason option;
    (*

    The reason the certificate was revoked. This value exists only when the certificate status is REVOKED.

    *)
  15. revoked_at : t_stamp option;
    (*

    The time at which the certificate was revoked. This value exists only when the certificate status is REVOKED.

    *)
  16. status : certificate_status option;
    (*

    The status of the certificate.

    A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.

    *)
  17. imported_at : t_stamp option;
    (*

    The date and time when the certificate was imported. This value exists only when the certificate type is IMPORTED.

    *)
  18. issued_at : t_stamp option;
    (*

    The time at which the certificate was issued. This value exists only when the certificate type is AMAZON_ISSUED.

    *)
  19. created_at : t_stamp option;
    (*

    The time at which the certificate was requested.

    *)
  20. issuer : string_ option;
    (*

    The name of the certificate authority that issued and signed the certificate.

    *)
  21. subject : string_ option;
    (*

    The name of the entity that is associated with the public key contained in the certificate.

    *)
  22. serial : string_ option;
    (*

    The serial number of the certificate.

    *)
  23. domain_validation_options : domain_validation_list option;
    (*

    Contains information about the initial validation of each domain name that occurs as a result of the RequestCertificate request. This field exists only when the certificate type is AMAZON_ISSUED.

    *)
  24. managed_by : certificate_managed_by option;
    (*

    Identifies the Amazon Web Services service that manages the certificate issued by ACM.

    *)
  25. subject_alternative_names : domain_list option;
    (*

    One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

    *)
  26. domain_name : domain_name_string option;
    (*

    The fully qualified domain name for the certificate, such as www.example.com or example.com.

    *)
  27. certificate_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

    *)
}

Contains metadata about an ACM certificate. This structure is returned in the response to a DescribeCertificate request.

type nonrec describe_certificate_response = {
  1. certificate : certificate_detail option;
    (*

    Metadata about an ACM certificate.

    *)
}
type nonrec describe_certificate_request = {
  1. certificate_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have the following form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec delete_certificate_request = {
  1. certificate_arn : arn;
    (*

    String that contains the ARN of the ACM certificate to be deleted. This must be of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}
type nonrec add_tags_to_certificate_request = {
  1. tags : tag_list;
    (*

    The key-value pair that defines the tag. The tag value is optional.

    *)
  2. certificate_arn : arn;
    (*

    String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

    *)
}