PutRowsRequest
¶
Source code in docs_src/capo_s3tables/types/put_rows_request.py
channel_id
instance-attribute
¶
channel_id: NotRequired[ChannelId]
The identifier of the channel to write rows to. If you don't specify a channel, the operation uses default. Only default is supported.
checksum_algorithm
instance-attribute
¶
checksum_algorithm: NotRequired[ChecksumAlgorithm]
(Optional) The algorithm to use to calculate the checksum of the payload. Each PutRows request must include a payload checksum. If you use an AWS SDK, the SDK calculates the checksum for you. If the checksum doesn't match the payload, the request fails with a BadRequestException error.
payload
instance-attribute
¶
payload: bytes
The rows to write, encoded in the format that you specify in payloadFormat. The maximum payload size is 50 MiB (52,428,800 bytes), and the maximum number of rows is 500,000.
payload_format
instance-attribute
¶
payload_format: PayloadFormat
Specifies the format of the rows in payload. The following values are valid:
-
JSON– Newline-delimited JSON: each row is one JSON object on its own line. -
AVRO– Apache Avro data in the Object Container File (OCF) format. Other Avro encodings, such as single-object encoding or Avro data without the container, aren't accepted. Each field of the writer schema must match a column of the table.