/AWS1/CL_CNK=>CREATEDOMAIN()
¶
About CreateDomain¶
Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
This will not associate your connect instance to Cases domain. Instead, use the Amazon Connect CreateIntegrationAssociation API. You need specific IAM permissions to successfully associate the Cases domain. For more information, see Onboard to Cases.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/CNKDOMAINNAME
/AWS1/CNKDOMAINNAME
¶
The name for your Cases domain. It must be unique for your Amazon Web Services account.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_cnkcreatedomainrsp
/AWS1/CL_CNKCREATEDOMAINRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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->/aws1/if_cnk~createdomain( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_domainid = lo_result->get_domainid( ).
lv_domainarn = lo_result->get_domainarn( ).
lv_domainstatus = lo_result->get_domainstatus( ).
ENDIF.