/AWS1/IF_DIR=>DETACHTYPEDLINK00()¶
About DetachTypedLink¶
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
Method Signature¶
METHODS /AWS1/IF_DIR~DETACHTYPEDLINK00
IMPORTING
!IV_DIRECTORYARN TYPE /AWS1/DIRARN OPTIONAL
!IO_TYPEDLINKSPECIFIER TYPE REF TO /AWS1/CL_DIRTYPEDLINKSPECIFIER OPTIONAL
RAISING
/AWS1/CX_DIRACCESSDENIEDEX
/AWS1/CX_DIRDIRECTORYNOTENBDEX
/AWS1/CX_DIRFACETVALIDATIONEX
/AWS1/CX_DIRINTERNALSERVICEEX
/AWS1/CX_DIRINVALIDARNEX
/AWS1/CX_DIRLIMITEXCEEDEDEX
/AWS1/CX_DIRRESOURCENOTFOUNDEX
/AWS1/CX_DIRRETRYABLECONFLIC00
/AWS1/CX_DIRVALIDATIONEX
/AWS1/CX_DIRCLIENTEXC
/AWS1/CX_DIRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_directoryarn TYPE /AWS1/DIRARN /AWS1/DIRARN¶
The Amazon Resource Name (ARN) of the directory where you want to detach the typed link.
io_typedlinkspecifier TYPE REF TO /AWS1/CL_DIRTYPEDLINKSPECIFIER /AWS1/CL_DIRTYPEDLINKSPECIFIER¶
Used to accept a typed link specifier as input.
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.
lo_client->detachtypedlink00(
io_typedlinkspecifier = new /aws1/cl_dirtypedlinkspecifier(
io_sourceobjectreference = new /aws1/cl_dirobjectreference( |string| )
io_targetobjectreference = new /aws1/cl_dirobjectreference( |string| )
io_typedlinkfacet = new /aws1/cl_dirtypedlinkschandf00(
iv_schemaarn = |string|
iv_typedlinkname = |string|
)
it_identityattributevalues = VALUE /aws1/cl_dirattrnameandvalue=>tt_attributenameandvaluelist(
(
new /aws1/cl_dirattrnameandvalue(
io_value = new /aws1/cl_dirtypedattrvalue(
iv_binaryvalue = '5347567362473873563239796247513D'
iv_booleanvalue = ABAP_TRUE
iv_datetimevalue = '20150101000000.0000000'
iv_numbervalue = |string|
iv_stringvalue = |string|
)
iv_attributename = |string|
)
)
)
)
iv_directoryarn = |string|
).
To detach a typed link from an object¶
lo_client->detachtypedlink00(
io_typedlinkspecifier = new /aws1/cl_dirtypedlinkspecifier(
io_sourceobjectreference = new /aws1/cl_dirobjectreference( |$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA| )
io_targetobjectreference = new /aws1/cl_dirobjectreference( |$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw| )
io_typedlinkfacet = new /aws1/cl_dirtypedlinkschandf00(
iv_schemaarn = |arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1|
iv_typedlinkname = |exampletypedlink8|
)
it_identityattributevalues = VALUE /aws1/cl_dirattrnameandvalue=>tt_attributenameandvaluelist(
(
new /aws1/cl_dirattrnameandvalue(
io_value = new /aws1/cl_dirtypedattrvalue( iv_binaryvalue = '63335279' )
iv_attributename = |22|
)
)
)
)
iv_directoryarn = |arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY|
).