Class: Aws::S3Tables::Types::PutRowsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_id ⇒ String

The identifier of the channel to write rows to. If you don't specify a channel, the operation uses default. Only default is supported.

Returns:

  • (String)


2953
2954
2955
2956
2957
2958
2959
2960
2961
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2953

class PutRowsRequest < Struct.new(
  :table_arn,
  :channel_id,
  :payload,
  :payload_format,
  :checksum_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#checksum_algorithm ⇒ String

(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.

Returns:

  • (String)


2953
2954
2955
2956
2957
2958
2959
2960
2961
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2953

class PutRowsRequest < Struct.new(
  :table_arn,
  :channel_id,
  :payload,
  :payload_format,
  :checksum_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#payload ⇒ String

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.

Returns:

  • (String)


2953
2954
2955
2956
2957
2958
2959
2960
2961
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2953

class PutRowsRequest < Struct.new(
  :table_arn,
  :channel_id,
  :payload,
  :payload_format,
  :checksum_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#payload_format ⇒ String

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.

Returns:

  • (String)


2953
2954
2955
2956
2957
2958
2959
2960
2961
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2953

class PutRowsRequest < Struct.new(
  :table_arn,
  :channel_id,
  :payload,
  :payload_format,
  :checksum_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#table_arn ⇒ String

The Amazon Resource Name (ARN) of the table to write rows to.

Returns:

  • (String)


2953
2954
2955
2956
2957
2958
2959
2960
2961
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 2953

class PutRowsRequest < Struct.new(
  :table_arn,
  :channel_id,
  :payload,
  :payload_format,
  :checksum_algorithm)
  SENSITIVE = []
  include Aws::Structure
end