Skip to content

/AWS1/IF_BDO=>CREATEGATEWAYTARGET()

About CreateGatewayTarget

Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.

Method Signature

METHODS /AWS1/IF_BDO~CREATEGATEWAYTARGET
  IMPORTING
    !IV_GATEWAYIDENTIFIER TYPE /AWS1/BDOGATEWAYIDENTIFIER OPTIONAL
    !IV_NAME TYPE /AWS1/BDOTARGETNAME OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/BDOTARGETDESCRIPTION OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/BDOCLIENTTOKEN OPTIONAL
    !IO_TARGETCONFIGURATION TYPE REF TO /AWS1/CL_BDOTARGETCONF OPTIONAL
    !IT_CREDENTIALPROVIDERCONFS TYPE /AWS1/CL_BDOCREDPROVIDERCONF=>TT_CREDENTIALPROVIDERCONFS OPTIONAL
    !IO_METADATACONFIGURATION TYPE REF TO /AWS1/CL_BDOMETADATACONF OPTIONAL
    !IO_PRIVATEENDPOINT TYPE REF TO /AWS1/CL_BDOPRIVATEENDPOINT OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bdocreategwtargetrsp
  RAISING
    /AWS1/CX_BDOACCESSDENIEDEX
    /AWS1/CX_BDOCONFLICTEXCEPTION
    /AWS1/CX_BDOINTERNALSERVEREX
    /AWS1/CX_BDORESOURCENOTFOUNDEX
    /AWS1/CX_BDOSERVICEQUOTAEXCDEX
    /AWS1/CX_BDOTHROTTLINGEX
    /AWS1/CX_BDOVALIDATIONEX
    /AWS1/CX_BDOCLIENTEXC
    /AWS1/CX_BDOSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_gatewayidentifier TYPE /AWS1/BDOGATEWAYIDENTIFIER /AWS1/BDOGATEWAYIDENTIFIER

The identifier of the gateway to create a target for.

io_targetconfiguration TYPE REF TO /AWS1/CL_BDOTARGETCONF /AWS1/CL_BDOTARGETCONF

The configuration settings for the target, including endpoint information and schema definitions.

Optional arguments:

iv_name TYPE /AWS1/BDOTARGETNAME /AWS1/BDOTARGETNAME

The name of the gateway target. The name must be unique within the gateway.

iv_description TYPE /AWS1/BDOTARGETDESCRIPTION /AWS1/BDOTARGETDESCRIPTION

The description of the gateway target.

iv_clienttoken TYPE /AWS1/BDOCLIENTTOKEN /AWS1/BDOCLIENTTOKEN

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

it_credentialproviderconfs TYPE /AWS1/CL_BDOCREDPROVIDERCONF=>TT_CREDENTIALPROVIDERCONFS TT_CREDENTIALPROVIDERCONFS

The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.

io_metadataconfiguration TYPE REF TO /AWS1/CL_BDOMETADATACONF /AWS1/CL_BDOMETADATACONF

Optional configuration for HTTP header and query parameter propagation to and from the gateway target.

io_privateendpoint TYPE REF TO /AWS1/CL_BDOPRIVATEENDPOINT /AWS1/CL_BDOPRIVATEENDPOINT

The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.

RETURNING

oo_output TYPE REF TO /aws1/cl_bdocreategwtargetrsp /AWS1/CL_BDOCREATEGWTARGETRSP

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->creategatewaytarget(
  io_metadataconfiguration = new /aws1/cl_bdometadataconf(
    it_allowedqueryparameters = VALUE /aws1/cl_bdoalwdqueryparams_w=>tt_allowedqueryparameters(
      ( new /aws1/cl_bdoalwdqueryparams_w( |string| ) )
    )
    it_allowedrequestheaders = VALUE /aws1/cl_bdoalwdreqheaders_w=>tt_allowedrequestheaders(
      ( new /aws1/cl_bdoalwdreqheaders_w( |string| ) )
    )
    it_allowedresponseheaders = VALUE /aws1/cl_bdoalwdrspheaders_w=>tt_allowedresponseheaders(
      ( new /aws1/cl_bdoalwdrspheaders_w( |string| ) )
    )
  )
  io_privateendpoint = new /aws1/cl_bdoprivateendpoint(
    io_managedvpcresource = new /aws1/cl_bdomanagedvpcresource(
      it_securitygroupids = VALUE /aws1/cl_bdosecuritygroupids_w=>tt_securitygroupids(
        ( new /aws1/cl_bdosecuritygroupids_w( |string| ) )
      )
      it_subnetids = VALUE /aws1/cl_bdosubnetids_w=>tt_subnetids(
        ( new /aws1/cl_bdosubnetids_w( |string| ) )
      )
      it_tags = VALUE /aws1/cl_bdotagsmap_w=>tt_tagsmap(
        (
          VALUE /aws1/cl_bdotagsmap_w=>ts_tagsmap_maprow(
            key = |string|
            value = new /aws1/cl_bdotagsmap_w( |string| )
          )
        )
      )
      iv_endpointipaddresstype = |string|
      iv_routingdomain = |string|
      iv_vpcidentifier = |string|
    )
    io_selfmanagedlatticeres = new /aws1/cl_bdoselfmngdlatticeres( |string| )
  )
  io_targetconfiguration = new /aws1/cl_bdotargetconf(
    io_http = new /aws1/cl_bdohttptargetconf(
      io_agentcoreruntime = new /aws1/cl_bdoruntimetargetconf(
        io_schema = new /aws1/cl_bdohttpapischemaconf(
          io_source = new /aws1/cl_bdoapischemaconf(
            io_s3 = new /aws1/cl_bdos3configuration(
              iv_bucketowneraccountid = |string|
              iv_uri = |string|
            )
            iv_inlinepayload = |string|
          )
        )
        iv_arn = |string|
        iv_qualifier = |string|
      )
      io_passthrough = new /aws1/cl_bdopassthrutargetconf(
        io_schema = new /aws1/cl_bdohttpapischemaconf(
          io_source = new /aws1/cl_bdoapischemaconf(
            io_s3 = new /aws1/cl_bdos3configuration(
              iv_bucketowneraccountid = |string|
              iv_uri = |string|
            )
            iv_inlinepayload = |string|
          )
        )
        io_stickinessconfiguration = new /aws1/cl_bdostickinessconf(
          iv_identifier = |string|
          iv_timeout = 123
        )
        iv_endpoint = |string|
        iv_protocoltype = |string|
      )
    )
    io_inference = new /aws1/cl_bdoinfrnctargetconf(
      io_connector = new /aws1/cl_bdoinfrnccnctrtgtconf( new /aws1/cl_bdoinferencecnctource( |string| ) )
      io_provider = new /aws1/cl_bdoinfrncpvdrtgtconf(
        io_modelmapping = new /aws1/cl_bdomodelmapping(
          io_providerprefix = new /aws1/cl_bdoproviderprefix(
            iv_separator = |string|
            iv_strip = ABAP_TRUE
          )
        )
        it_operations = VALUE /aws1/cl_bdoinfrncopconf=>tt_inferenceoperationconfs(
          (
            new /aws1/cl_bdoinfrncopconf(
              it_models = VALUE /aws1/cl_bdomodelentry=>tt_modelentries(
                ( new /aws1/cl_bdomodelentry( |string| ) )
              )
              iv_path = |string|
              iv_providerpath = |string|
            )
          )
        )
        iv_endpoint = |string|
      )
    )
    io_mcp = new /aws1/cl_bdomcptargetconf(
      io_apigateway = new /aws1/cl_bdoapigwtargetconf(
        io_apigatewaytoolconf = new /aws1/cl_bdoapigatewaytoolconf(
          it_toolfilters = VALUE /aws1/cl_bdoapigwtoolfilter=>tt_apigatewaytoolfilters(
            (
              new /aws1/cl_bdoapigwtoolfilter(
                it_methods = VALUE /aws1/cl_bdorestapimethods_w=>tt_restapimethods(
                  ( new /aws1/cl_bdorestapimethods_w( |string| ) )
                )
                iv_filterpath = |string|
              )
            )
          )
          it_tooloverrides = VALUE /aws1/cl_bdoapigatewaytoolovrd=>tt_apigatewaytooloverrides(
            (
              new /aws1/cl_bdoapigatewaytoolovrd(
                iv_description = |string|
                iv_method = |string|
                iv_name = |string|
                iv_path = |string|
              )
            )
          )
        )
        iv_restapiid = |string|
        iv_stage = |string|
      )
      io_connector = new /aws1/cl_bdocnctrtargetconf(
        io_source = new /aws1/cl_bdoconnectorsource( |string| )
        it_configurations = VALUE /aws1/cl_bdoconnectorconf=>tt_connectorconfigurations(
          (
            new /aws1/cl_bdoconnectorconf(
              io_parametervalues = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
              it_parameteroverrides = VALUE /aws1/cl_bdocnctrparamoverride=>tt_connectorparameteroverrides(
                (
                  new /aws1/cl_bdocnctrparamoverride(
                    iv_description = |string|
                    iv_path = |string|
                    iv_visible = ABAP_TRUE
                  )
                )
              )
              iv_description = |string|
              iv_name = |string|
            )
          )
        )
        it_enabled = VALUE /aws1/cl_bdoenabledcnct_w=>tt_enabledconnectors(
          ( new /aws1/cl_bdoenabledcnct_w( |string| ) )
        )
      )
      io_lambda = new /aws1/cl_bdomcplmdtargetconf(
        io_toolschema = new /aws1/cl_bdotoolschema(
          io_s3 = new /aws1/cl_bdos3configuration(
            iv_bucketowneraccountid = |string|
            iv_uri = |string|
          )
          it_inlinepayload = VALUE /aws1/cl_bdotooldefinition=>tt_tooldefinitions(
            (
              new /aws1/cl_bdotooldefinition(
                io_inputschema = new /aws1/cl_bdoschemadefinition(
                  io_items = new /aws1/cl_bdoschemadefinition(
                    it_properties = VALUE /aws1/cl_bdoschemadefinition=>tt_schemaproperties(
                      (
                        VALUE /aws1/cl_bdoschemadefinition=>ts_schemaproperties_maprow(
                          key = |string|
                          value = new /aws1/cl_bdoschemadefinition(
                            it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                              ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                            )
                            iv_description = |string|
                            iv_type = |string|
                          )
                        )
                      )
                    )
                    it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                      ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                    )
                    iv_description = |string|
                    iv_type = |string|
                  )
                  it_properties = VALUE /aws1/cl_bdoschemadefinition=>tt_schemaproperties(
                    (
                      VALUE /aws1/cl_bdoschemadefinition=>ts_schemaproperties_maprow(
                        key = |string|
                        value = new /aws1/cl_bdoschemadefinition(
                          io_items = new /aws1/cl_bdoschemadefinition(
                            it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                              ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                            )
                            iv_description = |string|
                            iv_type = |string|
                          )
                          it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                            ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                          )
                          iv_description = |string|
                          iv_type = |string|
                        )
                      )
                    )
                  )
                  it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                    ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                  )
                  iv_description = |string|
                  iv_type = |string|
                )
                io_outputschema = new /aws1/cl_bdoschemadefinition(
                  io_items = new /aws1/cl_bdoschemadefinition(
                    it_properties = VALUE /aws1/cl_bdoschemadefinition=>tt_schemaproperties(
                      (
                        VALUE /aws1/cl_bdoschemadefinition=>ts_schemaproperties_maprow(
                          key = |string|
                          value = new /aws1/cl_bdoschemadefinition(
                            it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                              ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                            )
                            iv_description = |string|
                            iv_type = |string|
                          )
                        )
                      )
                    )
                    it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                      ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                    )
                    iv_description = |string|
                    iv_type = |string|
                  )
                  it_properties = VALUE /aws1/cl_bdoschemadefinition=>tt_schemaproperties(
                    (
                      VALUE /aws1/cl_bdoschemadefinition=>ts_schemaproperties_maprow(
                        key = |string|
                        value = new /aws1/cl_bdoschemadefinition(
                          io_items = new /aws1/cl_bdoschemadefinition(
                            it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                              ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                            )
                            iv_description = |string|
                            iv_type = |string|
                          )
                          it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                            ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                          )
                          iv_description = |string|
                          iv_type = |string|
                        )
                      )
                    )
                  )
                  it_required = VALUE /aws1/cl_bdorequiredprops_w=>tt_requiredproperties(
                    ( new /aws1/cl_bdorequiredprops_w( |string| ) )
                  )
                  iv_description = |string|
                  iv_type = |string|
                )
                iv_description = |string|
                iv_name = |string|
              )
            )
          )
        )
        iv_lambdaarn = |string|
      )
      io_mcpserver = new /aws1/cl_bdomcpsrvtargetconf(
        io_mcptoolschema = new /aws1/cl_bdomcptoolschemaconf(
          io_s3 = new /aws1/cl_bdos3configuration(
            iv_bucketowneraccountid = |string|
            iv_uri = |string|
          )
          iv_inlinepayload = |string|
        )
        iv_endpoint = |string|
        iv_listingmode = |string|
        iv_resourcepriority = 123
      )
      io_openapischema = new /aws1/cl_bdoapischemaconf(
        io_s3 = new /aws1/cl_bdos3configuration(
          iv_bucketowneraccountid = |string|
          iv_uri = |string|
        )
        iv_inlinepayload = |string|
      )
      io_smithymodel = new /aws1/cl_bdoapischemaconf(
        io_s3 = new /aws1/cl_bdos3configuration(
          iv_bucketowneraccountid = |string|
          iv_uri = |string|
        )
        iv_inlinepayload = |string|
      )
    )
  )
  it_credentialproviderconfs = VALUE /aws1/cl_bdocredproviderconf=>tt_credentialproviderconfs(
    (
      new /aws1/cl_bdocredproviderconf(
        io_credentialprovider = new /aws1/cl_bdocredentialprovider(
          io_apikeycredentialprovider = new /aws1/cl_bdogwapikeycredpvdr(
            iv_credentiallocation = |string|
            iv_credentialparametername = |string|
            iv_credentialprefix = |string|
            iv_providerarn = |string|
          )
          io_iamcredentialprovider = new /aws1/cl_bdoiamcredprovider(
            iv_region = |string|
            iv_service = |string|
          )
          io_oauthcredentialprovider = new /aws1/cl_bdooauthcredprovider(
            it_customparameters = VALUE /aws1/cl_bdooauthcustparams_w=>tt_oauthcustomparameters(
              (
                VALUE /aws1/cl_bdooauthcustparams_w=>ts_oauthcustomparams_maprow(
                  key = |string|
                  value = new /aws1/cl_bdooauthcustparams_w( |string| )
                )
              )
            )
            it_scopes = VALUE /aws1/cl_bdooauthscopes_w=>tt_oauthscopes(
              ( new /aws1/cl_bdooauthscopes_w( |string| ) )
            )
            iv_defaultreturnurl = |string|
            iv_granttype = |string|
            iv_providerarn = |string|
          )
        )
        iv_credentialprovidertype = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_description = |string|
  iv_gatewayidentifier = |string|
  iv_name = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_gatewayarn = lo_result->get_gatewayarn( ).
  lv_targetid = lo_result->get_targetid( ).
  lv_datetimestamp = lo_result->get_createdat( ).
  lv_datetimestamp = lo_result->get_updatedat( ).
  lv_targetstatus = lo_result->get_status( ).
  LOOP AT lo_result->get_statusreasons( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_statusreason = lo_row_1->get_value( ).
    ENDIF.
  ENDLOOP.
  lv_targetname = lo_result->get_name( ).
  lv_targetdescription = lo_result->get_description( ).
  lo_targetconfiguration = lo_result->get_targetconfiguration( ).
  IF lo_targetconfiguration IS NOT INITIAL.
    lo_mcptargetconfiguration = lo_targetconfiguration->get_mcp( ).
    IF lo_mcptargetconfiguration IS NOT INITIAL.
      lo_apischemaconfiguration = lo_mcptargetconfiguration->get_openapischema( ).
      IF lo_apischemaconfiguration IS NOT INITIAL.
        lo_s3configuration = lo_apischemaconfiguration->get_s3( ).
        IF lo_s3configuration IS NOT INITIAL.
          lv_s3bucketuri = lo_s3configuration->get_uri( ).
          lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
        ENDIF.
        lv_inlinepayload = lo_apischemaconfiguration->get_inlinepayload( ).
      ENDIF.
      lo_apischemaconfiguration = lo_mcptargetconfiguration->get_smithymodel( ).
      IF lo_apischemaconfiguration IS NOT INITIAL.
        lo_s3configuration = lo_apischemaconfiguration->get_s3( ).
        IF lo_s3configuration IS NOT INITIAL.
          lv_s3bucketuri = lo_s3configuration->get_uri( ).
          lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
        ENDIF.
        lv_inlinepayload = lo_apischemaconfiguration->get_inlinepayload( ).
      ENDIF.
      lo_mcplambdatargetconfigur = lo_mcptargetconfiguration->get_lambda( ).
      IF lo_mcplambdatargetconfigur IS NOT INITIAL.
        lv_lambdafunctionarn = lo_mcplambdatargetconfigur->get_lambdaarn( ).
        lo_toolschema = lo_mcplambdatargetconfigur->get_toolschema( ).
        IF lo_toolschema IS NOT INITIAL.
          lo_s3configuration = lo_toolschema->get_s3( ).
          IF lo_s3configuration IS NOT INITIAL.
            lv_s3bucketuri = lo_s3configuration->get_uri( ).
            lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
          ENDIF.
          LOOP AT lo_toolschema->get_inlinepayload( ) into lo_row_2.
            lo_row_3 = lo_row_2.
            IF lo_row_3 IS NOT INITIAL.
              lv_string = lo_row_3->get_name( ).
              lv_string = lo_row_3->get_description( ).
              lo_schemadefinition = lo_row_3->get_inputschema( ).
              IF lo_schemadefinition IS NOT INITIAL.
                lv_schematype = lo_schemadefinition->get_type( ).
                LOOP AT lo_schemadefinition->get_properties( ) into ls_row_4.
                  lv_key = ls_row_4-key.
                  lo_value = ls_row_4-value.
                  IF lo_value IS NOT INITIAL.
                    lv_schematype = lo_value->get_type( ).
                    " Skipping ls_row_4-value to avoid recursion
                    LOOP AT lo_value->get_required( ) into lo_row_5.
                      lo_row_6 = lo_row_5.
                      IF lo_row_6 IS NOT INITIAL.
                        lv_string = lo_row_6->get_value( ).
                      ENDIF.
                    ENDLOOP.
                    lo_schemadefinition_1 = lo_value->get_items( ).
                    IF lo_schemadefinition_1 IS NOT INITIAL.
                      lv_schematype = lo_schemadefinition_1->get_type( ).
                      " Skipping lo_value->get_items( ) to avoid recursion
                      LOOP AT lo_schemadefinition_1->get_required( ) into lo_row_5.
                        lo_row_6 = lo_row_5.
                        IF lo_row_6 IS NOT INITIAL.
                          lv_string = lo_row_6->get_value( ).
                        ENDIF.
                      ENDLOOP.
                      " Skipping lo_value->get_items( ) to avoid recursion
                      lv_string = lo_schemadefinition_1->get_description( ).
                    ENDIF.
                    lv_string = lo_value->get_description( ).
                  ENDIF.
                ENDLOOP.
                LOOP AT lo_schemadefinition->get_required( ) into lo_row_5.
                  lo_row_6 = lo_row_5.
                  IF lo_row_6 IS NOT INITIAL.
                    lv_string = lo_row_6->get_value( ).
                  ENDIF.
                ENDLOOP.
                lo_schemadefinition_1 = lo_schemadefinition->get_items( ).
                IF lo_schemadefinition_1 IS NOT INITIAL.
                  lv_schematype = lo_schemadefinition_1->get_type( ).
                  LOOP AT lo_schemadefinition_1->get_properties( ) into ls_row_4.
                    lv_key = ls_row_4-key.
                    lo_value = ls_row_4-value.
                    IF lo_value IS NOT INITIAL.
                      lv_schematype = lo_value->get_type( ).
                      " Skipping ls_row_4-value to avoid recursion
                      LOOP AT lo_value->get_required( ) into lo_row_5.
                        lo_row_6 = lo_row_5.
                        IF lo_row_6 IS NOT INITIAL.
                          lv_string = lo_row_6->get_value( ).
                        ENDIF.
                      ENDLOOP.
                      " Skipping ls_row_4-value to avoid recursion
                      lv_string = lo_value->get_description( ).
                    ENDIF.
                  ENDLOOP.
                  LOOP AT lo_schemadefinition_1->get_required( ) into lo_row_5.
                    lo_row_6 = lo_row_5.
                    IF lo_row_6 IS NOT INITIAL.
                      lv_string = lo_row_6->get_value( ).
                    ENDIF.
                  ENDLOOP.
                  " Skipping lo_schemadefinition->get_items( ) to avoid recursion
                  lv_string = lo_schemadefinition_1->get_description( ).
                ENDIF.
                lv_string = lo_schemadefinition->get_description( ).
              ENDIF.
              lo_schemadefinition = lo_row_3->get_outputschema( ).
              IF lo_schemadefinition IS NOT INITIAL.
                lv_schematype = lo_schemadefinition->get_type( ).
                LOOP AT lo_schemadefinition->get_properties( ) into ls_row_4.
                  lv_key = ls_row_4-key.
                  lo_value = ls_row_4-value.
                  IF lo_value IS NOT INITIAL.
                    lv_schematype = lo_value->get_type( ).
                    " Skipping ls_row_4-value to avoid recursion
                    LOOP AT lo_value->get_required( ) into lo_row_5.
                      lo_row_6 = lo_row_5.
                      IF lo_row_6 IS NOT INITIAL.
                        lv_string = lo_row_6->get_value( ).
                      ENDIF.
                    ENDLOOP.
                    lo_schemadefinition_1 = lo_value->get_items( ).
                    IF lo_schemadefinition_1 IS NOT INITIAL.
                      lv_schematype = lo_schemadefinition_1->get_type( ).
                      " Skipping lo_value->get_items( ) to avoid recursion
                      LOOP AT lo_schemadefinition_1->get_required( ) into lo_row_5.
                        lo_row_6 = lo_row_5.
                        IF lo_row_6 IS NOT INITIAL.
                          lv_string = lo_row_6->get_value( ).
                        ENDIF.
                      ENDLOOP.
                      " Skipping lo_value->get_items( ) to avoid recursion
                      lv_string = lo_schemadefinition_1->get_description( ).
                    ENDIF.
                    lv_string = lo_value->get_description( ).
                  ENDIF.
                ENDLOOP.
                LOOP AT lo_schemadefinition->get_required( ) into lo_row_5.
                  lo_row_6 = lo_row_5.
                  IF lo_row_6 IS NOT INITIAL.
                    lv_string = lo_row_6->get_value( ).
                  ENDIF.
                ENDLOOP.
                lo_schemadefinition_1 = lo_schemadefinition->get_items( ).
                IF lo_schemadefinition_1 IS NOT INITIAL.
                  lv_schematype = lo_schemadefinition_1->get_type( ).
                  LOOP AT lo_schemadefinition_1->get_properties( ) into ls_row_4.
                    lv_key = ls_row_4-key.
                    lo_value = ls_row_4-value.
                    IF lo_value IS NOT INITIAL.
                      lv_schematype = lo_value->get_type( ).
                      " Skipping ls_row_4-value to avoid recursion
                      LOOP AT lo_value->get_required( ) into lo_row_5.
                        lo_row_6 = lo_row_5.
                        IF lo_row_6 IS NOT INITIAL.
                          lv_string = lo_row_6->get_value( ).
                        ENDIF.
                      ENDLOOP.
                      " Skipping ls_row_4-value to avoid recursion
                      lv_string = lo_value->get_description( ).
                    ENDIF.
                  ENDLOOP.
                  LOOP AT lo_schemadefinition_1->get_required( ) into lo_row_5.
                    lo_row_6 = lo_row_5.
                    IF lo_row_6 IS NOT INITIAL.
                      lv_string = lo_row_6->get_value( ).
                    ENDIF.
                  ENDLOOP.
                  " Skipping lo_schemadefinition->get_items( ) to avoid recursion
                  lv_string = lo_schemadefinition_1->get_description( ).
                ENDIF.
                lv_string = lo_schemadefinition->get_description( ).
              ENDIF.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      lo_mcpservertargetconfigur = lo_mcptargetconfiguration->get_mcpserver( ).
      IF lo_mcpservertargetconfigur IS NOT INITIAL.
        lv_string = lo_mcpservertargetconfigur->get_endpoint( ).
        lo_mcptoolschemaconfigurat = lo_mcpservertargetconfigur->get_mcptoolschema( ).
        IF lo_mcptoolschemaconfigurat IS NOT INITIAL.
          lo_s3configuration = lo_mcptoolschemaconfigurat->get_s3( ).
          IF lo_s3configuration IS NOT INITIAL.
            lv_s3bucketuri = lo_s3configuration->get_uri( ).
            lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
          ENDIF.
          lv_inlinepayload = lo_mcptoolschemaconfigurat->get_inlinepayload( ).
        ENDIF.
        lv_listingmode = lo_mcpservertargetconfigur->get_listingmode( ).
        lv_targetresourcepriority = lo_mcpservertargetconfigur->get_resourcepriority( ).
      ENDIF.
      lo_apigatewaytargetconfigu = lo_mcptargetconfiguration->get_apigateway( ).
      IF lo_apigatewaytargetconfigu IS NOT INITIAL.
        lv_string = lo_apigatewaytargetconfigu->get_restapiid( ).
        lv_string = lo_apigatewaytargetconfigu->get_stage( ).
        lo_apigatewaytoolconfigura = lo_apigatewaytargetconfigu->get_apigatewaytoolconf( ).
        IF lo_apigatewaytoolconfigura IS NOT INITIAL.
          LOOP AT lo_apigatewaytoolconfigura->get_tooloverrides( ) into lo_row_7.
            lo_row_8 = lo_row_7.
            IF lo_row_8 IS NOT INITIAL.
              lv_string = lo_row_8->get_name( ).
              lv_string = lo_row_8->get_description( ).
              lv_string = lo_row_8->get_path( ).
              lv_restapimethod = lo_row_8->get_method( ).
            ENDIF.
          ENDLOOP.
          LOOP AT lo_apigatewaytoolconfigura->get_toolfilters( ) into lo_row_9.
            lo_row_10 = lo_row_9.
            IF lo_row_10 IS NOT INITIAL.
              lv_string = lo_row_10->get_filterpath( ).
              LOOP AT lo_row_10->get_methods( ) into lo_row_11.
                lo_row_12 = lo_row_11.
                IF lo_row_12 IS NOT INITIAL.
                  lv_restapimethod = lo_row_12->get_value( ).
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      lo_connectortargetconfigur = lo_mcptargetconfiguration->get_connector( ).
      IF lo_connectortargetconfigur IS NOT INITIAL.
        lo_connectorsource = lo_connectortargetconfigur->get_source( ).
        IF lo_connectorsource IS NOT INITIAL.
          lv_connectorid = lo_connectorsource->get_connectorid( ).
        ENDIF.
        LOOP AT lo_connectortargetconfigur->get_enabled( ) into lo_row_13.
          lo_row_14 = lo_row_13.
          IF lo_row_14 IS NOT INITIAL.
            lv_string = lo_row_14->get_value( ).
          ENDIF.
        ENDLOOP.
        LOOP AT lo_connectortargetconfigur->get_configurations( ) into lo_row_15.
          lo_row_16 = lo_row_15.
          IF lo_row_16 IS NOT INITIAL.
            lv_string = lo_row_16->get_name( ).
            lv_string = lo_row_16->get_description( ).
            lo_/aws1/cl_rt_document = lo_row_16->get_parametervalues( ).
            IF lo_/aws1/cl_rt_document IS NOT INITIAL.
            ENDIF.
            LOOP AT lo_row_16->get_parameteroverrides( ) into lo_row_17.
              lo_row_18 = lo_row_17.
              IF lo_row_18 IS NOT INITIAL.
                lv_string = lo_row_18->get_path( ).
                lv_string = lo_row_18->get_description( ).
                lv_boolean = lo_row_18->get_visible( ).
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
    lo_httptargetconfiguration = lo_targetconfiguration->get_http( ).
    IF lo_httptargetconfiguration IS NOT INITIAL.
      lo_runtimetargetconfigurat = lo_httptargetconfiguration->get_agentcoreruntime( ).
      IF lo_runtimetargetconfigurat IS NOT INITIAL.
        lv_runtimearn = lo_runtimetargetconfigurat->get_arn( ).
        lv_runtimequalifier = lo_runtimetargetconfigurat->get_qualifier( ).
        lo_httpapischemaconfigurat = lo_runtimetargetconfigurat->get_schema( ).
        IF lo_httpapischemaconfigurat IS NOT INITIAL.
          lo_apischemaconfiguration = lo_httpapischemaconfigurat->get_source( ).
          IF lo_apischemaconfiguration IS NOT INITIAL.
            lo_s3configuration = lo_apischemaconfiguration->get_s3( ).
            IF lo_s3configuration IS NOT INITIAL.
              lv_s3bucketuri = lo_s3configuration->get_uri( ).
              lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
            ENDIF.
            lv_inlinepayload = lo_apischemaconfiguration->get_inlinepayload( ).
          ENDIF.
        ENDIF.
      ENDIF.
      lo_passthroughtargetconfig = lo_httptargetconfiguration->get_passthrough( ).
      IF lo_passthroughtargetconfig IS NOT INITIAL.
        lv_passthroughendpoint = lo_passthroughtargetconfig->get_endpoint( ).
        lv_passthroughprotocoltype = lo_passthroughtargetconfig->get_protocoltype( ).
        lo_httpapischemaconfigurat = lo_passthroughtargetconfig->get_schema( ).
        IF lo_httpapischemaconfigurat IS NOT INITIAL.
          lo_apischemaconfiguration = lo_httpapischemaconfigurat->get_source( ).
          IF lo_apischemaconfiguration IS NOT INITIAL.
            lo_s3configuration = lo_apischemaconfiguration->get_s3( ).
            IF lo_s3configuration IS NOT INITIAL.
              lv_s3bucketuri = lo_s3configuration->get_uri( ).
              lv_awsaccountid = lo_s3configuration->get_bucketowneraccountid( ).
            ENDIF.
            lv_inlinepayload = lo_apischemaconfiguration->get_inlinepayload( ).
          ENDIF.
        ENDIF.
        lo_stickinessconfiguration = lo_passthroughtargetconfig->get_stickinessconfiguration( ).
        IF lo_stickinessconfiguration IS NOT INITIAL.
          lv_string = lo_stickinessconfiguration->get_identifier( ).
          lv_stickinesstimeout = lo_stickinessconfiguration->get_timeout( ).
        ENDIF.
      ENDIF.
    ENDIF.
    lo_inferencetargetconfigur = lo_targetconfiguration->get_inference( ).
    IF lo_inferencetargetconfigur IS NOT INITIAL.
      lo_inferenceconnectortarge = lo_inferencetargetconfigur->get_connector( ).
      IF lo_inferenceconnectortarge IS NOT INITIAL.
        lo_inferenceconnectorsourc = lo_inferenceconnectortarge->get_source( ).
        IF lo_inferenceconnectorsourc IS NOT INITIAL.
          lv_inferenceconnectorid = lo_inferenceconnectorsourc->get_connectorid( ).
        ENDIF.
      ENDIF.
      lo_inferenceprovidertarget = lo_inferencetargetconfigur->get_provider( ).
      IF lo_inferenceprovidertarget IS NOT INITIAL.
        lv_passthroughendpoint = lo_inferenceprovidertarget->get_endpoint( ).
        lo_modelmapping = lo_inferenceprovidertarget->get_modelmapping( ).
        IF lo_modelmapping IS NOT INITIAL.
          lo_providerprefix = lo_modelmapping->get_providerprefix( ).
          IF lo_providerprefix IS NOT INITIAL.
            lv_boolean = lo_providerprefix->get_strip( ).
            lv_string = lo_providerprefix->get_separator( ).
          ENDIF.
        ENDIF.
        LOOP AT lo_inferenceprovidertarget->get_operations( ) into lo_row_19.
          lo_row_20 = lo_row_19.
          IF lo_row_20 IS NOT INITIAL.
            lv_inferenceoperationpath = lo_row_20->get_path( ).
            lv_inferenceoperationpath = lo_row_20->get_providerpath( ).
            LOOP AT lo_row_20->get_models( ) into lo_row_21.
              lo_row_22 = lo_row_21.
              IF lo_row_22 IS NOT INITIAL.
                lv_modelpattern = lo_row_22->get_model( ).
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
  ENDIF.
  LOOP AT lo_result->get_credentialproviderconfs( ) into lo_row_23.
    lo_row_24 = lo_row_23.
    IF lo_row_24 IS NOT INITIAL.
      lv_credentialprovidertype = lo_row_24->get_credentialprovidertype( ).
      lo_credentialprovider = lo_row_24->get_credentialprovider( ).
      IF lo_credentialprovider IS NOT INITIAL.
        lo_oauthcredentialprovider = lo_credentialprovider->get_oauthcredentialprovider( ).
        IF lo_oauthcredentialprovider IS NOT INITIAL.
          lv_oauthcredentialprovider_1 = lo_oauthcredentialprovider->get_providerarn( ).
          LOOP AT lo_oauthcredentialprovider->get_scopes( ) into lo_row_25.
            lo_row_26 = lo_row_25.
            IF lo_row_26 IS NOT INITIAL.
              lv_oauthscope = lo_row_26->get_value( ).
            ENDIF.
          ENDLOOP.
          LOOP AT lo_oauthcredentialprovider->get_customparameters( ) into ls_row_27.
            lv_key_1 = ls_row_27-key.
            lo_value_1 = ls_row_27-value.
            IF lo_value_1 IS NOT INITIAL.
              lv_oauthcustomparametersva = lo_value_1->get_value( ).
            ENDIF.
          ENDLOOP.
          lv_oauthgranttype = lo_oauthcredentialprovider->get_granttype( ).
          lv_oauthdefaultreturnurl = lo_oauthcredentialprovider->get_defaultreturnurl( ).
        ENDIF.
        lo_gatewayapikeycredential = lo_credentialprovider->get_apikeycredentialprovider( ).
        IF lo_gatewayapikeycredential IS NOT INITIAL.
          lv_apikeycredentialprovide = lo_gatewayapikeycredential->get_providerarn( ).
          lv_apikeycredentialparamet = lo_gatewayapikeycredential->get_credentialparametername( ).
          lv_apikeycredentialprefix = lo_gatewayapikeycredential->get_credentialprefix( ).
          lv_apikeycredentiallocatio = lo_gatewayapikeycredential->get_credentiallocation( ).
        ENDIF.
        lo_iamcredentialprovider = lo_credentialprovider->get_iamcredentialprovider( ).
        IF lo_iamcredentialprovider IS NOT INITIAL.
          lv_string = lo_iamcredentialprovider->get_service( ).
          lv_string = lo_iamcredentialprovider->get_region( ).
        ENDIF.
      ENDIF.
    ENDIF.
  ENDLOOP.
  lv_datetimestamp = lo_result->get_lastsynchronizedat( ).
  lo_metadataconfiguration = lo_result->get_metadataconfiguration( ).
  IF lo_metadataconfiguration IS NOT INITIAL.
    LOOP AT lo_metadataconfiguration->get_allowedrequestheaders( ) into lo_row_28.
      lo_row_29 = lo_row_28.
      IF lo_row_29 IS NOT INITIAL.
        lv_httpheadername = lo_row_29->get_value( ).
      ENDIF.
    ENDLOOP.
    LOOP AT lo_metadataconfiguration->get_allowedqueryparameters( ) into lo_row_30.
      lo_row_31 = lo_row_30.
      IF lo_row_31 IS NOT INITIAL.
        lv_httpqueryparametername = lo_row_31->get_value( ).
      ENDIF.
    ENDLOOP.
    LOOP AT lo_metadataconfiguration->get_allowedresponseheaders( ) into lo_row_32.
      lo_row_33 = lo_row_32.
      IF lo_row_33 IS NOT INITIAL.
        lv_httpheadername = lo_row_33->get_value( ).
      ENDIF.
    ENDLOOP.
  ENDIF.
  lo_privateendpoint = lo_result->get_privateendpoint( ).
  IF lo_privateendpoint IS NOT INITIAL.
    lo_selfmanagedlatticeresou = lo_privateendpoint->get_selfmanagedlatticeres( ).
    IF lo_selfmanagedlatticeresou IS NOT INITIAL.
      lv_resourceconfigurationid = lo_selfmanagedlatticeresou->get_resourceconfidentifier( ).
    ENDIF.
    lo_managedvpcresource = lo_privateendpoint->get_managedvpcresource( ).
    IF lo_managedvpcresource IS NOT INITIAL.
      lv_vpcidentifier = lo_managedvpcresource->get_vpcidentifier( ).
      LOOP AT lo_managedvpcresource->get_subnetids( ) into lo_row_34.
        lo_row_35 = lo_row_34.
        IF lo_row_35 IS NOT INITIAL.
          lv_subnetid = lo_row_35->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_endpointipaddresstype = lo_managedvpcresource->get_endpointipaddresstype( ).
      LOOP AT lo_managedvpcresource->get_securitygroupids( ) into lo_row_36.
        lo_row_37 = lo_row_36.
        IF lo_row_37 IS NOT INITIAL.
          lv_securitygroupidentifier = lo_row_37->get_value( ).
        ENDIF.
      ENDLOOP.
      LOOP AT lo_managedvpcresource->get_tags( ) into ls_row_38.
        lv_key_2 = ls_row_38-key.
        lo_value_2 = ls_row_38-value.
        IF lo_value_2 IS NOT INITIAL.
          lv_tagvalue = lo_value_2->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_routingdomain = lo_managedvpcresource->get_routingdomain( ).
    ENDIF.
  ENDIF.
  LOOP AT lo_result->get_privateendptmanagedres( ) into lo_row_39.
    lo_row_40 = lo_row_39.
    IF lo_row_40 IS NOT INITIAL.
      lv_domainname = lo_row_40->get_domain( ).
      lv_resourcegatewayarn = lo_row_40->get_resourcegatewayarn( ).
      lv_resourceassociationarn = lo_row_40->get_resourceassociationarn( ).
    ENDIF.
  ENDLOOP.
  lo_authorizationdata = lo_result->get_authorizationdata( ).
  IF lo_authorizationdata IS NOT INITIAL.
    lo_oauth2authorizationdata = lo_authorizationdata->get_oauth2( ).
    IF lo_oauth2authorizationdata IS NOT INITIAL.
      lv_string = lo_oauth2authorizationdata->get_authorizationurl( ).
      lv_string = lo_oauth2authorizationdata->get_userid( ).
    ENDIF.
  ENDIF.
  lv_targetprotocoltype = lo_result->get_protocoltype( ).
ENDIF.