/AWS1/IF_PPM=>PUTWHATSAPPBUSINESSPUBLICKEY()¶
About PutWhatsAppBusinessPublicKey¶
Sets the business public key used to encrypt the data exchanged with the endpoint of a data exchange Flow.
Method Signature¶
METHODS /AWS1/IF_PPM~PUTWHATSAPPBUSINESSPUBLICKEY
IMPORTING
!IV_ORIGINATIONPHONENUMBERID TYPE /AWS1/PPMWHATSAPPPHONENUMBERID OPTIONAL
!IV_BUSINESSPUBLICKEY TYPE /AWS1/PPMBUSINESSPUBLICKEYPEM OPTIONAL
!IV_KMSKEYARN TYPE /AWS1/PPMKMSKEYARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ppmputwhtappbizpubk01
RAISING
/AWS1/CX_PPMACCESSDENIEDEX
/AWS1/CX_PPMVALIDATIONEX
/AWS1/CX_PPMACCDENIEDBYMETAEX
/AWS1/CX_PPMDEPENDENCYEX
/AWS1/CX_PPMINTERNALSERVICEEX
/AWS1/CX_PPMINVALIDPARAMSEX
/AWS1/CX_PPMRESOURCENOTFOUNDEX
/AWS1/CX_PPMTHROTTLEDREQUESTEX
/AWS1/CX_PPMCLIENTEXC
/AWS1/CX_PPMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_originationphonenumberid TYPE /AWS1/PPMWHATSAPPPHONENUMBERID /AWS1/PPMWHATSAPPPHONENUMBERID¶
The unique identifier of the phone number to associate with the business public key.
Optional arguments:¶
iv_businesspublickey TYPE /AWS1/PPMBUSINESSPUBLICKEYPEM /AWS1/PPMBUSINESSPUBLICKEYPEM¶
The PEM-encoded 2048-bit RSA public key to set. Mutually exclusive with
kmsKeyArn.
iv_kmskeyarn TYPE /AWS1/PPMKMSKEYARN /AWS1/PPMKMSKEYARN¶
The ARN of a customer managed asymmetric RSA key in Amazon Web Services KMS. Mutually exclusive with
businessPublicKey.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ppmputwhtappbizpubk01 /AWS1/CL_PPMPUTWHTAPPBIZPUBK01¶
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->putwhatsappbusinesspublickey(
iv_businesspublickey = |string|
iv_kmskeyarn = |string|
iv_originationphonenumberid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.