Skip to content

/AWS1/IF_HLL=>UPDATEFHIRDATASTORE()

About UpdateFHIRDatastore

Update the properties of a FHIR-enabled data store.

Method Signature

METHODS /AWS1/IF_HLL~UPDATEFHIRDATASTORE
  IMPORTING
    !IV_DATASTOREID TYPE /AWS1/HLLDATASTOREID OPTIONAL
    !IV_DATASTORENAME TYPE /AWS1/HLLDATASTORENAME OPTIONAL
    !IO_NLPCONFIGURATION TYPE REF TO /AWS1/CL_HLLNLPCONFIGURATION OPTIONAL
    !IO_ANALYTICSCONFIGURATION TYPE REF TO /AWS1/CL_HLLANALYTICSCONF OPTIONAL
    !IO_PROFILECONFIGURATION TYPE REF TO /AWS1/CL_HLLPROFILECONF OPTIONAL
    !IO_IDENTITYPROVIDERCONF TYPE REF TO /AWS1/CL_HLLIDENTITYPVDRCONF OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hllupdfhirdatastorrsp
  RAISING
    /AWS1/CX_HLLACCESSDENIEDEX
    /AWS1/CX_HLLCONFLICTEXCEPTION
    /AWS1/CX_HLLINTERNALSERVEREX
    /AWS1/CX_HLLRESOURCENOTFOUNDEX
    /AWS1/CX_HLLTHROTTLINGEX
    /AWS1/CX_HLLVALIDATIONEX
    /AWS1/CX_HLLCLIENTEXC
    /AWS1/CX_HLLSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_datastoreid TYPE /AWS1/HLLDATASTOREID /AWS1/HLLDATASTOREID

The data store identifier.

Optional arguments:

iv_datastorename TYPE /AWS1/HLLDATASTORENAME /AWS1/HLLDATASTORENAME

The data store name.

io_nlpconfiguration TYPE REF TO /AWS1/CL_HLLNLPCONFIGURATION /AWS1/CL_HLLNLPCONFIGURATION

The natural language processing (NLP) configuration for the data store.

io_analyticsconfiguration TYPE REF TO /AWS1/CL_HLLANALYTICSCONF /AWS1/CL_HLLANALYTICSCONF

The analytics configuration for the data store.

io_profileconfiguration TYPE REF TO /AWS1/CL_HLLPROFILECONF /AWS1/CL_HLLPROFILECONF

The profile configuration for the data store.

io_identityproviderconf TYPE REF TO /AWS1/CL_HLLIDENTITYPVDRCONF /AWS1/CL_HLLIDENTITYPVDRCONF

The identity provider configuration for the data store.

RETURNING

oo_output TYPE REF TO /aws1/cl_hllupdfhirdatastorrsp /AWS1/CL_HLLUPDFHIRDATASTORRSP

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->updatefhirdatastore(
  io_analyticsconfiguration = new /aws1/cl_hllanalyticsconf( |string| )
  io_identityproviderconf = new /aws1/cl_hllidentitypvdrconf(
    iv_authorizationstrategy = |string|
    iv_finegrainedauthenabled = ABAP_TRUE
    iv_idplambdaarn = |string|
    iv_metadata = |string|
  )
  io_nlpconfiguration = new /aws1/cl_hllnlpconfiguration( |string| )
  io_profileconfiguration = new /aws1/cl_hllprofileconf(
    it_defaultprofiles = VALUE /aws1/cl_hlldefaultprofiles_w=>tt_defaultprofiles(
      ( new /aws1/cl_hlldefaultprofiles_w( |string| ) )
    )
  )
  iv_datastoreid = |string|
  iv_datastorename = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_datastoreproperties = lo_result->get_datastoreproperties( ).
  IF lo_datastoreproperties IS NOT INITIAL.
    lv_datastoreid = lo_datastoreproperties->get_datastoreid( ).
    lv_datastorearn = lo_datastoreproperties->get_datastorearn( ).
    lv_datastorename = lo_datastoreproperties->get_datastorename( ).
    lv_datastorestatus = lo_datastoreproperties->get_datastorestatus( ).
    lv_timestamp = lo_datastoreproperties->get_createdat( ).
    lv_fhirversion = lo_datastoreproperties->get_datastoretypeversion( ).
    lv_string = lo_datastoreproperties->get_datastoreendpoint( ).
    lo_sseconfiguration = lo_datastoreproperties->get_sseconfiguration( ).
    IF lo_sseconfiguration IS NOT INITIAL.
      lo_kmsencryptionconfig = lo_sseconfiguration->get_kmsencryptionconfig( ).
      IF lo_kmsencryptionconfig IS NOT INITIAL.
        lv_cmktype = lo_kmsencryptionconfig->get_cmktype( ).
        lv_encryptionkeyid = lo_kmsencryptionconfig->get_kmskeyid( ).
      ENDIF.
    ENDIF.
    lo_preloaddataconfig = lo_datastoreproperties->get_preloaddataconfig( ).
    IF lo_preloaddataconfig IS NOT INITIAL.
      lv_preloaddatatype = lo_preloaddataconfig->get_preloaddatatype( ).
    ENDIF.
    lo_identityproviderconfigu = lo_datastoreproperties->get_identityproviderconf( ).
    IF lo_identityproviderconfigu IS NOT INITIAL.
      lv_authorizationstrategy = lo_identityproviderconfigu->get_authorizationstrategy( ).
      lv_boolean = lo_identityproviderconfigu->get_finegrainedauthenabled( ).
      lv_configurationmetadata = lo_identityproviderconfigu->get_metadata( ).
      lv_lambdaarn = lo_identityproviderconfigu->get_idplambdaarn( ).
    ENDIF.
    lo_errorcause = lo_datastoreproperties->get_errorcause( ).
    IF lo_errorcause IS NOT INITIAL.
      lv_errormessage = lo_errorcause->get_errormessage( ).
      lv_errorcategory = lo_errorcause->get_errorcategory( ).
    ENDIF.
    lo_nlpconfiguration = lo_datastoreproperties->get_nlpconfiguration( ).
    IF lo_nlpconfiguration IS NOT INITIAL.
      lv_nlpstatus = lo_nlpconfiguration->get_status( ).
    ENDIF.
    lo_analyticsconfiguration = lo_datastoreproperties->get_analyticsconfiguration( ).
    IF lo_analyticsconfiguration IS NOT INITIAL.
      lv_analyticsstatus = lo_analyticsconfiguration->get_status( ).
    ENDIF.
    lo_profileconfiguration = lo_datastoreproperties->get_profileconfiguration( ).
    IF lo_profileconfiguration IS NOT INITIAL.
      LOOP AT lo_profileconfiguration->get_defaultprofiles( ) into lo_row.
        lo_row_1 = lo_row.
        IF lo_row_1 IS NOT INITIAL.
          lv_string = lo_row_1->get_value( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
  ENDIF.
ENDIF.