class Amazonite::Kinesis::PutRecordsOutput

Overview

PutRecords results.

Included Modules

Defined in:

kinesis/put_records_output.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(records : Array(PutRecordsResultEntry), failed_record_count : Int32 | Nil = nil, encryption_type : EncryptionType | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def encryption_type : EncryptionType | Nil #

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

  • NONE: Do not encrypt the records.

  • KMS: Use server-side encryption on the records using a customer-managed Amazon Web Services KMS key.


[View source]
def encryption_type=(encryption_type : EncryptionType | Nil) #

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

  • NONE: Do not encrypt the records.

  • KMS: Use server-side encryption on the records using a customer-managed Amazon Web Services KMS key.


[View source]
def failed_record_count : Int32 | Nil #

The number of unsuccessfully processed records in a PutRecords request.


[View source]
def failed_record_count=(failed_record_count : Int32 | Nil) #

The number of unsuccessfully processed records in a PutRecords request.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def records : Array(PutRecordsResultEntry) #

An array of successfully and unsuccessfully processed record results. A record that is successfully added to a stream includes SequenceNumber and ShardId in the result. A record that fails to be added to a stream includes ErrorCode and ErrorMessage in the result.


[View source]
def records=(records : Array(PutRecordsResultEntry)) #

An array of successfully and unsuccessfully processed record results. A record that is successfully added to a stream includes SequenceNumber and ShardId in the result. A record that fails to be added to a stream includes ErrorCode and ErrorMessage in the result.


[View source]
def validate! : Nil #

[View source]