/AWS1/IF_IOA=>UPDATEDATASET()¶
About UpdateDataset¶
Updates the settings of a dataset.
Method Signature¶
METHODS /AWS1/IF_IOA~UPDATEDATASET
IMPORTING
!IV_DATASETNAME TYPE /AWS1/IOADATASETNAME OPTIONAL
!IT_ACTIONS TYPE /AWS1/CL_IOADATASETACTION=>TT_DATASETACTIONS OPTIONAL
!IT_TRIGGERS TYPE /AWS1/CL_IOADATASETTRIGGER=>TT_DATASETTRIGGERS OPTIONAL
!IT_CONTENTDELIVERYRULES TYPE /AWS1/CL_IOADSCONTDELIVERYRULE=>TT_DATASETCONTENTDELIVERYRULES OPTIONAL
!IO_RETENTIONPERIOD TYPE REF TO /AWS1/CL_IOARETENTIONPERIOD OPTIONAL
!IO_VERSIONINGCONFIGURATION TYPE REF TO /AWS1/CL_IOAVERSIONINGCONF OPTIONAL
!IT_LATEDATARULES TYPE /AWS1/CL_IOALATEDATARULE=>TT_LATEDATARULES OPTIONAL
RAISING
/AWS1/CX_IOAINTERNALFAILUREEX
/AWS1/CX_IOAINVALIDREQUESTEX
/AWS1/CX_IOARESOURCENOTFOUNDEX
/AWS1/CX_IOASERVICEUNAVAILEX
/AWS1/CX_IOATHROTTLINGEX
/AWS1/CX_IOACLIENTEXC
/AWS1/CX_IOASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_datasetname TYPE /AWS1/IOADATASETNAME /AWS1/IOADATASETNAME¶
The name of the dataset to update.
it_actions TYPE /AWS1/CL_IOADATASETACTION=>TT_DATASETACTIONS TT_DATASETACTIONS¶
A list of
DatasetActionobjects.
Optional arguments:¶
it_triggers TYPE /AWS1/CL_IOADATASETTRIGGER=>TT_DATASETTRIGGERS TT_DATASETTRIGGERS¶
A list of
DatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.
it_contentdeliveryrules TYPE /AWS1/CL_IOADSCONTDELIVERYRULE=>TT_DATASETCONTENTDELIVERYRULES TT_DATASETCONTENTDELIVERYRULES¶
When dataset contents are created, they are delivered to destinations specified here.
io_retentionperiod TYPE REF TO /AWS1/CL_IOARETENTIONPERIOD /AWS1/CL_IOARETENTIONPERIOD¶
How long, in days, dataset contents are kept for the dataset.
io_versioningconfiguration TYPE REF TO /AWS1/CL_IOAVERSIONINGCONF /AWS1/CL_IOAVERSIONINGCONF¶
Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the
retentionPeriodparameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
it_latedatarules TYPE /AWS1/CL_IOALATEDATARULE=>TT_LATEDATARULES TT_LATEDATARULES¶
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules, the dataset must use a DeltaTimer filter.
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.
lo_client->updatedataset(
io_retentionperiod = new /aws1/cl_ioaretentionperiod(
iv_numberofdays = 123
iv_unlimited = ABAP_TRUE
)
io_versioningconfiguration = new /aws1/cl_ioaversioningconf(
iv_maxversions = 123
iv_unlimited = ABAP_TRUE
)
it_actions = VALUE /aws1/cl_ioadatasetaction=>tt_datasetactions(
(
new /aws1/cl_ioadatasetaction(
io_containeraction = new /aws1/cl_ioacontainerdsaction(
io_resourceconfiguration = new /aws1/cl_ioaresourceconf(
iv_computetype = |string|
iv_volumesizeingb = 123
)
it_variables = VALUE /aws1/cl_ioavariable=>tt_variables(
(
new /aws1/cl_ioavariable(
io_datasetcontentvrsvalue = new /aws1/cl_ioadscontentvrsvalue( |string| )
io_outputfileurivalue = new /aws1/cl_ioaoutputfileurivalue( |string| )
iv_doublevalue = '0.1'
iv_name = |string|
iv_stringvalue = |string|
)
)
)
iv_executionrolearn = |string|
iv_image = |string|
)
io_queryaction = new /aws1/cl_ioasqlquerydsaction(
it_filters = VALUE /aws1/cl_ioaqueryfilter=>tt_queryfilters(
(
new /aws1/cl_ioaqueryfilter(
io_deltatime = new /aws1/cl_ioadeltatime(
iv_offsetseconds = 123
iv_timeexpression = |string|
)
)
)
)
iv_sqlquery = |string|
)
iv_actionname = |string|
)
)
)
it_contentdeliveryrules = VALUE /aws1/cl_ioadscontdeliveryrule=>tt_datasetcontentdeliveryrules(
(
new /aws1/cl_ioadscontdeliveryrule(
io_destination = new /aws1/cl_ioadscontdeliverydst(
io_ioteventsdestinationconf = new /aws1/cl_ioaioteventsdstconf(
iv_inputname = |string|
iv_rolearn = |string|
)
io_s3destinationconf = new /aws1/cl_ioas3destinationconf(
io_glueconfiguration = new /aws1/cl_ioaglueconfiguration(
iv_databasename = |string|
iv_tablename = |string|
)
iv_bucket = |string|
iv_key = |string|
iv_rolearn = |string|
)
)
iv_entryname = |string|
)
)
)
it_latedatarules = VALUE /aws1/cl_ioalatedatarule=>tt_latedatarules(
(
new /aws1/cl_ioalatedatarule(
io_ruleconfiguration = new /aws1/cl_ioalatedataruleconf( new /aws1/cl_ioadeltatimesesswin00( 123 ) )
iv_rulename = |string|
)
)
)
it_triggers = VALUE /aws1/cl_ioadatasettrigger=>tt_datasettriggers(
(
new /aws1/cl_ioadatasettrigger(
io_dataset = new /aws1/cl_ioatriggeringdataset( |string| )
io_schedule = new /aws1/cl_ioaschedule( |string| )
)
)
)
iv_datasetname = |string|
).