Skip to content

/AWS1/IF_ODB=>INITIALIZESERVICE()

About InitializeService

Initializes the ODB service for the first time in an account.

Method Signature

METHODS /AWS1/IF_ODB~INITIALIZESERVICE
  IMPORTING
    !IV_OCIIDENTITYDOMAIN TYPE /AWS1/ODBBOOLEAN OPTIONAL
    !IV_ATNMSDBASEOCIAWSSCRTSMG00 TYPE /AWS1/ODBACCESS OPTIONAL
  PREFERRED PARAMETER iv_ociidentitydomain
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbinitializesvcout
  RAISING
    /AWS1/CX_ODBACCESSDENIEDEX
    /AWS1/CX_ODBINTERNALSERVEREX
    /AWS1/CX_ODBTHROTTLINGEX
    /AWS1/CX_ODBVALIDATIONEX
    /AWS1/CX_ODBCLIENTEXC
    /AWS1/CX_ODBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Optional arguments:

iv_ociidentitydomain TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN

The Oracle Cloud Infrastructure (OCI) identity domain configuration for service initialization.

iv_atnmsdbaseociawsscrtsmg00 TYPE /AWS1/ODBACCESS /AWS1/ODBACCESS

Specifies whether to enable or disable the OCI service-account role for Amazon Web Services Secrets Manager integration with Autonomous Database.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbinitializesvcout /AWS1/CL_ODBINITIALIZESVCOUT

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->initializeservice(
  iv_atnmsdbaseociawsscrtsmg00 = |string|
  iv_ociidentitydomain = ABAP_TRUE
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.