ACM / Client / update_acme_domain_validation

update_acme_domain_validation

ACM.Client.update_acme_domain_validation(**kwargs)

Updates the prevalidation configuration of an existing domain validation.

See also: AWS API Documentation

Request Syntax

response = client.update_acme_domain_validation(
    AcmeDomainValidationArn='string',
    PrevalidationOptions={
        'DnsPrevalidation': {
            'DomainScope': {
                'ExactDomain': 'ENABLED'|'DISABLED',
                'Subdomains': 'ENABLED'|'DISABLED',
                'Wildcards': 'ENABLED'|'DISABLED'
            },
            'HostedZoneId': 'string'
        }
    }
)
Parameters:
  • AcmeDomainValidationArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the ACME domain validation to update.

  • PrevalidationOptions (dict) –

    The updated prevalidation options.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: DnsPrevalidation.

    • DnsPrevalidation (dict) –

      DNS-based prevalidation options.

      • DomainScope (dict) –

        The scope of domains covered by this prevalidation.

        • ExactDomain (string) –

          Whether validation applies to the exact domain.

        • Subdomains (string) –

          Whether validation applies to subdomains.

        • Wildcards (string) –

          Whether validation applies to wildcard domains.

      • HostedZoneId (string) –

        The Route 53 hosted zone ID for DNS validation.

Returns:

None

Exceptions

  • ACM.Client.exceptions.InternalServerException

  • ACM.Client.exceptions.ConflictException

  • ACM.Client.exceptions.AccessDeniedException

  • ACM.Client.exceptions.ValidationException

  • ACM.Client.exceptions.ResourceNotFoundException

  • ACM.Client.exceptions.ThrottlingException