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

Class: Aws::Kinesis::Types::PutRecordsOutput

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

Overview

PutRecords results.

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_typeString

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 KMS key.

Returns:

  • (String)


844
845
846
847
848
849
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 844

class PutRecordsOutput < Struct.new(
  :failed_record_count,
  :records,
  :encryption_type)
  include Aws::Structure
end

#failed_record_countInteger

The number of unsuccessfully processed records in a PutRecords request.

Returns:

  • (Integer)


844
845
846
847
848
849
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 844

class PutRecordsOutput < Struct.new(
  :failed_record_count,
  :records,
  :encryption_type)
  include Aws::Structure
end

#recordsArray<Types::PutRecordsResultEntry>

An array of successfully and unsuccessfully processed record results, correlated with the request by natural ordering. 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.

Returns:



844
845
846
847
848
849
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 844

class PutRecordsOutput < Struct.new(
  :failed_record_count,
  :records,
  :encryption_type)
  include Aws::Structure
end