Skip to content

/AWS1/IF_DZN=>CREATECONNECTION()

About CreateConnection

Creates a new connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

Method Signature

METHODS /AWS1/IF_DZN~CREATECONNECTION
  IMPORTING
    !IO_AWSLOCATION TYPE REF TO /AWS1/CL_DZNAWSLOCATION OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/DZNSTRING OPTIONAL
    !IT_CONFIGURATIONS TYPE /AWS1/CL_DZNCONFIGURATION=>TT_CONFIGURATIONS OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/DZNDESCRIPTION OPTIONAL
    !IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID OPTIONAL
    !IV_ENVIRONMENTIDENTIFIER TYPE /AWS1/DZNENVIRONMENTID OPTIONAL
    !IV_NAME TYPE /AWS1/DZNCONNECTIONNAME OPTIONAL
    !IO_PROPS TYPE REF TO /AWS1/CL_DZNCONNPRPSINPUT OPTIONAL
    !IV_ENABLETRSTDIDPROPAGATION TYPE /AWS1/DZNBOOLEAN OPTIONAL
    !IV_SCOPE TYPE /AWS1/DZNCONNECTIONSCOPE OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dzncreateconnoutput
  RAISING
    /AWS1/CX_DZNACCESSDENIEDEX
    /AWS1/CX_DZNTHROTTLINGEX
    /AWS1/CX_DZNUNAUTHORIZEDEX
    /AWS1/CX_DZNCONFLICTEXCEPTION
    /AWS1/CX_DZNINTERNALSERVEREX
    /AWS1/CX_DZNRESOURCENOTFOUNDEX
    /AWS1/CX_DZNSERVICEQUOTAEXCDEX
    /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 domain where the connection is created.

iv_name TYPE /AWS1/DZNCONNECTIONNAME /AWS1/DZNCONNECTIONNAME

The connection name.

Optional arguments:

io_awslocation TYPE REF TO /AWS1/CL_DZNAWSLOCATION /AWS1/CL_DZNAWSLOCATION

The location where the connection is created.

iv_clienttoken TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

it_configurations TYPE /AWS1/CL_DZNCONFIGURATION=>TT_CONFIGURATIONS TT_CONFIGURATIONS

The configurations of the connection.

iv_description TYPE /AWS1/DZNDESCRIPTION /AWS1/DZNDESCRIPTION

A connection description.

iv_environmentidentifier TYPE /AWS1/DZNENVIRONMENTID /AWS1/DZNENVIRONMENTID

The ID of the environment where the connection is created.

io_props TYPE REF TO /AWS1/CL_DZNCONNPRPSINPUT /AWS1/CL_DZNCONNPRPSINPUT

The connection props.

iv_enabletrstdidpropagation TYPE /AWS1/DZNBOOLEAN /AWS1/DZNBOOLEAN

Specifies whether the trusted identity propagation is enabled.

iv_scope TYPE /AWS1/DZNCONNECTIONSCOPE /AWS1/DZNCONNECTIONSCOPE

The scope of the connection.

RETURNING

oo_output TYPE REF TO /aws1/cl_dzncreateconnoutput /AWS1/CL_DZNCREATECONNOUTPUT

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->createconnection(
  io_awslocation = new /aws1/cl_dznawslocation(
    iv_accessrole = |string|
    iv_awsaccountid = |string|
    iv_awsregion = |string|
    iv_iamconnectionid = |string|
  )
  io_props = new /aws1/cl_dznconnprpsinput(
    io_amazonqproperties = new /aws1/cl_dznamazonqpropsinput(
      iv_authmode = |string|
      iv_isenabled = ABAP_TRUE
      iv_profilearn = |string|
    )
    io_athenaproperties = new /aws1/cl_dznathenaprpsinput( |string| )
    io_glueproperties = new /aws1/cl_dznglueprpsinput(
      io_glueconnectioninput = new /aws1/cl_dznglueconninput(
        io_authntctnconfiguration = new /aws1/cl_dznauthntctnconfinput(
          io_basicauthntctncredentials = new /aws1/cl_dznbsauthntctncreds(
            iv_password = |string|
            iv_username = |string|
          )
          io_oauth2properties = new /aws1/cl_dznoauth2properties(
            io_authcodeproperties = new /aws1/cl_dznauthcodeproperties(
              iv_authorizationcode = |string|
              iv_redirecturi = |string|
            )
            io_oauth2clientapplication = new /aws1/cl_dznoauth2cliapplica00(
              iv_awsmanagedcliapplicatio00 = |string|
              iv_usermanagedcliapplicati00 = |string|
            )
            io_oauth2credentials = new /aws1/cl_dznglueoauth2creds(
              iv_accesstoken = |string|
              iv_jwttoken = |string|
              iv_refreshtoken = |string|
              iv_usermanagedcliapplicati01 = |string|
            )
            it_tokenurlparametersmap = VALUE /aws1/cl_dzntokurlparamsmap_w=>tt_tokenurlparametersmap(
              (
                VALUE /aws1/cl_dzntokurlparamsmap_w=>ts_tokenurlparamsmap_maprow(
                  key = |string|
                  value = new /aws1/cl_dzntokurlparamsmap_w( |string| )
                )
              )
            )
            iv_oauth2granttype = |string|
            iv_tokenurl = |string|
          )
          it_customauthntctncreds = VALUE /aws1/cl_dzncredentialmap_w=>tt_credentialmap(
            (
              VALUE /aws1/cl_dzncredentialmap_w=>ts_credentialmap_maprow(
                value = new /aws1/cl_dzncredentialmap_w( |string| )
                key = |string|
              )
            )
          )
          iv_authenticationtype = |string|
          iv_kmskeyarn = |string|
          iv_secretarn = |string|
        )
        io_physicalconnrequirements = new /aws1/cl_dznphysicalcxnrequi00(
          it_securitygroupidlist = VALUE /aws1/cl_dznsecgroupidlist_w=>tt_securitygroupidlist(
            ( new /aws1/cl_dznsecgroupidlist_w( |string| ) )
          )
          it_subnetidlist = VALUE /aws1/cl_dznsubnetidlist_w=>tt_subnetidlist(
            ( new /aws1/cl_dznsubnetidlist_w( |string| ) )
          )
          iv_availabilityzone = |string|
          iv_subnetid = |string|
        )
        it_athenaproperties = VALUE /aws1/cl_dznpropertymap_w=>tt_propertymap(
          (
            VALUE /aws1/cl_dznpropertymap_w=>ts_propertymap_maprow(
              key = |string|
              value = new /aws1/cl_dznpropertymap_w( |string| )
            )
          )
        )
        it_connectionproperties = VALUE /aws1/cl_dznconnproperties_w=>tt_connectionproperties(
          (
            VALUE /aws1/cl_dznconnproperties_w=>ts_connectionproperties_maprow(
              value = new /aws1/cl_dznconnproperties_w( |string| )
              key = |string|
            )
          )
        )
        it_pythonproperties = VALUE /aws1/cl_dznpropertymap_w=>tt_propertymap(
          (
            VALUE /aws1/cl_dznpropertymap_w=>ts_propertymap_maprow(
              key = |string|
              value = new /aws1/cl_dznpropertymap_w( |string| )
            )
          )
        )
        it_sparkproperties = VALUE /aws1/cl_dznpropertymap_w=>tt_propertymap(
          (
            VALUE /aws1/cl_dznpropertymap_w=>ts_propertymap_maprow(
              key = |string|
              value = new /aws1/cl_dznpropertymap_w( |string| )
            )
          )
        )
        it_vldtforcomputeenvironme00 = VALUE /aws1/cl_dzncomputeenvironme00=>tt_computeenvironmentslist(
          ( new /aws1/cl_dzncomputeenvironme00( |string| ) )
        )
        iv_connectiontype = |string|
        iv_description = |string|
        iv_matchcriteria = |string|
        iv_name = |string|
        iv_validatecredentials = ABAP_TRUE
      )
    )
    io_hyperpodproperties = new /aws1/cl_dznhyperpodprpsinput( |string| )
    io_iamproperties = new /aws1/cl_dzniampropertiesinput( ABAP_TRUE )
    io_mlflowproperties = new /aws1/cl_dznmlflowpropsinput( |string| )
    io_redshiftproperties = new /aws1/cl_dznredshiftprpsinput(
      io_credentials = new /aws1/cl_dznredshiftcreds(
        io_usernamepassword = new /aws1/cl_dznusernamepassword(
          iv_password = |string|
          iv_username = |string|
        )
        iv_secretarn = |string|
      )
      io_lineagesync = new /aws1/cl_dznredlineagesyncco00(
        io_schedule = new /aws1/cl_dznlineagesyncschd( |string| )
        iv_enabled = ABAP_TRUE
      )
      io_storage = new /aws1/cl_dznredstorageprps(
        iv_clustername = |string|
        iv_workgroupname = |string|
      )
      iv_databasename = |string|
      iv_host = |string|
      iv_port = 123
    )
    io_s3properties = new /aws1/cl_dzns3propertiesinput(
      iv_regs3accessgrantlocation = ABAP_TRUE
      iv_s3accessgrantlocationid = |string|
      iv_s3uri = |string|
    )
    io_sparkemrproperties = new /aws1/cl_dznsparkemrprpsinput(
      iv_computearn = |string|
      iv_instanceprofilearn = |string|
      iv_javavirtualenv = |string|
      iv_loguri = |string|
      iv_managedendpointarn = |string|
      iv_pythonvirtualenv = |string|
      iv_runtimerole = |string|
      iv_trustedcertificatess3uri = |string|
    )
    io_sparkglueproperties = new /aws1/cl_dznsparkglueprpsinput(
      io_additionalargs = new /aws1/cl_dznsparkglueargs( |string| )
      it_glueconnectionnames = VALUE /aws1/cl_dznglueconnnames_w=>tt_glueconnectionnames(
        ( new /aws1/cl_dznglueconnnames_w( |string| ) )
      )
      iv_glueconnectionname = |string|
      iv_glueversion = |string|
      iv_idletimeout = 123
      iv_javavirtualenv = |string|
      iv_numberofworkers = 123
      iv_pythonvirtualenv = |string|
      iv_workertype = |string|
    )
    io_workflowsmwaaproperties = new /aws1/cl_dznwkflsmwaapropsinp( |string| )
    io_workflowssvrlsproperties = new /aws1/cl_dznwkflssvrlspropsinp( )
  )
  it_configurations = VALUE /aws1/cl_dznconfiguration=>tt_configurations(
    (
      new /aws1/cl_dznconfiguration(
        it_properties = VALUE /aws1/cl_dznpropertymap_w=>tt_propertymap(
          (
            VALUE /aws1/cl_dznpropertymap_w=>ts_propertymap_maprow(
              key = |string|
              value = new /aws1/cl_dznpropertymap_w( |string| )
            )
          )
        )
        iv_classification = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_description = |string|
  iv_domainidentifier = |string|
  iv_enabletrstdidpropagation = ABAP_TRUE
  iv_environmentidentifier = |string|
  iv_name = |string|
  iv_scope = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_connectionid = lo_result->get_connectionid( ).
  LOOP AT lo_result->get_configurations( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_string = lo_row_1->get_classification( ).
      LOOP AT lo_row_1->get_properties( ) into ls_row_2.
        lv_key = ls_row_2-key.
        lo_value = ls_row_2-value.
        IF lo_value IS NOT INITIAL.
          lv_string = lo_value->get_value( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
  ENDLOOP.
  lv_description = lo_result->get_description( ).
  lv_domainid = lo_result->get_domainid( ).
  lv_domainunitid = lo_result->get_domainunitid( ).
  lv_environmentid = lo_result->get_environmentid( ).
  lv_connectionname = lo_result->get_name( ).
  LOOP AT lo_result->get_physicalendpoints( ) into lo_row_3.
    lo_row_4 = lo_row_3.
    IF lo_row_4 IS NOT INITIAL.
      lo_awslocation = lo_row_4->get_awslocation( ).
      IF lo_awslocation IS NOT INITIAL.
        lv_string = lo_awslocation->get_accessrole( ).
        lv_awsaccountid = lo_awslocation->get_awsaccountid( ).
        lv_awsregion = lo_awslocation->get_awsregion( ).
        lv_connectionid = lo_awslocation->get_iamconnectionid( ).
      ENDIF.
      lv_string = lo_row_4->get_glueconnectionname( ).
      LOOP AT lo_row_4->get_glueconnectionnames( ) into lo_row_5.
        lo_row_6 = lo_row_5.
        IF lo_row_6 IS NOT INITIAL.
          lv_glueconnectionname = lo_row_6->get_value( ).
        ENDIF.
      ENDLOOP.
      lo_glueconnection = lo_row_4->get_glueconnection( ).
      IF lo_glueconnection IS NOT INITIAL.
        lv_string = lo_glueconnection->get_name( ).
        lv_string = lo_glueconnection->get_description( ).
        lv_connectiontype = lo_glueconnection->get_connectiontype( ).
        LOOP AT lo_glueconnection->get_matchcriteria( ) into lo_row_7.
          lo_row_8 = lo_row_7.
          IF lo_row_8 IS NOT INITIAL.
            lv_string = lo_row_8->get_value( ).
          ENDIF.
        ENDLOOP.
        LOOP AT lo_glueconnection->get_connectionproperties( ) into ls_row_9.
          lv_key = ls_row_9-key.
          lo_value_1 = ls_row_9-value.
          IF lo_value_1 IS NOT INITIAL.
            lv_string = lo_value_1->get_value( ).
          ENDIF.
        ENDLOOP.
        LOOP AT lo_glueconnection->get_sparkproperties( ) into ls_row_2.
          lv_key = ls_row_2-key.
          lo_value = ls_row_2-value.
          IF lo_value IS NOT INITIAL.
            lv_string = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        LOOP AT lo_glueconnection->get_athenaproperties( ) into ls_row_2.
          lv_key = ls_row_2-key.
          lo_value = ls_row_2-value.
          IF lo_value IS NOT INITIAL.
            lv_string = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        LOOP AT lo_glueconnection->get_pythonproperties( ) into ls_row_2.
          lv_key = ls_row_2-key.
          lo_value = ls_row_2-value.
          IF lo_value IS NOT INITIAL.
            lv_string = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        lo_physicalconnectionrequi = lo_glueconnection->get_physicalconnrequirements( ).
        IF lo_physicalconnectionrequi IS NOT INITIAL.
          lv_subnetid = lo_physicalconnectionrequi->get_subnetid( ).
          LOOP AT lo_physicalconnectionrequi->get_subnetidlist( ) into lo_row_10.
            lo_row_11 = lo_row_10.
            IF lo_row_11 IS NOT INITIAL.
              lv_subnetid = lo_row_11->get_value( ).
            ENDIF.
          ENDLOOP.
          LOOP AT lo_physicalconnectionrequi->get_securitygroupidlist( ) into lo_row_12.
            lo_row_13 = lo_row_12.
            IF lo_row_13 IS NOT INITIAL.
              lv_string = lo_row_13->get_value( ).
            ENDIF.
          ENDLOOP.
          lv_string = lo_physicalconnectionrequi->get_availabilityzone( ).
        ENDIF.
        lv_timestamp = lo_glueconnection->get_creationtime( ).
        lv_timestamp = lo_glueconnection->get_lastupdatedtime( ).
        lv_string = lo_glueconnection->get_lastupdatedby( ).
        lv_connectionstatus = lo_glueconnection->get_status( ).
        lv_string = lo_glueconnection->get_statusreason( ).
        lv_timestamp = lo_glueconnection->get_lastconnvalidationtime( ).
        lo_authenticationconfigura = lo_glueconnection->get_authntctnconfiguration( ).
        IF lo_authenticationconfigura IS NOT INITIAL.
          lv_authenticationtype = lo_authenticationconfigura->get_authenticationtype( ).
          lv_string = lo_authenticationconfigura->get_secretarn( ).
          lo_oauth2properties = lo_authenticationconfigura->get_oauth2properties( ).
          IF lo_oauth2properties IS NOT INITIAL.
            lv_oauth2granttype = lo_oauth2properties->get_oauth2granttype( ).
            lo_oauth2clientapplication = lo_oauth2properties->get_oauth2clientapplication( ).
            IF lo_oauth2clientapplication IS NOT INITIAL.
              lv_string = lo_oauth2clientapplication->get_usermanagedcliapplicat00( ).
              lv_string = lo_oauth2clientapplication->get_awsmanagedcliapplicati00( ).
            ENDIF.
            lv_string = lo_oauth2properties->get_tokenurl( ).
            LOOP AT lo_oauth2properties->get_tokenurlparametersmap( ) into ls_row_14.
              lv_key = ls_row_14-key.
              lo_value_2 = ls_row_14-value.
              IF lo_value_2 IS NOT INITIAL.
                lv_string = lo_value_2->get_value( ).
              ENDIF.
            ENDLOOP.
            lo_authorizationcodeproper = lo_oauth2properties->get_authcodeproperties( ).
            IF lo_authorizationcodeproper IS NOT INITIAL.
              lv_string = lo_authorizationcodeproper->get_authorizationcode( ).
              lv_string = lo_authorizationcodeproper->get_redirecturi( ).
            ENDIF.
            lo_glueoauth2credentials = lo_oauth2properties->get_oauth2credentials( ).
            IF lo_glueoauth2credentials IS NOT INITIAL.
              lv_string = lo_glueoauth2credentials->get_usermanagedcliapplicat01( ).
              lv_string = lo_glueoauth2credentials->get_accesstoken( ).
              lv_string = lo_glueoauth2credentials->get_refreshtoken( ).
              lv_string = lo_glueoauth2credentials->get_jwttoken( ).
            ENDIF.
          ENDIF.
        ENDIF.
        lv_integer = lo_glueconnection->get_connectionschemaversion( ).
        LOOP AT lo_glueconnection->get_compatiblecomputeenvir00( ) into lo_row_15.
          lo_row_16 = lo_row_15.
          IF lo_row_16 IS NOT INITIAL.
            lv_computeenvironments = lo_row_16->get_value( ).
          ENDIF.
        ENDLOOP.
      ENDIF.
      lv_boolean = lo_row_4->get_enabletrstdidpropagation( ).
      lv_string = lo_row_4->get_host( ).
      lv_integer = lo_row_4->get_port( ).
      lv_protocol = lo_row_4->get_protocol( ).
      lv_string = lo_row_4->get_stage( ).
    ENDIF.
  ENDLOOP.
  lv_projectid = lo_result->get_projectid( ).
  lo_connectionpropertiesout = lo_result->get_props( ).
  IF lo_connectionpropertiesout IS NOT INITIAL.
    lo_athenapropertiesoutput = lo_connectionpropertiesout->get_athenaproperties( ).
    IF lo_athenapropertiesoutput IS NOT INITIAL.
      lv_string = lo_athenapropertiesoutput->get_workgroupname( ).
    ENDIF.
    lo_gluepropertiesoutput = lo_connectionpropertiesout->get_glueproperties( ).
    IF lo_gluepropertiesoutput IS NOT INITIAL.
      lv_connectionstatus = lo_gluepropertiesoutput->get_status( ).
      lv_string = lo_gluepropertiesoutput->get_errormessage( ).
    ENDIF.
    lo_hyperpodpropertiesoutpu = lo_connectionpropertiesout->get_hyperpodproperties( ).
    IF lo_hyperpodpropertiesoutpu IS NOT INITIAL.
      lv_string = lo_hyperpodpropertiesoutpu->get_clustername( ).
      lv_string = lo_hyperpodpropertiesoutpu->get_clusterarn( ).
      lv_hyperpodorchestrator = lo_hyperpodpropertiesoutpu->get_orchestrator( ).
    ENDIF.
    lo_iampropertiesoutput = lo_connectionpropertiesout->get_iamproperties( ).
    IF lo_iampropertiesoutput IS NOT INITIAL.
      lv_string = lo_iampropertiesoutput->get_environmentid( ).
      lv_boolean = lo_iampropertiesoutput->get_gluelineagesyncenabled( ).
    ENDIF.
    lo_redshiftpropertiesoutpu = lo_connectionpropertiesout->get_redshiftproperties( ).
    IF lo_redshiftpropertiesoutpu IS NOT INITIAL.
      lo_redshiftstorageproperti = lo_redshiftpropertiesoutpu->get_storage( ).
      IF lo_redshiftstorageproperti IS NOT INITIAL.
        lv_string = lo_redshiftstorageproperti->get_clustername( ).
        lv_string = lo_redshiftstorageproperti->get_workgroupname( ).
      ENDIF.
      lo_redshiftcredentials = lo_redshiftpropertiesoutpu->get_credentials( ).
      IF lo_redshiftcredentials IS NOT INITIAL.
        lv_string = lo_redshiftcredentials->get_secretarn( ).
        lo_usernamepassword = lo_redshiftcredentials->get_usernamepassword( ).
        IF lo_usernamepassword IS NOT INITIAL.
          lv_password = lo_usernamepassword->get_password( ).
          lv_username = lo_usernamepassword->get_username( ).
        ENDIF.
      ENDIF.
      lv_boolean = lo_redshiftpropertiesoutpu->get_isprovisionedsecret( ).
      lv_string = lo_redshiftpropertiesoutpu->get_jdbciamurl( ).
      lv_string = lo_redshiftpropertiesoutpu->get_jdbcurl( ).
      lv_string = lo_redshiftpropertiesoutpu->get_redshifttempdir( ).
      lo_redshiftlineagesyncconf = lo_redshiftpropertiesoutpu->get_lineagesync( ).
      IF lo_redshiftlineagesyncconf IS NOT INITIAL.
        lv_string = lo_redshiftlineagesyncconf->get_lineagejobid( ).
        lv_boolean = lo_redshiftlineagesyncconf->get_enabled( ).
        lo_lineagesyncschedule = lo_redshiftlineagesyncconf->get_schedule( ).
        IF lo_lineagesyncschedule IS NOT INITIAL.
          lv_string = lo_lineagesyncschedule->get_schedule( ).
        ENDIF.
      ENDIF.
      lv_connectionstatus = lo_redshiftpropertiesoutpu->get_status( ).
      lv_string = lo_redshiftpropertiesoutpu->get_databasename( ).
    ENDIF.
    lo_sparkemrpropertiesoutpu = lo_connectionpropertiesout->get_sparkemrproperties( ).
    IF lo_sparkemrpropertiesoutpu IS NOT INITIAL.
      lv_string = lo_sparkemrpropertiesoutpu->get_computearn( ).
      lo_usernamepassword = lo_sparkemrpropertiesoutpu->get_credentials( ).
      IF lo_usernamepassword IS NOT INITIAL.
        lv_password = lo_usernamepassword->get_password( ).
        lv_username = lo_usernamepassword->get_username( ).
      ENDIF.
      lv_timestamp = lo_sparkemrpropertiesoutpu->get_credentialsexpiration( ).
      lv_governancetype = lo_sparkemrpropertiesoutpu->get_governancetype( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_instanceprofilearn( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_javavirtualenv( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_livyendpoint( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_loguri( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_pythonvirtualenv( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_runtimerole( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_trustedcertificatess3uri( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_certificatedata( ).
      lv_string = lo_sparkemrpropertiesoutpu->get_managedendpointarn( ).
      lo_managedendpointcredenti = lo_sparkemrpropertiesoutpu->get_managedendpointcreds( ).
      IF lo_managedendpointcredenti IS NOT INITIAL.
        lv_string = lo_managedendpointcredenti->get_id( ).
        lv_string = lo_managedendpointcredenti->get_token( ).
      ENDIF.
    ENDIF.
    lo_sparkgluepropertiesoutp = lo_connectionpropertiesout->get_sparkglueproperties( ).
    IF lo_sparkgluepropertiesoutp IS NOT INITIAL.
      lo_sparkglueargs = lo_sparkgluepropertiesoutp->get_additionalargs( ).
      IF lo_sparkglueargs IS NOT INITIAL.
        lv_string = lo_sparkglueargs->get_connection( ).
      ENDIF.
      lv_string = lo_sparkgluepropertiesoutp->get_glueconnectionname( ).
      LOOP AT lo_sparkgluepropertiesoutp->get_glueconnectionnames( ) into lo_row_5.
        lo_row_6 = lo_row_5.
        IF lo_row_6 IS NOT INITIAL.
          lv_glueconnectionname = lo_row_6->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_string = lo_sparkgluepropertiesoutp->get_glueversion( ).
      lv_integer = lo_sparkgluepropertiesoutp->get_idletimeout( ).
      lv_string = lo_sparkgluepropertiesoutp->get_javavirtualenv( ).
      lv_integer = lo_sparkgluepropertiesoutp->get_numberofworkers( ).
      lv_string = lo_sparkgluepropertiesoutp->get_pythonvirtualenv( ).
      lv_string = lo_sparkgluepropertiesoutp->get_workertype( ).
    ENDIF.
    lo_s3propertiesoutput = lo_connectionpropertiesout->get_s3properties( ).
    IF lo_s3propertiesoutput IS NOT INITIAL.
      lv_s3uri = lo_s3propertiesoutput->get_s3uri( ).
      lv_s3accessgrantlocationid = lo_s3propertiesoutput->get_s3accessgrantlocationid( ).
      lv_boolean = lo_s3propertiesoutput->get_regs3accessgrantlocation( ).
      lv_connectionstatus = lo_s3propertiesoutput->get_status( ).
      lv_string = lo_s3propertiesoutput->get_errormessage( ).
    ENDIF.
    lo_amazonqpropertiesoutput = lo_connectionpropertiesout->get_amazonqproperties( ).
    IF lo_amazonqpropertiesoutput IS NOT INITIAL.
      lv_boolean = lo_amazonqpropertiesoutput->get_isenabled( ).
      lv_string = lo_amazonqpropertiesoutput->get_profilearn( ).
      lv_string = lo_amazonqpropertiesoutput->get_authmode( ).
    ENDIF.
    lo_mlflowpropertiesoutput = lo_connectionpropertiesout->get_mlflowproperties( ).
    IF lo_mlflowpropertiesoutput IS NOT INITIAL.
      lv_string = lo_mlflowpropertiesoutput->get_trackingserverarn( ).
    ENDIF.
    lo_workflowsmwaaproperties = lo_connectionpropertiesout->get_workflowsmwaaproperties( ).
    IF lo_workflowsmwaaproperties IS NOT INITIAL.
      lv_string = lo_workflowsmwaaproperties->get_mwaaenvironmentname( ).
    ENDIF.
    lo_workflowsserverlessprop = lo_connectionpropertiesout->get_workflowssvrlsproperties( ).
    IF lo_workflowsserverlessprop IS NOT INITIAL.
    ENDIF.
  ENDIF.
  lv_connectiontype = lo_result->get_type( ).
  lv_connectionscope = lo_result->get_scope( ).
ENDIF.