@aws-sdk/client-redshift-data 3.33.0 → 3.36.1

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 (228) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -9
  3. package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +8 -21
  4. package/dist-cjs/commands/BatchExecuteStatementCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +2 -29
  7. package/dist-cjs/commands/DescribeTableCommand.js +36 -0
  8. package/dist-cjs/commands/ExecuteStatementCommand.js +36 -0
  9. package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +2 -28
  10. package/dist-cjs/commands/ListDatabasesCommand.js +36 -0
  11. package/dist-cjs/commands/ListSchemasCommand.js +36 -0
  12. package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +2 -28
  13. package/dist-cjs/commands/ListTablesCommand.js +36 -0
  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 -97
  18. package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -12
  19. package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -12
  20. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  21. package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -12
  22. package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -12
  23. package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -12
  24. package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -12
  25. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  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 +0 -0
  83. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  84. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  85. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  86. package/dist-types/ts3.4/RedshiftData.d.ts +55 -0
  87. package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +32 -101
  88. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
  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/ts3.4/models/models_0.d.ts +613 -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 -3
  111. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  112. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  113. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  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 +0 -75
  130. package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
  131. package/dist/cjs/commands/CancelStatementCommand.js.map +0 -1
  132. package/dist/cjs/commands/DescribeStatementCommand.js.map +0 -1
  133. package/dist/cjs/commands/DescribeTableCommand.js +0 -76
  134. package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
  135. package/dist/cjs/commands/ExecuteStatementCommand.js +0 -75
  136. package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
  137. package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
  138. package/dist/cjs/commands/ListDatabasesCommand.js +0 -75
  139. package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
  140. package/dist/cjs/commands/ListSchemasCommand.js +0 -75
  141. package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
  142. package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
  143. package/dist/cjs/commands/ListTablesCommand.js +0 -76
  144. package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
  145. package/dist/cjs/endpoints.js.map +0 -1
  146. package/dist/cjs/index.js.map +0 -1
  147. package/dist/cjs/models/index.js.map +0 -1
  148. package/dist/cjs/models/models_0.js.map +0 -1
  149. package/dist/cjs/package.json +0 -91
  150. package/dist/cjs/pagination/DescribeTablePaginator.js.map +0 -1
  151. package/dist/cjs/pagination/GetStatementResultPaginator.js.map +0 -1
  152. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  153. package/dist/cjs/pagination/ListDatabasesPaginator.js.map +0 -1
  154. package/dist/cjs/pagination/ListSchemasPaginator.js.map +0 -1
  155. package/dist/cjs/pagination/ListStatementsPaginator.js.map +0 -1
  156. package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
  157. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  158. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  159. package/dist/cjs/runtimeConfig.js.map +0 -1
  160. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  161. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  162. package/dist/es/RedshiftData.js.map +0 -1
  163. package/dist/es/RedshiftDataClient.js.map +0 -1
  164. package/dist/es/commands/BatchExecuteStatementCommand.js +0 -79
  165. package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
  166. package/dist/es/commands/CancelStatementCommand.js.map +0 -1
  167. package/dist/es/commands/DescribeStatementCommand.js.map +0 -1
  168. package/dist/es/commands/DescribeTableCommand.js +0 -80
  169. package/dist/es/commands/DescribeTableCommand.js.map +0 -1
  170. package/dist/es/commands/ExecuteStatementCommand.js +0 -79
  171. package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
  172. package/dist/es/commands/GetStatementResultCommand.js.map +0 -1
  173. package/dist/es/commands/ListDatabasesCommand.js +0 -79
  174. package/dist/es/commands/ListDatabasesCommand.js.map +0 -1
  175. package/dist/es/commands/ListSchemasCommand.js +0 -79
  176. package/dist/es/commands/ListSchemasCommand.js.map +0 -1
  177. package/dist/es/commands/ListStatementsCommand.js.map +0 -1
  178. package/dist/es/commands/ListTablesCommand.js +0 -80
  179. package/dist/es/commands/ListTablesCommand.js.map +0 -1
  180. package/dist/es/endpoints.js.map +0 -1
  181. package/dist/es/index.js +0 -21
  182. package/dist/es/index.js.map +0 -1
  183. package/dist/es/models/index.js +0 -2
  184. package/dist/es/models/index.js.map +0 -1
  185. package/dist/es/models/models_0.js.map +0 -1
  186. package/dist/es/package.json +0 -91
  187. package/dist/es/pagination/DescribeTablePaginator.js.map +0 -1
  188. package/dist/es/pagination/GetStatementResultPaginator.js.map +0 -1
  189. package/dist/es/pagination/Interfaces.js +0 -2
  190. package/dist/es/pagination/Interfaces.js.map +0 -1
  191. package/dist/es/pagination/ListDatabasesPaginator.js.map +0 -1
  192. package/dist/es/pagination/ListSchemasPaginator.js.map +0 -1
  193. package/dist/es/pagination/ListStatementsPaginator.js.map +0 -1
  194. package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
  195. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  196. package/dist/es/runtimeConfig.browser.js.map +0 -1
  197. package/dist/es/runtimeConfig.js.map +0 -1
  198. package/dist/es/runtimeConfig.native.js.map +0 -1
  199. package/dist/es/runtimeConfig.shared.js.map +0 -1
  200. package/dist/types/ts3.4/RedshiftData.d.ts +0 -171
  201. package/dist/types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +0 -49
  202. package/dist/types/ts3.4/commands/CancelStatementCommand.d.ts +0 -35
  203. package/dist/types/ts3.4/commands/DescribeStatementCommand.d.ts +0 -37
  204. package/dist/types/ts3.4/commands/DescribeTableCommand.d.ts +0 -50
  205. package/dist/types/ts3.4/commands/ExecuteStatementCommand.d.ts +0 -49
  206. package/dist/types/ts3.4/commands/GetStatementResultCommand.d.ts +0 -36
  207. package/dist/types/ts3.4/commands/ListDatabasesCommand.d.ts +0 -49
  208. package/dist/types/ts3.4/commands/ListSchemasCommand.d.ts +0 -49
  209. package/dist/types/ts3.4/commands/ListStatementsCommand.d.ts +0 -36
  210. package/dist/types/ts3.4/commands/ListTablesCommand.d.ts +0 -50
  211. package/dist/types/ts3.4/models/models_0.d.ts +0 -1103
  212. package/endpoints.ts +0 -57
  213. package/jest.config.js +0 -4
  214. package/models/models_0.ts +0 -1379
  215. package/pagination/DescribeTablePaginator.ts +0 -58
  216. package/pagination/GetStatementResultPaginator.ts +0 -57
  217. package/pagination/Interfaces.ts +0 -7
  218. package/pagination/ListDatabasesPaginator.ts +0 -58
  219. package/pagination/ListSchemasPaginator.ts +0 -54
  220. package/pagination/ListStatementsPaginator.ts +0 -58
  221. package/pagination/ListTablesPaginator.ts +0 -54
  222. package/protocols/Aws_json1_1.ts +0 -1614
  223. package/runtimeConfig.browser.ts +0 -40
  224. package/runtimeConfig.native.ts +0 -16
  225. package/runtimeConfig.shared.ts +0 -16
  226. package/runtimeConfig.ts +0 -45
  227. package/tsconfig.es.json +0 -12
  228. package/tsconfig.json +0 -32
@@ -1,171 +0,0 @@
1
- import { RedshiftDataClient } from "./RedshiftDataClient";
2
- import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
3
- import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
4
- import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
5
- import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
6
- import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
7
- import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
8
- import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
9
- import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
10
- import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
11
- import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
12
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
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
- export declare class RedshiftData extends RedshiftDataClient {
21
- /**
22
- * <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
23
- * language (DDL).
24
- * Depending on the authorization
25
- * method, use one of the following combinations of request parameters: </p>
26
- * <ul>
27
- * <li>
28
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
29
- * cluster identifier that matches the cluster in the secret. </p>
30
- * </li>
31
- * <li>
32
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
33
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
34
- * operation is required to use this method. </p>
35
- * </li>
36
- * </ul>
37
- */
38
- batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
39
- batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
40
- batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
41
- /**
42
- * <p>Cancels a running query. To be canceled, a query must be running. </p>
43
- */
44
- cancelStatement(args: CancelStatementCommandInput, options?: __HttpHandlerOptions): Promise<CancelStatementCommandOutput>;
45
- cancelStatement(args: CancelStatementCommandInput, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
46
- cancelStatement(args: CancelStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
47
- /**
48
- * <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
49
- * includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
50
- * statement. </p>
51
- */
52
- describeStatement(args: DescribeStatementCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStatementCommandOutput>;
53
- describeStatement(args: DescribeStatementCommandInput, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
54
- describeStatement(args: DescribeStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
55
- /**
56
- * <p>Describes the detailed information about a table from metadata in the cluster. The
57
- * information includes its columns.
58
- * A token is returned to page through the column list.
59
- * Depending on the authorization method, use one of the
60
- * following combinations of request parameters: </p>
61
- * <ul>
62
- * <li>
63
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
64
- * cluster identifier that matches the cluster in the secret. </p>
65
- * </li>
66
- * <li>
67
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the database
68
- * user name. Permission to call the <code>redshift:GetClusterCredentials</code> operation is
69
- * required to use this method. </p>
70
- * </li>
71
- * </ul>
72
- */
73
- describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
74
- describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
75
- describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
76
- /**
77
- * <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
78
- * language (DDL). This statement must be a single SQL statement.
79
- * Depending on the authorization
80
- * method, use one of the following combinations of request parameters: </p>
81
- * <ul>
82
- * <li>
83
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
84
- * cluster identifier that matches the cluster in the secret. </p>
85
- * </li>
86
- * <li>
87
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
88
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
89
- * operation is required to use this method. </p>
90
- * </li>
91
- * </ul>
92
- */
93
- executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
94
- executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
95
- executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
96
- /**
97
- * <p>Fetches the temporarily cached result of an SQL statement.
98
- * A token is returned to page through the statement results. </p>
99
- */
100
- getStatementResult(args: GetStatementResultCommandInput, options?: __HttpHandlerOptions): Promise<GetStatementResultCommandOutput>;
101
- getStatementResult(args: GetStatementResultCommandInput, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
102
- getStatementResult(args: GetStatementResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
103
- /**
104
- * <p>List the databases in a cluster.
105
- * A token is returned to page through the database list.
106
- * Depending on the authorization method, use one of the
107
- * following combinations of request parameters: </p>
108
- * <ul>
109
- * <li>
110
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
111
- * cluster identifier that matches the cluster in the secret. </p>
112
- * </li>
113
- * <li>
114
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
115
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
116
- * operation is required to use this method. </p>
117
- * </li>
118
- * </ul>
119
- */
120
- listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
121
- listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
122
- listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
123
- /**
124
- * <p>Lists the schemas in a database.
125
- * A token is returned to page through the schema list.
126
- * Depending on the authorization method, use one of the
127
- * following combinations of request parameters: </p>
128
- * <ul>
129
- * <li>
130
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
131
- * cluster identifier that matches the cluster in the secret. </p>
132
- * </li>
133
- * <li>
134
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
135
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
136
- * operation is required to use this method. </p>
137
- * </li>
138
- * </ul>
139
- */
140
- listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
141
- listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
142
- listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
143
- /**
144
- * <p>List of SQL statements. By default, only finished statements are shown.
145
- * A token is returned to page through the statement list. </p>
146
- */
147
- listStatements(args: ListStatementsCommandInput, options?: __HttpHandlerOptions): Promise<ListStatementsCommandOutput>;
148
- listStatements(args: ListStatementsCommandInput, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
149
- listStatements(args: ListStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
150
- /**
151
- * <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
152
- * all tables in the database are returned.
153
- * A token is returned to page through the table list.
154
- * Depending on the authorization method, use one of the
155
- * following combinations of request parameters: </p>
156
- * <ul>
157
- * <li>
158
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
159
- * cluster identifier that matches the cluster in the secret. </p>
160
- * </li>
161
- * <li>
162
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
163
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
164
- * operation is required to use this method. </p>
165
- * </li>
166
- * </ul>
167
- */
168
- listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
169
- listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
170
- listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
171
- }
@@ -1,49 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
6
- }
7
- export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
11
- * language (DDL).
12
- * Depending on the authorization
13
- * method, use one of the following combinations of request parameters: </p>
14
- * <ul>
15
- * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
18
- * </li>
19
- * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { RedshiftDataClient, BatchExecuteStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
29
- * // const { RedshiftDataClient, BatchExecuteStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
30
- * const client = new RedshiftDataClient(config);
31
- * const command = new BatchExecuteStatementCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link BatchExecuteStatementCommandInput} for command's `input` shape.
36
- * @see {@link BatchExecuteStatementCommandOutput} for command's `response` shape.
37
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
41
- readonly input: BatchExecuteStatementCommandInput;
42
- constructor(input: BatchExecuteStatementCommandInput);
43
- /**
44
- * @internal
45
- */
46
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
47
- private serialize;
48
- private deserialize;
49
- }
@@ -1,35 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface CancelStatementCommandInput extends CancelStatementRequest {
6
- }
7
- export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Cancels a running query. To be canceled, a query must be running. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { RedshiftDataClient, CancelStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
15
- * // const { RedshiftDataClient, CancelStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
16
- * const client = new RedshiftDataClient(config);
17
- * const command = new CancelStatementCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CancelStatementCommandInput} for command's `input` shape.
22
- * @see {@link CancelStatementCommandOutput} for command's `response` shape.
23
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- export declare class CancelStatementCommand extends $Command<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig> {
27
- readonly input: CancelStatementCommandInput;
28
- constructor(input: CancelStatementCommandInput);
29
- /**
30
- * @internal
31
- */
32
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
@@ -1,37 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DescribeStatementCommandInput extends DescribeStatementRequest {
6
- }
7
- export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
11
- * includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
12
- * statement. </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { RedshiftDataClient, DescribeStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
17
- * // const { RedshiftDataClient, DescribeStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
18
- * const client = new RedshiftDataClient(config);
19
- * const command = new DescribeStatementCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeStatementCommandInput} for command's `input` shape.
24
- * @see {@link DescribeStatementCommandOutput} for command's `response` shape.
25
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
- export declare class DescribeStatementCommand extends $Command<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig> {
29
- readonly input: DescribeStatementCommandInput;
30
- constructor(input: DescribeStatementCommandInput);
31
- /**
32
- * @internal
33
- */
34
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStatementCommandInput, DescribeStatementCommandOutput>;
35
- private serialize;
36
- private deserialize;
37
- }
@@ -1,50 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DescribeTableCommandInput extends DescribeTableRequest {
6
- }
7
- export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Describes the detailed information about a table from metadata in the cluster. The
11
- * information includes its columns.
12
- * A token is returned to page through the column list.
13
- * Depending on the authorization method, use one of the
14
- * following combinations of request parameters: </p>
15
- * <ul>
16
- * <li>
17
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
18
- * cluster identifier that matches the cluster in the secret. </p>
19
- * </li>
20
- * <li>
21
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the database
22
- * user name. Permission to call the <code>redshift:GetClusterCredentials</code> operation is
23
- * required to use this method. </p>
24
- * </li>
25
- * </ul>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { RedshiftDataClient, DescribeTableCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
30
- * // const { RedshiftDataClient, DescribeTableCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
31
- * const client = new RedshiftDataClient(config);
32
- * const command = new DescribeTableCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeTableCommandInput} for command's `input` shape.
37
- * @see {@link DescribeTableCommandOutput} for command's `response` shape.
38
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig> {
42
- readonly input: DescribeTableCommandInput;
43
- constructor(input: DescribeTableCommandInput);
44
- /**
45
- * @internal
46
- */
47
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
48
- private serialize;
49
- private deserialize;
50
- }
@@ -1,49 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
6
- }
7
- export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
11
- * language (DDL). This statement must be a single SQL statement.
12
- * Depending on the authorization
13
- * method, use one of the following combinations of request parameters: </p>
14
- * <ul>
15
- * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
18
- * </li>
19
- * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { RedshiftDataClient, ExecuteStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
29
- * // const { RedshiftDataClient, ExecuteStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
30
- * const client = new RedshiftDataClient(config);
31
- * const command = new ExecuteStatementCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ExecuteStatementCommandInput} for command's `input` shape.
36
- * @see {@link ExecuteStatementCommandOutput} for command's `response` shape.
37
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
41
- readonly input: ExecuteStatementCommandInput;
42
- constructor(input: ExecuteStatementCommandInput);
43
- /**
44
- * @internal
45
- */
46
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
47
- private serialize;
48
- private deserialize;
49
- }
@@ -1,36 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface GetStatementResultCommandInput extends GetStatementResultRequest {
6
- }
7
- export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Fetches the temporarily cached result of an SQL statement.
11
- * A token is returned to page through the statement results. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { RedshiftDataClient, GetStatementResultCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
16
- * // const { RedshiftDataClient, GetStatementResultCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
17
- * const client = new RedshiftDataClient(config);
18
- * const command = new GetStatementResultCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetStatementResultCommandInput} for command's `input` shape.
23
- * @see {@link GetStatementResultCommandOutput} for command's `response` shape.
24
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- export declare class GetStatementResultCommand extends $Command<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig> {
28
- readonly input: GetStatementResultCommandInput;
29
- constructor(input: GetStatementResultCommandInput);
30
- /**
31
- * @internal
32
- */
33
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStatementResultCommandInput, GetStatementResultCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
@@ -1,49 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ListDatabasesCommandInput extends ListDatabasesRequest {
6
- }
7
- export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>List the databases in a cluster.
11
- * A token is returned to page through the database list.
12
- * Depending on the authorization method, use one of the
13
- * following combinations of request parameters: </p>
14
- * <ul>
15
- * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
18
- * </li>
19
- * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { RedshiftDataClient, ListDatabasesCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
29
- * // const { RedshiftDataClient, ListDatabasesCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
30
- * const client = new RedshiftDataClient(config);
31
- * const command = new ListDatabasesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListDatabasesCommandInput} for command's `input` shape.
36
- * @see {@link ListDatabasesCommandOutput} for command's `response` shape.
37
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig> {
41
- readonly input: ListDatabasesCommandInput;
42
- constructor(input: ListDatabasesCommandInput);
43
- /**
44
- * @internal
45
- */
46
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
47
- private serialize;
48
- private deserialize;
49
- }
@@ -1,49 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ListSchemasCommandInput extends ListSchemasRequest {
6
- }
7
- export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Lists the schemas in a database.
11
- * A token is returned to page through the schema list.
12
- * Depending on the authorization method, use one of the
13
- * following combinations of request parameters: </p>
14
- * <ul>
15
- * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
18
- * </li>
19
- * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { RedshiftDataClient, ListSchemasCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
29
- * // const { RedshiftDataClient, ListSchemasCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
30
- * const client = new RedshiftDataClient(config);
31
- * const command = new ListSchemasCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListSchemasCommandInput} for command's `input` shape.
36
- * @see {@link ListSchemasCommandOutput} for command's `response` shape.
37
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig> {
41
- readonly input: ListSchemasCommandInput;
42
- constructor(input: ListSchemasCommandInput);
43
- /**
44
- * @internal
45
- */
46
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchemasCommandInput, ListSchemasCommandOutput>;
47
- private serialize;
48
- private deserialize;
49
- }
@@ -1,36 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ListStatementsCommandInput extends ListStatementsRequest {
6
- }
7
- export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>List of SQL statements. By default, only finished statements are shown.
11
- * A token is returned to page through the statement list. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { RedshiftDataClient, ListStatementsCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
16
- * // const { RedshiftDataClient, ListStatementsCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
17
- * const client = new RedshiftDataClient(config);
18
- * const command = new ListStatementsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListStatementsCommandInput} for command's `input` shape.
23
- * @see {@link ListStatementsCommandOutput} for command's `response` shape.
24
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- export declare class ListStatementsCommand extends $Command<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig> {
28
- readonly input: ListStatementsCommandInput;
29
- constructor(input: ListStatementsCommandInput);
30
- /**
31
- * @internal
32
- */
33
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStatementsCommandInput, ListStatementsCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
@@ -1,50 +0,0 @@
1
- import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
2
- import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ListTablesCommandInput extends ListTablesRequest {
6
- }
7
- export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
8
- }
9
- /**
10
- * <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
11
- * all tables in the database are returned.
12
- * A token is returned to page through the table list.
13
- * Depending on the authorization method, use one of the
14
- * following combinations of request parameters: </p>
15
- * <ul>
16
- * <li>
17
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
18
- * cluster identifier that matches the cluster in the secret. </p>
19
- * </li>
20
- * <li>
21
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
22
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
23
- * operation is required to use this method. </p>
24
- * </li>
25
- * </ul>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { RedshiftDataClient, ListTablesCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
30
- * // const { RedshiftDataClient, ListTablesCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
31
- * const client = new RedshiftDataClient(config);
32
- * const command = new ListTablesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTablesCommandInput} for command's `input` shape.
37
- * @see {@link ListTablesCommandOutput} for command's `response` shape.
38
- * @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig> {
42
- readonly input: ListTablesCommandInput;
43
- constructor(input: ListTablesCommandInput);
44
- /**
45
- * @internal
46
- */
47
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
48
- private serialize;
49
- private deserialize;
50
- }