@aws-sdk/client-timestream-write 3.952.0 → 3.954.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 (39) hide show
  1. package/dist-cjs/index.js +324 -208
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateBatchLoadTaskCommand.js +2 -2
  4. package/dist-es/commands/CreateDatabaseCommand.js +2 -2
  5. package/dist-es/commands/CreateTableCommand.js +2 -2
  6. package/dist-es/commands/DeleteDatabaseCommand.js +2 -2
  7. package/dist-es/commands/DeleteTableCommand.js +2 -2
  8. package/dist-es/commands/DescribeBatchLoadTaskCommand.js +2 -2
  9. package/dist-es/commands/DescribeDatabaseCommand.js +2 -2
  10. package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
  11. package/dist-es/commands/DescribeTableCommand.js +2 -2
  12. package/dist-es/commands/ListBatchLoadTasksCommand.js +2 -2
  13. package/dist-es/commands/ListDatabasesCommand.js +2 -2
  14. package/dist-es/commands/ListTablesCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/ResumeBatchLoadTaskCommand.js +2 -2
  17. package/dist-es/commands/TagResourceCommand.js +2 -2
  18. package/dist-es/commands/UntagResourceCommand.js +2 -2
  19. package/dist-es/commands/UpdateDatabaseCommand.js +2 -2
  20. package/dist-es/commands/UpdateTableCommand.js +2 -2
  21. package/dist-es/commands/WriteRecordsCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -6
  24. package/dist-es/schemas/schemas_0.js +188 -167
  25. package/dist-types/TimestreamWriteClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +96 -112
  32. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +95 -113
  39. package/package.json +35 -35
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.timestreamwrite",
32
- serviceTarget: "Timestream_20181101",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.timestreamwrite",
32
+ version: "2018-11-01",
33
+ serviceTarget: "Timestream_20181101",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Timestream Write",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateBatchLoadTask } from "../schemas/schemas_0";
5
+ import { CreateBatchLoadTask$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class CreateBatchLoadTaskCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class CreateBatchLoadTaskCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "CreateBatchLoadTask", {})
21
21
  .n("TimestreamWriteClient", "CreateBatchLoadTaskCommand")
22
- .sc(CreateBatchLoadTask)
22
+ .sc(CreateBatchLoadTask$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateDatabase } from "../schemas/schemas_0";
5
+ import { CreateDatabase$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class CreateDatabaseCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class CreateDatabaseCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "CreateDatabase", {})
21
21
  .n("TimestreamWriteClient", "CreateDatabaseCommand")
22
- .sc(CreateDatabase)
22
+ .sc(CreateDatabase$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateTable } from "../schemas/schemas_0";
5
+ import { CreateTable$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class CreateTableCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class CreateTableCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "CreateTable", {})
21
21
  .n("TimestreamWriteClient", "CreateTableCommand")
22
- .sc(CreateTable)
22
+ .sc(CreateTable$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DeleteDatabase } from "../schemas/schemas_0";
5
+ import { DeleteDatabase$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DeleteDatabaseCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DeleteDatabaseCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DeleteDatabase", {})
21
21
  .n("TimestreamWriteClient", "DeleteDatabaseCommand")
22
- .sc(DeleteDatabase)
22
+ .sc(DeleteDatabase$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DeleteTable } from "../schemas/schemas_0";
5
+ import { DeleteTable$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DeleteTableCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DeleteTableCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DeleteTable", {})
21
21
  .n("TimestreamWriteClient", "DeleteTableCommand")
22
- .sc(DeleteTable)
22
+ .sc(DeleteTable$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeBatchLoadTask } from "../schemas/schemas_0";
5
+ import { DescribeBatchLoadTask$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DescribeBatchLoadTaskCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DescribeBatchLoadTaskCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DescribeBatchLoadTask", {})
21
21
  .n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand")
22
- .sc(DescribeBatchLoadTask)
22
+ .sc(DescribeBatchLoadTask$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeDatabase } from "../schemas/schemas_0";
5
+ import { DescribeDatabase$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DescribeDatabaseCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DescribeDatabaseCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DescribeDatabase", {})
21
21
  .n("TimestreamWriteClient", "DescribeDatabaseCommand")
22
- .sc(DescribeDatabase)
22
+ .sc(DescribeDatabase$)
23
23
  .build() {
24
24
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeEndpoints } from "../schemas/schemas_0";
4
+ import { DescribeEndpoints$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEndpointsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEndpointsCommand extends $Command
11
11
  })
12
12
  .s("Timestream_20181101", "DescribeEndpoints", {})
13
13
  .n("TimestreamWriteClient", "DescribeEndpointsCommand")
14
- .sc(DescribeEndpoints)
14
+ .sc(DescribeEndpoints$)
15
15
  .build() {
16
16
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeTable } from "../schemas/schemas_0";
5
+ import { DescribeTable$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class DescribeTableCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class DescribeTableCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "DescribeTable", {})
21
21
  .n("TimestreamWriteClient", "DescribeTableCommand")
22
- .sc(DescribeTable)
22
+ .sc(DescribeTable$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListBatchLoadTasks } from "../schemas/schemas_0";
5
+ import { ListBatchLoadTasks$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListBatchLoadTasksCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListBatchLoadTasksCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListBatchLoadTasks", {})
21
21
  .n("TimestreamWriteClient", "ListBatchLoadTasksCommand")
22
- .sc(ListBatchLoadTasks)
22
+ .sc(ListBatchLoadTasks$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListDatabases } from "../schemas/schemas_0";
5
+ import { ListDatabases$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListDatabasesCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListDatabasesCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListDatabases", {})
21
21
  .n("TimestreamWriteClient", "ListDatabasesCommand")
22
- .sc(ListDatabases)
22
+ .sc(ListDatabases$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTables } from "../schemas/schemas_0";
5
+ import { ListTables$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListTablesCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListTablesCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListTables", {})
21
21
  .n("TimestreamWriteClient", "ListTablesCommand")
22
- .sc(ListTables)
22
+ .sc(ListTables$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTagsForResource } from "../schemas/schemas_0";
5
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ListTagsForResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ListTagsForResource", {})
21
21
  .n("TimestreamWriteClient", "ListTagsForResourceCommand")
22
- .sc(ListTagsForResource)
22
+ .sc(ListTagsForResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ResumeBatchLoadTask } from "../schemas/schemas_0";
5
+ import { ResumeBatchLoadTask$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class ResumeBatchLoadTaskCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class ResumeBatchLoadTaskCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "ResumeBatchLoadTask", {})
21
21
  .n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand")
22
- .sc(ResumeBatchLoadTask)
22
+ .sc(ResumeBatchLoadTask$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TagResource } from "../schemas/schemas_0";
5
+ import { TagResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class TagResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "TagResource", {})
21
21
  .n("TimestreamWriteClient", "TagResourceCommand")
22
- .sc(TagResource)
22
+ .sc(TagResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UntagResource } from "../schemas/schemas_0";
5
+ import { UntagResource$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UntagResourceCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UntagResource", {})
21
21
  .n("TimestreamWriteClient", "UntagResourceCommand")
22
- .sc(UntagResource)
22
+ .sc(UntagResource$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateDatabase } from "../schemas/schemas_0";
5
+ import { UpdateDatabase$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UpdateDatabaseCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UpdateDatabaseCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UpdateDatabase", {})
21
21
  .n("TimestreamWriteClient", "UpdateDatabaseCommand")
22
- .sc(UpdateDatabase)
22
+ .sc(UpdateDatabase$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateTable } from "../schemas/schemas_0";
5
+ import { UpdateTable$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class UpdateTableCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class UpdateTableCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "UpdateTable", {})
21
21
  .n("TimestreamWriteClient", "UpdateTableCommand")
22
- .sc(UpdateTable)
22
+ .sc(UpdateTable$)
23
23
  .build() {
24
24
  }
@@ -2,7 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { WriteRecords } from "../schemas/schemas_0";
5
+ import { WriteRecords$ } from "../schemas/schemas_0";
6
6
  export { $Command };
7
7
  export class WriteRecordsCommand extends $Command
8
8
  .classBuilder()
@@ -19,6 +19,6 @@ export class WriteRecordsCommand extends $Command
19
19
  })
20
20
  .s("Timestream_20181101", "WriteRecords", {})
21
21
  .n("TimestreamWriteClient", "WriteRecordsCommand")
22
- .sc(WriteRecords)
22
+ .sc(WriteRecords$)
23
23
  .build() {
24
24
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TimestreamWriteClient";
2
2
  export * from "./TimestreamWrite";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.timestreamwrite",
29
- serviceTarget: "Timestream_20181101",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.timestreamwrite",
29
+ version: "2018-11-01",
30
+ serviceTarget: "Timestream_20181101",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Timestream Write",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,