Class: Aws::Kinesis::Types::Record

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kinesis/types.rb

Overview

The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approximate_arrival_timestampTime

The approximate time that the record was inserted into the stream.

Returns:

  • (Time)

1675
1676
1677
1678
1679
1680
1681
1682
1683
# File 'lib/aws-sdk-kinesis/types.rb', line 1675

class Record < Struct.new(
  :sequence_number,
  :approximate_arrival_timestamp,
  :data,
  :partition_key,
  :encryption_type)
  SENSITIVE = []
  include Aws::Structure
end

#dataString

The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).

Returns:

  • (String)

1675
1676
1677
1678
1679
1680
1681
1682
1683
# File 'lib/aws-sdk-kinesis/types.rb', line 1675

class Record < Struct.new(
  :sequence_number,
  :approximate_arrival_timestamp,
  :data,
  :partition_key,
  :encryption_type)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_typeString

The encryption type used on the record. This parameter can be one of the following values:

  • `NONE`: Do not encrypt the records in the stream.

  • `KMS`: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

Returns:

  • (String)

1675
1676
1677
1678
1679
1680
1681
1682
1683
# File 'lib/aws-sdk-kinesis/types.rb', line 1675

class Record < Struct.new(
  :sequence_number,
  :approximate_arrival_timestamp,
  :data,
  :partition_key,
  :encryption_type)
  SENSITIVE = []
  include Aws::Structure
end

#partition_keyString

Identifies which shard in the stream the data record is assigned to.

Returns:

  • (String)

1675
1676
1677
1678
1679
1680
1681
1682
1683
# File 'lib/aws-sdk-kinesis/types.rb', line 1675

class Record < Struct.new(
  :sequence_number,
  :approximate_arrival_timestamp,
  :data,
  :partition_key,
  :encryption_type)
  SENSITIVE = []
  include Aws::Structure
end

#sequence_numberString

The unique identifier of the record within its shard.

Returns:

  • (String)

1675
1676
1677
1678
1679
1680
1681
1682
1683
# File 'lib/aws-sdk-kinesis/types.rb', line 1675

class Record < Struct.new(
  :sequence_number,
  :approximate_arrival_timestamp,
  :data,
  :partition_key,
  :encryption_type)
  SENSITIVE = []
  include Aws::Structure
end