@aws-sdk/client-timestream-write 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +53 -52
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +52 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -181
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +132 -0
- package/dist-types/models/errors.d.ts +160 -0
- package/dist-types/models/models_0.d.ts +1 -291
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +70 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -143
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { RejectedRecord } from "./models_0";
|
|
3
|
+
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You are not authorized to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>Timestream was unable to process this request because it contains resource that
|
|
19
|
+
* already exists.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class ConflictException extends __BaseException {
|
|
23
|
+
readonly name: "ConflictException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>
|
|
33
|
+
* Timestream was unable to fully process this request because of an internal server
|
|
34
|
+
* error.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class InternalServerException extends __BaseException {
|
|
38
|
+
readonly name: "InternalServerException";
|
|
39
|
+
readonly $fault: "server";
|
|
40
|
+
Message: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p>The requested endpoint was not valid.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export declare class InvalidEndpointException extends __BaseException {
|
|
51
|
+
readonly name: "InvalidEndpointException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
Message?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <p>The operation tried to access a nonexistent resource. The resource might not be
|
|
61
|
+
* specified correctly, or its status might not be ACTIVE.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
readonly name: "ResourceNotFoundException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
Message?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p> The instance quota of resource exceeded for this account.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
78
|
+
readonly name: "ServiceQuotaExceededException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
Message?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* <p> Too many requests were made by a user and they exceeded the service quotas. The request
|
|
88
|
+
* was throttled.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ThrottlingException extends __BaseException {
|
|
92
|
+
readonly name: "ThrottlingException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
Message: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <p> An invalid or malformed request.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class ValidationException extends __BaseException {
|
|
105
|
+
readonly name: "ValidationException";
|
|
106
|
+
readonly $fault: "client";
|
|
107
|
+
Message: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* <p> WriteRecords would throw this exception in the following cases: </p>
|
|
115
|
+
* <ul>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>Records with duplicate data where there are multiple records with the same
|
|
118
|
+
* dimensions, timestamps, and measure names but: </p>
|
|
119
|
+
* <ul>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>Measure values are different</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>Version is not present in the request <i>or</i> the value of
|
|
125
|
+
* version in the new record is equal to or lower than the existing value</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* </ul>
|
|
128
|
+
* <p> In this case, if Timestream rejects data, the
|
|
129
|
+
* <code>ExistingVersion</code> field in the <code>RejectedRecords</code> response
|
|
130
|
+
* will indicate the current record’s version. To force an update, you can resend the
|
|
131
|
+
* request with a version for the record set to a value greater than the
|
|
132
|
+
* <code>ExistingVersion</code>.</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p> Records with timestamps that lie outside the retention duration of the memory
|
|
136
|
+
* store. </p>
|
|
137
|
+
* </li>
|
|
138
|
+
* <li>
|
|
139
|
+
* <p> Records with dimensions or measures that exceed the Timestream defined
|
|
140
|
+
* limits. </p>
|
|
141
|
+
* </li>
|
|
142
|
+
* </ul>
|
|
143
|
+
* <p> For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Quotas</a> in the Amazon Timestream Developer Guide. </p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class RejectedRecordsException extends __BaseException {
|
|
147
|
+
readonly name: "RejectedRecordsException";
|
|
148
|
+
readonly $fault: "client";
|
|
149
|
+
Message?: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>
|
|
152
|
+
* </p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
RejectedRecords?: RejectedRecord[] | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>);
|
|
160
|
+
}
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You are not authorized to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
* @enum
|
|
19
|
-
*/
|
|
20
|
-
export declare const BatchLoadDataFormat: {
|
|
21
|
-
readonly CSV: "CSV";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export type BatchLoadDataFormat = (typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
|
|
1
|
+
import { BatchLoadDataFormat, BatchLoadStatus, DimensionValueType, MeasureValueType, PartitionKeyEnforcementLevel, PartitionKeyType, S3EncryptionOption, ScalarMeasureValueType, TableStatus, TimeUnit } from "./enums";
|
|
27
2
|
/**
|
|
28
3
|
* <p>Details about the progress of a batch load task.</p>
|
|
29
4
|
* @public
|
|
@@ -60,22 +35,6 @@ export interface BatchLoadProgressReport {
|
|
|
60
35
|
*/
|
|
61
36
|
BytesMetered?: number | undefined;
|
|
62
37
|
}
|
|
63
|
-
/**
|
|
64
|
-
* @public
|
|
65
|
-
* @enum
|
|
66
|
-
*/
|
|
67
|
-
export declare const BatchLoadStatus: {
|
|
68
|
-
readonly CREATED: "CREATED";
|
|
69
|
-
readonly FAILED: "FAILED";
|
|
70
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
71
|
-
readonly PENDING_RESUME: "PENDING_RESUME";
|
|
72
|
-
readonly PROGRESS_STOPPED: "PROGRESS_STOPPED";
|
|
73
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
export type BatchLoadStatus = (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
|
|
79
38
|
/**
|
|
80
39
|
* <p>Details about a batch load task.</p>
|
|
81
40
|
* @public
|
|
@@ -135,37 +94,6 @@ export interface DimensionMapping {
|
|
|
135
94
|
*/
|
|
136
95
|
DestinationColumn?: string | undefined;
|
|
137
96
|
}
|
|
138
|
-
/**
|
|
139
|
-
* @public
|
|
140
|
-
* @enum
|
|
141
|
-
*/
|
|
142
|
-
export declare const MeasureValueType: {
|
|
143
|
-
readonly BIGINT: "BIGINT";
|
|
144
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
145
|
-
readonly DOUBLE: "DOUBLE";
|
|
146
|
-
readonly MULTI: "MULTI";
|
|
147
|
-
readonly TIMESTAMP: "TIMESTAMP";
|
|
148
|
-
readonly VARCHAR: "VARCHAR";
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
export type MeasureValueType = (typeof MeasureValueType)[keyof typeof MeasureValueType];
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
* @enum
|
|
157
|
-
*/
|
|
158
|
-
export declare const ScalarMeasureValueType: {
|
|
159
|
-
readonly BIGINT: "BIGINT";
|
|
160
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
161
|
-
readonly DOUBLE: "DOUBLE";
|
|
162
|
-
readonly TIMESTAMP: "TIMESTAMP";
|
|
163
|
-
readonly VARCHAR: "VARCHAR";
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* @public
|
|
167
|
-
*/
|
|
168
|
-
export type ScalarMeasureValueType = (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
|
|
169
97
|
/**
|
|
170
98
|
* <p></p>
|
|
171
99
|
* @public
|
|
@@ -234,20 +162,6 @@ export interface MultiMeasureMappings {
|
|
|
234
162
|
*/
|
|
235
163
|
MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
|
|
236
164
|
}
|
|
237
|
-
/**
|
|
238
|
-
* @public
|
|
239
|
-
* @enum
|
|
240
|
-
*/
|
|
241
|
-
export declare const TimeUnit: {
|
|
242
|
-
readonly MICROSECONDS: "MICROSECONDS";
|
|
243
|
-
readonly MILLISECONDS: "MILLISECONDS";
|
|
244
|
-
readonly NANOSECONDS: "NANOSECONDS";
|
|
245
|
-
readonly SECONDS: "SECONDS";
|
|
246
|
-
};
|
|
247
|
-
/**
|
|
248
|
-
* @public
|
|
249
|
-
*/
|
|
250
|
-
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
251
165
|
/**
|
|
252
166
|
* <p>Data model for a batch load task.</p>
|
|
253
167
|
* @public
|
|
@@ -391,18 +305,6 @@ export interface DataSourceConfiguration {
|
|
|
391
305
|
*/
|
|
392
306
|
DataFormat: BatchLoadDataFormat | undefined;
|
|
393
307
|
}
|
|
394
|
-
/**
|
|
395
|
-
* @public
|
|
396
|
-
* @enum
|
|
397
|
-
*/
|
|
398
|
-
export declare const S3EncryptionOption: {
|
|
399
|
-
readonly SSE_KMS: "SSE_KMS";
|
|
400
|
-
readonly SSE_S3: "SSE_S3";
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* @public
|
|
404
|
-
*/
|
|
405
|
-
export type S3EncryptionOption = (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
|
|
406
308
|
/**
|
|
407
309
|
* <p></p>
|
|
408
310
|
* @public
|
|
@@ -516,20 +418,6 @@ export interface BatchLoadTaskDescription {
|
|
|
516
418
|
*/
|
|
517
419
|
ResumableUntil?: Date | undefined;
|
|
518
420
|
}
|
|
519
|
-
/**
|
|
520
|
-
* <p>Timestream was unable to process this request because it contains resource that
|
|
521
|
-
* already exists.</p>
|
|
522
|
-
* @public
|
|
523
|
-
*/
|
|
524
|
-
export declare class ConflictException extends __BaseException {
|
|
525
|
-
readonly name: "ConflictException";
|
|
526
|
-
readonly $fault: "client";
|
|
527
|
-
Message: string | undefined;
|
|
528
|
-
/**
|
|
529
|
-
* @internal
|
|
530
|
-
*/
|
|
531
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
532
|
-
}
|
|
533
421
|
/**
|
|
534
422
|
* @public
|
|
535
423
|
*/
|
|
@@ -581,88 +469,6 @@ export interface CreateBatchLoadTaskResponse {
|
|
|
581
469
|
*/
|
|
582
470
|
TaskId: string | undefined;
|
|
583
471
|
}
|
|
584
|
-
/**
|
|
585
|
-
* <p>
|
|
586
|
-
* Timestream was unable to fully process this request because of an internal server
|
|
587
|
-
* error.</p>
|
|
588
|
-
* @public
|
|
589
|
-
*/
|
|
590
|
-
export declare class InternalServerException extends __BaseException {
|
|
591
|
-
readonly name: "InternalServerException";
|
|
592
|
-
readonly $fault: "server";
|
|
593
|
-
Message: string | undefined;
|
|
594
|
-
/**
|
|
595
|
-
* @internal
|
|
596
|
-
*/
|
|
597
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
598
|
-
}
|
|
599
|
-
/**
|
|
600
|
-
* <p>The requested endpoint was not valid.</p>
|
|
601
|
-
* @public
|
|
602
|
-
*/
|
|
603
|
-
export declare class InvalidEndpointException extends __BaseException {
|
|
604
|
-
readonly name: "InvalidEndpointException";
|
|
605
|
-
readonly $fault: "client";
|
|
606
|
-
Message?: string | undefined;
|
|
607
|
-
/**
|
|
608
|
-
* @internal
|
|
609
|
-
*/
|
|
610
|
-
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* <p>The operation tried to access a nonexistent resource. The resource might not be
|
|
614
|
-
* specified correctly, or its status might not be ACTIVE.</p>
|
|
615
|
-
* @public
|
|
616
|
-
*/
|
|
617
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
618
|
-
readonly name: "ResourceNotFoundException";
|
|
619
|
-
readonly $fault: "client";
|
|
620
|
-
Message?: string | undefined;
|
|
621
|
-
/**
|
|
622
|
-
* @internal
|
|
623
|
-
*/
|
|
624
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* <p> The instance quota of resource exceeded for this account.</p>
|
|
628
|
-
* @public
|
|
629
|
-
*/
|
|
630
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
631
|
-
readonly name: "ServiceQuotaExceededException";
|
|
632
|
-
readonly $fault: "client";
|
|
633
|
-
Message?: string | undefined;
|
|
634
|
-
/**
|
|
635
|
-
* @internal
|
|
636
|
-
*/
|
|
637
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* <p> Too many requests were made by a user and they exceeded the service quotas. The request
|
|
641
|
-
* was throttled.</p>
|
|
642
|
-
* @public
|
|
643
|
-
*/
|
|
644
|
-
export declare class ThrottlingException extends __BaseException {
|
|
645
|
-
readonly name: "ThrottlingException";
|
|
646
|
-
readonly $fault: "client";
|
|
647
|
-
Message: string | undefined;
|
|
648
|
-
/**
|
|
649
|
-
* @internal
|
|
650
|
-
*/
|
|
651
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
652
|
-
}
|
|
653
|
-
/**
|
|
654
|
-
* <p> An invalid or malformed request.</p>
|
|
655
|
-
* @public
|
|
656
|
-
*/
|
|
657
|
-
export declare class ValidationException extends __BaseException {
|
|
658
|
-
readonly name: "ValidationException";
|
|
659
|
-
readonly $fault: "client";
|
|
660
|
-
Message: string | undefined;
|
|
661
|
-
/**
|
|
662
|
-
* @internal
|
|
663
|
-
*/
|
|
664
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
665
|
-
}
|
|
666
472
|
/**
|
|
667
473
|
* <p> A tag is a label that you assign to a Timestream database and/or table. Each
|
|
668
474
|
* tag consists of a key and an optional value, both of which you define. With tags, you can
|
|
@@ -826,30 +632,6 @@ export interface RetentionProperties {
|
|
|
826
632
|
*/
|
|
827
633
|
MagneticStoreRetentionPeriodInDays: number | undefined;
|
|
828
634
|
}
|
|
829
|
-
/**
|
|
830
|
-
* @public
|
|
831
|
-
* @enum
|
|
832
|
-
*/
|
|
833
|
-
export declare const PartitionKeyEnforcementLevel: {
|
|
834
|
-
readonly OPTIONAL: "OPTIONAL";
|
|
835
|
-
readonly REQUIRED: "REQUIRED";
|
|
836
|
-
};
|
|
837
|
-
/**
|
|
838
|
-
* @public
|
|
839
|
-
*/
|
|
840
|
-
export type PartitionKeyEnforcementLevel = (typeof PartitionKeyEnforcementLevel)[keyof typeof PartitionKeyEnforcementLevel];
|
|
841
|
-
/**
|
|
842
|
-
* @public
|
|
843
|
-
* @enum
|
|
844
|
-
*/
|
|
845
|
-
export declare const PartitionKeyType: {
|
|
846
|
-
readonly DIMENSION: "DIMENSION";
|
|
847
|
-
readonly MEASURE: "MEASURE";
|
|
848
|
-
};
|
|
849
|
-
/**
|
|
850
|
-
* @public
|
|
851
|
-
*/
|
|
852
|
-
export type PartitionKeyType = (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
|
|
853
635
|
/**
|
|
854
636
|
* <p> An attribute used in partitioning data in a table. A dimension key partitions data
|
|
855
637
|
* using the values of the dimension specified by the dimension-name as partition key, while a
|
|
@@ -927,19 +709,6 @@ export interface CreateTableRequest {
|
|
|
927
709
|
*/
|
|
928
710
|
Schema?: Schema | undefined;
|
|
929
711
|
}
|
|
930
|
-
/**
|
|
931
|
-
* @public
|
|
932
|
-
* @enum
|
|
933
|
-
*/
|
|
934
|
-
export declare const TableStatus: {
|
|
935
|
-
readonly ACTIVE: "ACTIVE";
|
|
936
|
-
readonly DELETING: "DELETING";
|
|
937
|
-
readonly RESTORING: "RESTORING";
|
|
938
|
-
};
|
|
939
|
-
/**
|
|
940
|
-
* @public
|
|
941
|
-
*/
|
|
942
|
-
export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
|
|
943
712
|
/**
|
|
944
713
|
* <p>Represents a database table in Timestream. Tables contain one or more related
|
|
945
714
|
* time series. You can modify the retention duration of the memory store and the magnetic
|
|
@@ -1136,17 +905,6 @@ export interface DescribeTableResponse {
|
|
|
1136
905
|
*/
|
|
1137
906
|
Table?: Table | undefined;
|
|
1138
907
|
}
|
|
1139
|
-
/**
|
|
1140
|
-
* @public
|
|
1141
|
-
* @enum
|
|
1142
|
-
*/
|
|
1143
|
-
export declare const DimensionValueType: {
|
|
1144
|
-
readonly VARCHAR: "VARCHAR";
|
|
1145
|
-
};
|
|
1146
|
-
/**
|
|
1147
|
-
* @public
|
|
1148
|
-
*/
|
|
1149
|
-
export type DimensionValueType = (typeof DimensionValueType)[keyof typeof DimensionValueType];
|
|
1150
908
|
/**
|
|
1151
909
|
* <p>Represents the metadata attributes of the time series. For example, the name and
|
|
1152
910
|
* Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are
|
|
@@ -1500,54 +1258,6 @@ export interface RejectedRecord {
|
|
|
1500
1258
|
*/
|
|
1501
1259
|
ExistingVersion?: number | undefined;
|
|
1502
1260
|
}
|
|
1503
|
-
/**
|
|
1504
|
-
* <p> WriteRecords would throw this exception in the following cases: </p>
|
|
1505
|
-
* <ul>
|
|
1506
|
-
* <li>
|
|
1507
|
-
* <p>Records with duplicate data where there are multiple records with the same
|
|
1508
|
-
* dimensions, timestamps, and measure names but: </p>
|
|
1509
|
-
* <ul>
|
|
1510
|
-
* <li>
|
|
1511
|
-
* <p>Measure values are different</p>
|
|
1512
|
-
* </li>
|
|
1513
|
-
* <li>
|
|
1514
|
-
* <p>Version is not present in the request <i>or</i> the value of
|
|
1515
|
-
* version in the new record is equal to or lower than the existing value</p>
|
|
1516
|
-
* </li>
|
|
1517
|
-
* </ul>
|
|
1518
|
-
* <p> In this case, if Timestream rejects data, the
|
|
1519
|
-
* <code>ExistingVersion</code> field in the <code>RejectedRecords</code> response
|
|
1520
|
-
* will indicate the current record’s version. To force an update, you can resend the
|
|
1521
|
-
* request with a version for the record set to a value greater than the
|
|
1522
|
-
* <code>ExistingVersion</code>.</p>
|
|
1523
|
-
* </li>
|
|
1524
|
-
* <li>
|
|
1525
|
-
* <p> Records with timestamps that lie outside the retention duration of the memory
|
|
1526
|
-
* store. </p>
|
|
1527
|
-
* </li>
|
|
1528
|
-
* <li>
|
|
1529
|
-
* <p> Records with dimensions or measures that exceed the Timestream defined
|
|
1530
|
-
* limits. </p>
|
|
1531
|
-
* </li>
|
|
1532
|
-
* </ul>
|
|
1533
|
-
* <p> For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Quotas</a> in the Amazon Timestream Developer Guide. </p>
|
|
1534
|
-
* @public
|
|
1535
|
-
*/
|
|
1536
|
-
export declare class RejectedRecordsException extends __BaseException {
|
|
1537
|
-
readonly name: "RejectedRecordsException";
|
|
1538
|
-
readonly $fault: "client";
|
|
1539
|
-
Message?: string | undefined;
|
|
1540
|
-
/**
|
|
1541
|
-
* <p>
|
|
1542
|
-
* </p>
|
|
1543
|
-
* @public
|
|
1544
|
-
*/
|
|
1545
|
-
RejectedRecords?: RejectedRecord[] | undefined;
|
|
1546
|
-
/**
|
|
1547
|
-
* @internal
|
|
1548
|
-
*/
|
|
1549
|
-
constructor(opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>);
|
|
1550
|
-
}
|
|
1551
1261
|
/**
|
|
1552
1262
|
* @public
|
|
1553
1263
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const BatchLoadDataFormat: {
|
|
2
|
+
readonly CSV: "CSV";
|
|
3
|
+
};
|
|
4
|
+
export type BatchLoadDataFormat =
|
|
5
|
+
(typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
|
|
6
|
+
export declare const BatchLoadStatus: {
|
|
7
|
+
readonly CREATED: "CREATED";
|
|
8
|
+
readonly FAILED: "FAILED";
|
|
9
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
10
|
+
readonly PENDING_RESUME: "PENDING_RESUME";
|
|
11
|
+
readonly PROGRESS_STOPPED: "PROGRESS_STOPPED";
|
|
12
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
13
|
+
};
|
|
14
|
+
export type BatchLoadStatus =
|
|
15
|
+
(typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
|
|
16
|
+
export declare const MeasureValueType: {
|
|
17
|
+
readonly BIGINT: "BIGINT";
|
|
18
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
19
|
+
readonly DOUBLE: "DOUBLE";
|
|
20
|
+
readonly MULTI: "MULTI";
|
|
21
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
22
|
+
readonly VARCHAR: "VARCHAR";
|
|
23
|
+
};
|
|
24
|
+
export type MeasureValueType =
|
|
25
|
+
(typeof MeasureValueType)[keyof typeof MeasureValueType];
|
|
26
|
+
export declare const ScalarMeasureValueType: {
|
|
27
|
+
readonly BIGINT: "BIGINT";
|
|
28
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
29
|
+
readonly DOUBLE: "DOUBLE";
|
|
30
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
31
|
+
readonly VARCHAR: "VARCHAR";
|
|
32
|
+
};
|
|
33
|
+
export type ScalarMeasureValueType =
|
|
34
|
+
(typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
|
|
35
|
+
export declare const TimeUnit: {
|
|
36
|
+
readonly MICROSECONDS: "MICROSECONDS";
|
|
37
|
+
readonly MILLISECONDS: "MILLISECONDS";
|
|
38
|
+
readonly NANOSECONDS: "NANOSECONDS";
|
|
39
|
+
readonly SECONDS: "SECONDS";
|
|
40
|
+
};
|
|
41
|
+
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
42
|
+
export declare const S3EncryptionOption: {
|
|
43
|
+
readonly SSE_KMS: "SSE_KMS";
|
|
44
|
+
readonly SSE_S3: "SSE_S3";
|
|
45
|
+
};
|
|
46
|
+
export type S3EncryptionOption =
|
|
47
|
+
(typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
|
|
48
|
+
export declare const PartitionKeyEnforcementLevel: {
|
|
49
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
50
|
+
readonly REQUIRED: "REQUIRED";
|
|
51
|
+
};
|
|
52
|
+
export type PartitionKeyEnforcementLevel =
|
|
53
|
+
(typeof PartitionKeyEnforcementLevel)[keyof typeof PartitionKeyEnforcementLevel];
|
|
54
|
+
export declare const PartitionKeyType: {
|
|
55
|
+
readonly DIMENSION: "DIMENSION";
|
|
56
|
+
readonly MEASURE: "MEASURE";
|
|
57
|
+
};
|
|
58
|
+
export type PartitionKeyType =
|
|
59
|
+
(typeof PartitionKeyType)[keyof typeof PartitionKeyType];
|
|
60
|
+
export declare const TableStatus: {
|
|
61
|
+
readonly ACTIVE: "ACTIVE";
|
|
62
|
+
readonly DELETING: "DELETING";
|
|
63
|
+
readonly RESTORING: "RESTORING";
|
|
64
|
+
};
|
|
65
|
+
export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
|
|
66
|
+
export declare const DimensionValueType: {
|
|
67
|
+
readonly VARCHAR: "VARCHAR";
|
|
68
|
+
};
|
|
69
|
+
export type DimensionValueType =
|
|
70
|
+
(typeof DimensionValueType)[keyof typeof DimensionValueType];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { RejectedRecord } from "./models_0";
|
|
3
|
+
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Message: string | undefined;
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class InternalServerException extends __BaseException {
|
|
19
|
+
readonly name: "InternalServerException";
|
|
20
|
+
readonly $fault: "server";
|
|
21
|
+
Message: string | undefined;
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class InvalidEndpointException extends __BaseException {
|
|
27
|
+
readonly name: "InvalidEndpointException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
readonly name: "ResourceNotFoundException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
43
|
+
readonly name: "ServiceQuotaExceededException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
Message?: string | undefined;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ThrottlingException extends __BaseException {
|
|
51
|
+
readonly name: "ThrottlingException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
Message: string | undefined;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message: string | undefined;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class RejectedRecordsException extends __BaseException {
|
|
67
|
+
readonly name: "RejectedRecordsException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
RejectedRecords?: RejectedRecord[] | undefined;
|
|
71
|
+
constructor(
|
|
72
|
+
opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>
|
|
73
|
+
);
|
|
74
|
+
}
|