Class: Aws::TimestreamWrite::Types::RejectedRecord
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::RejectedRecord
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-timestreamwrite/types.rb
Overview
Records that were not successfully inserted into Timestream due to data validation issues that must be resolved prior to reinserting time series data into the system.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#existing_version ⇒ Integer
The existing version of the record.
-
#reason ⇒ String
The reason why a record was not successfully inserted into Timestream.
-
#record_index ⇒ Integer
The index of the record in the input request for WriteRecords.
Instance Attribute Details
#existing_version ⇒ Integer
The existing version of the record. This value is populated in scenarios where an identical record exists with a higher version than the version in the write request.
683 684 685 686 687 688 689 |
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 683 class RejectedRecord < Struct.new( :record_index, :reason, :existing_version) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
-
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values.
-
Records with timestamps that lie outside the retention duration of the memory store
<note markdown=“1”> When the retention window is updated, you will receive a ‘RejectedRecords` exception if you immediately try to ingest data within the new window. To avoid a `RejectedRecords` exception, wait until the duration of the new window to ingest new data. For further information, see [ Best Practices for Configuring Timestream] and [the explanation of how storage works in Timestream].
</note>
-
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see [Access Management] in the Timestream Developer Guide.
[1]: docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration [2]: docs.aws.amazon.com/timestream/latest/developerguide/storage.html [3]: docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html
683 684 685 686 687 688 689 |
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 683 class RejectedRecord < Struct.new( :record_index, :reason, :existing_version) SENSITIVE = [] include Aws::Structure end |
#record_index ⇒ Integer
The index of the record in the input request for WriteRecords. Indexes begin with 0.
683 684 685 686 687 688 689 |
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 683 class RejectedRecord < Struct.new( :record_index, :reason, :existing_version) SENSITIVE = [] include Aws::Structure end |