Skip to content

/AWS1/IF_HLL=>RESTOREFHIRDATASTORE()

About RestoreFHIRDatastore

Restore a backup-enabled data store to a point in time. Creates a new data store from the backup.

Method Signature

METHODS /AWS1/IF_HLL~RESTOREFHIRDATASTORE
  IMPORTING
    !IV_SOURCEDATASTOREID TYPE /AWS1/HLLDATASTOREID OPTIONAL
    !IO_RESTORECONFIGURATION TYPE REF TO /AWS1/CL_HLLRESTORECONF OPTIONAL
    !IV_DATASTORENAME TYPE /AWS1/HLLDATASTORENAME OPTIONAL
    !IO_SSECONFIGURATION TYPE REF TO /AWS1/CL_HLLSSECONFIGURATION OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/HLLCLIENTTOKENSTRING OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_HLLTAG=>TT_TAGLIST OPTIONAL
    !IO_IDENTITYPROVIDERCONF TYPE REF TO /AWS1/CL_HLLIDENTITYPVDRCONF OPTIONAL
    !IO_ANALYTICSCONFIGURATION TYPE REF TO /AWS1/CL_HLLANALYTICSCONF OPTIONAL
    !IO_NLPCONFIGURATION TYPE REF TO /AWS1/CL_HLLNLPCONFIGURATION OPTIONAL
    !IO_PROFILECONFIGURATION TYPE REF TO /AWS1/CL_HLLPROFILECONF OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hllrstfhirdatastorrsp
  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_sourcedatastoreid TYPE /AWS1/HLLDATASTOREID /AWS1/HLLDATASTOREID

The identifier of the source data store to restore from.

io_restoreconfiguration TYPE REF TO /AWS1/CL_HLLRESTORECONF /AWS1/CL_HLLRESTORECONF

The restore configuration specifying the type and parameters for the restore.

Optional arguments:

iv_datastorename TYPE /AWS1/HLLDATASTORENAME /AWS1/HLLDATASTORENAME

The name for the restored data store.

io_sseconfiguration TYPE REF TO /AWS1/CL_HLLSSECONFIGURATION /AWS1/CL_HLLSSECONFIGURATION

The server-side encryption key configuration for the restored data store.

iv_clienttoken TYPE /AWS1/HLLCLIENTTOKENSTRING /AWS1/HLLCLIENTTOKENSTRING

An optional user-provided token to ensure API idempotency of the restore.

it_tags TYPE /AWS1/CL_HLLTAG=>TT_TAGLIST TT_TAGLIST

The resource tags applied to the restored data store.

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

The identity provider configuration for the restored data store.

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

The analytics configuration for the restored data store.

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

The NLP configuration for the restored data store.

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

The profile configuration for the restored data store.

RETURNING

oo_output TYPE REF TO /aws1/cl_hllrstfhirdatastorrsp /AWS1/CL_HLLRSTFHIRDATASTORRSP

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->restorefhirdatastore(
  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| ) )
    )
  )
  io_restoreconfiguration = new /aws1/cl_hllrestoreconf( new /aws1/cl_hllcontbackuprestconf( '20150101000000.0000000' ) )
  io_sseconfiguration = new /aws1/cl_hllsseconfiguration(
    io_kmsencryptionconfig = new /aws1/cl_hllkmsencconfig(
      iv_cmktype = |string|
      iv_kmskeyid = |string|
    )
  )
  it_tags = VALUE /aws1/cl_hlltag=>tt_taglist(
    (
      new /aws1/cl_hlltag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_datastorename = |string|
  iv_sourcedatastoreid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_datastoreid = lo_result->get_datastoreid( ).
  lv_datastorearn = lo_result->get_datastorearn( ).
  lv_datastorestatus = lo_result->get_datastorestatus( ).
  lv_boundedlengthstring = lo_result->get_datastoreendpoint( ).
ENDIF.

Restore a data store to a point in time

Restore a data store to a point in time

DATA(lo_result) = lo_client->restorefhirdatastore(
  io_restoreconfiguration = new /aws1/cl_hllrestoreconf( new /aws1/cl_hllcontbackuprestconf( '20260801000000.0000000' ) )
  iv_datastorename = |RestoredFhirDatastore|
  iv_sourcedatastoreid = |source-datastore-id|
).