@aws-sdk/client-timestream-write 3.758.0 → 3.772.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 +25 -25
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BatchLoadDataFormat: () => BatchLoadDataFormat,
|
|
26
26
|
BatchLoadStatus: () => BatchLoadStatus,
|
|
@@ -68,7 +68,7 @@ __export(src_exports, {
|
|
|
68
68
|
paginateListDatabases: () => paginateListDatabases,
|
|
69
69
|
paginateListTables: () => paginateListTables
|
|
70
70
|
});
|
|
71
|
-
module.exports = __toCommonJS(
|
|
71
|
+
module.exports = __toCommonJS(index_exports);
|
|
72
72
|
|
|
73
73
|
// src/TimestreamWriteClient.ts
|
|
74
74
|
var import_middleware_endpoint_discovery = require("@aws-sdk/middleware-endpoint-discovery");
|
|
@@ -867,10 +867,10 @@ var se_CreateBatchLoadTaskRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
867
867
|
}, "se_CreateBatchLoadTaskRequest");
|
|
868
868
|
var de_BatchLoadTask = /* @__PURE__ */ __name((output, context) => {
|
|
869
869
|
return (0, import_smithy_client.take)(output, {
|
|
870
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
870
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
871
871
|
DatabaseName: import_smithy_client.expectString,
|
|
872
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
873
|
-
ResumableUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
872
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
873
|
+
ResumableUntil: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResumableUntil"),
|
|
874
874
|
TableName: import_smithy_client.expectString,
|
|
875
875
|
TaskId: import_smithy_client.expectString,
|
|
876
876
|
TaskStatus: import_smithy_client.expectString
|
|
@@ -878,15 +878,15 @@ var de_BatchLoadTask = /* @__PURE__ */ __name((output, context) => {
|
|
|
878
878
|
}, "de_BatchLoadTask");
|
|
879
879
|
var de_BatchLoadTaskDescription = /* @__PURE__ */ __name((output, context) => {
|
|
880
880
|
return (0, import_smithy_client.take)(output, {
|
|
881
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
881
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
882
882
|
DataModelConfiguration: import_smithy_client._json,
|
|
883
883
|
DataSourceConfiguration: import_smithy_client._json,
|
|
884
884
|
ErrorMessage: import_smithy_client.expectString,
|
|
885
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
885
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
886
886
|
ProgressReport: import_smithy_client._json,
|
|
887
887
|
RecordVersion: import_smithy_client.expectLong,
|
|
888
888
|
ReportConfiguration: import_smithy_client._json,
|
|
889
|
-
ResumableUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
889
|
+
ResumableUntil: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResumableUntil"),
|
|
890
890
|
TargetDatabaseName: import_smithy_client.expectString,
|
|
891
891
|
TargetTableName: import_smithy_client.expectString,
|
|
892
892
|
TaskId: import_smithy_client.expectString,
|
|
@@ -901,21 +901,21 @@ var de_BatchLoadTaskList = /* @__PURE__ */ __name((output, context) => {
|
|
|
901
901
|
}, "de_BatchLoadTaskList");
|
|
902
902
|
var de_CreateDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
903
903
|
return (0, import_smithy_client.take)(output, {
|
|
904
|
-
Database: (_) => de_Database(_, context)
|
|
904
|
+
Database: /* @__PURE__ */ __name((_) => de_Database(_, context), "Database")
|
|
905
905
|
});
|
|
906
906
|
}, "de_CreateDatabaseResponse");
|
|
907
907
|
var de_CreateTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
908
908
|
return (0, import_smithy_client.take)(output, {
|
|
909
|
-
Table: (_) => de_Table(_, context)
|
|
909
|
+
Table: /* @__PURE__ */ __name((_) => de_Table(_, context), "Table")
|
|
910
910
|
});
|
|
911
911
|
}, "de_CreateTableResponse");
|
|
912
912
|
var de_Database = /* @__PURE__ */ __name((output, context) => {
|
|
913
913
|
return (0, import_smithy_client.take)(output, {
|
|
914
914
|
Arn: import_smithy_client.expectString,
|
|
915
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
915
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
916
916
|
DatabaseName: import_smithy_client.expectString,
|
|
917
917
|
KmsKeyId: import_smithy_client.expectString,
|
|
918
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
918
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
919
919
|
TableCount: import_smithy_client.expectLong
|
|
920
920
|
});
|
|
921
921
|
}, "de_Database");
|
|
@@ -927,43 +927,43 @@ var de_DatabaseList = /* @__PURE__ */ __name((output, context) => {
|
|
|
927
927
|
}, "de_DatabaseList");
|
|
928
928
|
var de_DescribeBatchLoadTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
929
929
|
return (0, import_smithy_client.take)(output, {
|
|
930
|
-
BatchLoadTaskDescription: (_) => de_BatchLoadTaskDescription(_, context)
|
|
930
|
+
BatchLoadTaskDescription: /* @__PURE__ */ __name((_) => de_BatchLoadTaskDescription(_, context), "BatchLoadTaskDescription")
|
|
931
931
|
});
|
|
932
932
|
}, "de_DescribeBatchLoadTaskResponse");
|
|
933
933
|
var de_DescribeDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
934
934
|
return (0, import_smithy_client.take)(output, {
|
|
935
|
-
Database: (_) => de_Database(_, context)
|
|
935
|
+
Database: /* @__PURE__ */ __name((_) => de_Database(_, context), "Database")
|
|
936
936
|
});
|
|
937
937
|
}, "de_DescribeDatabaseResponse");
|
|
938
938
|
var de_DescribeTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
939
939
|
return (0, import_smithy_client.take)(output, {
|
|
940
|
-
Table: (_) => de_Table(_, context)
|
|
940
|
+
Table: /* @__PURE__ */ __name((_) => de_Table(_, context), "Table")
|
|
941
941
|
});
|
|
942
942
|
}, "de_DescribeTableResponse");
|
|
943
943
|
var de_ListBatchLoadTasksResponse = /* @__PURE__ */ __name((output, context) => {
|
|
944
944
|
return (0, import_smithy_client.take)(output, {
|
|
945
|
-
BatchLoadTasks: (_) => de_BatchLoadTaskList(_, context),
|
|
945
|
+
BatchLoadTasks: /* @__PURE__ */ __name((_) => de_BatchLoadTaskList(_, context), "BatchLoadTasks"),
|
|
946
946
|
NextToken: import_smithy_client.expectString
|
|
947
947
|
});
|
|
948
948
|
}, "de_ListBatchLoadTasksResponse");
|
|
949
949
|
var de_ListDatabasesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
950
950
|
return (0, import_smithy_client.take)(output, {
|
|
951
|
-
Databases: (_) => de_DatabaseList(_, context),
|
|
951
|
+
Databases: /* @__PURE__ */ __name((_) => de_DatabaseList(_, context), "Databases"),
|
|
952
952
|
NextToken: import_smithy_client.expectString
|
|
953
953
|
});
|
|
954
954
|
}, "de_ListDatabasesResponse");
|
|
955
955
|
var de_ListTablesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
956
956
|
return (0, import_smithy_client.take)(output, {
|
|
957
957
|
NextToken: import_smithy_client.expectString,
|
|
958
|
-
Tables: (_) => de_TableList(_, context)
|
|
958
|
+
Tables: /* @__PURE__ */ __name((_) => de_TableList(_, context), "Tables")
|
|
959
959
|
});
|
|
960
960
|
}, "de_ListTablesResponse");
|
|
961
961
|
var de_Table = /* @__PURE__ */ __name((output, context) => {
|
|
962
962
|
return (0, import_smithy_client.take)(output, {
|
|
963
963
|
Arn: import_smithy_client.expectString,
|
|
964
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
964
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
965
965
|
DatabaseName: import_smithy_client.expectString,
|
|
966
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
966
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
967
967
|
MagneticStoreWriteProperties: import_smithy_client._json,
|
|
968
968
|
RetentionProperties: import_smithy_client._json,
|
|
969
969
|
Schema: import_smithy_client._json,
|
|
@@ -979,12 +979,12 @@ var de_TableList = /* @__PURE__ */ __name((output, context) => {
|
|
|
979
979
|
}, "de_TableList");
|
|
980
980
|
var de_UpdateDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
981
981
|
return (0, import_smithy_client.take)(output, {
|
|
982
|
-
Database: (_) => de_Database(_, context)
|
|
982
|
+
Database: /* @__PURE__ */ __name((_) => de_Database(_, context), "Database")
|
|
983
983
|
});
|
|
984
984
|
}, "de_UpdateDatabaseResponse");
|
|
985
985
|
var de_UpdateTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
986
986
|
return (0, import_smithy_client.take)(output, {
|
|
987
|
-
Table: (_) => de_Table(_, context)
|
|
987
|
+
Table: /* @__PURE__ */ __name((_) => de_Table(_, context), "Table")
|
|
988
988
|
});
|
|
989
989
|
}, "de_UpdateTableResponse");
|
|
990
990
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
@@ -1131,9 +1131,9 @@ var TimestreamWriteClient = class extends import_smithy_client.Client {
|
|
|
1131
1131
|
this.middlewareStack.use(
|
|
1132
1132
|
(0, import_core2.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
1133
1133
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTimestreamWriteHttpAuthSchemeParametersProvider,
|
|
1134
|
-
identityProviderConfigProvider: async (config) => new import_core2.DefaultIdentityProviderConfig({
|
|
1134
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core2.DefaultIdentityProviderConfig({
|
|
1135
1135
|
"aws.auth#sigv4": config.credentials
|
|
1136
|
-
})
|
|
1136
|
+
}), "identityProviderConfigProvider")
|
|
1137
1137
|
})
|
|
1138
1138
|
);
|
|
1139
1139
|
this.middlewareStack.use((0, import_core2.getHttpSigningPlugin)(this.config));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-write",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-write",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-endpoint-discovery": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
31
31
|
"@aws-sdk/types": "3.734.0",
|