@aws-sdk/client-redshift-data 3.32.0 → 3.36.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 (210) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -2
  3. package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/BatchExecuteStatementCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DescribeTableCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/ExecuteStatementCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/ListDatabasesCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/ListSchemasCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/ListTablesCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  15. package/{dist/cjs → dist-cjs}/index.js +0 -1
  16. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  17. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  18. package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -2
  19. package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -2
  20. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  21. package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -2
  22. package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -2
  23. package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -2
  24. package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -2
  25. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  30. package/{dist/es → dist-es}/RedshiftData.js +2 -10
  31. package/{dist/es → dist-es}/RedshiftDataClient.js +2 -15
  32. package/dist-es/commands/BatchExecuteStatementCommand.js +39 -0
  33. package/{dist/es → dist-es}/commands/CancelStatementCommand.js +4 -30
  34. package/{dist/es → dist-es}/commands/DescribeStatementCommand.js +4 -32
  35. package/dist-es/commands/DescribeTableCommand.js +39 -0
  36. package/dist-es/commands/ExecuteStatementCommand.js +39 -0
  37. package/{dist/es → dist-es}/commands/GetStatementResultCommand.js +4 -31
  38. package/dist-es/commands/ListDatabasesCommand.js +39 -0
  39. package/dist-es/commands/ListSchemasCommand.js +39 -0
  40. package/{dist/es → dist-es}/commands/ListStatementsCommand.js +4 -31
  41. package/dist-es/commands/ListTablesCommand.js +39 -0
  42. package/{dist/es → dist-es}/endpoints.js +1 -2
  43. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  44. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  45. package/{dist/es → dist-es}/models/models_0.js +0 -97
  46. package/{dist/es → dist-es}/pagination/DescribeTablePaginator.js +17 -30
  47. package/{dist/es → dist-es}/pagination/GetStatementResultPaginator.js +17 -30
  48. package/dist-es/pagination/Interfaces.js +1 -0
  49. package/{dist/es → dist-es}/pagination/ListDatabasesPaginator.js +17 -30
  50. package/{dist/es → dist-es}/pagination/ListSchemasPaginator.js +17 -30
  51. package/{dist/es → dist-es}/pagination/ListStatementsPaginator.js +17 -30
  52. package/{dist/es → dist-es}/pagination/ListTablesPaginator.js +17 -30
  53. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +178 -184
  54. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  55. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  56. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  57. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  58. package/{dist/types → dist-types}/RedshiftData.d.ts +2 -2
  59. package/{dist/types → dist-types}/RedshiftDataClient.d.ts +8 -8
  60. package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
  61. package/{dist/types → dist-types}/commands/CancelStatementCommand.d.ts +3 -3
  62. package/{dist/types → dist-types}/commands/DescribeStatementCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/commands/DescribeTableCommand.d.ts +3 -3
  64. package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +3 -3
  65. package/{dist/types → dist-types}/commands/GetStatementResultCommand.d.ts +3 -3
  66. package/{dist/types → dist-types}/commands/ListDatabasesCommand.d.ts +3 -3
  67. package/{dist/types → dist-types}/commands/ListSchemasCommand.d.ts +3 -3
  68. package/{dist/types → dist-types}/commands/ListStatementsCommand.d.ts +3 -3
  69. package/{dist/types → dist-types}/commands/ListTablesCommand.d.ts +3 -3
  70. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  71. package/{index.ts → dist-types/index.d.ts} +0 -0
  72. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  73. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  74. package/{dist/types → dist-types}/pagination/DescribeTablePaginator.d.ts +1 -1
  75. package/{dist/types → dist-types}/pagination/GetStatementResultPaginator.d.ts +1 -1
  76. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  77. package/{dist/types → dist-types}/pagination/ListDatabasesPaginator.d.ts +1 -1
  78. package/{dist/types → dist-types}/pagination/ListSchemasPaginator.d.ts +1 -1
  79. package/{dist/types → dist-types}/pagination/ListStatementsPaginator.d.ts +1 -1
  80. package/{dist/types → dist-types}/pagination/ListTablesPaginator.d.ts +1 -1
  81. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  82. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  83. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  84. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  85. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  86. package/{dist/types → dist-types}/ts3.4/RedshiftData.d.ts +2 -2
  87. package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +8 -8
  88. package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
  89. package/{dist/types → dist-types}/ts3.4/commands/CancelStatementCommand.d.ts +3 -3
  90. package/{dist/types → dist-types}/ts3.4/commands/DescribeStatementCommand.d.ts +3 -3
  91. package/{dist/types → dist-types}/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
  92. package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
  93. package/{dist/types → dist-types}/ts3.4/commands/GetStatementResultCommand.d.ts +3 -3
  94. package/{dist/types → dist-types}/ts3.4/commands/ListDatabasesCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/ts3.4/commands/ListSchemasCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/ts3.4/commands/ListStatementsCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/ts3.4/commands/ListTablesCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  99. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  100. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  101. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  102. package/{dist/types → dist-types}/ts3.4/pagination/DescribeTablePaginator.d.ts +1 -1
  103. package/{dist/types → dist-types}/ts3.4/pagination/GetStatementResultPaginator.d.ts +1 -1
  104. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  105. package/{dist/types → dist-types}/ts3.4/pagination/ListDatabasesPaginator.d.ts +1 -1
  106. package/{dist/types → dist-types}/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -1
  107. package/{dist/types → dist-types}/ts3.4/pagination/ListStatementsPaginator.d.ts +1 -1
  108. package/{dist/types → dist-types}/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
  109. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  111. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  112. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  113. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  114. package/package.json +52 -49
  115. package/RedshiftData.ts +0 -451
  116. package/RedshiftDataClient.ts +0 -272
  117. package/commands/BatchExecuteStatementCommand.ts +0 -108
  118. package/commands/CancelStatementCommand.ts +0 -94
  119. package/commands/DescribeStatementCommand.ts +0 -96
  120. package/commands/DescribeTableCommand.ts +0 -109
  121. package/commands/ExecuteStatementCommand.ts +0 -108
  122. package/commands/GetStatementResultCommand.ts +0 -95
  123. package/commands/ListDatabasesCommand.ts +0 -108
  124. package/commands/ListSchemasCommand.ts +0 -108
  125. package/commands/ListStatementsCommand.ts +0 -95
  126. package/commands/ListTablesCommand.ts +0 -109
  127. package/dist/cjs/RedshiftData.js.map +0 -1
  128. package/dist/cjs/RedshiftDataClient.js.map +0 -1
  129. package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
  130. package/dist/cjs/commands/CancelStatementCommand.js.map +0 -1
  131. package/dist/cjs/commands/DescribeStatementCommand.js.map +0 -1
  132. package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
  133. package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
  134. package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
  135. package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
  136. package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
  137. package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
  138. package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
  139. package/dist/cjs/endpoints.js.map +0 -1
  140. package/dist/cjs/index.js.map +0 -1
  141. package/dist/cjs/models/index.js.map +0 -1
  142. package/dist/cjs/models/models_0.js.map +0 -1
  143. package/dist/cjs/package.json +0 -91
  144. package/dist/cjs/pagination/DescribeTablePaginator.js.map +0 -1
  145. package/dist/cjs/pagination/GetStatementResultPaginator.js.map +0 -1
  146. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  147. package/dist/cjs/pagination/ListDatabasesPaginator.js.map +0 -1
  148. package/dist/cjs/pagination/ListSchemasPaginator.js.map +0 -1
  149. package/dist/cjs/pagination/ListStatementsPaginator.js.map +0 -1
  150. package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
  151. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  152. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  153. package/dist/cjs/runtimeConfig.js.map +0 -1
  154. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  155. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  156. package/dist/es/RedshiftData.js.map +0 -1
  157. package/dist/es/RedshiftDataClient.js.map +0 -1
  158. package/dist/es/commands/BatchExecuteStatementCommand.js +0 -79
  159. package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
  160. package/dist/es/commands/CancelStatementCommand.js.map +0 -1
  161. package/dist/es/commands/DescribeStatementCommand.js.map +0 -1
  162. package/dist/es/commands/DescribeTableCommand.js +0 -80
  163. package/dist/es/commands/DescribeTableCommand.js.map +0 -1
  164. package/dist/es/commands/ExecuteStatementCommand.js +0 -79
  165. package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
  166. package/dist/es/commands/GetStatementResultCommand.js.map +0 -1
  167. package/dist/es/commands/ListDatabasesCommand.js +0 -79
  168. package/dist/es/commands/ListDatabasesCommand.js.map +0 -1
  169. package/dist/es/commands/ListSchemasCommand.js +0 -79
  170. package/dist/es/commands/ListSchemasCommand.js.map +0 -1
  171. package/dist/es/commands/ListStatementsCommand.js.map +0 -1
  172. package/dist/es/commands/ListTablesCommand.js +0 -80
  173. package/dist/es/commands/ListTablesCommand.js.map +0 -1
  174. package/dist/es/endpoints.js.map +0 -1
  175. package/dist/es/index.js +0 -21
  176. package/dist/es/index.js.map +0 -1
  177. package/dist/es/models/index.js +0 -2
  178. package/dist/es/models/index.js.map +0 -1
  179. package/dist/es/models/models_0.js.map +0 -1
  180. package/dist/es/package.json +0 -91
  181. package/dist/es/pagination/DescribeTablePaginator.js.map +0 -1
  182. package/dist/es/pagination/GetStatementResultPaginator.js.map +0 -1
  183. package/dist/es/pagination/Interfaces.js +0 -2
  184. package/dist/es/pagination/Interfaces.js.map +0 -1
  185. package/dist/es/pagination/ListDatabasesPaginator.js.map +0 -1
  186. package/dist/es/pagination/ListSchemasPaginator.js.map +0 -1
  187. package/dist/es/pagination/ListStatementsPaginator.js.map +0 -1
  188. package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
  189. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  190. package/dist/es/runtimeConfig.browser.js.map +0 -1
  191. package/dist/es/runtimeConfig.js.map +0 -1
  192. package/dist/es/runtimeConfig.native.js.map +0 -1
  193. package/dist/es/runtimeConfig.shared.js.map +0 -1
  194. package/endpoints.ts +0 -57
  195. package/jest.config.js +0 -4
  196. package/models/models_0.ts +0 -1379
  197. package/pagination/DescribeTablePaginator.ts +0 -58
  198. package/pagination/GetStatementResultPaginator.ts +0 -57
  199. package/pagination/Interfaces.ts +0 -7
  200. package/pagination/ListDatabasesPaginator.ts +0 -58
  201. package/pagination/ListSchemasPaginator.ts +0 -54
  202. package/pagination/ListStatementsPaginator.ts +0 -58
  203. package/pagination/ListTablesPaginator.ts +0 -54
  204. package/protocols/Aws_json1_1.ts +0 -1614
  205. package/runtimeConfig.browser.ts +0 -40
  206. package/runtimeConfig.native.ts +0 -16
  207. package/runtimeConfig.shared.ts +0 -16
  208. package/runtimeConfig.ts +0 -45
  209. package/tsconfig.es.json +0 -12
  210. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
12
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
13
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
25
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-redshift-data
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-redshift-data
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RedshiftData = void 0;
4
- const RedshiftDataClient_1 = require("./RedshiftDataClient");
5
4
  const BatchExecuteStatementCommand_1 = require("./commands/BatchExecuteStatementCommand");
6
5
  const CancelStatementCommand_1 = require("./commands/CancelStatementCommand");
7
6
  const DescribeStatementCommand_1 = require("./commands/DescribeStatementCommand");
@@ -12,6 +11,7 @@ const ListDatabasesCommand_1 = require("./commands/ListDatabasesCommand");
12
11
  const ListSchemasCommand_1 = require("./commands/ListSchemasCommand");
13
12
  const ListStatementsCommand_1 = require("./commands/ListStatementsCommand");
14
13
  const ListTablesCommand_1 = require("./commands/ListTablesCommand");
14
+ const RedshiftDataClient_1 = require("./RedshiftDataClient");
15
15
  /**
16
16
  * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
17
17
  * can run SQL statements, which are committed if the statement succeeds. </p>
@@ -162,4 +162,3 @@ class RedshiftData extends RedshiftDataClient_1.RedshiftDataClient {
162
162
  }
163
163
  }
164
164
  exports.RedshiftData = RedshiftData;
165
- //# sourceMappingURL=RedshiftData.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RedshiftDataClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
15
15
  * can run SQL statements, which are committed if the statement succeeds. </p>
@@ -19,13 +19,13 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  */
20
20
  class RedshiftDataClient extends smithy_client_1.Client {
21
21
  constructor(configuration) {
22
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
23
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
24
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
25
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
26
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
27
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
28
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
23
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
24
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
25
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
26
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
27
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
28
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
29
29
  super(_config_6);
30
30
  this.config = _config_6;
31
31
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -45,4 +45,3 @@ class RedshiftDataClient extends smithy_client_1.Client {
45
45
  }
46
46
  }
47
47
  exports.RedshiftDataClient = RedshiftDataClient;
48
- //# sourceMappingURL=RedshiftDataClient.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BatchExecuteStatementCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
10
10
  * language (DDL).
@@ -72,4 +72,3 @@ class BatchExecuteStatementCommand extends smithy_client_1.Command {
72
72
  }
73
73
  }
74
74
  exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
75
- //# sourceMappingURL=BatchExecuteStatementCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancelStatementCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Cancels a running query. To be canceled, a query must be running. </p>
10
10
  * @example
@@ -58,4 +58,3 @@ class CancelStatementCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.CancelStatementCommand = CancelStatementCommand;
61
- //# sourceMappingURL=CancelStatementCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeStatementCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
10
10
  * includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
@@ -60,4 +60,3 @@ class DescribeStatementCommand extends smithy_client_1.Command {
60
60
  }
61
61
  }
62
62
  exports.DescribeStatementCommand = DescribeStatementCommand;
63
- //# sourceMappingURL=DescribeStatementCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTableCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Describes the detailed information about a table from metadata in the cluster. The
10
10
  * information includes its columns.
@@ -73,4 +73,3 @@ class DescribeTableCommand extends smithy_client_1.Command {
73
73
  }
74
74
  }
75
75
  exports.DescribeTableCommand = DescribeTableCommand;
76
- //# sourceMappingURL=DescribeTableCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExecuteStatementCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
10
10
  * language (DDL). This statement must be a single SQL statement.
@@ -72,4 +72,3 @@ class ExecuteStatementCommand extends smithy_client_1.Command {
72
72
  }
73
73
  }
74
74
  exports.ExecuteStatementCommand = ExecuteStatementCommand;
75
- //# sourceMappingURL=ExecuteStatementCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetStatementResultCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Fetches the temporarily cached result of an SQL statement.
10
10
  * A token is returned to page through the statement results. </p>
@@ -59,4 +59,3 @@ class GetStatementResultCommand extends smithy_client_1.Command {
59
59
  }
60
60
  }
61
61
  exports.GetStatementResultCommand = GetStatementResultCommand;
62
- //# sourceMappingURL=GetStatementResultCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDatabasesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>List the databases in a cluster.
10
10
  * A token is returned to page through the database list.
@@ -72,4 +72,3 @@ class ListDatabasesCommand extends smithy_client_1.Command {
72
72
  }
73
73
  }
74
74
  exports.ListDatabasesCommand = ListDatabasesCommand;
75
- //# sourceMappingURL=ListDatabasesCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListSchemasCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Lists the schemas in a database.
10
10
  * A token is returned to page through the schema list.
@@ -72,4 +72,3 @@ class ListSchemasCommand extends smithy_client_1.Command {
72
72
  }
73
73
  }
74
74
  exports.ListSchemasCommand = ListSchemasCommand;
75
- //# sourceMappingURL=ListSchemasCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListStatementsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>List of SQL statements. By default, only finished statements are shown.
10
10
  * A token is returned to page through the statement list. </p>
@@ -59,4 +59,3 @@ class ListStatementsCommand extends smithy_client_1.Command {
59
59
  }
60
60
  }
61
61
  exports.ListStatementsCommand = ListStatementsCommand;
62
- //# sourceMappingURL=ListStatementsCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTablesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
10
10
  * all tables in the database are returned.
@@ -73,4 +73,3 @@ class ListTablesCommand extends smithy_client_1.Command {
73
73
  }
74
74
  }
75
75
  exports.ListTablesCommand = ListTablesCommand;
76
- //# sourceMappingURL=ListTablesCommand.js.map
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -21,4 +21,3 @@ tslib_1.__exportStar(require("./commands/ListTablesCommand"), exports);
21
21
  tslib_1.__exportStar(require("./pagination/ListTablesPaginator"), exports);
22
22
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
23
23
  tslib_1.__exportStar(require("./models/index"), exports);
24
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -337,4 +337,3 @@ var ListTablesResponse;
337
337
  ...obj,
338
338
  });
339
339
  })(ListTablesResponse = exports.ListTablesResponse || (exports.ListTablesResponse = {}));
340
- //# sourceMappingURL=models_0.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTable = void 0;
4
+ const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeTable(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeTable = paginateDescribeTable;
46
- //# sourceMappingURL=DescribeTablePaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetStatementResult = void 0;
4
+ const GetStatementResultCommand_1 = require("../commands/GetStatementResultCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const GetStatementResultCommand_1 = require("../commands/GetStatementResultCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -42,4 +42,3 @@ async function* paginateGetStatementResult(config, input, ...additionalArguments
42
42
  return undefined;
43
43
  }
44
44
  exports.paginateGetStatementResult = paginateGetStatementResult;
45
- //# sourceMappingURL=GetStatementResultPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDatabases = void 0;
4
+ const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListDatabases(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListDatabases = paginateListDatabases;
46
- //# sourceMappingURL=ListDatabasesPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSchemas = void 0;
4
+ const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListSchemas(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListSchemas = paginateListSchemas;
46
- //# sourceMappingURL=ListSchemasPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStatements = void 0;
4
+ const ListStatementsCommand_1 = require("../commands/ListStatementsCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const ListStatementsCommand_1 = require("../commands/ListStatementsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListStatements(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListStatements = paginateListStatements;
46
- //# sourceMappingURL=ListStatementsPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTables = void 0;
4
+ const ListTablesCommand_1 = require("../commands/ListTablesCommand");
4
5
  const RedshiftData_1 = require("../RedshiftData");
5
6
  const RedshiftDataClient_1 = require("../RedshiftDataClient");
6
- const ListTablesCommand_1 = require("../commands/ListTablesCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListTables(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListTables = paginateListTables;
46
- //# sourceMappingURL=ListTablesPaginator.js.map
@@ -1309,4 +1309,3 @@ const loadRestJsonErrorCode = (output, data) => {
1309
1309
  }
1310
1310
  return "";
1311
1311
  };
1312
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { RedshiftDataClient } from "./RedshiftDataClient";
3
2
  import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand";
4
3
  import { CancelStatementCommand, } from "./commands/CancelStatementCommand";
5
4
  import { DescribeStatementCommand, } from "./commands/DescribeStatementCommand";
@@ -10,14 +9,8 @@ import { ListDatabasesCommand, } from "./commands/ListDatabasesCommand";
10
9
  import { ListSchemasCommand } from "./commands/ListSchemasCommand";
11
10
  import { ListStatementsCommand, } from "./commands/ListStatementsCommand";
12
11
  import { ListTablesCommand } from "./commands/ListTablesCommand";
13
- /**
14
- * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
15
- * can run SQL statements, which are committed if the statement succeeds. </p>
16
- * <p>For more information about the Amazon Redshift Data API, see
17
- * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
18
- * <i>Amazon Redshift Cluster Management Guide</i>. </p>
19
- */
20
- var RedshiftData = /** @class */ (function (_super) {
12
+ import { RedshiftDataClient } from "./RedshiftDataClient";
13
+ var RedshiftData = (function (_super) {
21
14
  __extends(RedshiftData, _super);
22
15
  function RedshiftData() {
23
16
  return _super !== null && _super.apply(this, arguments) || this;
@@ -165,4 +158,3 @@ var RedshiftData = /** @class */ (function (_super) {
165
158
  return RedshiftData;
166
159
  }(RedshiftDataClient));
167
160
  export { RedshiftData };
168
- //# sourceMappingURL=RedshiftData.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,14 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
13
- * can run SQL statements, which are committed if the statement succeeds. </p>
14
- * <p>For more information about the Amazon Redshift Data API, see
15
- * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
16
- * <i>Amazon Redshift Cluster Management Guide</i>. </p>
17
- */
18
- var RedshiftDataClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var RedshiftDataClient = (function (_super) {
19
12
  __extends(RedshiftDataClient, _super);
20
13
  function RedshiftDataClient(configuration) {
21
14
  var _this = this;
@@ -36,15 +29,9 @@ var RedshiftDataClient = /** @class */ (function (_super) {
36
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
37
30
  return _this;
38
31
  }
39
- /**
40
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
41
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
42
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
43
- */
44
32
  RedshiftDataClient.prototype.destroy = function () {
45
33
  _super.prototype.destroy.call(this);
46
34
  };
47
35
  return RedshiftDataClient;
48
36
  }(__Client));
49
37
  export { RedshiftDataClient };
50
- //# sourceMappingURL=RedshiftDataClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1BatchExecuteStatementCommand, serializeAws_json1_1BatchExecuteStatementCommand, } from "../protocols/Aws_json1_1";
6
+ var BatchExecuteStatementCommand = (function (_super) {
7
+ __extends(BatchExecuteStatementCommand, _super);
8
+ function BatchExecuteStatementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ BatchExecuteStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftDataClient";
18
+ var commandName = "BatchExecuteStatementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: BatchExecuteStatementInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: BatchExecuteStatementOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchExecuteStatementCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1BatchExecuteStatementCommand(input, context);
33
+ };
34
+ BatchExecuteStatementCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1BatchExecuteStatementCommand(output, context);
36
+ };
37
+ return BatchExecuteStatementCommand;
38
+ }($Command));
39
+ export { BatchExecuteStatementCommand };