« blib/lib/Paws/TimestreamWrite/Record.pm
↑ Summary
blib/lib/Paws/TimestreamWrite/RetentionProperties.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::TimestreamWrite::RejectedRecord; | ||
| 3 | use Moose; | ||
| 4 | has ExistingVersion => (is => 'ro', isa => 'Int'); | ||
| 5 | has Reason => (is => 'ro', isa => 'Str'); | ||
| 6 | has RecordIndex => (is => 'ro', isa => 'Int'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::TimestreamWrite::RejectedRecord | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::TimestreamWrite::RejectedRecord object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ExistingVersion => $value, ..., RecordIndex => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::TimestreamWrite::RejectedRecord object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ExistingVersion | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Records that were not successfully inserted into Timestream due to data | ||
| 39 | validation issues that must be resolved prior to reinserting time | ||
| 40 | series data into the system. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 ExistingVersion => Int | ||
| 46 | |||
| 47 | The existing version of the record. This value is populated in | ||
| 48 | scenarios where an identical record exists with a higher version than | ||
| 49 | the version in the write request. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Reason => Str | ||
| 53 | |||
| 54 | The reason why a record was not successfully inserted into Timestream. | ||
| 55 | Possible causes of failure include: | ||
| 56 | |||
| 57 | =over | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | Records with duplicate data where there are multiple records with the | ||
| 62 | same dimensions, timestamps, and measure names but different measure | ||
| 63 | values. | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | Records with timestamps that lie outside the retention duration of the | ||
| 68 | memory store | ||
| 69 | |||
| 70 | When the retention window is updated, you will receive a | ||
| 71 | C<RejectedRecords> exception if you immediately try to ingest data | ||
| 72 | within the new window. To avoid a C<RejectedRecords> exception, wait | ||
| 73 | until the duration of the new window to ingest new data. For further | ||
| 74 | information, see Best Practices for Configuring Timestream | ||
| 75 | (https://docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration) | ||
| 76 | and the explanation of how storage works in Timestream | ||
| 77 | (https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html). | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | Records with dimensions or measures that exceed the Timestream defined | ||
| 82 | limits. | ||
| 83 | |||
| 84 | =back | ||
| 85 | |||
| 86 | For more information, see Access Management | ||
| 87 | (https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html) | ||
| 88 | in the Timestream Developer Guide. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 RecordIndex => Int | ||
| 92 | |||
| 93 | The index of the record in the input request for WriteRecords. Indexes | ||
| 94 | begin with 0. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, describing an object used in L<Paws::TimestreamWrite> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |