You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Kinesis::Types::PutRecordsInput

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

Overview

Note:

When making an API call, you may pass PutRecordsInput data as a hash:

{
  records: [ # required
    {
      data: "data", # required
      explicit_hash_key: "HashKey",
      partition_key: "PartitionKey", # required
    },
  ],
  stream_name: "StreamName", # required
}

A PutRecords request.

Instance Attribute Summary collapse

Instance Attribute Details

#recordsArray<Types::PutRecordsRequestEntry>

The records associated with the request.

Returns:



840
841
842
843
844
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 840

class PutRecordsInput < Struct.new(
  :records,
  :stream_name)
  include Aws::Structure
end

#stream_nameString

The stream name associated with the request.

Returns:

  • (String)


840
841
842
843
844
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 840

class PutRecordsInput < Struct.new(
  :records,
  :stream_name)
  include Aws::Structure
end