/AWS1/IF_RDS=>MODIFYINTEGRATION()¶
About ModifyIntegration¶
Modifies a zero-ETL integration with Amazon Redshift.
Method Signature¶
METHODS /AWS1/IF_RDS~MODIFYINTEGRATION
IMPORTING
!IV_INTEGRATIONIDENTIFIER TYPE /AWS1/RDSINTEGRATIONIDENTIFIER OPTIONAL
!IV_INTEGRATIONNAME TYPE /AWS1/RDSINTEGRATIONNAME OPTIONAL
!IV_DATAFILTER TYPE /AWS1/RDSDATAFILTER OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/RDSINTEGRATIONDESC OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rdsintegration
RAISING
/AWS1/CX_RDSINTEGRATIONCONFL00
/AWS1/CX_RDSINTEGRATIONNOTFN00
/AWS1/CX_RDSINVINTEGRATIONST00
/AWS1/CX_RDSCLIENTEXC
/AWS1/CX_RDSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_integrationidentifier TYPE /AWS1/RDSINTEGRATIONIDENTIFIER /AWS1/RDSINTEGRATIONIDENTIFIER¶
The unique identifier of the integration to modify.
Optional arguments:¶
iv_integrationname TYPE /AWS1/RDSINTEGRATIONNAME /AWS1/RDSINTEGRATIONNAME¶
A new name for the integration.
iv_datafilter TYPE /AWS1/RDSDATAFILTER /AWS1/RDSDATAFILTER¶
A new data filter for the integration. For more information, see Data filtering for Aurora zero-ETL integrations with Amazon Redshift or Data filtering for Amazon RDS zero-ETL integrations with Amazon Redshift.
iv_description TYPE /AWS1/RDSINTEGRATIONDESC /AWS1/RDSINTEGRATIONDESC¶
A new description for the integration.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_rdsintegration /AWS1/CL_RDSINTEGRATION¶
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(
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_sourcearn = lo_result->get_sourcearn( ).
lv_arn = lo_result->get_targetarn( ).
lv_integrationname = lo_result->get_integrationname( ).
lv_integrationarn = lo_result->get_integrationarn( ).
lv_string = 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_string = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_integrationstatus = lo_result->get_status( ).
LOOP AT lo_result->get_tags( ) into lo_row_1.
lo_row_2 = lo_row_1.
IF lo_row_2 IS NOT INITIAL.
lv_string = lo_row_2->get_key( ).
lv_string = lo_row_2->get_value( ).
ENDIF.
ENDLOOP.
lv_datafilter = lo_result->get_datafilter( ).
lv_integrationdescription = lo_result->get_description( ).
lv_tstamp = 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_string = lo_row_4->get_errorcode( ).
lv_string = lo_row_4->get_errormessage( ).
ENDIF.
ENDLOOP.
ENDIF.
To modify a zero-ETL integration¶
The following example modifies the name of an existing zero-ETL integration.
DATA(lo_result) = lo_client->modifyintegration(
iv_integrationidentifier = |a1b2c3d4-5678-90ab-cdef-EXAMPLE11111|
iv_integrationname = |my-renamed-integration|
).