/AWS1/IF_ACM=>CREATEACMEENDPOINT()¶
About CreateAcmeEndpoint¶
Creates an ACME endpoint, which is a managed ACME server with a unique endpoint URL. After creation, ACME clients can use the endpoint URL to automate certificate issuance using the ACME protocol.
Method Signature¶
METHODS /AWS1/IF_ACM~CREATEACMEENDPOINT
IMPORTING
!IV_IDEMPOTENCYTOKEN TYPE /AWS1/ACMSTRING00 OPTIONAL
!IV_AUTHORIZATIONBEHAVIOR TYPE /AWS1/ACMACMEAUTHBEHAVIOR OPTIONAL
!IV_CONTACT TYPE /AWS1/ACMACMECONTACT OPTIONAL
!IO_CERTIFICATEAUTHORITY TYPE REF TO /AWS1/CL_ACMCERTAUTHORITY OPTIONAL
!IT_TAGS TYPE /AWS1/CL_ACMTAG=>TT_TAGLIST OPTIONAL
!IT_CERTIFICATETAGS TYPE /AWS1/CL_ACMTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_acmcreateacmeendptrsp
RAISING
/AWS1/CX_ACMACCESSDENIEDEX
/AWS1/CX_ACMCONFLICTEXCEPTION
/AWS1/CX_ACMINTERNALSERVEREX
/AWS1/CX_ACMSERVICEQUOTAEXCDEX
/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_authorizationbehavior TYPE /AWS1/ACMACMEAUTHBEHAVIOR /AWS1/ACMACMEAUTHBEHAVIOR¶
The authorization behavior for the ACME endpoint.
io_certificateauthority TYPE REF TO /AWS1/CL_ACMCERTAUTHORITY /AWS1/CL_ACMCERTAUTHORITY¶
The type of certificate authority to use for issuing certificates through this ACME endpoint.
Optional arguments:¶
iv_idempotencytoken TYPE /AWS1/ACMSTRING00 /AWS1/ACMSTRING00¶
A unique, case-sensitive identifier to ensure idempotency of the request.
iv_contact TYPE /AWS1/ACMACMECONTACT /AWS1/ACMACMECONTACT¶
Specifies whether ACME clients must provide contact information during account registration.
it_tags TYPE /AWS1/CL_ACMTAG=>TT_TAGLIST TT_TAGLIST¶
One or more tags to associate with the ACME endpoint.
it_certificatetags TYPE /AWS1/CL_ACMTAG=>TT_TAGLIST TT_TAGLIST¶
Tags to apply to certificates issued through this ACME endpoint.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_acmcreateacmeendptrsp /AWS1/CL_ACMCREATEACMEENDPTRSP¶
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->createacmeendpoint(
io_certificateauthority = new /aws1/cl_acmcertauthority(
io_publiccertauthority = new /aws1/cl_acmpubliccertauth(
it_allowedkeyalgorithms = VALUE /aws1/cl_acmpublickeyalglist_w=>tt_publickeyalgorithmlist(
( new /aws1/cl_acmpublickeyalglist_w( |string| ) )
)
)
)
it_certificatetags = VALUE /aws1/cl_acmtag=>tt_taglist(
(
new /aws1/cl_acmtag(
iv_key = |string|
iv_value = |string|
)
)
)
it_tags = VALUE /aws1/cl_acmtag=>tt_taglist(
(
new /aws1/cl_acmtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_authorizationbehavior = |string|
iv_contact = |string|
iv_idempotencytoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_acmeendpointarn = lo_result->get_acmeendpointarn( ).
ENDIF.