/AWS1/IF_ACM=>DESCRIBEACMEENDPOINT()¶
About DescribeAcmeEndpoint¶
Returns detailed metadata about the specified ACME endpoint, including its status, URL, authorization behavior, and certificate authority configuration.
Method Signature¶
METHODS /AWS1/IF_ACM~DESCRIBEACMEENDPOINT
IMPORTING
!IV_ACMEENDPOINTARN TYPE /AWS1/ACMACMEENDPOINTARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_acmdescracmeendptrsp
RAISING
/AWS1/CX_ACMACCESSDENIEDEX
/AWS1/CX_ACMINTERNALSERVEREX
/AWS1/CX_ACMRESOURCENOTFOUNDEX
/AWS1/CX_ACMTHROTTLINGEX
/AWS1/CX_ACMVALIDATIONEX
/AWS1/CX_ACMCLIENTEXC
/AWS1/CX_ACMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_acmeendpointarn TYPE /AWS1/ACMACMEENDPOINTARN /AWS1/ACMACMEENDPOINTARN¶
The Amazon Resource Name (ARN) of the ACME endpoint.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_acmdescracmeendptrsp /AWS1/CL_ACMDESCRACMEENDPTRSP¶
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.
DATA(lo_result) = lo_client->describeacmeendpoint( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_acmeendpoint = lo_result->get_acmeendpoint( ).
IF lo_acmeendpoint IS NOT INITIAL.
lv_acmeendpointarn = lo_acmeendpoint->get_acmeendpointarn( ).
lv_string = lo_acmeendpoint->get_endpointurl( ).
lv_acmeendpointstatus = lo_acmeendpoint->get_status( ).
lv_string = lo_acmeendpoint->get_failurereason( ).
lv_acmeauthorizationbehavi = lo_acmeendpoint->get_authorizationbehavior( ).
lv_acmecontact = lo_acmeendpoint->get_contact( ).
lo_certificateauthority = lo_acmeendpoint->get_certificateauthority( ).
IF lo_certificateauthority IS NOT INITIAL.
lo_publiccertificateauthor = lo_certificateauthority->get_publiccertauthority( ).
IF lo_publiccertificateauthor IS NOT INITIAL.
LOOP AT lo_publiccertificateauthor->get_allowedkeyalgorithms( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_publickeyalgorithm = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
LOOP AT lo_acmeendpoint->get_certificatetags( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_tagkey = lo_row_3->get_key( ).
lv_tagvalue = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_acmeendpoint->get_createdat( ).
lv_timestamp = lo_acmeendpoint->get_updatedat( ).
ENDIF.
ENDIF.