/AWS1/IF_GLU=>MODIFYINTEGRATION()¶
About ModifyIntegration¶
Modifies a Zero-ETL integration in the caller's account.
Method Signature¶
METHODS /AWS1/IF_GLU~MODIFYINTEGRATION
IMPORTING
!IV_INTEGRATIONIDENTIFIER TYPE /AWS1/GLUSTRING128 OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/GLUINTEGRATIONDESC OPTIONAL
!IV_DATAFILTER TYPE /AWS1/GLUSTRING2048 OPTIONAL
!IO_INTEGRATIONCONFIG TYPE REF TO /AWS1/CL_GLUINTEGRATIONCONFIG OPTIONAL
!IV_INTEGRATIONNAME TYPE /AWS1/GLUSTRING128 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glumdfyintegrationrsp
RAISING
/AWS1/CX_GLUACCESSDENIEDEX
/AWS1/CX_GLUCONFLICTEXCEPTION
/AWS1/CX_GLUENTITYNOTFOUNDEX
/AWS1/CX_GLUINTEGRATIONCONFL00
/AWS1/CX_GLUINTEGRATIONNOTFN00
/AWS1/CX_GLUINTERNALSERVEREX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLUINVINTEGRATIONST00
/AWS1/CX_GLUINVALIDSTATEEX
/AWS1/CX_GLUVALIDATIONEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_integrationidentifier TYPE /AWS1/GLUSTRING128 /AWS1/GLUSTRING128¶
The Amazon Resource Name (ARN) for the integration.
Optional arguments:¶
iv_description TYPE /AWS1/GLUINTEGRATIONDESC /AWS1/GLUINTEGRATIONDESC¶
A description of the integration.
iv_datafilter TYPE /AWS1/GLUSTRING2048 /AWS1/GLUSTRING2048¶
Selects source tables for the integration using Maxwell filter syntax.
io_integrationconfig TYPE REF TO /AWS1/CL_GLUINTEGRATIONCONFIG /AWS1/CL_GLUINTEGRATIONCONFIG¶
IntegrationConfig
iv_integrationname TYPE /AWS1/GLUSTRING128 /AWS1/GLUSTRING128¶
A unique name for an integration in Glue.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glumdfyintegrationrsp /AWS1/CL_GLUMDFYINTEGRATIONRSP¶
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->modifyintegration(
io_integrationconfig = new /aws1/cl_gluintegrationconfig(
it_sourceproperties = VALUE /aws1/cl_gluintegrationsrcpr00=>tt_integrationsourcepropsmap(
(
VALUE /aws1/cl_gluintegrationsrcpr00=>ts_integrationsrcprps00_maprow(
key = |string|
value = new /aws1/cl_gluintegrationsrcpr00( |string| )
)
)
)
iv_continuoussync = ABAP_TRUE
iv_refreshinterval = |string|
)
iv_datafilter = |string|
iv_description = |string|
iv_integrationidentifier = |string|
iv_integrationname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string128 = lo_result->get_sourcearn( ).
lv_string128 = lo_result->get_targetarn( ).
lv_string128 = lo_result->get_integrationname( ).
lv_integrationdescription = lo_result->get_description( ).
lv_string128 = lo_result->get_integrationarn( ).
lv_string2048 = lo_result->get_kmskeyid( ).
LOOP AT lo_result->get_additionalenccontext( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_integrationstring = lo_value->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_tags( ) into lo_row_1.
lo_row_2 = lo_row_1.
IF lo_row_2 IS NOT INITIAL.
lv_tagkey = lo_row_2->get_key( ).
lv_tagvalue = lo_row_2->get_value( ).
ENDIF.
ENDLOOP.
lv_integrationstatus = lo_result->get_status( ).
lv_integrationtimestamp = lo_result->get_createtime( ).
LOOP AT lo_result->get_errors( ) into lo_row_3.
lo_row_4 = lo_row_3.
IF lo_row_4 IS NOT INITIAL.
lv_string128 = lo_row_4->get_errorcode( ).
lv_string2048 = lo_row_4->get_errormessage( ).
ENDIF.
ENDLOOP.
lv_string2048 = lo_result->get_datafilter( ).
lo_integrationconfig = lo_result->get_integrationconfig( ).
IF lo_integrationconfig IS NOT INITIAL.
lv_string128 = lo_integrationconfig->get_refreshinterval( ).
LOOP AT lo_integrationconfig->get_sourceproperties( ) into ls_row_5.
lv_key = ls_row_5-key.
lo_value_1 = ls_row_5-value.
IF lo_value_1 IS NOT INITIAL.
lv_integrationstring = lo_value_1->get_value( ).
ENDIF.
ENDLOOP.
lv_continuoussync = lo_integrationconfig->get_continuoussync( ).
ENDIF.
ENDIF.