Skip to content

/AWS1/IF_ACM=>UPDATECERTIFICATEOPTIONS()

About UpdateCertificateOptions

Updates certificate options. You can use this operation to change the domain validation method or specify whether to export your certificate. For more information, see Migrate from email to DNS validation and Certificate Manager Exportable Managed Certificates.

Method Signature

METHODS /AWS1/IF_ACM~UPDATECERTIFICATEOPTIONS
  IMPORTING
    !IV_CERTIFICATEARN TYPE /AWS1/ACMARN OPTIONAL
    !IO_OPTIONS TYPE REF TO /AWS1/CL_ACMCERTIFICATEOPTIONS OPTIONAL
  RAISING
    /AWS1/CX_ACMCONFLICTEXCEPTION
    /AWS1/CX_ACMINVALIDARNEX
    /AWS1/CX_ACMINVALIDSTATEEX
    /AWS1/CX_ACMLIMITEXCEEDEDEX
    /AWS1/CX_ACMRESOURCENOTFOUNDEX
    /AWS1/CX_ACMVALIDATIONEX
    /AWS1/CX_ACMCLIENTEXC
    /AWS1/CX_ACMSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_certificatearn TYPE /AWS1/ACMARN /AWS1/ACMARN

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

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

io_options TYPE REF TO /AWS1/CL_ACMCERTIFICATEOPTIONS /AWS1/CL_ACMCERTIFICATEOPTIONS

Use to update the options for your certificate. Currently, you can change the domain validation method or specify whether to export your certificate. For more information about migrating from email to DNS validation, see Migrate from email to DNS validation.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->updatecertificateoptions(
  io_options = new /aws1/cl_acmcertificateoptions(
    iv_crttransparencylogprefe00 = |string|
    iv_export = |string|
    iv_validationmethod = |string|
  )
  iv_certificatearn = |string|
).