@aws-sdk/client-timestream-influxdb 3.926.0 → 3.928.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 (41) hide show
  1. package/dist-cjs/index.js +1088 -852
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/TimestreamInfluxDBClient.js +2 -0
  4. package/dist-es/commands/CreateDbClusterCommand.js +3 -10
  5. package/dist-es/commands/CreateDbInstanceCommand.js +3 -10
  6. package/dist-es/commands/CreateDbParameterGroupCommand.js +3 -9
  7. package/dist-es/commands/DeleteDbClusterCommand.js +3 -9
  8. package/dist-es/commands/DeleteDbInstanceCommand.js +3 -9
  9. package/dist-es/commands/GetDbClusterCommand.js +3 -9
  10. package/dist-es/commands/GetDbInstanceCommand.js +3 -9
  11. package/dist-es/commands/GetDbParameterGroupCommand.js +3 -9
  12. package/dist-es/commands/ListDbClustersCommand.js +3 -9
  13. package/dist-es/commands/ListDbInstancesCommand.js +3 -9
  14. package/dist-es/commands/ListDbInstancesForClusterCommand.js +3 -9
  15. package/dist-es/commands/ListDbParameterGroupsCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/TagResourceCommand.js +3 -9
  18. package/dist-es/commands/UntagResourceCommand.js +3 -9
  19. package/dist-es/commands/UpdateDbClusterCommand.js +3 -9
  20. package/dist-es/commands/UpdateDbInstanceCommand.js +3 -9
  21. package/dist-es/models/models_0.js +0 -11
  22. package/dist-es/runtimeConfig.shared.js +7 -0
  23. package/dist-es/schemas/schemas_0.js +1037 -0
  24. package/dist-types/TimestreamInfluxDBClient.d.ts +10 -1
  25. package/dist-types/models/models_0.d.ts +0 -8
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +83 -0
  31. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +4 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +89 -0
  38. package/package.json +5 -5
  39. package/dist-es/protocols/Aws_json1_0.js +0 -704
  40. package/dist-types/protocols/Aws_json1_0.d.ts +0 -155
  41. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -209
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.timestreaminfluxdb",
32
+ serviceTarget: "AmazonTimestreamInfluxDB",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Timestream InfluxDB",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class TimestreamInfluxDBClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateDbClusterInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDbClusterCommand, se_CreateDbClusterCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateDbCluster } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDbClusterCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonTimestreamInfluxDB", "CreateDbCluster", {})
18
13
  .n("TimestreamInfluxDBClient", "CreateDbClusterCommand")
19
- .f(CreateDbClusterInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateDbClusterCommand)
21
- .de(de_CreateDbClusterCommand)
14
+ .sc(CreateDbCluster)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateDbInstanceInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDbInstanceCommand, se_CreateDbInstanceCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateDbInstance } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDbInstanceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonTimestreamInfluxDB", "CreateDbInstance", {})
18
13
  .n("TimestreamInfluxDBClient", "CreateDbInstanceCommand")
19
- .f(CreateDbInstanceInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateDbInstanceCommand)
21
- .de(de_CreateDbInstanceCommand)
14
+ .sc(CreateDbInstance)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDbParameterGroupCommand, se_CreateDbParameterGroupCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateDbParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDbParameterGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "CreateDbParameterGroup", {})
17
13
  .n("TimestreamInfluxDBClient", "CreateDbParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDbParameterGroupCommand)
20
- .de(de_CreateDbParameterGroupCommand)
14
+ .sc(CreateDbParameterGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDbClusterCommand, se_DeleteDbClusterCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteDbCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDbClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {})
17
13
  .n("TimestreamInfluxDBClient", "DeleteDbClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDbClusterCommand)
20
- .de(de_DeleteDbClusterCommand)
14
+ .sc(DeleteDbCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDbInstanceCommand, se_DeleteDbInstanceCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteDbInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDbInstanceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "DeleteDbInstance", {})
17
13
  .n("TimestreamInfluxDBClient", "DeleteDbInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDbInstanceCommand)
20
- .de(de_DeleteDbInstanceCommand)
14
+ .sc(DeleteDbInstance)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDbClusterCommand, se_GetDbClusterCommand } from "../protocols/Aws_json1_0";
4
+ import { GetDbCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDbClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "GetDbCluster", {})
17
13
  .n("TimestreamInfluxDBClient", "GetDbClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDbClusterCommand)
20
- .de(de_GetDbClusterCommand)
14
+ .sc(GetDbCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDbInstanceCommand, se_GetDbInstanceCommand } from "../protocols/Aws_json1_0";
4
+ import { GetDbInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDbInstanceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "GetDbInstance", {})
17
13
  .n("TimestreamInfluxDBClient", "GetDbInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDbInstanceCommand)
20
- .de(de_GetDbInstanceCommand)
14
+ .sc(GetDbInstance)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDbParameterGroupCommand, se_GetDbParameterGroupCommand } from "../protocols/Aws_json1_0";
4
+ import { GetDbParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDbParameterGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "GetDbParameterGroup", {})
17
13
  .n("TimestreamInfluxDBClient", "GetDbParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDbParameterGroupCommand)
20
- .de(de_GetDbParameterGroupCommand)
14
+ .sc(GetDbParameterGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDbClustersCommand, se_ListDbClustersCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDbClusters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDbClustersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "ListDbClusters", {})
17
13
  .n("TimestreamInfluxDBClient", "ListDbClustersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDbClustersCommand)
20
- .de(de_ListDbClustersCommand)
14
+ .sc(ListDbClusters)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDbInstancesCommand, se_ListDbInstancesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDbInstances } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDbInstancesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "ListDbInstances", {})
17
13
  .n("TimestreamInfluxDBClient", "ListDbInstancesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDbInstancesCommand)
20
- .de(de_ListDbInstancesCommand)
14
+ .sc(ListDbInstances)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDbInstancesForClusterCommand, se_ListDbInstancesForClusterCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDbInstancesForCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDbInstancesForClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {})
17
13
  .n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDbInstancesForClusterCommand)
20
- .de(de_ListDbInstancesForClusterCommand)
14
+ .sc(ListDbInstancesForCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDbParameterGroupsCommand, se_ListDbParameterGroupsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDbParameterGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDbParameterGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "ListDbParameterGroups", {})
17
13
  .n("TimestreamInfluxDBClient", "ListDbParameterGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDbParameterGroupsCommand)
20
- .de(de_ListDbParameterGroupsCommand)
14
+ .sc(ListDbParameterGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "ListTagsForResource", {})
17
13
  .n("TimestreamInfluxDBClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "TagResource", {})
17
13
  .n("TimestreamInfluxDBClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "UntagResource", {})
17
13
  .n("TimestreamInfluxDBClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDbClusterCommand, se_UpdateDbClusterCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateDbCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDbClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "UpdateDbCluster", {})
17
13
  .n("TimestreamInfluxDBClient", "UpdateDbClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDbClusterCommand)
20
- .de(de_UpdateDbClusterCommand)
14
+ .sc(UpdateDbCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDbInstanceCommand, se_UpdateDbInstanceCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateDbInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDbInstanceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonTimestreamInfluxDB", "UpdateDbInstance", {})
17
13
  .n("TimestreamInfluxDBClient", "UpdateDbInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDbInstanceCommand)
20
- .de(de_UpdateDbInstanceCommand)
14
+ .sc(UpdateDbInstance)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { TimestreamInfluxDBServiceException as __BaseException } from "./TimestreamInfluxDBServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -214,13 +213,3 @@ export var _Parameters;
214
213
  return visitor._(value.$unknown[0], value.$unknown[1]);
215
214
  };
216
215
  })(_Parameters || (_Parameters = {}));
217
- export const CreateDbClusterInputFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- ...(obj.username && { username: SENSITIVE_STRING }),
220
- ...(obj.password && { password: SENSITIVE_STRING }),
221
- });
222
- export const CreateDbInstanceInputFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- ...(obj.username && { username: SENSITIVE_STRING }),
225
- ...(obj.password && { password: SENSITIVE_STRING }),
226
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_0Protocol({
28
+ defaultNamespace: "com.amazonaws.timestreaminfluxdb",
29
+ serviceTarget: "AmazonTimestreamInfluxDB",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Timestream InfluxDB",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,