@aws-sdk/client-timestream-write 3.40.0 → 3.45.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/CHANGELOG.md +41 -0
- package/README.md +8 -1
- package/dist-cjs/commands/WriteRecordsCommand.js +1 -1
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +45 -1
- package/dist-cjs/protocols/Aws_json1_0.js +101 -1
- package/dist-es/commands/WriteRecordsCommand.js +2 -2
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/protocols/Aws_json1_0.js +91 -11
- package/dist-types/TimestreamWrite.d.ts +83 -21
- package/dist-types/TimestreamWriteClient.d.ts +7 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +7 -4
- package/dist-types/commands/CreateTableCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +8 -3
- package/dist-types/commands/DeleteTableCommand.d.ts +6 -2
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +3 -2
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +10 -5
- package/dist-types/commands/DescribeTableCommand.d.ts +3 -2
- package/dist-types/commands/ListDatabasesCommand.d.ts +3 -2
- package/dist-types/commands/ListTablesCommand.d.ts +3 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +3 -1
- package/dist-types/commands/UpdateTableCommand.d.ts +3 -2
- package/dist-types/commands/WriteRecordsCommand.d.ts +35 -5
- package/dist-types/models/models_0.d.ts +207 -18
- package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +84 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
48
|
|
|
8
49
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript TimestreamWrite Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<
|
|
10
|
+
<fullname>Amazon Timestream Write</fullname>
|
|
11
|
+
|
|
12
|
+
<p>Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day.
|
|
13
|
+
With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications.
|
|
14
|
+
You can analyze industrial telemetry to streamline equipment management and maintenance.
|
|
15
|
+
You can also store and analyze log data and metrics to improve the performance and availability of your applications.
|
|
16
|
+
Timestream is built from the ground up to effectively ingest, process,
|
|
17
|
+
and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.</p>
|
|
11
18
|
|
|
12
19
|
## Installing
|
|
13
20
|
|
|
@@ -23,7 +23,7 @@ class WriteRecordsCommand extends smithy_client_1.Command {
|
|
|
23
23
|
clientName,
|
|
24
24
|
commandName,
|
|
25
25
|
inputFilterSensitiveLog: models_0_1.WriteRecordsRequest.filterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.WriteRecordsResponse.filterSensitiveLog,
|
|
27
27
|
};
|
|
28
28
|
const { requestHandler } = configuration;
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -14,6 +14,7 @@ const partitionHash = {
|
|
|
14
14
|
"ap-south-1",
|
|
15
15
|
"ap-southeast-1",
|
|
16
16
|
"ap-southeast-2",
|
|
17
|
+
"ap-southeast-3",
|
|
17
18
|
"ca-central-1",
|
|
18
19
|
"eu-central-1",
|
|
19
20
|
"eu-north-1",
|
|
@@ -78,6 +79,10 @@ const partitionHash = {
|
|
|
78
79
|
hostname: "ingest.timestream.{region}.c2s.ic.gov",
|
|
79
80
|
tags: [],
|
|
80
81
|
},
|
|
82
|
+
{
|
|
83
|
+
hostname: "ingest.timestream-fips.{region}.c2s.ic.gov",
|
|
84
|
+
tags: ["fips"],
|
|
85
|
+
},
|
|
81
86
|
],
|
|
82
87
|
},
|
|
83
88
|
"aws-iso-b": {
|
|
@@ -88,6 +93,10 @@ const partitionHash = {
|
|
|
88
93
|
hostname: "ingest.timestream.{region}.sc2s.sgov.gov",
|
|
89
94
|
tags: [],
|
|
90
95
|
},
|
|
96
|
+
{
|
|
97
|
+
hostname: "ingest.timestream-fips.{region}.sc2s.sgov.gov",
|
|
98
|
+
tags: ["fips"],
|
|
99
|
+
},
|
|
91
100
|
],
|
|
92
101
|
},
|
|
93
102
|
"aws-us-gov": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpdateDatabaseRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectedRecordsException = exports.RejectedRecord = exports.RecordsIngested = exports._Record = exports.TimeUnit = exports.MeasureValue = exports.MeasureValueType = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListTablesResponse = exports.ListTablesRequest = exports.ListDatabasesResponse = exports.ListDatabasesRequest = exports.Dimension = exports.DimensionValueType = exports.DescribeTableResponse = exports.DescribeTableRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeDatabaseResponse = exports.DescribeDatabaseRequest = exports.DeleteTableRequest = exports.DeleteDatabaseRequest = exports.ResourceNotFoundException = exports.CreateTableResponse = exports.Table = exports.TableStatus = exports.CreateTableRequest = exports.RetentionProperties = exports.MagneticStoreWriteProperties = exports.MagneticStoreRejectedDataLocation = exports.S3Configuration = exports.S3EncryptionOption = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InvalidEndpointException = exports.InternalServerException = exports.CreateDatabaseResponse = exports.Database = exports.CreateDatabaseRequest = exports.Tag = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.WriteRecordsResponse = exports.WriteRecordsRequest = exports.UpdateTableResponse = exports.UpdateTableRequest = exports.UpdateDatabaseResponse = void 0;
|
|
4
5
|
var AccessDeniedException;
|
|
5
6
|
(function (AccessDeniedException) {
|
|
6
7
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
@@ -67,6 +68,29 @@ var ValidationException;
|
|
|
67
68
|
...obj,
|
|
68
69
|
});
|
|
69
70
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
71
|
+
var S3EncryptionOption;
|
|
72
|
+
(function (S3EncryptionOption) {
|
|
73
|
+
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
74
|
+
S3EncryptionOption["SSE_S3"] = "SSE_S3";
|
|
75
|
+
})(S3EncryptionOption = exports.S3EncryptionOption || (exports.S3EncryptionOption = {}));
|
|
76
|
+
var S3Configuration;
|
|
77
|
+
(function (S3Configuration) {
|
|
78
|
+
S3Configuration.filterSensitiveLog = (obj) => ({
|
|
79
|
+
...obj,
|
|
80
|
+
});
|
|
81
|
+
})(S3Configuration = exports.S3Configuration || (exports.S3Configuration = {}));
|
|
82
|
+
var MagneticStoreRejectedDataLocation;
|
|
83
|
+
(function (MagneticStoreRejectedDataLocation) {
|
|
84
|
+
MagneticStoreRejectedDataLocation.filterSensitiveLog = (obj) => ({
|
|
85
|
+
...obj,
|
|
86
|
+
});
|
|
87
|
+
})(MagneticStoreRejectedDataLocation = exports.MagneticStoreRejectedDataLocation || (exports.MagneticStoreRejectedDataLocation = {}));
|
|
88
|
+
var MagneticStoreWriteProperties;
|
|
89
|
+
(function (MagneticStoreWriteProperties) {
|
|
90
|
+
MagneticStoreWriteProperties.filterSensitiveLog = (obj) => ({
|
|
91
|
+
...obj,
|
|
92
|
+
});
|
|
93
|
+
})(MagneticStoreWriteProperties = exports.MagneticStoreWriteProperties || (exports.MagneticStoreWriteProperties = {}));
|
|
70
94
|
var RetentionProperties;
|
|
71
95
|
(function (RetentionProperties) {
|
|
72
96
|
RetentionProperties.filterSensitiveLog = (obj) => ({
|
|
@@ -207,8 +231,16 @@ var MeasureValueType;
|
|
|
207
231
|
MeasureValueType["BIGINT"] = "BIGINT";
|
|
208
232
|
MeasureValueType["BOOLEAN"] = "BOOLEAN";
|
|
209
233
|
MeasureValueType["DOUBLE"] = "DOUBLE";
|
|
234
|
+
MeasureValueType["MULTI"] = "MULTI";
|
|
235
|
+
MeasureValueType["TIMESTAMP"] = "TIMESTAMP";
|
|
210
236
|
MeasureValueType["VARCHAR"] = "VARCHAR";
|
|
211
237
|
})(MeasureValueType = exports.MeasureValueType || (exports.MeasureValueType = {}));
|
|
238
|
+
var MeasureValue;
|
|
239
|
+
(function (MeasureValue) {
|
|
240
|
+
MeasureValue.filterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
});
|
|
243
|
+
})(MeasureValue = exports.MeasureValue || (exports.MeasureValue = {}));
|
|
212
244
|
var TimeUnit;
|
|
213
245
|
(function (TimeUnit) {
|
|
214
246
|
TimeUnit["MICROSECONDS"] = "MICROSECONDS";
|
|
@@ -222,6 +254,12 @@ var _Record;
|
|
|
222
254
|
...obj,
|
|
223
255
|
});
|
|
224
256
|
})(_Record = exports._Record || (exports._Record = {}));
|
|
257
|
+
var RecordsIngested;
|
|
258
|
+
(function (RecordsIngested) {
|
|
259
|
+
RecordsIngested.filterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
})(RecordsIngested = exports.RecordsIngested || (exports.RecordsIngested = {}));
|
|
225
263
|
var RejectedRecord;
|
|
226
264
|
(function (RejectedRecord) {
|
|
227
265
|
RejectedRecord.filterSensitiveLog = (obj) => ({
|
|
@@ -288,3 +326,9 @@ var WriteRecordsRequest;
|
|
|
288
326
|
...obj,
|
|
289
327
|
});
|
|
290
328
|
})(WriteRecordsRequest = exports.WriteRecordsRequest || (exports.WriteRecordsRequest = {}));
|
|
329
|
+
var WriteRecordsResponse;
|
|
330
|
+
(function (WriteRecordsResponse) {
|
|
331
|
+
WriteRecordsResponse.filterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
334
|
+
})(WriteRecordsResponse = exports.WriteRecordsResponse || (exports.WriteRecordsResponse = {}));
|
|
@@ -1337,9 +1337,12 @@ const deserializeAws_json1_0WriteRecordsCommand = async (output, context) => {
|
|
|
1337
1337
|
if (output.statusCode >= 300) {
|
|
1338
1338
|
return deserializeAws_json1_0WriteRecordsCommandError(output, context);
|
|
1339
1339
|
}
|
|
1340
|
-
await
|
|
1340
|
+
const data = await parseBody(output.body, context);
|
|
1341
|
+
let contents = {};
|
|
1342
|
+
contents = deserializeAws_json1_0WriteRecordsResponse(data, context);
|
|
1341
1343
|
const response = {
|
|
1342
1344
|
$metadata: deserializeMetadata(output),
|
|
1345
|
+
...contents,
|
|
1343
1346
|
};
|
|
1344
1347
|
return Promise.resolve(response);
|
|
1345
1348
|
};
|
|
@@ -1534,6 +1537,10 @@ const serializeAws_json1_0CreateDatabaseRequest = (input, context) => {
|
|
|
1534
1537
|
const serializeAws_json1_0CreateTableRequest = (input, context) => {
|
|
1535
1538
|
return {
|
|
1536
1539
|
...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
|
|
1540
|
+
...(input.MagneticStoreWriteProperties !== undefined &&
|
|
1541
|
+
input.MagneticStoreWriteProperties !== null && {
|
|
1542
|
+
MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
|
|
1543
|
+
}),
|
|
1537
1544
|
...(input.RetentionProperties !== undefined &&
|
|
1538
1545
|
input.RetentionProperties !== null && {
|
|
1539
1546
|
RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
|
|
@@ -1603,6 +1610,41 @@ const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
|
|
|
1603
1610
|
...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
|
|
1604
1611
|
};
|
|
1605
1612
|
};
|
|
1613
|
+
const serializeAws_json1_0MagneticStoreRejectedDataLocation = (input, context) => {
|
|
1614
|
+
return {
|
|
1615
|
+
...(input.S3Configuration !== undefined &&
|
|
1616
|
+
input.S3Configuration !== null && {
|
|
1617
|
+
S3Configuration: serializeAws_json1_0S3Configuration(input.S3Configuration, context),
|
|
1618
|
+
}),
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
const serializeAws_json1_0MagneticStoreWriteProperties = (input, context) => {
|
|
1622
|
+
return {
|
|
1623
|
+
...(input.EnableMagneticStoreWrites !== undefined &&
|
|
1624
|
+
input.EnableMagneticStoreWrites !== null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites }),
|
|
1625
|
+
...(input.MagneticStoreRejectedDataLocation !== undefined &&
|
|
1626
|
+
input.MagneticStoreRejectedDataLocation !== null && {
|
|
1627
|
+
MagneticStoreRejectedDataLocation: serializeAws_json1_0MagneticStoreRejectedDataLocation(input.MagneticStoreRejectedDataLocation, context),
|
|
1628
|
+
}),
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
const serializeAws_json1_0MeasureValue = (input, context) => {
|
|
1632
|
+
return {
|
|
1633
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
1634
|
+
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
1635
|
+
...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
const serializeAws_json1_0MeasureValues = (input, context) => {
|
|
1639
|
+
return input
|
|
1640
|
+
.filter((e) => e != null)
|
|
1641
|
+
.map((entry) => {
|
|
1642
|
+
if (entry === null) {
|
|
1643
|
+
return null;
|
|
1644
|
+
}
|
|
1645
|
+
return serializeAws_json1_0MeasureValue(entry, context);
|
|
1646
|
+
});
|
|
1647
|
+
};
|
|
1606
1648
|
const serializeAws_json1_0_Record = (input, context) => {
|
|
1607
1649
|
return {
|
|
1608
1650
|
...(input.Dimensions !== undefined &&
|
|
@@ -1611,6 +1653,10 @@ const serializeAws_json1_0_Record = (input, context) => {
|
|
|
1611
1653
|
...(input.MeasureValue !== undefined && input.MeasureValue !== null && { MeasureValue: input.MeasureValue }),
|
|
1612
1654
|
...(input.MeasureValueType !== undefined &&
|
|
1613
1655
|
input.MeasureValueType !== null && { MeasureValueType: input.MeasureValueType }),
|
|
1656
|
+
...(input.MeasureValues !== undefined &&
|
|
1657
|
+
input.MeasureValues !== null && {
|
|
1658
|
+
MeasureValues: serializeAws_json1_0MeasureValues(input.MeasureValues, context),
|
|
1659
|
+
}),
|
|
1614
1660
|
...(input.Time !== undefined && input.Time !== null && { Time: input.Time }),
|
|
1615
1661
|
...(input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit }),
|
|
1616
1662
|
...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
|
|
@@ -1638,6 +1684,16 @@ const serializeAws_json1_0RetentionProperties = (input, context) => {
|
|
|
1638
1684
|
}),
|
|
1639
1685
|
};
|
|
1640
1686
|
};
|
|
1687
|
+
const serializeAws_json1_0S3Configuration = (input, context) => {
|
|
1688
|
+
return {
|
|
1689
|
+
...(input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName }),
|
|
1690
|
+
...(input.EncryptionOption !== undefined &&
|
|
1691
|
+
input.EncryptionOption !== null && { EncryptionOption: input.EncryptionOption }),
|
|
1692
|
+
...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
|
|
1693
|
+
...(input.ObjectKeyPrefix !== undefined &&
|
|
1694
|
+
input.ObjectKeyPrefix !== null && { ObjectKeyPrefix: input.ObjectKeyPrefix }),
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1641
1697
|
const serializeAws_json1_0Tag = (input, context) => {
|
|
1642
1698
|
return {
|
|
1643
1699
|
...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
|
|
@@ -1686,6 +1742,10 @@ const serializeAws_json1_0UpdateDatabaseRequest = (input, context) => {
|
|
|
1686
1742
|
const serializeAws_json1_0UpdateTableRequest = (input, context) => {
|
|
1687
1743
|
return {
|
|
1688
1744
|
...(input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName }),
|
|
1745
|
+
...(input.MagneticStoreWriteProperties !== undefined &&
|
|
1746
|
+
input.MagneticStoreWriteProperties !== null && {
|
|
1747
|
+
MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
|
|
1748
|
+
}),
|
|
1689
1749
|
...(input.RetentionProperties !== undefined &&
|
|
1690
1750
|
input.RetentionProperties !== null && {
|
|
1691
1751
|
RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
|
|
@@ -1823,6 +1883,28 @@ const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
|
|
|
1823
1883
|
: undefined,
|
|
1824
1884
|
};
|
|
1825
1885
|
};
|
|
1886
|
+
const deserializeAws_json1_0MagneticStoreRejectedDataLocation = (output, context) => {
|
|
1887
|
+
return {
|
|
1888
|
+
S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
|
|
1889
|
+
? deserializeAws_json1_0S3Configuration(output.S3Configuration, context)
|
|
1890
|
+
: undefined,
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
const deserializeAws_json1_0MagneticStoreWriteProperties = (output, context) => {
|
|
1894
|
+
return {
|
|
1895
|
+
EnableMagneticStoreWrites: smithy_client_1.expectBoolean(output.EnableMagneticStoreWrites),
|
|
1896
|
+
MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation !== undefined && output.MagneticStoreRejectedDataLocation !== null
|
|
1897
|
+
? deserializeAws_json1_0MagneticStoreRejectedDataLocation(output.MagneticStoreRejectedDataLocation, context)
|
|
1898
|
+
: undefined,
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
const deserializeAws_json1_0RecordsIngested = (output, context) => {
|
|
1902
|
+
return {
|
|
1903
|
+
MagneticStore: smithy_client_1.expectInt32(output.MagneticStore),
|
|
1904
|
+
MemoryStore: smithy_client_1.expectInt32(output.MemoryStore),
|
|
1905
|
+
Total: smithy_client_1.expectInt32(output.Total),
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1826
1908
|
const deserializeAws_json1_0RejectedRecord = (output, context) => {
|
|
1827
1909
|
return {
|
|
1828
1910
|
ExistingVersion: smithy_client_1.expectLong(output.ExistingVersion),
|
|
@@ -1859,6 +1941,14 @@ const deserializeAws_json1_0RetentionProperties = (output, context) => {
|
|
|
1859
1941
|
MemoryStoreRetentionPeriodInHours: smithy_client_1.expectLong(output.MemoryStoreRetentionPeriodInHours),
|
|
1860
1942
|
};
|
|
1861
1943
|
};
|
|
1944
|
+
const deserializeAws_json1_0S3Configuration = (output, context) => {
|
|
1945
|
+
return {
|
|
1946
|
+
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
1947
|
+
EncryptionOption: smithy_client_1.expectString(output.EncryptionOption),
|
|
1948
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1949
|
+
ObjectKeyPrefix: smithy_client_1.expectString(output.ObjectKeyPrefix),
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1862
1952
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
1863
1953
|
return {
|
|
1864
1954
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -1874,6 +1964,9 @@ const deserializeAws_json1_0Table = (output, context) => {
|
|
|
1874
1964
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
1875
1965
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
|
|
1876
1966
|
: undefined,
|
|
1967
|
+
MagneticStoreWriteProperties: output.MagneticStoreWriteProperties !== undefined && output.MagneticStoreWriteProperties !== null
|
|
1968
|
+
? deserializeAws_json1_0MagneticStoreWriteProperties(output.MagneticStoreWriteProperties, context)
|
|
1969
|
+
: undefined,
|
|
1877
1970
|
RetentionProperties: output.RetentionProperties !== undefined && output.RetentionProperties !== null
|
|
1878
1971
|
? deserializeAws_json1_0RetentionProperties(output.RetentionProperties, context)
|
|
1879
1972
|
: undefined,
|
|
@@ -1937,6 +2030,13 @@ const deserializeAws_json1_0ValidationException = (output, context) => {
|
|
|
1937
2030
|
Message: smithy_client_1.expectString(output.Message),
|
|
1938
2031
|
};
|
|
1939
2032
|
};
|
|
2033
|
+
const deserializeAws_json1_0WriteRecordsResponse = (output, context) => {
|
|
2034
|
+
return {
|
|
2035
|
+
RecordsIngested: output.RecordsIngested !== undefined && output.RecordsIngested !== null
|
|
2036
|
+
? deserializeAws_json1_0RecordsIngested(output.RecordsIngested, context)
|
|
2037
|
+
: undefined,
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
1940
2040
|
const deserializeMetadata = (output) => {
|
|
1941
2041
|
var _a;
|
|
1942
2042
|
return ({
|
|
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
3
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { WriteRecordsRequest } from "../models/models_0";
|
|
5
|
+
import { WriteRecordsRequest, WriteRecordsResponse } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_json1_0WriteRecordsCommand, serializeAws_json1_0WriteRecordsCommand, } from "../protocols/Aws_json1_0";
|
|
7
7
|
var WriteRecordsCommand = (function (_super) {
|
|
8
8
|
__extends(WriteRecordsCommand, _super);
|
|
@@ -23,7 +23,7 @@ var WriteRecordsCommand = (function (_super) {
|
|
|
23
23
|
clientName: clientName,
|
|
24
24
|
commandName: commandName,
|
|
25
25
|
inputFilterSensitiveLog: WriteRecordsRequest.filterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
26
|
+
outputFilterSensitiveLog: WriteRecordsResponse.filterSensitiveLog,
|
|
27
27
|
};
|
|
28
28
|
var requestHandler = configuration.requestHandler;
|
|
29
29
|
return stack.resolve(function (request) {
|
package/dist-es/endpoints.js
CHANGED
|
@@ -12,6 +12,7 @@ var partitionHash = {
|
|
|
12
12
|
"ap-south-1",
|
|
13
13
|
"ap-southeast-1",
|
|
14
14
|
"ap-southeast-2",
|
|
15
|
+
"ap-southeast-3",
|
|
15
16
|
"ca-central-1",
|
|
16
17
|
"eu-central-1",
|
|
17
18
|
"eu-north-1",
|
|
@@ -76,6 +77,10 @@ var partitionHash = {
|
|
|
76
77
|
hostname: "ingest.timestream.{region}.c2s.ic.gov",
|
|
77
78
|
tags: [],
|
|
78
79
|
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "ingest.timestream-fips.{region}.c2s.ic.gov",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
79
84
|
],
|
|
80
85
|
},
|
|
81
86
|
"aws-iso-b": {
|
|
@@ -86,6 +91,10 @@ var partitionHash = {
|
|
|
86
91
|
hostname: "ingest.timestream.{region}.sc2s.sgov.gov",
|
|
87
92
|
tags: [],
|
|
88
93
|
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "ingest.timestream-fips.{region}.sc2s.sgov.gov",
|
|
96
|
+
tags: ["fips"],
|
|
97
|
+
},
|
|
89
98
|
],
|
|
90
99
|
},
|
|
91
100
|
"aws-us-gov": {
|
|
@@ -43,6 +43,23 @@ export var ValidationException;
|
|
|
43
43
|
(function (ValidationException) {
|
|
44
44
|
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
45
|
})(ValidationException || (ValidationException = {}));
|
|
46
|
+
export var S3EncryptionOption;
|
|
47
|
+
(function (S3EncryptionOption) {
|
|
48
|
+
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
49
|
+
S3EncryptionOption["SSE_S3"] = "SSE_S3";
|
|
50
|
+
})(S3EncryptionOption || (S3EncryptionOption = {}));
|
|
51
|
+
export var S3Configuration;
|
|
52
|
+
(function (S3Configuration) {
|
|
53
|
+
S3Configuration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
+
})(S3Configuration || (S3Configuration = {}));
|
|
55
|
+
export var MagneticStoreRejectedDataLocation;
|
|
56
|
+
(function (MagneticStoreRejectedDataLocation) {
|
|
57
|
+
MagneticStoreRejectedDataLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
+
})(MagneticStoreRejectedDataLocation || (MagneticStoreRejectedDataLocation = {}));
|
|
59
|
+
export var MagneticStoreWriteProperties;
|
|
60
|
+
(function (MagneticStoreWriteProperties) {
|
|
61
|
+
MagneticStoreWriteProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
62
|
+
})(MagneticStoreWriteProperties || (MagneticStoreWriteProperties = {}));
|
|
46
63
|
export var RetentionProperties;
|
|
47
64
|
(function (RetentionProperties) {
|
|
48
65
|
RetentionProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -141,8 +158,14 @@ export var MeasureValueType;
|
|
|
141
158
|
MeasureValueType["BIGINT"] = "BIGINT";
|
|
142
159
|
MeasureValueType["BOOLEAN"] = "BOOLEAN";
|
|
143
160
|
MeasureValueType["DOUBLE"] = "DOUBLE";
|
|
161
|
+
MeasureValueType["MULTI"] = "MULTI";
|
|
162
|
+
MeasureValueType["TIMESTAMP"] = "TIMESTAMP";
|
|
144
163
|
MeasureValueType["VARCHAR"] = "VARCHAR";
|
|
145
164
|
})(MeasureValueType || (MeasureValueType = {}));
|
|
165
|
+
export var MeasureValue;
|
|
166
|
+
(function (MeasureValue) {
|
|
167
|
+
MeasureValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
})(MeasureValue || (MeasureValue = {}));
|
|
146
169
|
export var TimeUnit;
|
|
147
170
|
(function (TimeUnit) {
|
|
148
171
|
TimeUnit["MICROSECONDS"] = "MICROSECONDS";
|
|
@@ -154,6 +177,10 @@ export var _Record;
|
|
|
154
177
|
(function (_Record) {
|
|
155
178
|
_Record.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
179
|
})(_Record || (_Record = {}));
|
|
180
|
+
export var RecordsIngested;
|
|
181
|
+
(function (RecordsIngested) {
|
|
182
|
+
RecordsIngested.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
})(RecordsIngested || (RecordsIngested = {}));
|
|
157
184
|
export var RejectedRecord;
|
|
158
185
|
(function (RejectedRecord) {
|
|
159
186
|
RejectedRecord.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -198,3 +225,7 @@ export var WriteRecordsRequest;
|
|
|
198
225
|
(function (WriteRecordsRequest) {
|
|
199
226
|
WriteRecordsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
227
|
})(WriteRecordsRequest || (WriteRecordsRequest = {}));
|
|
228
|
+
export var WriteRecordsResponse;
|
|
229
|
+
(function (WriteRecordsResponse) {
|
|
230
|
+
WriteRecordsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
})(WriteRecordsResponse || (WriteRecordsResponse = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_0CreateDatabaseCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -1479,19 +1479,19 @@ var deserializeAws_json1_0UpdateTableCommandError = function (output, context) {
|
|
|
1479
1479
|
});
|
|
1480
1480
|
}); };
|
|
1481
1481
|
export var deserializeAws_json1_0WriteRecordsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1482
|
-
var response;
|
|
1482
|
+
var data, contents, response;
|
|
1483
1483
|
return __generator(this, function (_a) {
|
|
1484
1484
|
switch (_a.label) {
|
|
1485
1485
|
case 0:
|
|
1486
1486
|
if (output.statusCode >= 300) {
|
|
1487
1487
|
return [2, deserializeAws_json1_0WriteRecordsCommandError(output, context)];
|
|
1488
1488
|
}
|
|
1489
|
-
return [4,
|
|
1489
|
+
return [4, parseBody(output.body, context)];
|
|
1490
1490
|
case 1:
|
|
1491
|
-
_a.sent();
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
};
|
|
1491
|
+
data = _a.sent();
|
|
1492
|
+
contents = {};
|
|
1493
|
+
contents = deserializeAws_json1_0WriteRecordsResponse(data, context);
|
|
1494
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1495
1495
|
return [2, Promise.resolve(response)];
|
|
1496
1496
|
}
|
|
1497
1497
|
});
|
|
@@ -1667,7 +1667,10 @@ var serializeAws_json1_0CreateDatabaseRequest = function (input, context) {
|
|
|
1667
1667
|
return __assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
1668
1668
|
};
|
|
1669
1669
|
var serializeAws_json1_0CreateTableRequest = function (input, context) {
|
|
1670
|
-
return __assign(__assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.
|
|
1670
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties !== undefined &&
|
|
1671
|
+
input.MagneticStoreWriteProperties !== null && {
|
|
1672
|
+
MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
|
|
1673
|
+
})), (input.RetentionProperties !== undefined &&
|
|
1671
1674
|
input.RetentionProperties !== null && {
|
|
1672
1675
|
RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
|
|
1673
1676
|
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
@@ -1710,10 +1713,39 @@ var serializeAws_json1_0ListTablesRequest = function (input, context) {
|
|
|
1710
1713
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
1711
1714
|
return __assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }));
|
|
1712
1715
|
};
|
|
1716
|
+
var serializeAws_json1_0MagneticStoreRejectedDataLocation = function (input, context) {
|
|
1717
|
+
return __assign({}, (input.S3Configuration !== undefined &&
|
|
1718
|
+
input.S3Configuration !== null && {
|
|
1719
|
+
S3Configuration: serializeAws_json1_0S3Configuration(input.S3Configuration, context),
|
|
1720
|
+
}));
|
|
1721
|
+
};
|
|
1722
|
+
var serializeAws_json1_0MagneticStoreWriteProperties = function (input, context) {
|
|
1723
|
+
return __assign(__assign({}, (input.EnableMagneticStoreWrites !== undefined &&
|
|
1724
|
+
input.EnableMagneticStoreWrites !== null && { EnableMagneticStoreWrites: input.EnableMagneticStoreWrites })), (input.MagneticStoreRejectedDataLocation !== undefined &&
|
|
1725
|
+
input.MagneticStoreRejectedDataLocation !== null && {
|
|
1726
|
+
MagneticStoreRejectedDataLocation: serializeAws_json1_0MagneticStoreRejectedDataLocation(input.MagneticStoreRejectedDataLocation, context),
|
|
1727
|
+
}));
|
|
1728
|
+
};
|
|
1729
|
+
var serializeAws_json1_0MeasureValue = function (input, context) {
|
|
1730
|
+
return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
1731
|
+
};
|
|
1732
|
+
var serializeAws_json1_0MeasureValues = function (input, context) {
|
|
1733
|
+
return input
|
|
1734
|
+
.filter(function (e) { return e != null; })
|
|
1735
|
+
.map(function (entry) {
|
|
1736
|
+
if (entry === null) {
|
|
1737
|
+
return null;
|
|
1738
|
+
}
|
|
1739
|
+
return serializeAws_json1_0MeasureValue(entry, context);
|
|
1740
|
+
});
|
|
1741
|
+
};
|
|
1713
1742
|
var serializeAws_json1_0_Record = function (input, context) {
|
|
1714
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Dimensions !== undefined &&
|
|
1743
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Dimensions !== undefined &&
|
|
1715
1744
|
input.Dimensions !== null && { Dimensions: serializeAws_json1_0Dimensions(input.Dimensions, context) })), (input.MeasureName !== undefined && input.MeasureName !== null && { MeasureName: input.MeasureName })), (input.MeasureValue !== undefined && input.MeasureValue !== null && { MeasureValue: input.MeasureValue })), (input.MeasureValueType !== undefined &&
|
|
1716
|
-
input.MeasureValueType !== null && { MeasureValueType: input.MeasureValueType })), (input.
|
|
1745
|
+
input.MeasureValueType !== null && { MeasureValueType: input.MeasureValueType })), (input.MeasureValues !== undefined &&
|
|
1746
|
+
input.MeasureValues !== null && {
|
|
1747
|
+
MeasureValues: serializeAws_json1_0MeasureValues(input.MeasureValues, context),
|
|
1748
|
+
})), (input.Time !== undefined && input.Time !== null && { Time: input.Time })), (input.TimeUnit !== undefined && input.TimeUnit !== null && { TimeUnit: input.TimeUnit })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
1717
1749
|
};
|
|
1718
1750
|
var serializeAws_json1_0Records = function (input, context) {
|
|
1719
1751
|
return input
|
|
@@ -1734,6 +1766,11 @@ var serializeAws_json1_0RetentionProperties = function (input, context) {
|
|
|
1734
1766
|
MemoryStoreRetentionPeriodInHours: input.MemoryStoreRetentionPeriodInHours,
|
|
1735
1767
|
}));
|
|
1736
1768
|
};
|
|
1769
|
+
var serializeAws_json1_0S3Configuration = function (input, context) {
|
|
1770
|
+
return __assign(__assign(__assign(__assign({}, (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.EncryptionOption !== undefined &&
|
|
1771
|
+
input.EncryptionOption !== null && { EncryptionOption: input.EncryptionOption })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.ObjectKeyPrefix !== undefined &&
|
|
1772
|
+
input.ObjectKeyPrefix !== null && { ObjectKeyPrefix: input.ObjectKeyPrefix }));
|
|
1773
|
+
};
|
|
1737
1774
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
1738
1775
|
return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
1739
1776
|
};
|
|
@@ -1768,7 +1805,10 @@ var serializeAws_json1_0UpdateDatabaseRequest = function (input, context) {
|
|
|
1768
1805
|
return __assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }));
|
|
1769
1806
|
};
|
|
1770
1807
|
var serializeAws_json1_0UpdateTableRequest = function (input, context) {
|
|
1771
|
-
return __assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.
|
|
1808
|
+
return __assign(__assign(__assign(__assign({}, (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.MagneticStoreWriteProperties !== undefined &&
|
|
1809
|
+
input.MagneticStoreWriteProperties !== null && {
|
|
1810
|
+
MagneticStoreWriteProperties: serializeAws_json1_0MagneticStoreWriteProperties(input.MagneticStoreWriteProperties, context),
|
|
1811
|
+
})), (input.RetentionProperties !== undefined &&
|
|
1772
1812
|
input.RetentionProperties !== null && {
|
|
1773
1813
|
RetentionProperties: serializeAws_json1_0RetentionProperties(input.RetentionProperties, context),
|
|
1774
1814
|
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
@@ -1898,6 +1938,28 @@ var deserializeAws_json1_0ListTagsForResourceResponse = function (output, contex
|
|
|
1898
1938
|
: undefined,
|
|
1899
1939
|
};
|
|
1900
1940
|
};
|
|
1941
|
+
var deserializeAws_json1_0MagneticStoreRejectedDataLocation = function (output, context) {
|
|
1942
|
+
return {
|
|
1943
|
+
S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
|
|
1944
|
+
? deserializeAws_json1_0S3Configuration(output.S3Configuration, context)
|
|
1945
|
+
: undefined,
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
var deserializeAws_json1_0MagneticStoreWriteProperties = function (output, context) {
|
|
1949
|
+
return {
|
|
1950
|
+
EnableMagneticStoreWrites: __expectBoolean(output.EnableMagneticStoreWrites),
|
|
1951
|
+
MagneticStoreRejectedDataLocation: output.MagneticStoreRejectedDataLocation !== undefined && output.MagneticStoreRejectedDataLocation !== null
|
|
1952
|
+
? deserializeAws_json1_0MagneticStoreRejectedDataLocation(output.MagneticStoreRejectedDataLocation, context)
|
|
1953
|
+
: undefined,
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
var deserializeAws_json1_0RecordsIngested = function (output, context) {
|
|
1957
|
+
return {
|
|
1958
|
+
MagneticStore: __expectInt32(output.MagneticStore),
|
|
1959
|
+
MemoryStore: __expectInt32(output.MemoryStore),
|
|
1960
|
+
Total: __expectInt32(output.Total),
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1901
1963
|
var deserializeAws_json1_0RejectedRecord = function (output, context) {
|
|
1902
1964
|
return {
|
|
1903
1965
|
ExistingVersion: __expectLong(output.ExistingVersion),
|
|
@@ -1934,6 +1996,14 @@ var deserializeAws_json1_0RetentionProperties = function (output, context) {
|
|
|
1934
1996
|
MemoryStoreRetentionPeriodInHours: __expectLong(output.MemoryStoreRetentionPeriodInHours),
|
|
1935
1997
|
};
|
|
1936
1998
|
};
|
|
1999
|
+
var deserializeAws_json1_0S3Configuration = function (output, context) {
|
|
2000
|
+
return {
|
|
2001
|
+
BucketName: __expectString(output.BucketName),
|
|
2002
|
+
EncryptionOption: __expectString(output.EncryptionOption),
|
|
2003
|
+
KmsKeyId: __expectString(output.KmsKeyId),
|
|
2004
|
+
ObjectKeyPrefix: __expectString(output.ObjectKeyPrefix),
|
|
2005
|
+
};
|
|
2006
|
+
};
|
|
1937
2007
|
var deserializeAws_json1_0ServiceQuotaExceededException = function (output, context) {
|
|
1938
2008
|
return {
|
|
1939
2009
|
Message: __expectString(output.Message),
|
|
@@ -1949,6 +2019,9 @@ var deserializeAws_json1_0Table = function (output, context) {
|
|
|
1949
2019
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
1950
2020
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
1951
2021
|
: undefined,
|
|
2022
|
+
MagneticStoreWriteProperties: output.MagneticStoreWriteProperties !== undefined && output.MagneticStoreWriteProperties !== null
|
|
2023
|
+
? deserializeAws_json1_0MagneticStoreWriteProperties(output.MagneticStoreWriteProperties, context)
|
|
2024
|
+
: undefined,
|
|
1952
2025
|
RetentionProperties: output.RetentionProperties !== undefined && output.RetentionProperties !== null
|
|
1953
2026
|
? deserializeAws_json1_0RetentionProperties(output.RetentionProperties, context)
|
|
1954
2027
|
: undefined,
|
|
@@ -2012,6 +2085,13 @@ var deserializeAws_json1_0ValidationException = function (output, context) {
|
|
|
2012
2085
|
Message: __expectString(output.Message),
|
|
2013
2086
|
};
|
|
2014
2087
|
};
|
|
2088
|
+
var deserializeAws_json1_0WriteRecordsResponse = function (output, context) {
|
|
2089
|
+
return {
|
|
2090
|
+
RecordsIngested: output.RecordsIngested !== undefined && output.RecordsIngested !== null
|
|
2091
|
+
? deserializeAws_json1_0RecordsIngested(output.RecordsIngested, context)
|
|
2092
|
+
: undefined,
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2015
2095
|
var deserializeMetadata = function (output) {
|
|
2016
2096
|
var _a;
|
|
2017
2097
|
return ({
|