Class: Aws::Kinesis::Types::PutRecordsResultEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kinesis::Types::PutRecordsResultEntry
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kinesis/types.rb
Overview
Represents the result of an individual record from a ‘PutRecords` request. A record that is successfully added to a stream includes `SequenceNumber` and `ShardId` in the result. A record that fails to be added to the stream includes `ErrorCode` and `ErrorMessage` in the result.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#error_code ⇒ String
The error code for an individual record result.
-
#error_message ⇒ String
The error message for an individual record result.
-
#sequence_number ⇒ String
The sequence number for an individual record result.
-
#shard_id ⇒ String
The shard ID for an individual record result.
Instance Attribute Details
#error_code ⇒ String
The error code for an individual record result. ‘ErrorCodes` can be either `ProvisionedThroughputExceededException` or `InternalFailure`.
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/aws-sdk-kinesis/types.rb', line 1640 class PutRecordsResultEntry < Struct.new( :sequence_number, :shard_id, :error_code, :error_message) SENSITIVE = [] include Aws::Structure end |
#error_message ⇒ String
The error message for an individual record result. An ‘ErrorCode` value of `ProvisionedThroughputExceededException` has an error message that includes the account ID, stream name, and shard ID. An `ErrorCode` value of `InternalFailure` has the error message `“Internal Service Failure”`.
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/aws-sdk-kinesis/types.rb', line 1640 class PutRecordsResultEntry < Struct.new( :sequence_number, :shard_id, :error_code, :error_message) SENSITIVE = [] include Aws::Structure end |
#sequence_number ⇒ String
The sequence number for an individual record result.
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/aws-sdk-kinesis/types.rb', line 1640 class PutRecordsResultEntry < Struct.new( :sequence_number, :shard_id, :error_code, :error_message) SENSITIVE = [] include Aws::Structure end |
#shard_id ⇒ String
The shard ID for an individual record result.
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/aws-sdk-kinesis/types.rb', line 1640 class PutRecordsResultEntry < Struct.new( :sequence_number, :shard_id, :error_code, :error_message) SENSITIVE = [] include Aws::Structure end |