Skip to content

/AWS1/IF_ODB=>UPDATEODBNETWORK()

About UpdateOdbNetwork

Updates properties of a specified ODB network.

Method Signature

IMPORTING

Required arguments:

iv_odbnetworkid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the ODB network to update.

Optional arguments:

iv_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

The new user-friendly name of the ODB network.

it_peeredcidrstobeadded TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The list of CIDR ranges from the peered VPC that allow access to the ODB network.

it_peeredcidrstoberemoved TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The list of CIDR ranges from the peered VPC to remove from the ODB network.

iv_s3access TYPE /AWS1/ODBACCESS /AWS1/ODBACCESS

Specifies the updated configuration for Amazon S3 access from the ODB network.

iv_zeroetlaccess TYPE /AWS1/ODBACCESS /AWS1/ODBACCESS

Specifies the updated configuration for Zero-ETL access from the ODB network.

iv_s3policydocument TYPE /AWS1/ODBPOLICYDOCUMENT /AWS1/ODBPOLICYDOCUMENT

Specifies the updated endpoint policy for Amazon S3 access from the ODB network.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbupdateodbnetoutput /AWS1/CL_ODBUPDATEODBNETOUTPUT

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->/aws1/if_odb~updateodbnetwork(
  it_peeredcidrstobeadded = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
    ( new /aws1/cl_odbstringlist_w( |string| ) )
  )
  it_peeredcidrstoberemoved = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
    ( new /aws1/cl_odbstringlist_w( |string| ) )
  )
  iv_displayname = |string|
  iv_odbnetworkid = |string|
  iv_s3access = |string|
  iv_s3policydocument = |string|
  iv_zeroetlaccess = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_string = lo_result->get_displayname( ).
  lv_resourcestatus = lo_result->get_status( ).
  lv_string = lo_result->get_statusreason( ).
  lv_string = lo_result->get_odbnetworkid( ).
ENDIF.