Skip to content

/AWS1/IF_CWO=>UPDATEDATASETINTEGRATION()

About UpdateDatasetIntegration

Updates a dataset integration for the caller's account in the current region. This operation is idempotent; if you submit the same update more than once, each call succeeds.

Method Signature

METHODS /AWS1/IF_CWO~UPDATEDATASETINTEGRATION
  IMPORTING
    !IV_ARN TYPE /AWS1/CWORESOURCEARN OPTIONAL
    !IV_ROLEARN TYPE /AWS1/CWORESOURCEARN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cwoupdatedsintgoutput
  RAISING
    /AWS1/CX_CWOACCESSDENIEDEX
    /AWS1/CX_CWOINTERNALSERVEREX
    /AWS1/CX_CWORESOURCENOTFOUNDEX
    /AWS1/CX_CWOTOOMANYREQUESTSEX
    /AWS1/CX_CWOVALIDATIONEX
    /AWS1/CX_CWOCLIENTEXC
    /AWS1/CX_CWOSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/CWORESOURCEARN /AWS1/CWORESOURCEARN

The Amazon Resource Name (ARN) of the dataset integration to update.

iv_rolearn TYPE /AWS1/CWORESOURCEARN /AWS1/CWORESOURCEARN

The Amazon Resource Name (ARN) of the IAM role to associate with the dataset integration.

RETURNING

oo_output TYPE REF TO /aws1/cl_cwoupdatedsintgoutput /AWS1/CL_CWOUPDATEDSINTGOUTPUT

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->updatedatasetintegration(
  iv_arn = |string|
  iv_rolearn = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_resourcearn = lo_result->get_arn( ).
  lv_resourcearn = lo_result->get_rolearn( ).
  lv_timestamp = lo_result->get_createdat( ).
  lv_timestamp = lo_result->get_updatedat( ).
ENDIF.