Skip to content

/AWS1/IF_ACM=>UPDATECERTIFICATEOPTIONS()

About UpdateCertificateOptions

Updates a certificate. You can use this function to specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. For more information, see Certificate Transparency Logging 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_ACMINVALIDARNEX
    /AWS1/CX_ACMINVALIDSTATEEX
    /AWS1/CX_ACMLIMITEXCEEDEDEX
    /AWS1/CX_ACMRESOURCENOTFOUNDEX
    /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 specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. All public certificates are recorded in a certificate transparency log. For more information, see Certificate Transparency Logging.

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_certificatearn = |string|
).