/AWS1/IF_KNS=>UPDATEMAXRECORDSIZE()¶
About UpdateMaxRecordSize¶
This allows you to update the MaxRecordSize of a single record that you can write to, and read from a stream. You can ingest and digest single records up to 10240 KiB.
Method Signature¶
METHODS /AWS1/IF_KNS~UPDATEMAXRECORDSIZE
IMPORTING
!IV_STREAMARN TYPE /AWS1/KNSSTREAMARN OPTIONAL
!IV_MAXRECORDSIZEINKIB TYPE /AWS1/KNSMAXRECORDSIZEINKIB OPTIONAL
RAISING
/AWS1/CX_KNSACCESSDENIEDEX
/AWS1/CX_KNSINVALIDARGUMENTEX
/AWS1/CX_KNSLIMITEXCEEDEDEX
/AWS1/CX_KNSRESOURCEINUSEEX
/AWS1/CX_KNSRESOURCENOTFOUNDEX
/AWS1/CX_KNSVALIDATIONEX
/AWS1/CX_KNSCLIENTEXC
/AWS1/CX_KNSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_maxrecordsizeinkib TYPE /AWS1/KNSMAXRECORDSIZEINKIB /AWS1/KNSMAXRECORDSIZEINKIB¶
The maximum record size of a single record in KiB that you can write to, and read from a stream. Specify a value between 1024 and 10240 KiB (1 to 10 MiB). If you specify a value that is out of this range,
UpdateMaxRecordSizesends back anValidationExceptionmessage.
Optional arguments:¶
iv_streamarn TYPE /AWS1/KNSSTREAMARN /AWS1/KNSSTREAMARN¶
The Amazon Resource Name (ARN) of the stream for the
MaxRecordSizeupdate.
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->updatemaxrecordsize(
iv_maxrecordsizeinkib = 123
iv_streamarn = |string|
).