/AWS1/IF_TSI=>UPDATEDBCLUSTER()¶
About UpdateDbCluster¶
Updates a Timestream for InfluxDB cluster.
Method Signature¶
METHODS /AWS1/IF_TSI~UPDATEDBCLUSTER
IMPORTING
!IV_DBCLUSTERID TYPE /AWS1/TSIDBCLUSTERID OPTIONAL
!IO_LOGDELIVERYCONFIGURATION TYPE REF TO /AWS1/CL_TSILOGDELIVERYCONF OPTIONAL
!IV_DBPARAMETERGROUPID TYPE /AWS1/TSIDBPARAMETERGROUPID OPTIONAL
!IV_PORT TYPE /AWS1/TSIPORT OPTIONAL
!IV_DBINSTANCETYPE TYPE /AWS1/TSIDBINSTANCETYPE OPTIONAL
!IV_FAILOVERMODE TYPE /AWS1/TSIFAILOVERMODE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_tsiupddbclustoutput
RAISING
/AWS1/CX_TSIACCESSDENIEDEX
/AWS1/CX_TSICONFLICTEXCEPTION
/AWS1/CX_TSIINTERNALSERVEREX
/AWS1/CX_TSIRESOURCENOTFOUNDEX
/AWS1/CX_TSITHROTTLINGEX
/AWS1/CX_TSIVALIDATIONEX
/AWS1/CX_TSICLIENTEXC
/AWS1/CX_TSISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_dbclusterid TYPE /AWS1/TSIDBCLUSTERID /AWS1/TSIDBCLUSTERID¶
Service-generated unique identifier of the DB cluster to update.
Optional arguments:¶
io_logdeliveryconfiguration TYPE REF TO /AWS1/CL_TSILOGDELIVERYCONF /AWS1/CL_TSILOGDELIVERYCONF¶
The log delivery configuration to apply to the DB cluster.
iv_dbparametergroupid TYPE /AWS1/TSIDBPARAMETERGROUPID /AWS1/TSIDBPARAMETERGROUPID¶
Update the DB cluster to use the specified DB parameter group.
iv_port TYPE /AWS1/TSIPORT /AWS1/TSIPORT¶
Update the DB cluster to use the specified port.
iv_dbinstancetype TYPE /AWS1/TSIDBINSTANCETYPE /AWS1/TSIDBINSTANCETYPE¶
Update the DB cluster to use the specified DB instance Type.
iv_failovermode TYPE /AWS1/TSIFAILOVERMODE /AWS1/TSIFAILOVERMODE¶
Update the DB cluster's failover behavior.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_tsiupddbclustoutput /AWS1/CL_TSIUPDDBCLUSTOUTPUT¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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->updatedbcluster(
io_logdeliveryconfiguration = new /aws1/cl_tsilogdeliveryconf(
io_s3configuration = new /aws1/cl_tsis3configuration(
iv_bucketname = |string|
iv_enabled = ABAP_TRUE
)
)
iv_dbclusterid = |string|
iv_dbinstancetype = |string|
iv_dbparametergroupid = |string|
iv_failovermode = |string|
iv_port = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_clusterstatus = lo_result->get_dbclusterstatus( ).
ENDIF.