Skip to content

/AWS1/IF_ODB=>CREATEEXASCALEDBSTORAGEVAULT()

About CreateExascaleDbStorageVault

Creates an Exascale storage vault.

Method Signature

METHODS /AWS1/IF_ODB~CREATEEXASCALEDBSTORAGEVAULT
  IMPORTING
    !IV_DISPLAYNAME TYPE /AWS1/ODBRESOURCEDISPLAYNAME OPTIONAL
    !IV_HGHCAPDBASESTRGTTLSZINGBS TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_ADDLFLASHCACHEINPERCENT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_AUTOSCALELIMITINGBS TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_AVAILABILITYZONEID TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_AVAILABILITYZONE TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_ISAUTOSCALEENABLED TYPE /AWS1/ODBBOOLEAN OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP OPTIONAL
    !IV_TIMEZONE TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/ODBGENERALINPUTSTRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbcreexadbstrgvaul01
  RAISING
    /AWS1/CX_ODBACCESSDENIEDEX
    /AWS1/CX_ODBCONFLICTEXCEPTION
    /AWS1/CX_ODBINTERNALSERVEREX
    /AWS1/CX_ODBSERVICEQUOTAEXCDEX
    /AWS1/CX_ODBTHROTTLINGEX
    /AWS1/CX_ODBVALIDATIONEX
    /AWS1/CX_ODBCLIENTEXC
    /AWS1/CX_ODBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

A user-friendly name for the Exascale storage vault.

iv_hghcapdbasestrgttlszingbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The total size of the high-capacity database storage, in gigabytes (GB), for the Exascale storage vault.

Optional arguments:

iv_addlflashcacheinpercent TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The additional flash cache percentage for the Exascale storage vault.

iv_autoscalelimitingbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The autoscale limit in gigabytes (GB) for the Exascale storage vault.

iv_availabilityzoneid TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The Availability Zone ID for the Exascale storage vault.

iv_availabilityzone TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The Availability Zone for the Exascale storage vault.

iv_description TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

A description of the Exascale storage vault.

iv_isautoscaleenabled TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN

Specifies whether autoscaling is enabled for the Exascale storage vault.

it_tags TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP TT_REQUESTTAGMAP

The list of resource tags to apply to the Exascale storage vault.

iv_timezone TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The time zone for the Exascale storage vault.

iv_clienttoken TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates one and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbcreexadbstrgvaul01 /AWS1/CL_ODBCREEXADBSTRGVAUL01

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->createexascaledbstoragevault(
  it_tags = VALUE /aws1/cl_odbrequesttagmap_w=>tt_requesttagmap(
    (
      VALUE /aws1/cl_odbrequesttagmap_w=>ts_requesttagmap_maprow(
        key = |string|
        value = new /aws1/cl_odbrequesttagmap_w( |string| )
      )
    )
  )
  iv_addlflashcacheinpercent = 123
  iv_autoscalelimitingbs = 123
  iv_availabilityzone = |string|
  iv_availabilityzoneid = |string|
  iv_clienttoken = |string|
  iv_description = |string|
  iv_displayname = |string|
  iv_hghcapdbasestrgttlszingbs = 123
  iv_isautoscaleenabled = ABAP_TRUE
  iv_timezone = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_string = lo_result->get_displayname( ).
  lv_resourcestatus = lo_result->get_status( ).
  lv_string = lo_result->get_statusreason( ).
  lv_string = lo_result->get_exascaledbstoragevaultid( ).
ENDIF.