/AWS1/CL_IOA=>UPDATEDATASTORE()
¶
About UpdateDatastore¶
Used to update the settings of a data store.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_datastorename
TYPE /AWS1/IOADATASTORENAME
/AWS1/IOADATASTORENAME
¶
The name of the data store to be updated.
Optional arguments:¶
io_retentionperiod
TYPE REF TO /AWS1/CL_IOARETENTIONPERIOD
/AWS1/CL_IOARETENTIONPERIOD
¶
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
io_datastorestorage
TYPE REF TO /AWS1/CL_IOADATASTORESTORAGE
/AWS1/CL_IOADATASTORESTORAGE
¶
Where data in a data store is stored.. You can choose
serviceManagedS3
storage,customerManagedS3
storage, oriotSiteWiseMultiLayerStorage
storage. The default isserviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
io_fileformatconfiguration
TYPE REF TO /AWS1/CL_IOAFILEFORMATCONF
/AWS1/CL_IOAFILEFORMATCONF
¶
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
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->/aws1/if_ioa~updatedatastore(
io_datastorestorage = new /aws1/cl_ioadatastorestorage(
io_customermanageds3 = new /aws1/cl_ioacusmanageddatast00(
iv_bucket = |string|
iv_keyprefix = |string|
iv_rolearn = |string|
)
io_iotsitewisemultilayerstrg = new /aws1/cl_ioadatastoreiotsite00(
io_customermanageds3storage = new /aws1/cl_ioaiotsitewisecusma00(
iv_bucket = |string|
iv_keyprefix = |string|
)
)
io_servicemanageds3 = new /aws1/cl_ioasvcmanageddatast00( )
)
io_fileformatconfiguration = new /aws1/cl_ioafileformatconf(
io_jsonconfiguration = new /aws1/cl_ioajsonconfiguration( )
io_parquetconfiguration = new /aws1/cl_ioaparquetconf(
io_schemadefinition = new /aws1/cl_ioaschemadefinition(
it_columns = VALUE /aws1/cl_ioacolumn=>tt_columns(
(
new /aws1/cl_ioacolumn(
iv_name = |string|
iv_type = |string|
)
)
)
)
)
)
io_retentionperiod = new /aws1/cl_ioaretentionperiod(
iv_numberofdays = 123
iv_unlimited = ABAP_TRUE
)
iv_datastorename = |string|
).