@aws-sdk/client-redshift-data 3.31.0 → 3.35.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 (263) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -1
  3. package/dist-cjs/RedshiftData.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +14 -14
  5. package/dist-cjs/RedshiftDataClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/BatchExecuteStatementCommand.js +5 -5
  7. package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +5 -5
  9. package/dist-cjs/commands/CancelStatementCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +5 -5
  11. package/dist-cjs/commands/DescribeStatementCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/DescribeTableCommand.js +5 -5
  13. package/dist-cjs/commands/DescribeTableCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/ExecuteStatementCommand.js +5 -5
  15. package/dist-cjs/commands/ExecuteStatementCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +5 -5
  17. package/dist-cjs/commands/GetStatementResultCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/ListDatabasesCommand.js +5 -5
  19. package/dist-cjs/commands/ListDatabasesCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/ListSchemasCommand.js +5 -5
  21. package/dist-cjs/commands/ListSchemasCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +5 -5
  23. package/dist-cjs/commands/ListStatementsCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/ListTablesCommand.js +5 -5
  25. package/dist-cjs/commands/ListTablesCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  27. package/dist-cjs/endpoints.js.map +1 -0
  28. package/dist-cjs/index.js +24 -0
  29. package/dist-cjs/index.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  31. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  32. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  33. package/dist-cjs/models/models_0.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -1
  35. package/dist-cjs/pagination/DescribeTablePaginator.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -1
  37. package/dist-cjs/pagination/GetStatementResultPaginator.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  39. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  40. package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -1
  41. package/dist-cjs/pagination/ListDatabasesPaginator.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -1
  43. package/dist-cjs/pagination/ListSchemasPaginator.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -1
  45. package/dist-cjs/pagination/ListStatementsPaginator.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -1
  47. package/dist-cjs/pagination/ListTablesPaginator.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +97 -97
  49. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  51. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  53. package/dist-cjs/runtimeConfig.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  55. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  57. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  58. package/{dist/es → dist-es}/RedshiftData.js +2 -9
  59. package/dist-es/RedshiftData.js.map +1 -0
  60. package/{dist/es → dist-es}/RedshiftDataClient.js +2 -14
  61. package/dist-es/RedshiftDataClient.js.map +1 -0
  62. package/dist-es/commands/BatchExecuteStatementCommand.js +40 -0
  63. package/dist-es/commands/BatchExecuteStatementCommand.js.map +1 -0
  64. package/{dist/es → dist-es}/commands/CancelStatementCommand.js +4 -29
  65. package/dist-es/commands/CancelStatementCommand.js.map +1 -0
  66. package/{dist/es → dist-es}/commands/DescribeStatementCommand.js +4 -31
  67. package/dist-es/commands/DescribeStatementCommand.js.map +1 -0
  68. package/dist-es/commands/DescribeTableCommand.js +40 -0
  69. package/dist-es/commands/DescribeTableCommand.js.map +1 -0
  70. package/dist-es/commands/ExecuteStatementCommand.js +40 -0
  71. package/dist-es/commands/ExecuteStatementCommand.js.map +1 -0
  72. package/{dist/es → dist-es}/commands/GetStatementResultCommand.js +4 -30
  73. package/dist-es/commands/GetStatementResultCommand.js.map +1 -0
  74. package/dist-es/commands/ListDatabasesCommand.js +40 -0
  75. package/dist-es/commands/ListDatabasesCommand.js.map +1 -0
  76. package/dist-es/commands/ListSchemasCommand.js +40 -0
  77. package/dist-es/commands/ListSchemasCommand.js.map +1 -0
  78. package/{dist/es → dist-es}/commands/ListStatementsCommand.js +4 -30
  79. package/dist-es/commands/ListStatementsCommand.js.map +1 -0
  80. package/dist-es/commands/ListTablesCommand.js +40 -0
  81. package/dist-es/commands/ListTablesCommand.js.map +1 -0
  82. package/{dist/es → dist-es}/endpoints.js +1 -1
  83. package/dist-es/endpoints.js.map +1 -0
  84. package/{dist/es → dist-es}/index.js +0 -0
  85. package/dist-es/index.js.map +1 -0
  86. package/{dist/es → dist-es}/models/index.js +0 -0
  87. package/dist-es/models/index.js.map +1 -0
  88. package/{dist/es → dist-es}/models/models_0.js +0 -96
  89. package/dist-es/models/models_0.js.map +1 -0
  90. package/{dist/es → dist-es}/pagination/DescribeTablePaginator.js +17 -29
  91. package/dist-es/pagination/DescribeTablePaginator.js.map +1 -0
  92. package/{dist/es → dist-es}/pagination/GetStatementResultPaginator.js +17 -29
  93. package/dist-es/pagination/GetStatementResultPaginator.js.map +1 -0
  94. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  95. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  96. package/{dist/es → dist-es}/pagination/ListDatabasesPaginator.js +17 -29
  97. package/dist-es/pagination/ListDatabasesPaginator.js.map +1 -0
  98. package/{dist/es → dist-es}/pagination/ListSchemasPaginator.js +17 -29
  99. package/dist-es/pagination/ListSchemasPaginator.js.map +1 -0
  100. package/{dist/es → dist-es}/pagination/ListStatementsPaginator.js +17 -29
  101. package/dist-es/pagination/ListStatementsPaginator.js.map +1 -0
  102. package/{dist/es → dist-es}/pagination/ListTablesPaginator.js +17 -29
  103. package/dist-es/pagination/ListTablesPaginator.js.map +1 -0
  104. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +178 -183
  105. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  106. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  107. package/dist-es/runtimeConfig.browser.js.map +1 -0
  108. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  109. package/dist-es/runtimeConfig.js.map +1 -0
  110. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  111. package/dist-es/runtimeConfig.native.js.map +1 -0
  112. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  113. package/dist-es/runtimeConfig.shared.js.map +1 -0
  114. package/{dist/types → dist-types}/RedshiftData.d.ts +2 -2
  115. package/{dist/types → dist-types}/RedshiftDataClient.d.ts +8 -8
  116. package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/CancelStatementCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/DescribeStatementCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/DescribeTableCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +3 -3
  121. package/{dist/types → dist-types}/commands/GetStatementResultCommand.d.ts +3 -3
  122. package/{dist/types → dist-types}/commands/ListDatabasesCommand.d.ts +3 -3
  123. package/{dist/types → dist-types}/commands/ListSchemasCommand.d.ts +3 -3
  124. package/{dist/types → dist-types}/commands/ListStatementsCommand.d.ts +3 -3
  125. package/{dist/types → dist-types}/commands/ListTablesCommand.d.ts +3 -3
  126. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  127. package/{dist/types → dist-types}/index.d.ts +0 -0
  128. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  129. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  130. package/{dist/types → dist-types}/pagination/DescribeTablePaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/GetStatementResultPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  133. package/{dist/types → dist-types}/pagination/ListDatabasesPaginator.d.ts +1 -1
  134. package/{dist/types → dist-types}/pagination/ListSchemasPaginator.d.ts +1 -1
  135. package/{dist/types → dist-types}/pagination/ListStatementsPaginator.d.ts +1 -1
  136. package/{dist/types → dist-types}/pagination/ListTablesPaginator.d.ts +1 -1
  137. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  138. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  139. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  140. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  141. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  142. package/{dist/types → dist-types}/ts3.4/RedshiftData.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +8 -8
  144. package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/ts3.4/commands/CancelStatementCommand.d.ts +3 -3
  146. package/{dist/types → dist-types}/ts3.4/commands/DescribeStatementCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/ts3.4/commands/GetStatementResultCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/ts3.4/commands/ListDatabasesCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/ts3.4/commands/ListSchemasCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/ts3.4/commands/ListStatementsCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/ts3.4/commands/ListTablesCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  155. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  156. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  157. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  158. package/{dist/types → dist-types}/ts3.4/pagination/DescribeTablePaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/ts3.4/pagination/GetStatementResultPaginator.d.ts +1 -1
  160. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  161. package/{dist/types → dist-types}/ts3.4/pagination/ListDatabasesPaginator.d.ts +1 -1
  162. package/{dist/types → dist-types}/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -1
  163. package/{dist/types → dist-types}/ts3.4/pagination/ListStatementsPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  167. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  168. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  169. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  170. package/package.json +50 -50
  171. package/{RedshiftData.ts → src/RedshiftData.ts} +3 -2
  172. package/{RedshiftDataClient.ts → src/RedshiftDataClient.ts} +28 -27
  173. package/{commands → src/commands}/BatchExecuteStatementCommand.ts +8 -7
  174. package/{commands → src/commands}/CancelStatementCommand.ts +8 -7
  175. package/{commands → src/commands}/DescribeStatementCommand.ts +8 -7
  176. package/{commands → src/commands}/DescribeTableCommand.ts +8 -7
  177. package/{commands → src/commands}/ExecuteStatementCommand.ts +8 -7
  178. package/{commands → src/commands}/GetStatementResultCommand.ts +8 -7
  179. package/{commands → src/commands}/ListDatabasesCommand.ts +8 -7
  180. package/{commands → src/commands}/ListSchemasCommand.ts +8 -7
  181. package/{commands → src/commands}/ListStatementsCommand.ts +8 -7
  182. package/{commands → src/commands}/ListTablesCommand.ts +8 -7
  183. package/{endpoints.ts → src/endpoints.ts} +1 -1
  184. package/{index.ts → src/index.ts} +0 -0
  185. package/{models → src/models}/index.ts +0 -0
  186. package/{models → src/models}/models_0.ts +0 -0
  187. package/{pagination → src/pagination}/DescribeTablePaginator.ts +4 -3
  188. package/{pagination → src/pagination}/GetStatementResultPaginator.ts +4 -3
  189. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  190. package/{pagination → src/pagination}/ListDatabasesPaginator.ts +4 -3
  191. package/{pagination → src/pagination}/ListSchemasPaginator.ts +3 -2
  192. package/{pagination → src/pagination}/ListStatementsPaginator.ts +4 -3
  193. package/{pagination → src/pagination}/ListTablesPaginator.ts +3 -2
  194. package/{protocols → src/protocols}/Aws_json1_1.ts +31 -30
  195. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  196. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  197. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  198. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  199. package/tsconfig.es.json +1 -3
  200. package/tsconfig.json +7 -7
  201. package/tsconfig.types.json +9 -0
  202. package/dist/cjs/RedshiftData.js.map +0 -1
  203. package/dist/cjs/RedshiftDataClient.js.map +0 -1
  204. package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
  205. package/dist/cjs/commands/CancelStatementCommand.js.map +0 -1
  206. package/dist/cjs/commands/DescribeStatementCommand.js.map +0 -1
  207. package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
  208. package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
  209. package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
  210. package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
  211. package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
  212. package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
  213. package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
  214. package/dist/cjs/endpoints.js.map +0 -1
  215. package/dist/cjs/index.js +0 -24
  216. package/dist/cjs/index.js.map +0 -1
  217. package/dist/cjs/models/models_0.js.map +0 -1
  218. package/dist/cjs/package.json +0 -91
  219. package/dist/cjs/pagination/DescribeTablePaginator.js.map +0 -1
  220. package/dist/cjs/pagination/GetStatementResultPaginator.js.map +0 -1
  221. package/dist/cjs/pagination/ListDatabasesPaginator.js.map +0 -1
  222. package/dist/cjs/pagination/ListSchemasPaginator.js.map +0 -1
  223. package/dist/cjs/pagination/ListStatementsPaginator.js.map +0 -1
  224. package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
  225. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  226. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  227. package/dist/cjs/runtimeConfig.js.map +0 -1
  228. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  229. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  230. package/dist/es/RedshiftData.js.map +0 -1
  231. package/dist/es/RedshiftDataClient.js.map +0 -1
  232. package/dist/es/commands/BatchExecuteStatementCommand.js +0 -79
  233. package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
  234. package/dist/es/commands/CancelStatementCommand.js.map +0 -1
  235. package/dist/es/commands/DescribeStatementCommand.js.map +0 -1
  236. package/dist/es/commands/DescribeTableCommand.js +0 -80
  237. package/dist/es/commands/DescribeTableCommand.js.map +0 -1
  238. package/dist/es/commands/ExecuteStatementCommand.js +0 -79
  239. package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
  240. package/dist/es/commands/GetStatementResultCommand.js.map +0 -1
  241. package/dist/es/commands/ListDatabasesCommand.js +0 -79
  242. package/dist/es/commands/ListDatabasesCommand.js.map +0 -1
  243. package/dist/es/commands/ListSchemasCommand.js +0 -79
  244. package/dist/es/commands/ListSchemasCommand.js.map +0 -1
  245. package/dist/es/commands/ListStatementsCommand.js.map +0 -1
  246. package/dist/es/commands/ListTablesCommand.js +0 -80
  247. package/dist/es/commands/ListTablesCommand.js.map +0 -1
  248. package/dist/es/endpoints.js.map +0 -1
  249. package/dist/es/index.js.map +0 -1
  250. package/dist/es/models/index.js.map +0 -1
  251. package/dist/es/models/models_0.js.map +0 -1
  252. package/dist/es/package.json +0 -91
  253. package/dist/es/pagination/DescribeTablePaginator.js.map +0 -1
  254. package/dist/es/pagination/GetStatementResultPaginator.js.map +0 -1
  255. package/dist/es/pagination/ListDatabasesPaginator.js.map +0 -1
  256. package/dist/es/pagination/ListSchemasPaginator.js.map +0 -1
  257. package/dist/es/pagination/ListStatementsPaginator.js.map +0 -1
  258. package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
  259. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  260. package/dist/es/runtimeConfig.browser.js.map +0 -1
  261. package/dist/es/runtimeConfig.js.map +0 -1
  262. package/dist/es/runtimeConfig.native.js.map +0 -1
  263. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
6
6
  }
7
7
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface CancelStatementCommandInput extends CancelStatementRequest {
6
6
  }
7
7
  export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface DescribeStatementCommandInput extends DescribeStatementRequest {
6
6
  }
7
7
  export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface DescribeTableCommandInput extends DescribeTableRequest {
6
6
  }
7
7
  export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
6
6
  }
7
7
  export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface GetStatementResultCommandInput extends GetStatementResultRequest {
6
6
  }
7
7
  export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface ListDatabasesCommandInput extends ListDatabasesRequest {
6
6
  }
7
7
  export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface ListSchemasCommandInput extends ListSchemasRequest {
6
6
  }
7
7
  export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface ListStatementsCommandInput extends ListStatementsRequest {
6
6
  }
7
7
  export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
5
  export interface ListTablesCommandInput extends ListTablesRequest {
6
6
  }
7
7
  export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
File without changes
File without changes
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateDescribeTable(config: RedshiftDataPaginationConfiguration, input: DescribeTableCommandInput, ...additionalArguments: any): Paginator<DescribeTableCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "../commands/GetStatementResultCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateGetStatementResult(config: RedshiftDataPaginationConfiguration, input: GetStatementResultCommandInput, ...additionalArguments: any): Paginator<GetStatementResultCommandOutput>;
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { RedshiftData } from "../RedshiftData";
2
3
  import { RedshiftDataClient } from "../RedshiftDataClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
5
5
  client: RedshiftData | RedshiftDataClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListDatabases(config: RedshiftDataPaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListSchemas(config: RedshiftDataPaginationConfiguration, input: ListSchemasCommandInput, ...additionalArguments: any): Paginator<ListSchemasCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListStatements(config: RedshiftDataPaginationConfiguration, input: ListStatementsCommandInput, ...additionalArguments: any): Paginator<ListStatementsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
2
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListTables(config: RedshiftDataPaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
2
4
  import { CancelStatementCommandInput, CancelStatementCommandOutput } from "../commands/CancelStatementCommand";
3
5
  import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "../commands/DescribeStatementCommand";
@@ -8,8 +10,6 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../comman
8
10
  import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
9
11
  import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
10
12
  import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
13
13
  export declare const serializeAws_json1_1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
14
  export declare const serializeAws_json1_1CancelStatementCommand: (input: CancelStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
15
  export declare const serializeAws_json1_1DescribeStatementCommand: (input: DescribeStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -1,36 +1,37 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
- import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
7
- runtime: string;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
- bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
- retryMode: string | import("@aws-sdk/types").Provider<string>;
17
- sha256: import("@aws-sdk/types").HashConstructor;
18
- streamCollector: import("@aws-sdk/types").StreamCollector;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- apiVersion: string;
22
- urlParser: import("@aws-sdk/types").UrlParser;
23
- disableHostPrefix: boolean;
24
- logger: import("@aws-sdk/types").Logger;
25
- serviceId: string;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
- };
1
+ import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
+ import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<string>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
31
31
  signingEscapePath?: boolean | undefined;
32
32
  systemClockOffset?: number | undefined;
33
33
  signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
34
35
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
36
  };
package/package.json CHANGED
@@ -1,79 +1,73 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-data",
3
3
  "description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
4
- "version": "3.31.0",
4
+ "version": "3.35.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "jest --coverage --passWithNoTests",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
16
- },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "jest --coverage --passWithNoTests"
25
16
  },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.31.0",
31
- "@aws-sdk/config-resolver": "3.30.0",
32
- "@aws-sdk/credential-provider-node": "3.31.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.30.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.31.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
24
+ "@aws-sdk/client-sts": "3.35.0",
25
+ "@aws-sdk/config-resolver": "3.35.0",
26
+ "@aws-sdk/credential-provider-node": "3.35.0",
27
+ "@aws-sdk/fetch-http-handler": "3.35.0",
28
+ "@aws-sdk/hash-node": "3.35.0",
29
+ "@aws-sdk/invalid-dependency": "3.35.0",
30
+ "@aws-sdk/middleware-content-length": "3.35.0",
31
+ "@aws-sdk/middleware-host-header": "3.35.0",
32
+ "@aws-sdk/middleware-logger": "3.35.0",
33
+ "@aws-sdk/middleware-retry": "3.35.0",
34
+ "@aws-sdk/middleware-serde": "3.35.0",
35
+ "@aws-sdk/middleware-signing": "3.35.0",
36
+ "@aws-sdk/middleware-stack": "3.35.0",
37
+ "@aws-sdk/middleware-user-agent": "3.35.0",
38
+ "@aws-sdk/node-config-provider": "3.35.0",
39
+ "@aws-sdk/node-http-handler": "3.35.0",
40
+ "@aws-sdk/protocol-http": "3.35.0",
41
+ "@aws-sdk/smithy-client": "3.35.0",
42
+ "@aws-sdk/types": "3.35.0",
43
+ "@aws-sdk/url-parser": "3.35.0",
44
+ "@aws-sdk/util-base64-browser": "3.35.0",
45
+ "@aws-sdk/util-base64-node": "3.35.0",
46
+ "@aws-sdk/util-body-length-browser": "3.35.0",
47
+ "@aws-sdk/util-body-length-node": "3.35.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
49
+ "@aws-sdk/util-user-agent-node": "3.35.0",
50
+ "@aws-sdk/util-utf8-browser": "3.35.0",
51
+ "@aws-sdk/util-utf8-node": "3.35.0",
58
52
  "tslib": "^2.3.0"
59
53
  },
60
54
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.29.0",
55
+ "@aws-sdk/client-documentation-generator": "3.35.0",
62
56
  "@types/node": "^12.7.5",
63
57
  "downlevel-dts": "0.7.0",
64
58
  "jest": "^26.1.0",
65
59
  "rimraf": "^3.0.0",
66
60
  "ts-jest": "^26.4.1",
67
61
  "typedoc": "^0.19.2",
68
- "typescript": "~4.4.2"
62
+ "typescript": "~4.3.5"
69
63
  },
70
64
  "engines": {
71
65
  "node": ">=10.0.0"
72
66
  },
73
67
  "typesVersions": {
74
68
  "<4.0": {
75
- "dist/types/*": [
76
- "dist/types/ts3.4/*"
69
+ "dist-types/*": [
70
+ "dist-types/ts3.4/*"
77
71
  ]
78
72
  }
79
73
  },
@@ -82,6 +76,12 @@
82
76
  "url": "https://aws.amazon.com/javascript/"
83
77
  },
84
78
  "license": "Apache-2.0",
79
+ "browser": {
80
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
81
+ },
82
+ "react-native": {
83
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
84
+ },
85
85
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
86
86
  "repository": {
87
87
  "type": "git",
@@ -1,4 +1,5 @@
1
- import { RedshiftDataClient } from "./RedshiftDataClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
2
3
  import {
3
4
  BatchExecuteStatementCommand,
4
5
  BatchExecuteStatementCommandInput,
@@ -41,7 +42,7 @@ import {
41
42
  ListStatementsCommandOutput,
42
43
  } from "./commands/ListStatementsCommand";
43
44
  import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
44
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
45
+ import { RedshiftDataClient } from "./RedshiftDataClient";
45
46
 
46
47
  /**
47
48
  * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
@@ -1,17 +1,3 @@
1
- import {
2
- BatchExecuteStatementCommandInput,
3
- BatchExecuteStatementCommandOutput,
4
- } from "./commands/BatchExecuteStatementCommand";
5
- import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
6
- import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
7
- import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
8
- import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
9
- import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
10
- import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
11
- import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
12
- import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
13
- import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
14
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
1
  import {
16
2
  EndpointsInputConfig,
17
3
  EndpointsResolvedConfig,
@@ -22,13 +8,13 @@ import {
22
8
  } from "@aws-sdk/config-resolver";
23
9
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
24
10
  import {
11
+ getHostHeaderPlugin,
25
12
  HostHeaderInputConfig,
26
13
  HostHeaderResolvedConfig,
27
- getHostHeaderPlugin,
28
14
  resolveHostHeaderConfig,
29
15
  } from "@aws-sdk/middleware-host-header";
30
16
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
31
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
32
18
  import {
33
19
  AwsAuthInputConfig,
34
20
  AwsAuthResolvedConfig,
@@ -36,10 +22,10 @@ import {
36
22
  resolveAwsAuthConfig,
37
23
  } from "@aws-sdk/middleware-signing";
38
24
  import {
39
- UserAgentInputConfig,
40
- UserAgentResolvedConfig,
41
25
  getUserAgentPlugin,
42
26
  resolveUserAgentConfig,
27
+ UserAgentInputConfig,
28
+ UserAgentResolvedConfig,
43
29
  } from "@aws-sdk/middleware-user-agent";
44
30
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
45
31
  import {
@@ -48,8 +34,6 @@ import {
48
34
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
49
35
  } from "@aws-sdk/smithy-client";
50
36
  import {
51
- Provider,
52
- RegionInfoProvider,
53
37
  Credentials as __Credentials,
54
38
  Decoder as __Decoder,
55
39
  Encoder as __Encoder,
@@ -58,11 +42,28 @@ import {
58
42
  HttpHandlerOptions as __HttpHandlerOptions,
59
43
  Logger as __Logger,
60
44
  Provider as __Provider,
45
+ Provider,
46
+ RegionInfoProvider,
61
47
  StreamCollector as __StreamCollector,
62
48
  UrlParser as __UrlParser,
63
49
  UserAgent as __UserAgent,
64
50
  } from "@aws-sdk/types";
65
51
 
52
+ import {
53
+ BatchExecuteStatementCommandInput,
54
+ BatchExecuteStatementCommandOutput,
55
+ } from "./commands/BatchExecuteStatementCommand";
56
+ import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
57
+ import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
58
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
59
+ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
60
+ import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
61
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
62
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
63
+ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
64
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
65
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
66
+
66
67
  export type ServiceInputTypes =
67
68
  | BatchExecuteStatementCommandInput
68
69
  | CancelStatementCommandInput
@@ -244,13 +245,13 @@ export class RedshiftDataClient extends __Client<
244
245
  readonly config: RedshiftDataClientResolvedConfig;
245
246
 
246
247
  constructor(configuration: RedshiftDataClientConfig) {
247
- let _config_0 = __getRuntimeConfig(configuration);
248
- let _config_1 = resolveRegionConfig(_config_0);
249
- let _config_2 = resolveEndpointsConfig(_config_1);
250
- let _config_3 = resolveRetryConfig(_config_2);
251
- let _config_4 = resolveHostHeaderConfig(_config_3);
252
- let _config_5 = resolveAwsAuthConfig(_config_4);
253
- let _config_6 = resolveUserAgentConfig(_config_5);
248
+ const _config_0 = __getRuntimeConfig(configuration);
249
+ const _config_1 = resolveRegionConfig(_config_0);
250
+ const _config_2 = resolveEndpointsConfig(_config_1);
251
+ const _config_3 = resolveRetryConfig(_config_2);
252
+ const _config_4 = resolveHostHeaderConfig(_config_3);
253
+ const _config_5 = resolveAwsAuthConfig(_config_4);
254
+ const _config_6 = resolveUserAgentConfig(_config_5);
254
255
  super(_config_6);
255
256
  this.config = _config_6;
256
257
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -1,9 +1,3 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1BatchExecuteStatementCommand,
5
- serializeAws_json1_1BatchExecuteStatementCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
15
+ import {
16
+ deserializeAws_json1_1BatchExecuteStatementCommand,
17
+ serializeAws_json1_1BatchExecuteStatementCommand,
18
+ } from "../protocols/Aws_json1_1";
19
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
20
+
20
21
  export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {}
21
22
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {}
22
23