@aws-sdk/client-timestream-influxdb 3.534.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 (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/TimestreamInfluxDB.js +33 -0
  4. package/dist-cjs/TimestreamInfluxDBClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateDbInstanceCommand.js +29 -0
  8. package/dist-cjs/commands/CreateDbParameterGroupCommand.js +28 -0
  9. package/dist-cjs/commands/DeleteDbInstanceCommand.js +28 -0
  10. package/dist-cjs/commands/GetDbInstanceCommand.js +28 -0
  11. package/dist-cjs/commands/GetDbParameterGroupCommand.js +28 -0
  12. package/dist-cjs/commands/ListDbInstancesCommand.js +28 -0
  13. package/dist-cjs/commands/ListDbParameterGroupsCommand.js +28 -0
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  17. package/dist-cjs/commands/UpdateDbInstanceCommand.js +28 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +12 -0
  24. package/dist-cjs/models/TimestreamInfluxDBServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +159 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListDbInstancesPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListDbParameterGroupsPaginator.js +7 -0
  30. package/dist-cjs/pagination/index.js +6 -0
  31. package/dist-cjs/protocols/Aws_json1_0.js +365 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +49 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +34 -0
  36. package/dist-cjs/runtimeExtensions.js +25 -0
  37. package/dist-es/TimestreamInfluxDB.js +29 -0
  38. package/dist-es/TimestreamInfluxDBClient.js +52 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  41. package/dist-es/commands/CreateDbInstanceCommand.js +25 -0
  42. package/dist-es/commands/CreateDbParameterGroupCommand.js +24 -0
  43. package/dist-es/commands/DeleteDbInstanceCommand.js +24 -0
  44. package/dist-es/commands/GetDbInstanceCommand.js +24 -0
  45. package/dist-es/commands/GetDbParameterGroupCommand.js +24 -0
  46. package/dist-es/commands/ListDbInstancesCommand.js +24 -0
  47. package/dist-es/commands/ListDbParameterGroupsCommand.js +24 -0
  48. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  49. package/dist-es/commands/TagResourceCommand.js +24 -0
  50. package/dist-es/commands/UntagResourceCommand.js +24 -0
  51. package/dist-es/commands/UpdateDbInstanceCommand.js +24 -0
  52. package/dist-es/commands/index.js +11 -0
  53. package/dist-es/endpoint/EndpointParameters.js +14 -0
  54. package/dist-es/endpoint/endpointResolver.js +8 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +7 -0
  58. package/dist-es/models/TimestreamInfluxDBServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +148 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListDbInstancesPaginator.js +4 -0
  63. package/dist-es/pagination/ListDbParameterGroupsPaginator.js +4 -0
  64. package/dist-es/pagination/index.js +3 -0
  65. package/dist-es/protocols/Aws_json1_0.js +340 -0
  66. package/dist-es/runtimeConfig.browser.js +34 -0
  67. package/dist-es/runtimeConfig.js +44 -0
  68. package/dist-es/runtimeConfig.native.js +11 -0
  69. package/dist-es/runtimeConfig.shared.js +30 -0
  70. package/dist-es/runtimeExtensions.js +21 -0
  71. package/dist-types/TimestreamInfluxDB.d.ts +87 -0
  72. package/dist-types/TimestreamInfluxDBClient.d.ts +182 -0
  73. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  74. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  75. package/dist-types/commands/CreateDbInstanceCommand.d.ts +129 -0
  76. package/dist-types/commands/CreateDbParameterGroupCommand.d.ts +108 -0
  77. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +101 -0
  78. package/dist-types/commands/GetDbInstanceCommand.d.ts +98 -0
  79. package/dist-types/commands/GetDbParameterGroupCommand.d.ts +87 -0
  80. package/dist-types/commands/ListDbInstancesCommand.d.ts +87 -0
  81. package/dist-types/commands/ListDbParameterGroupsCommand.d.ts +82 -0
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +63 -0
  83. package/dist-types/commands/TagResourceCommand.d.ts +62 -0
  84. package/dist-types/commands/UntagResourceCommand.d.ts +62 -0
  85. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +108 -0
  86. package/dist-types/commands/index.d.ts +11 -0
  87. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  88. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  89. package/dist-types/endpoint/ruleset.d.ts +2 -0
  90. package/dist-types/extensionConfiguration.d.ts +9 -0
  91. package/dist-types/index.d.ts +15 -0
  92. package/dist-types/models/TimestreamInfluxDBServiceException.d.ts +13 -0
  93. package/dist-types/models/index.d.ts +1 -0
  94. package/dist-types/models/models_0.d.ts +1099 -0
  95. package/dist-types/pagination/Interfaces.d.ts +8 -0
  96. package/dist-types/pagination/ListDbInstancesPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListDbParameterGroupsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +3 -0
  99. package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  101. package/dist-types/runtimeConfig.d.ts +45 -0
  102. package/dist-types/runtimeConfig.native.d.ts +44 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +194 -0
  106. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +189 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  109. package/dist-types/ts3.4/commands/CreateDbInstanceCommand.d.ts +29 -0
  110. package/dist-types/ts3.4/commands/CreateDbParameterGroupCommand.d.ts +30 -0
  111. package/dist-types/ts3.4/commands/DeleteDbInstanceCommand.d.ts +29 -0
  112. package/dist-types/ts3.4/commands/GetDbInstanceCommand.d.ts +26 -0
  113. package/dist-types/ts3.4/commands/GetDbParameterGroupCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/ListDbInstancesCommand.d.ts +29 -0
  115. package/dist-types/ts3.4/commands/ListDbParameterGroupsCommand.d.ts +30 -0
  116. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +24 -0
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +24 -0
  119. package/dist-types/ts3.4/commands/UpdateDbInstanceCommand.d.ts +29 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  125. package/dist-types/ts3.4/index.d.ts +10 -0
  126. package/dist-types/ts3.4/models/TimestreamInfluxDBServiceException.d.ts +8 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +319 -0
  129. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  130. package/dist-types/ts3.4/pagination/ListDbInstancesPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListDbParameterGroupsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  133. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  139. package/package.json +101 -0
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultTimestreamInfluxDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "timestream-influxdb",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultTimestreamInfluxDBHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return {
39
+ ...config_0,
40
+ };
41
+ };
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateDbInstanceInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateDbInstanceCommand, se_CreateDbInstanceCommand } from "../protocols/Aws_json1_0";
7
+ export { $Command };
8
+ export class CreateDbInstanceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "CreateDbInstance", {})
20
+ .n("TimestreamInfluxDBClient", "CreateDbInstanceCommand")
21
+ .f(CreateDbInstanceInputFilterSensitiveLog, void 0)
22
+ .ser(se_CreateDbInstanceCommand)
23
+ .de(de_CreateDbInstanceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateDbParameterGroupCommand, se_CreateDbParameterGroupCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateDbParameterGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "CreateDbParameterGroup", {})
19
+ .n("TimestreamInfluxDBClient", "CreateDbParameterGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateDbParameterGroupCommand)
22
+ .de(de_CreateDbParameterGroupCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteDbInstanceCommand, se_DeleteDbInstanceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteDbInstanceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "DeleteDbInstance", {})
19
+ .n("TimestreamInfluxDBClient", "DeleteDbInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteDbInstanceCommand)
22
+ .de(de_DeleteDbInstanceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDbInstanceCommand, se_GetDbInstanceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetDbInstanceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "GetDbInstance", {})
19
+ .n("TimestreamInfluxDBClient", "GetDbInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDbInstanceCommand)
22
+ .de(de_GetDbInstanceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDbParameterGroupCommand, se_GetDbParameterGroupCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetDbParameterGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "GetDbParameterGroup", {})
19
+ .n("TimestreamInfluxDBClient", "GetDbParameterGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDbParameterGroupCommand)
22
+ .de(de_GetDbParameterGroupCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDbInstancesCommand, se_ListDbInstancesCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListDbInstancesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "ListDbInstances", {})
19
+ .n("TimestreamInfluxDBClient", "ListDbInstancesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListDbInstancesCommand)
22
+ .de(de_ListDbInstancesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDbParameterGroupsCommand, se_ListDbParameterGroupsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListDbParameterGroupsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "ListDbParameterGroups", {})
19
+ .n("TimestreamInfluxDBClient", "ListDbParameterGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListDbParameterGroupsCommand)
22
+ .de(de_ListDbParameterGroupsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "ListTagsForResource", {})
19
+ .n("TimestreamInfluxDBClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "TagResource", {})
19
+ .n("TimestreamInfluxDBClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "UntagResource", {})
19
+ .n("TimestreamInfluxDBClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateDbInstanceCommand, se_UpdateDbInstanceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdateDbInstanceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonTimestreamInfluxDB", "UpdateDbInstance", {})
19
+ .n("TimestreamInfluxDBClient", "UpdateDbInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDbInstanceCommand)
22
+ .de(de_UpdateDbInstanceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,11 @@
1
+ export * from "./CreateDbInstanceCommand";
2
+ export * from "./CreateDbParameterGroupCommand";
3
+ export * from "./DeleteDbInstanceCommand";
4
+ export * from "./GetDbInstanceCommand";
5
+ export * from "./GetDbParameterGroupCommand";
6
+ export * from "./ListDbInstancesCommand";
7
+ export * from "./ListDbParameterGroupsCommand";
8
+ export * from "./ListTagsForResourceCommand";
9
+ export * from "./TagResourceCommand";
10
+ export * from "./UntagResourceCommand";
11
+ export * from "./UpdateDbInstanceCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "timestream-influxdb",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from "./TimestreamInfluxDBClient";
2
+ export * from "./TimestreamInfluxDB";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ import "@aws-sdk/util-endpoints";
7
+ export { TimestreamInfluxDBServiceException } from "./models/TimestreamInfluxDBServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class TimestreamInfluxDBServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, TimestreamInfluxDBServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,148 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { TimestreamInfluxDBServiceException as __BaseException } from "./TimestreamInfluxDBServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ }
14
+ }
15
+ export class ConflictException extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "ConflictException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "ConflictException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, ConflictException.prototype);
25
+ this.resourceId = opts.resourceId;
26
+ this.resourceType = opts.resourceType;
27
+ }
28
+ }
29
+ export const DbInstanceType = {
30
+ DB_INFLUX_12XLARGE: "db.influx.12xlarge",
31
+ DB_INFLUX_16XLARGE: "db.influx.16xlarge",
32
+ DB_INFLUX_2XLARGE: "db.influx.2xlarge",
33
+ DB_INFLUX_4XLARGE: "db.influx.4xlarge",
34
+ DB_INFLUX_8XLARGE: "db.influx.8xlarge",
35
+ DB_INFLUX_LARGE: "db.influx.large",
36
+ DB_INFLUX_MEDIUM: "db.influx.medium",
37
+ DB_INFLUX_XLARGE: "db.influx.xlarge",
38
+ };
39
+ export const DbStorageType = {
40
+ INFLUX_IO_INCLUDED_T1: "InfluxIOIncludedT1",
41
+ INFLUX_IO_INCLUDED_T2: "InfluxIOIncludedT2",
42
+ INFLUX_IO_INCLUDED_T3: "InfluxIOIncludedT3",
43
+ };
44
+ export const DeploymentType = {
45
+ SINGLE_AZ: "SINGLE_AZ",
46
+ WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
47
+ };
48
+ export const Status = {
49
+ AVAILABLE: "AVAILABLE",
50
+ CREATING: "CREATING",
51
+ DELETED: "DELETED",
52
+ DELETING: "DELETING",
53
+ FAILED: "FAILED",
54
+ MODIFYING: "MODIFYING",
55
+ UPDATING: "UPDATING",
56
+ };
57
+ export class InternalServerException extends __BaseException {
58
+ constructor(opts) {
59
+ super({
60
+ name: "InternalServerException",
61
+ $fault: "server",
62
+ ...opts,
63
+ });
64
+ this.name = "InternalServerException";
65
+ this.$fault = "server";
66
+ this.$retryable = {};
67
+ Object.setPrototypeOf(this, InternalServerException.prototype);
68
+ }
69
+ }
70
+ export class ResourceNotFoundException extends __BaseException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "ResourceNotFoundException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ this.name = "ResourceNotFoundException";
78
+ this.$fault = "client";
79
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
80
+ this.resourceId = opts.resourceId;
81
+ this.resourceType = opts.resourceType;
82
+ }
83
+ }
84
+ export class ServiceQuotaExceededException extends __BaseException {
85
+ constructor(opts) {
86
+ super({
87
+ name: "ServiceQuotaExceededException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ this.name = "ServiceQuotaExceededException";
92
+ this.$fault = "client";
93
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
94
+ }
95
+ }
96
+ export class ThrottlingException extends __BaseException {
97
+ constructor(opts) {
98
+ super({
99
+ name: "ThrottlingException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ this.name = "ThrottlingException";
104
+ this.$fault = "client";
105
+ this.$retryable = {};
106
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
107
+ this.retryAfterSeconds = opts.retryAfterSeconds;
108
+ }
109
+ }
110
+ export const ValidationExceptionReason = {
111
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
112
+ OTHER: "OTHER",
113
+ };
114
+ export class ValidationException extends __BaseException {
115
+ constructor(opts) {
116
+ super({
117
+ name: "ValidationException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ this.name = "ValidationException";
122
+ this.$fault = "client";
123
+ Object.setPrototypeOf(this, ValidationException.prototype);
124
+ this.reason = opts.reason;
125
+ }
126
+ }
127
+ export const LogLevel = {
128
+ DEBUG: "debug",
129
+ ERROR: "error",
130
+ INFO: "info",
131
+ };
132
+ export const TracingType = {
133
+ JAEGER: "jaeger",
134
+ LOG: "log",
135
+ };
136
+ export var _Parameters;
137
+ (function (_Parameters) {
138
+ _Parameters.visit = (value, visitor) => {
139
+ if (value.InfluxDBv2 !== undefined)
140
+ return visitor.InfluxDBv2(value.InfluxDBv2);
141
+ return visitor._(value.$unknown[0], value.$unknown[1]);
142
+ };
143
+ })(_Parameters || (_Parameters = {}));
144
+ export const CreateDbInstanceInputFilterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ ...(obj.username && { username: SENSITIVE_STRING }),
147
+ ...(obj.password && { password: SENSITIVE_STRING }),
148
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDbInstancesCommand, } from "../commands/ListDbInstancesCommand";
3
+ import { TimestreamInfluxDBClient } from "../TimestreamInfluxDBClient";
4
+ export const paginateListDbInstances = createPaginator(TimestreamInfluxDBClient, ListDbInstancesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDbParameterGroupsCommand, } from "../commands/ListDbParameterGroupsCommand";
3
+ import { TimestreamInfluxDBClient } from "../TimestreamInfluxDBClient";
4
+ export const paginateListDbParameterGroups = createPaginator(TimestreamInfluxDBClient, ListDbParameterGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListDbInstancesPaginator";
3
+ export * from "./ListDbParameterGroupsPaginator";