/AWS1/IF_ACA=>CREATECONNECTOR()¶
About CreateConnector¶
Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA, directory ID, and security groups.
Method Signature¶
METHODS /AWS1/IF_ACA~CREATECONNECTOR
IMPORTING
!IV_DIRECTORYID TYPE /AWS1/ACADIRECTORYID OPTIONAL
!IV_CERTIFICATEAUTHORITYARN TYPE /AWS1/ACACERTAUTHORITYARN OPTIONAL
!IO_VPCINFORMATION TYPE REF TO /AWS1/CL_ACAVPCINFORMATION OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/ACACLIENTTOKEN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_ACATAGS_W=>TT_TAGS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_acacreateconnectorrsp
RAISING
/AWS1/CX_ACAACCESSDENIEDEX
/AWS1/CX_ACACONFLICTEXCEPTION
/AWS1/CX_ACAINTERNALSERVEREX
/AWS1/CX_ACARESOURCENOTFOUNDEX
/AWS1/CX_ACASERVICEQUOTAEXCDEX
/AWS1/CX_ACATHROTTLINGEX
/AWS1/CX_ACAVALIDATIONEX
/AWS1/CX_ACACLIENTEXC
/AWS1/CX_ACASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_directoryid TYPE /AWS1/ACADIRECTORYID /AWS1/ACADIRECTORYID¶
The identifier of the Active Directory.
iv_certificateauthorityarn TYPE /AWS1/ACACERTAUTHORITYARN /AWS1/ACACERTAUTHORITYARN¶
The Amazon Resource Name (ARN) of the certificate authority being used.
io_vpcinformation TYPE REF TO /AWS1/CL_ACAVPCINFORMATION /AWS1/CL_ACAVPCINFORMATION¶
Information about your VPC and security groups used with the connector.
Optional arguments:¶
iv_clienttoken TYPE /AWS1/ACACLIENTTOKEN /AWS1/ACACLIENTTOKEN¶
Idempotency token.
it_tags TYPE /AWS1/CL_ACATAGS_W=>TT_TAGS TT_TAGS¶
Metadata assigned to a connector consisting of a key-value pair.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_acacreateconnectorrsp /AWS1/CL_ACACREATECONNECTORRSP¶
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->createconnector(
io_vpcinformation = new /aws1/cl_acavpcinformation(
it_securitygroupids = VALUE /aws1/cl_acasecgroupidlist_w=>tt_securitygroupidlist(
( new /aws1/cl_acasecgroupidlist_w( |string| ) )
)
iv_ipaddresstype = |string|
)
it_tags = VALUE /aws1/cl_acatags_w=>tt_tags(
(
VALUE /aws1/cl_acatags_w=>ts_tags_maprow(
value = new /aws1/cl_acatags_w( |string| )
key = |string|
)
)
)
iv_certificateauthorityarn = |string|
iv_clienttoken = |string|
iv_directoryid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_connectorarn = lo_result->get_connectorarn( ).
ENDIF.