@aws-sdk/client-timestream-write 3.1076.0 → 3.1078.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 (77) hide show
  1. package/dist-cjs/index.js +38 -322
  2. package/dist-es/commandBuilder.js +14 -0
  3. package/dist-es/commands/CreateBatchLoadTaskCommand.js +2 -22
  4. package/dist-es/commands/CreateDatabaseCommand.js +2 -22
  5. package/dist-es/commands/CreateTableCommand.js +2 -22
  6. package/dist-es/commands/DeleteDatabaseCommand.js +2 -22
  7. package/dist-es/commands/DeleteTableCommand.js +2 -22
  8. package/dist-es/commands/DescribeBatchLoadTaskCommand.js +2 -22
  9. package/dist-es/commands/DescribeDatabaseCommand.js +2 -22
  10. package/dist-es/commands/DescribeEndpointsCommand.js +2 -14
  11. package/dist-es/commands/DescribeTableCommand.js +2 -22
  12. package/dist-es/commands/ListBatchLoadTasksCommand.js +2 -22
  13. package/dist-es/commands/ListDatabasesCommand.js +2 -22
  14. package/dist-es/commands/ListTablesCommand.js +2 -22
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -22
  16. package/dist-es/commands/ResumeBatchLoadTaskCommand.js +2 -22
  17. package/dist-es/commands/TagResourceCommand.js +2 -22
  18. package/dist-es/commands/UntagResourceCommand.js +2 -22
  19. package/dist-es/commands/UpdateDatabaseCommand.js +2 -22
  20. package/dist-es/commands/UpdateTableCommand.js +2 -22
  21. package/dist-es/commands/WriteRecordsCommand.js +2 -22
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +22 -0
  28. package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateDatabaseCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateTableCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteDatabaseCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteTableCommand.d.ts +3 -8
  33. package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeDatabaseCommand.d.ts +3 -8
  35. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeTableCommand.d.ts +3 -8
  37. package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +3 -8
  38. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -8
  39. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +3 -8
  42. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  43. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/UpdateDatabaseCommand.d.ts +3 -8
  45. package/dist-types/commands/UpdateTableCommand.d.ts +3 -8
  46. package/dist-types/commands/WriteRecordsCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  53. package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +9 -11
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { DescribeTable$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class DescribeTableCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "DescribeTable", {})
21
- .n("TimestreamWriteClient", "DescribeTableCommand")
22
- .sc(DescribeTable$)
23
- .build() {
3
+ export class DescribeTableCommand extends command(_ep0, _mw0, "DescribeTable", DescribeTable$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { ListBatchLoadTasks$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class ListBatchLoadTasksCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "ListBatchLoadTasks", {})
21
- .n("TimestreamWriteClient", "ListBatchLoadTasksCommand")
22
- .sc(ListBatchLoadTasks$)
23
- .build() {
3
+ export class ListBatchLoadTasksCommand extends command(_ep0, _mw0, "ListBatchLoadTasks", ListBatchLoadTasks$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { ListDatabases$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class ListDatabasesCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "ListDatabases", {})
21
- .n("TimestreamWriteClient", "ListDatabasesCommand")
22
- .sc(ListDatabases$)
23
- .build() {
3
+ export class ListDatabasesCommand extends command(_ep0, _mw0, "ListDatabases", ListDatabases$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { ListTables$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class ListTablesCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "ListTables", {})
21
- .n("TimestreamWriteClient", "ListTablesCommand")
22
- .sc(ListTables$)
23
- .build() {
3
+ export class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class ListTagsForResourceCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "ListTagsForResource", {})
21
- .n("TimestreamWriteClient", "ListTagsForResourceCommand")
22
- .sc(ListTagsForResource$)
23
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { ResumeBatchLoadTask$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class ResumeBatchLoadTaskCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "ResumeBatchLoadTask", {})
21
- .n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand")
22
- .sc(ResumeBatchLoadTask$)
23
- .build() {
3
+ export class ResumeBatchLoadTaskCommand extends command(_ep0, _mw0, "ResumeBatchLoadTask", ResumeBatchLoadTask$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { TagResource$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class TagResourceCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "TagResource", {})
21
- .n("TimestreamWriteClient", "TagResourceCommand")
22
- .sc(TagResource$)
23
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { UntagResource$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class UntagResourceCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "UntagResource", {})
21
- .n("TimestreamWriteClient", "UntagResourceCommand")
22
- .sc(UntagResource$)
23
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { UpdateDatabase$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class UpdateDatabaseCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "UpdateDatabase", {})
21
- .n("TimestreamWriteClient", "UpdateDatabaseCommand")
22
- .sc(UpdateDatabase$)
23
- .build() {
3
+ export class UpdateDatabaseCommand extends command(_ep0, _mw0, "UpdateDatabase", UpdateDatabase$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { UpdateTable$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class UpdateTableCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "UpdateTable", {})
21
- .n("TimestreamWriteClient", "UpdateTableCommand")
22
- .sc(UpdateTable$)
23
- .build() {
3
+ export class UpdateTableCommand extends command(_ep0, _mw0, "UpdateTable", UpdateTable$) {
24
4
  }
@@ -1,24 +1,4 @@
1
- import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
5
2
  import { WriteRecords$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class WriteRecordsCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEndpointDiscoveryPlugin(config, {
14
- clientStack: cs,
15
- isDiscoveredEndpointRequired: true,
16
- options: o,
17
- }),
18
- ];
19
- })
20
- .s("Timestream_20181101", "WriteRecords", {})
21
- .n("TimestreamWriteClient", "WriteRecordsCommand")
22
- .sc(WriteRecords$)
23
- .build() {
3
+ export class WriteRecordsCommand extends command(_ep0, _mw0, "WriteRecords", WriteRecords$) {
24
4
  }
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 { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -24,7 +23,6 @@ export const getRuntimeConfig = (config) => {
24
23
  region: config?.region ?? invalidProvider("Region is missing"),
25
24
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
26
25
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
27
- sha256: config?.sha256 ?? Sha256,
28
26
  streamCollector: config?.streamCollector ?? streamCollector,
29
27
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
30
28
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -6,7 +6,7 @@ import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endp
6
6
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
7
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
8
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
9
+ import { calculateBodyLength } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export const getRuntimeConfig = (config) => {
@@ -37,7 +37,6 @@ export const getRuntimeConfig = (config) => {
37
37
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
38
38
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
39
39
  }, config),
40
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
41
40
  streamCollector: config?.streamCollector ?? streamCollector,
42
41
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
43
42
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "Timestream_20181101",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Timestream Write",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "./TimestreamWriteClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw1: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateBatchLoadTaskRequest, CreateBatchLoadTaskResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateBatchLoadTaskCommandInput extends CreateBatchLoadTaskRequ
22
19
  export interface CreateBatchLoadTaskCommandOutput extends CreateBatchLoadTaskResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateBatchLoadTaskCommand_base: {
25
- new (input: CreateBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new Timestream batch load task. A batch load task processes data from
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDatabaseRequest, CreateDatabaseResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDatabaseCommandInput extends CreateDatabaseRequest {
22
19
  export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDatabaseCommand_base: {
25
- new (input: CreateDatabaseCommandInput): import("@smithy/core/client").CommandImpl<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDatabaseCommandInput): import("@smithy/core/client").CommandImpl<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDatabaseCommandInput): import("@smithy/core/client").CommandImpl<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDatabaseCommandInput): import("@smithy/core/client").CommandImpl<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new Timestream database. If the KMS key is not
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateTableRequest, CreateTableResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateTableCommandInput extends CreateTableRequest {
22
19
  export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateTableCommand_base: {
25
- new (input: CreateTableCommandInput): import("@smithy/core/client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateTableCommandInput): import("@smithy/core/client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateTableCommandInput): import("@smithy/core/client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTableCommandInput): import("@smithy/core/client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds a new table to an existing database in your account. In an Amazon Web Services account, table names must be at least unique within each Region if they are in the same
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteDatabaseRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteDatabaseCommandInput extends DeleteDatabaseRequest {
22
19
  export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteDatabaseCommand_base: {
25
- new (input: DeleteDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a given Timestream database. <i>This is an irreversible
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteTableRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteTableCommandInput extends DeleteTableRequest {
22
19
  export interface DeleteTableCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteTableCommand_base: {
25
- new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteTableCommandInput): import("@smithy/core/client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a given Timestream table. This is an irreversible operation. After a
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeBatchLoadTaskRequest, DescribeBatchLoadTaskResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeBatchLoadTaskCommandInput extends DescribeBatchLoadTask
22
19
  export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTaskResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeBatchLoadTaskCommand_base: {
25
- new (input: DescribeBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeBatchLoadTaskCommandInput): import("@smithy/core/client").CommandImpl<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns information about the batch load task, including configurations, mappings,
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeDatabaseRequest, DescribeDatabaseResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeDatabaseCommandInput extends DescribeDatabaseRequest {
22
19
  export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeDatabaseCommand_base: {
25
- new (input: DescribeDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns information about the database, including the database name, time that the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest
22
19
  export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeEndpointsCommand_base: {
25
- new (input: DescribeEndpointsCommandInput): import("@smithy/core/client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeEndpointsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeEndpointsCommandInput): import("@smithy/core/client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeEndpointsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, import("..").TimestreamWriteClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of available endpoints to make Timestream API calls against.