@aws-sdk/client-redshift-data 3.35.0 → 3.38.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 (173) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/RedshiftData.js +0 -8
  3. package/dist-cjs/RedshiftDataClient.js +0 -13
  4. package/dist-cjs/commands/BatchExecuteStatementCommand.js +0 -39
  5. package/dist-cjs/commands/CancelStatementCommand.js +0 -25
  6. package/dist-cjs/commands/DescribeStatementCommand.js +0 -27
  7. package/dist-cjs/commands/DescribeTableCommand.js +0 -40
  8. package/dist-cjs/commands/ExecuteStatementCommand.js +0 -39
  9. package/dist-cjs/commands/GetStatementResultCommand.js +0 -26
  10. package/dist-cjs/commands/ListDatabasesCommand.js +0 -39
  11. package/dist-cjs/commands/ListSchemasCommand.js +0 -39
  12. package/dist-cjs/commands/ListStatementsCommand.js +0 -26
  13. package/dist-cjs/commands/ListTablesCommand.js +0 -40
  14. package/dist-cjs/commands/index.js +13 -0
  15. package/dist-cjs/endpoints.js +1 -2
  16. package/dist-cjs/index.js +4 -20
  17. package/dist-cjs/models/index.js +0 -1
  18. package/dist-cjs/models/models_0.js +0 -97
  19. package/dist-cjs/pagination/DescribeTablePaginator.js +0 -11
  20. package/dist-cjs/pagination/GetStatementResultPaginator.js +0 -11
  21. package/dist-cjs/pagination/Interfaces.js +0 -1
  22. package/dist-cjs/pagination/ListDatabasesPaginator.js +0 -11
  23. package/dist-cjs/pagination/ListSchemasPaginator.js +0 -11
  24. package/dist-cjs/pagination/ListStatementsPaginator.js +0 -11
  25. package/dist-cjs/pagination/ListTablesPaginator.js +0 -11
  26. package/dist-cjs/pagination/index.js +10 -0
  27. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  28. package/dist-cjs/runtimeConfig.browser.js +1 -6
  29. package/dist-cjs/runtimeConfig.js +2 -7
  30. package/dist-cjs/runtimeConfig.native.js +0 -4
  31. package/dist-cjs/runtimeConfig.shared.js +0 -4
  32. package/dist-es/RedshiftData.js +0 -1
  33. package/dist-es/RedshiftDataClient.js +0 -1
  34. package/dist-es/commands/BatchExecuteStatementCommand.js +0 -1
  35. package/dist-es/commands/CancelStatementCommand.js +0 -1
  36. package/dist-es/commands/DescribeStatementCommand.js +0 -1
  37. package/dist-es/commands/DescribeTableCommand.js +0 -1
  38. package/dist-es/commands/ExecuteStatementCommand.js +0 -1
  39. package/dist-es/commands/GetStatementResultCommand.js +0 -1
  40. package/dist-es/commands/ListDatabasesCommand.js +0 -1
  41. package/dist-es/commands/ListSchemasCommand.js +0 -1
  42. package/dist-es/commands/ListStatementsCommand.js +0 -1
  43. package/dist-es/commands/ListTablesCommand.js +0 -1
  44. package/dist-es/commands/index.js +10 -0
  45. package/dist-es/endpoints.js +1 -2
  46. package/dist-es/index.js +4 -20
  47. package/dist-es/models/index.js +0 -1
  48. package/dist-es/models/models_0.js +0 -1
  49. package/dist-es/pagination/DescribeTablePaginator.js +0 -1
  50. package/dist-es/pagination/GetStatementResultPaginator.js +0 -1
  51. package/dist-es/pagination/Interfaces.js +0 -1
  52. package/dist-es/pagination/ListDatabasesPaginator.js +0 -1
  53. package/dist-es/pagination/ListSchemasPaginator.js +0 -1
  54. package/dist-es/pagination/ListStatementsPaginator.js +0 -1
  55. package/dist-es/pagination/ListTablesPaginator.js +0 -1
  56. package/dist-es/pagination/index.js +7 -0
  57. package/dist-es/protocols/Aws_json1_1.js +0 -1
  58. package/dist-es/runtimeConfig.browser.js +1 -2
  59. package/dist-es/runtimeConfig.js +2 -3
  60. package/dist-es/runtimeConfig.native.js +0 -1
  61. package/dist-es/runtimeConfig.shared.js +0 -1
  62. package/dist-types/commands/index.d.ts +10 -0
  63. package/dist-types/index.d.ts +4 -19
  64. package/dist-types/pagination/index.d.ts +7 -0
  65. package/dist-types/ts3.4/RedshiftData.d.ts +11 -127
  66. package/dist-types/ts3.4/RedshiftDataClient.d.ts +24 -93
  67. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -34
  68. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +2 -22
  70. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -35
  71. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -34
  72. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +2 -21
  73. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -34
  74. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -34
  75. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +2 -21
  76. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -35
  77. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  78. package/dist-types/ts3.4/index.d.ts +4 -19
  79. package/dist-types/ts3.4/models/models_0.d.ts +198 -688
  80. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  84. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  85. package/package.json +33 -30
  86. package/dist-cjs/RedshiftData.js.map +0 -1
  87. package/dist-cjs/RedshiftDataClient.js.map +0 -1
  88. package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
  89. package/dist-cjs/commands/CancelStatementCommand.js.map +0 -1
  90. package/dist-cjs/commands/DescribeStatementCommand.js.map +0 -1
  91. package/dist-cjs/commands/DescribeTableCommand.js.map +0 -1
  92. package/dist-cjs/commands/ExecuteStatementCommand.js.map +0 -1
  93. package/dist-cjs/commands/GetStatementResultCommand.js.map +0 -1
  94. package/dist-cjs/commands/ListDatabasesCommand.js.map +0 -1
  95. package/dist-cjs/commands/ListSchemasCommand.js.map +0 -1
  96. package/dist-cjs/commands/ListStatementsCommand.js.map +0 -1
  97. package/dist-cjs/commands/ListTablesCommand.js.map +0 -1
  98. package/dist-cjs/endpoints.js.map +0 -1
  99. package/dist-cjs/index.js.map +0 -1
  100. package/dist-cjs/models/index.js.map +0 -1
  101. package/dist-cjs/models/models_0.js.map +0 -1
  102. package/dist-cjs/pagination/DescribeTablePaginator.js.map +0 -1
  103. package/dist-cjs/pagination/GetStatementResultPaginator.js.map +0 -1
  104. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  105. package/dist-cjs/pagination/ListDatabasesPaginator.js.map +0 -1
  106. package/dist-cjs/pagination/ListSchemasPaginator.js.map +0 -1
  107. package/dist-cjs/pagination/ListStatementsPaginator.js.map +0 -1
  108. package/dist-cjs/pagination/ListTablesPaginator.js.map +0 -1
  109. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  110. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  111. package/dist-cjs/runtimeConfig.js.map +0 -1
  112. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  113. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  114. package/dist-es/RedshiftData.js.map +0 -1
  115. package/dist-es/RedshiftDataClient.js.map +0 -1
  116. package/dist-es/commands/BatchExecuteStatementCommand.js.map +0 -1
  117. package/dist-es/commands/CancelStatementCommand.js.map +0 -1
  118. package/dist-es/commands/DescribeStatementCommand.js.map +0 -1
  119. package/dist-es/commands/DescribeTableCommand.js.map +0 -1
  120. package/dist-es/commands/ExecuteStatementCommand.js.map +0 -1
  121. package/dist-es/commands/GetStatementResultCommand.js.map +0 -1
  122. package/dist-es/commands/ListDatabasesCommand.js.map +0 -1
  123. package/dist-es/commands/ListSchemasCommand.js.map +0 -1
  124. package/dist-es/commands/ListStatementsCommand.js.map +0 -1
  125. package/dist-es/commands/ListTablesCommand.js.map +0 -1
  126. package/dist-es/endpoints.js.map +0 -1
  127. package/dist-es/index.js.map +0 -1
  128. package/dist-es/models/index.js.map +0 -1
  129. package/dist-es/models/models_0.js.map +0 -1
  130. package/dist-es/pagination/DescribeTablePaginator.js.map +0 -1
  131. package/dist-es/pagination/GetStatementResultPaginator.js.map +0 -1
  132. package/dist-es/pagination/Interfaces.js.map +0 -1
  133. package/dist-es/pagination/ListDatabasesPaginator.js.map +0 -1
  134. package/dist-es/pagination/ListSchemasPaginator.js.map +0 -1
  135. package/dist-es/pagination/ListStatementsPaginator.js.map +0 -1
  136. package/dist-es/pagination/ListTablesPaginator.js.map +0 -1
  137. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  138. package/dist-es/runtimeConfig.browser.js.map +0 -1
  139. package/dist-es/runtimeConfig.js.map +0 -1
  140. package/dist-es/runtimeConfig.native.js.map +0 -1
  141. package/dist-es/runtimeConfig.shared.js.map +0 -1
  142. package/jest.config.js +0 -4
  143. package/src/RedshiftData.ts +0 -452
  144. package/src/RedshiftDataClient.ts +0 -273
  145. package/src/commands/BatchExecuteStatementCommand.ts +0 -109
  146. package/src/commands/CancelStatementCommand.ts +0 -95
  147. package/src/commands/DescribeStatementCommand.ts +0 -97
  148. package/src/commands/DescribeTableCommand.ts +0 -110
  149. package/src/commands/ExecuteStatementCommand.ts +0 -109
  150. package/src/commands/GetStatementResultCommand.ts +0 -96
  151. package/src/commands/ListDatabasesCommand.ts +0 -109
  152. package/src/commands/ListSchemasCommand.ts +0 -109
  153. package/src/commands/ListStatementsCommand.ts +0 -96
  154. package/src/commands/ListTablesCommand.ts +0 -110
  155. package/src/endpoints.ts +0 -57
  156. package/src/index.ts +0 -20
  157. package/src/models/index.ts +0 -1
  158. package/src/models/models_0.ts +0 -1379
  159. package/src/pagination/DescribeTablePaginator.ts +0 -59
  160. package/src/pagination/GetStatementResultPaginator.ts +0 -58
  161. package/src/pagination/Interfaces.ts +0 -8
  162. package/src/pagination/ListDatabasesPaginator.ts +0 -59
  163. package/src/pagination/ListSchemasPaginator.ts +0 -55
  164. package/src/pagination/ListStatementsPaginator.ts +0 -59
  165. package/src/pagination/ListTablesPaginator.ts +0 -55
  166. package/src/protocols/Aws_json1_1.ts +0 -1615
  167. package/src/runtimeConfig.browser.ts +0 -41
  168. package/src/runtimeConfig.native.ts +0 -17
  169. package/src/runtimeConfig.shared.ts +0 -17
  170. package/src/runtimeConfig.ts +0 -46
  171. package/tsconfig.es.json +0 -10
  172. package/tsconfig.json +0 -33
  173. package/tsconfig.types.json +0 -9
@@ -6,43 +6,11 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement
6
6
  }
7
7
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
8
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
- */
9
+
40
10
  export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
41
11
  readonly input: BatchExecuteStatementCommandInput;
42
12
  constructor(input: BatchExecuteStatementCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CancelStatementCommandInput extends CancelStatementRequest {
6
6
  }
7
7
  export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
8
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
- */
9
+
26
10
  export declare class CancelStatementCommand extends $Command<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig> {
27
11
  readonly input: CancelStatementCommandInput;
28
12
  constructor(input: CancelStatementCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeStatementCommandInput extends DescribeStatementRequest
6
6
  }
7
7
  export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
8
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
- */
9
+
28
10
  export declare class DescribeStatementCommand extends $Command<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig> {
29
11
  readonly input: DescribeStatementCommandInput;
30
12
  constructor(input: DescribeStatementCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStatementCommandInput, DescribeStatementCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,44 +6,11 @@ export interface DescribeTableCommandInput extends DescribeTableRequest {
6
6
  }
7
7
  export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
8
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
- */
9
+
41
10
  export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig> {
42
11
  readonly input: DescribeTableCommandInput;
43
12
  constructor(input: DescribeTableCommandInput);
44
- /**
45
- * @internal
46
- */
13
+
47
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
48
15
  private serialize;
49
16
  private deserialize;
@@ -6,43 +6,11 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
6
6
  }
7
7
  export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
8
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
- */
9
+
40
10
  export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
41
11
  readonly input: ExecuteStatementCommandInput;
42
12
  constructor(input: ExecuteStatementCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface GetStatementResultCommandInput extends GetStatementResultReques
6
6
  }
7
7
  export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
8
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
- */
9
+
27
10
  export declare class GetStatementResultCommand extends $Command<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig> {
28
11
  readonly input: GetStatementResultCommandInput;
29
12
  constructor(input: GetStatementResultCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStatementResultCommandInput, GetStatementResultCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,43 +6,11 @@ export interface ListDatabasesCommandInput extends ListDatabasesRequest {
6
6
  }
7
7
  export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
8
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
- */
9
+
40
10
  export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig> {
41
11
  readonly input: ListDatabasesCommandInput;
42
12
  constructor(input: ListDatabasesCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,43 +6,11 @@ export interface ListSchemasCommandInput extends ListSchemasRequest {
6
6
  }
7
7
  export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
8
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
- */
9
+
40
10
  export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig> {
41
11
  readonly input: ListSchemasCommandInput;
42
12
  constructor(input: ListSchemasCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchemasCommandInput, ListSchemasCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface ListStatementsCommandInput extends ListStatementsRequest {
6
6
  }
7
7
  export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
8
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
- */
9
+
27
10
  export declare class ListStatementsCommand extends $Command<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig> {
28
11
  readonly input: ListStatementsCommandInput;
29
12
  constructor(input: ListStatementsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStatementsCommandInput, ListStatementsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,44 +6,11 @@ export interface ListTablesCommandInput extends ListTablesRequest {
6
6
  }
7
7
  export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
8
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
- */
9
+
41
10
  export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig> {
42
11
  readonly input: ListTablesCommandInput;
43
12
  constructor(input: ListTablesCommandInput);
44
- /**
45
- * @internal
46
- */
13
+
47
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
48
15
  private serialize;
49
16
  private deserialize;
@@ -0,0 +1,10 @@
1
+ export * from "./BatchExecuteStatementCommand";
2
+ export * from "./CancelStatementCommand";
3
+ export * from "./DescribeStatementCommand";
4
+ export * from "./DescribeTableCommand";
5
+ export * from "./ExecuteStatementCommand";
6
+ export * from "./GetStatementResultCommand";
7
+ export * from "./ListDatabasesCommand";
8
+ export * from "./ListSchemasCommand";
9
+ export * from "./ListStatementsCommand";
10
+ export * from "./ListTablesCommand";
@@ -1,20 +1,5 @@
1
- export * from "./RedshiftDataClient";
2
1
  export * from "./RedshiftData";
3
- export * from "./commands/BatchExecuteStatementCommand";
4
- export * from "./commands/CancelStatementCommand";
5
- export * from "./commands/DescribeStatementCommand";
6
- export * from "./commands/DescribeTableCommand";
7
- export * from "./pagination/DescribeTablePaginator";
8
- export * from "./commands/ExecuteStatementCommand";
9
- export * from "./commands/GetStatementResultCommand";
10
- export * from "./pagination/GetStatementResultPaginator";
11
- export * from "./commands/ListDatabasesCommand";
12
- export * from "./pagination/ListDatabasesPaginator";
13
- export * from "./commands/ListSchemasCommand";
14
- export * from "./pagination/ListSchemasPaginator";
15
- export * from "./commands/ListStatementsCommand";
16
- export * from "./pagination/ListStatementsPaginator";
17
- export * from "./commands/ListTablesCommand";
18
- export * from "./pagination/ListTablesPaginator";
19
- export * from "./pagination/Interfaces";
20
- export * from "./models/index";
2
+ export * from "./RedshiftDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";