/AWS1/IF_DZN=>GETGLOSSARY()¶
About GetGlossary¶
Gets a business glossary in Amazon DataZone.
Prerequisites:
-
The specified glossary ID must exist and be associated with the given domain.
-
The caller must have the
datazone:GetGlossarypermission on the domain.
Method Signature¶
METHODS /AWS1/IF_DZN~GETGLOSSARY
IMPORTING
!IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID OPTIONAL
!IV_IDENTIFIER TYPE /AWS1/DZNGLOSSARYID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dzngetglossaryoutput
RAISING
/AWS1/CX_DZNACCESSDENIEDEX
/AWS1/CX_DZNTHROTTLINGEX
/AWS1/CX_DZNUNAUTHORIZEDEX
/AWS1/CX_DZNINTERNALSERVEREX
/AWS1/CX_DZNRESOURCENOTFOUNDEX
/AWS1/CX_DZNVALIDATIONEX
/AWS1/CX_DZNCLIENTEXC
/AWS1/CX_DZNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainidentifier TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID¶
The ID of the Amazon DataZone domain in which this business glossary exists.
iv_identifier TYPE /AWS1/DZNGLOSSARYID /AWS1/DZNGLOSSARYID¶
The ID of the business glossary.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dzngetglossaryoutput /AWS1/CL_DZNGETGLOSSARYOUTPUT¶
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->getglossary(
iv_domainidentifier = |string|
iv_identifier = |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_glossaryid = lo_result->get_id( ).
lv_projectid = lo_result->get_owningprojectid( ).
lv_glossaryname = lo_result->get_name( ).
lv_glossarydescription = lo_result->get_description( ).
lv_glossarystatus = lo_result->get_status( ).
lv_createdat = lo_result->get_createdat( ).
lv_createdby = lo_result->get_createdby( ).
lv_updatedat = lo_result->get_updatedat( ).
lv_updatedby = lo_result->get_updatedby( ).
LOOP AT lo_result->get_usagerestrictions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_glossaryusagerestrictio = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.