/AWS1/IF_RSH=>UPDATEPARTNERSTATUS()¶
About UpdatePartnerStatus¶
Updates the status of a partner integration.
Method Signature¶
METHODS /AWS1/IF_RSH~UPDATEPARTNERSTATUS
  IMPORTING
    !IV_ACCOUNTID TYPE /AWS1/RSHPTRINTEGRATIONACCTID OPTIONAL
    !IV_CLUSTERIDENTIFIER TYPE /AWS1/RSHPTRINTEGRATIONCLUSTID OPTIONAL
    !IV_DATABASENAME TYPE /AWS1/RSHPTRINTEGRATIONDATAB00 OPTIONAL
    !IV_PARTNERNAME TYPE /AWS1/RSHPTRINTEGRATIONPTRNAME OPTIONAL
    !IV_STATUS TYPE /AWS1/RSHPTRINTEGRATIONSTATUS OPTIONAL
    !IV_STATUSMESSAGE TYPE /AWS1/RSHPTRINTEGRATIONSTATMSG OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rshptrintegrationou00
  RAISING
    /AWS1/CX_RSHCLUSTNOTFOUNDFAULT
    /AWS1/CX_RSHPTRNOTFOUNDFAULT
    /AWS1/CX_RSHUNAUTHDPTRINTEGR00
    /AWS1/CX_RSHUNSUPPORTEDOPFAULT
    /AWS1/CX_RSHCLIENTEXC
    /AWS1/CX_RSHSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_accountid TYPE /AWS1/RSHPTRINTEGRATIONACCTID /AWS1/RSHPTRINTEGRATIONACCTID¶
The Amazon Web Services account ID that owns the cluster.
iv_clusteridentifier TYPE /AWS1/RSHPTRINTEGRATIONCLUSTID /AWS1/RSHPTRINTEGRATIONCLUSTID¶
The cluster identifier of the cluster whose partner integration status is being updated.
iv_databasename TYPE /AWS1/RSHPTRINTEGRATIONDATAB00 /AWS1/RSHPTRINTEGRATIONDATAB00¶
The name of the database whose partner integration status is being updated.
iv_partnername TYPE /AWS1/RSHPTRINTEGRATIONPTRNAME /AWS1/RSHPTRINTEGRATIONPTRNAME¶
The name of the partner whose integration status is being updated.
iv_status TYPE /AWS1/RSHPTRINTEGRATIONSTATUS /AWS1/RSHPTRINTEGRATIONSTATUS¶
The value of the updated status.
Optional arguments:¶
iv_statusmessage TYPE /AWS1/RSHPTRINTEGRATIONSTATMSG /AWS1/RSHPTRINTEGRATIONSTATMSG¶
The status message provided by the partner.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_rshptrintegrationou00 /AWS1/CL_RSHPTRINTEGRATIONOU00¶
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->updatepartnerstatus(
  iv_accountid = |string|
  iv_clusteridentifier = |string|
  iv_databasename = |string|
  iv_partnername = |string|
  iv_status = |string|
  iv_statusmessage = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_partnerintegrationdatab = lo_result->get_databasename( ).
  lv_partnerintegrationpartn = lo_result->get_partnername( ).
ENDIF.