@aws-sdk/client-timestream-write 3.489.0 → 3.495.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.
Files changed (36) hide show
  1. package/dist-cjs/TimestreamWrite.js +1 -49
  2. package/dist-cjs/TimestreamWriteClient.js +1 -48
  3. package/dist-cjs/commands/CreateBatchLoadTaskCommand.js +1 -31
  4. package/dist-cjs/commands/CreateDatabaseCommand.js +1 -30
  5. package/dist-cjs/commands/CreateTableCommand.js +1 -30
  6. package/dist-cjs/commands/DeleteDatabaseCommand.js +1 -30
  7. package/dist-cjs/commands/DeleteTableCommand.js +1 -30
  8. package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +1 -30
  9. package/dist-cjs/commands/DescribeDatabaseCommand.js +1 -30
  10. package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeTableCommand.js +1 -30
  12. package/dist-cjs/commands/ListBatchLoadTasksCommand.js +1 -30
  13. package/dist-cjs/commands/ListDatabasesCommand.js +1 -30
  14. package/dist-cjs/commands/ListTablesCommand.js +1 -30
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -30
  16. package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +1 -30
  17. package/dist-cjs/commands/TagResourceCommand.js +1 -30
  18. package/dist-cjs/commands/UntagResourceCommand.js +1 -30
  19. package/dist-cjs/commands/UpdateDatabaseCommand.js +1 -30
  20. package/dist-cjs/commands/UpdateTableCommand.js +1 -30
  21. package/dist-cjs/commands/WriteRecordsCommand.js +1 -30
  22. package/dist-cjs/commands/index.js +1 -22
  23. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  24. package/dist-cjs/extensionConfiguration.js +1 -2
  25. package/dist-cjs/index.js +2139 -11
  26. package/dist-cjs/models/TimestreamWriteServiceException.js +1 -12
  27. package/dist-cjs/models/index.js +1 -4
  28. package/dist-cjs/models/models_0.js +1 -189
  29. package/dist-cjs/pagination/Interfaces.js +1 -2
  30. package/dist-cjs/pagination/ListBatchLoadTasksPaginator.js +1 -7
  31. package/dist-cjs/pagination/ListDatabasesPaginator.js +1 -7
  32. package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
  33. package/dist-cjs/pagination/index.js +1 -7
  34. package/dist-cjs/protocols/Aws_json1_0.js +1 -1330
  35. package/dist-cjs/runtimeExtensions.js +1 -22
  36. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TimestreamWriteServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class TimestreamWriteServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, TimestreamWriteServiceException.prototype);
10
- }
11
- }
12
- exports.TimestreamWriteServiceException = TimestreamWriteServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,189 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBatchLoadTaskRequestFilterSensitiveLog = exports.RejectedRecordsException = exports.DimensionValueType = exports.TableStatus = exports.PartitionKeyType = exports.PartitionKeyEnforcementLevel = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InvalidEndpointException = exports.InternalServerException = exports.ConflictException = exports.S3EncryptionOption = exports.TimeUnit = exports.ScalarMeasureValueType = exports.MeasureValueType = exports.BatchLoadStatus = exports.BatchLoadDataFormat = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const TimestreamWriteServiceException_1 = require("./TimestreamWriteServiceException");
6
- class AccessDeniedException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.Message = opts.Message;
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- exports.BatchLoadDataFormat = {
21
- CSV: "CSV",
22
- };
23
- exports.BatchLoadStatus = {
24
- CREATED: "CREATED",
25
- FAILED: "FAILED",
26
- IN_PROGRESS: "IN_PROGRESS",
27
- PENDING_RESUME: "PENDING_RESUME",
28
- PROGRESS_STOPPED: "PROGRESS_STOPPED",
29
- SUCCEEDED: "SUCCEEDED",
30
- };
31
- exports.MeasureValueType = {
32
- BIGINT: "BIGINT",
33
- BOOLEAN: "BOOLEAN",
34
- DOUBLE: "DOUBLE",
35
- MULTI: "MULTI",
36
- TIMESTAMP: "TIMESTAMP",
37
- VARCHAR: "VARCHAR",
38
- };
39
- exports.ScalarMeasureValueType = {
40
- BIGINT: "BIGINT",
41
- BOOLEAN: "BOOLEAN",
42
- DOUBLE: "DOUBLE",
43
- TIMESTAMP: "TIMESTAMP",
44
- VARCHAR: "VARCHAR",
45
- };
46
- exports.TimeUnit = {
47
- MICROSECONDS: "MICROSECONDS",
48
- MILLISECONDS: "MILLISECONDS",
49
- NANOSECONDS: "NANOSECONDS",
50
- SECONDS: "SECONDS",
51
- };
52
- exports.S3EncryptionOption = {
53
- SSE_KMS: "SSE_KMS",
54
- SSE_S3: "SSE_S3",
55
- };
56
- class ConflictException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
57
- constructor(opts) {
58
- super({
59
- name: "ConflictException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- this.name = "ConflictException";
64
- this.$fault = "client";
65
- Object.setPrototypeOf(this, ConflictException.prototype);
66
- this.Message = opts.Message;
67
- }
68
- }
69
- exports.ConflictException = ConflictException;
70
- class InternalServerException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
71
- constructor(opts) {
72
- super({
73
- name: "InternalServerException",
74
- $fault: "server",
75
- ...opts,
76
- });
77
- this.name = "InternalServerException";
78
- this.$fault = "server";
79
- Object.setPrototypeOf(this, InternalServerException.prototype);
80
- this.Message = opts.Message;
81
- }
82
- }
83
- exports.InternalServerException = InternalServerException;
84
- class InvalidEndpointException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "InvalidEndpointException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "InvalidEndpointException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, InvalidEndpointException.prototype);
94
- this.Message = opts.Message;
95
- }
96
- }
97
- exports.InvalidEndpointException = InvalidEndpointException;
98
- class ResourceNotFoundException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
99
- constructor(opts) {
100
- super({
101
- name: "ResourceNotFoundException",
102
- $fault: "client",
103
- ...opts,
104
- });
105
- this.name = "ResourceNotFoundException";
106
- this.$fault = "client";
107
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
108
- this.Message = opts.Message;
109
- }
110
- }
111
- exports.ResourceNotFoundException = ResourceNotFoundException;
112
- class ServiceQuotaExceededException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
113
- constructor(opts) {
114
- super({
115
- name: "ServiceQuotaExceededException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- this.name = "ServiceQuotaExceededException";
120
- this.$fault = "client";
121
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
122
- this.Message = opts.Message;
123
- }
124
- }
125
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
126
- class ThrottlingException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "ThrottlingException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "ThrottlingException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, ThrottlingException.prototype);
136
- this.Message = opts.Message;
137
- }
138
- }
139
- exports.ThrottlingException = ThrottlingException;
140
- class ValidationException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
141
- constructor(opts) {
142
- super({
143
- name: "ValidationException",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- this.name = "ValidationException";
148
- this.$fault = "client";
149
- Object.setPrototypeOf(this, ValidationException.prototype);
150
- this.Message = opts.Message;
151
- }
152
- }
153
- exports.ValidationException = ValidationException;
154
- exports.PartitionKeyEnforcementLevel = {
155
- OPTIONAL: "OPTIONAL",
156
- REQUIRED: "REQUIRED",
157
- };
158
- exports.PartitionKeyType = {
159
- DIMENSION: "DIMENSION",
160
- MEASURE: "MEASURE",
161
- };
162
- exports.TableStatus = {
163
- ACTIVE: "ACTIVE",
164
- DELETING: "DELETING",
165
- RESTORING: "RESTORING",
166
- };
167
- exports.DimensionValueType = {
168
- VARCHAR: "VARCHAR",
169
- };
170
- class RejectedRecordsException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
171
- constructor(opts) {
172
- super({
173
- name: "RejectedRecordsException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- this.name = "RejectedRecordsException";
178
- this.$fault = "client";
179
- Object.setPrototypeOf(this, RejectedRecordsException.prototype);
180
- this.Message = opts.Message;
181
- this.RejectedRecords = opts.RejectedRecords;
182
- }
183
- }
184
- exports.RejectedRecordsException = RejectedRecordsException;
185
- const CreateBatchLoadTaskRequestFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- ...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
188
- });
189
- exports.CreateBatchLoadTaskRequestFilterSensitiveLog = CreateBatchLoadTaskRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListBatchLoadTasks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListBatchLoadTasksCommand_1 = require("../commands/ListBatchLoadTasksCommand");
6
- const TimestreamWriteClient_1 = require("../TimestreamWriteClient");
7
- exports.paginateListBatchLoadTasks = (0, core_1.createPaginator)(TimestreamWriteClient_1.TimestreamWriteClient, ListBatchLoadTasksCommand_1.ListBatchLoadTasksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDatabases = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
6
- const TimestreamWriteClient_1 = require("../TimestreamWriteClient");
7
- exports.paginateListDatabases = (0, core_1.createPaginator)(TimestreamWriteClient_1.TimestreamWriteClient, ListDatabasesCommand_1.ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTables = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTablesCommand_1 = require("../commands/ListTablesCommand");
6
- const TimestreamWriteClient_1 = require("../TimestreamWriteClient");
7
- exports.paginateListTables = (0, core_1.createPaginator)(TimestreamWriteClient_1.TimestreamWriteClient, ListTablesCommand_1.ListTablesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListBatchLoadTasksPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListDatabasesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListTablesPaginator"), exports);
1
+ module.exports = require("../index.js");