@aws-sdk/client-redshift-data 3.529.1 → 3.535.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 (33) hide show
  1. package/dist-types/RedshiftData.d.ts +2 -1
  2. package/dist-types/RedshiftDataClient.d.ts +1 -1
  3. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -1
  4. package/dist-types/commands/CancelStatementCommand.d.ts +2 -1
  5. package/dist-types/commands/DescribeStatementCommand.d.ts +2 -1
  6. package/dist-types/commands/DescribeTableCommand.d.ts +2 -1
  7. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -1
  8. package/dist-types/commands/GetStatementResultCommand.d.ts +3 -2
  9. package/dist-types/commands/ListDatabasesCommand.d.ts +2 -1
  10. package/dist-types/commands/ListSchemasCommand.d.ts +2 -1
  11. package/dist-types/commands/ListStatementsCommand.d.ts +2 -1
  12. package/dist-types/commands/ListTablesCommand.d.ts +2 -1
  13. package/dist-types/models/models_0.d.ts +178 -178
  14. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  15. package/dist-types/runtimeConfig.d.ts +2 -2
  16. package/dist-types/runtimeConfig.native.d.ts +2 -2
  17. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  18. package/dist-types/ts3.4/RedshiftData.d.ts +1 -0
  19. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +9 -0
  20. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +9 -0
  23. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +9 -0
  24. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +9 -0
  25. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  33. package/package.json +40 -40
@@ -62,6 +62,7 @@ export interface RedshiftData {
62
62
  /**
63
63
  * @see {@link ListStatementsCommand}
64
64
  */
65
+ listStatements(): Promise<ListStatementsCommandOutput>;
65
66
  listStatements(args: ListStatementsCommandInput, options?: __HttpHandlerOptions): Promise<ListStatementsCommandOutput>;
66
67
  listStatements(args: ListStatementsCommandInput, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
67
68
  listStatements(args: ListStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
@@ -73,12 +74,12 @@ export interface RedshiftData {
73
74
  listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
74
75
  }
75
76
  /**
76
- * @public
77
77
  * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
78
78
  * can run SQL statements, which are committed if the statement succeeds. </p>
79
79
  * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
80
80
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
81
81
  * <i>Amazon Redshift Management Guide</i>. </p>
82
+ * @public
82
83
  */
83
84
  export declare class RedshiftData extends RedshiftDataClient implements RedshiftData {
84
85
  }
@@ -161,12 +161,12 @@ export type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration
161
161
  export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientResolvedConfigType {
162
162
  }
163
163
  /**
164
- * @public
165
164
  * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
166
165
  * can run SQL statements, which are committed if the statement succeeds. </p>
167
166
  * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
168
167
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
169
168
  * <i>Amazon Redshift Management Guide</i>. </p>
169
+ * @public
170
170
  */
171
171
  export declare class RedshiftDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RedshiftDataClientResolvedConfig> {
172
172
  /**
@@ -22,10 +22,10 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
22
22
  }
23
23
  declare const BatchExecuteStatementCommand_base: {
24
24
  new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
30
30
  * language (DDL).
31
31
  * Depending on the authorization
@@ -114,6 +114,7 @@ declare const BatchExecuteStatementCommand_base: {
114
114
  * @throws {@link RedshiftDataServiceException}
115
115
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
116
116
  *
117
+ * @public
117
118
  */
118
119
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
119
120
  }
@@ -22,10 +22,10 @@ export interface CancelStatementCommandOutput extends CancelStatementResponse, _
22
22
  }
23
23
  declare const CancelStatementCommand_base: {
24
24
  new (input: CancelStatementCommandInput): import("@smithy/smithy-client").CommandImpl<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CancelStatementCommandInput): import("@smithy/smithy-client").CommandImpl<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Cancels a running query. To be canceled, a query must be running. </p>
30
30
  * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
31
31
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
@@ -68,6 +68,7 @@ declare const CancelStatementCommand_base: {
68
68
  * @throws {@link RedshiftDataServiceException}
69
69
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
70
70
  *
71
+ * @public
71
72
  */
72
73
  export declare class CancelStatementCommand extends CancelStatementCommand_base {
73
74
  }
@@ -22,10 +22,10 @@ export interface DescribeStatementCommandOutput extends DescribeStatementRespons
22
22
  }
23
23
  declare const DescribeStatementCommand_base: {
24
24
  new (input: DescribeStatementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeStatementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
30
30
  * includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
31
31
  * statement. </p>
@@ -104,6 +104,7 @@ declare const DescribeStatementCommand_base: {
104
104
  * @throws {@link RedshiftDataServiceException}
105
105
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
106
106
  *
107
+ * @public
107
108
  */
108
109
  export declare class DescribeStatementCommand extends DescribeStatementCommand_base {
109
110
  }
@@ -22,10 +22,10 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
22
22
  }
23
23
  declare const DescribeTableCommand_base: {
24
24
  new (input: DescribeTableCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeTableCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the detailed information about a table from metadata in the cluster. The
30
30
  * information includes its columns.
31
31
  * A token is returned to page through the column list.
@@ -126,6 +126,7 @@ declare const DescribeTableCommand_base: {
126
126
  * @throws {@link RedshiftDataServiceException}
127
127
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
128
128
  *
129
+ * @public
129
130
  */
130
131
  export declare class DescribeTableCommand extends DescribeTableCommand_base {
131
132
  }
@@ -22,10 +22,10 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
22
22
  }
23
23
  declare const ExecuteStatementCommand_base: {
24
24
  new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
30
30
  * language (DDL). This statement must be a single SQL statement.
31
31
  * Depending on the authorization
@@ -118,6 +118,7 @@ declare const ExecuteStatementCommand_base: {
118
118
  * @throws {@link RedshiftDataServiceException}
119
119
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
120
120
  *
121
+ * @public
121
122
  */
122
123
  export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base {
123
124
  }
@@ -22,10 +22,10 @@ export interface GetStatementResultCommandOutput extends GetStatementResultRespo
22
22
  }
23
23
  declare const GetStatementResultCommand_base: {
24
24
  new (input: GetStatementResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetStatementResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Fetches the temporarily cached result of an SQL statement.
30
30
  * A token is returned to page through the statement results. </p>
31
31
  * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
@@ -52,7 +52,7 @@ declare const GetStatementResultCommand_base: {
52
52
  * // longValue: Number("long"),
53
53
  * // doubleValue: Number("double"),
54
54
  * // stringValue: "STRING_VALUE",
55
- * // blobValue: "BLOB_VALUE",
55
+ * // blobValue: new Uint8Array(),
56
56
  * // },
57
57
  * // ],
58
58
  * // ],
@@ -97,6 +97,7 @@ declare const GetStatementResultCommand_base: {
97
97
  * @throws {@link RedshiftDataServiceException}
98
98
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
99
99
  *
100
+ * @public
100
101
  */
101
102
  export declare class GetStatementResultCommand extends GetStatementResultCommand_base {
102
103
  }
@@ -22,10 +22,10 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
22
22
  }
23
23
  declare const ListDatabasesCommand_base: {
24
24
  new (input: ListDatabasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListDatabasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>List the databases in a cluster.
30
30
  * A token is returned to page through the database list.
31
31
  * Depending on the authorization method, use one of the
@@ -107,6 +107,7 @@ declare const ListDatabasesCommand_base: {
107
107
  * @throws {@link RedshiftDataServiceException}
108
108
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
109
109
  *
110
+ * @public
110
111
  */
111
112
  export declare class ListDatabasesCommand extends ListDatabasesCommand_base {
112
113
  }
@@ -22,10 +22,10 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
22
22
  }
23
23
  declare const ListSchemasCommand_base: {
24
24
  new (input: ListSchemasCommandInput): import("@smithy/smithy-client").CommandImpl<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListSchemasCommandInput): import("@smithy/smithy-client").CommandImpl<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists the schemas in a database.
30
30
  * A token is returned to page through the schema list.
31
31
  * Depending on the authorization method, use one of the
@@ -109,6 +109,7 @@ declare const ListSchemasCommand_base: {
109
109
  * @throws {@link RedshiftDataServiceException}
110
110
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
111
111
  *
112
+ * @public
112
113
  */
113
114
  export declare class ListSchemasCommand extends ListSchemasCommand_base {
114
115
  }
@@ -22,10 +22,10 @@ export interface ListStatementsCommandOutput extends ListStatementsResponse, __M
22
22
  }
23
23
  declare const ListStatementsCommand_base: {
24
24
  new (input: ListStatementsCommandInput): import("@smithy/smithy-client").CommandImpl<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListStatementsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>List of SQL statements. By default, only finished statements are shown.
30
30
  * A token is returned to page through the statement list. </p>
31
31
  * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
@@ -88,6 +88,7 @@ declare const ListStatementsCommand_base: {
88
88
  * @throws {@link RedshiftDataServiceException}
89
89
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
90
90
  *
91
+ * @public
91
92
  */
92
93
  export declare class ListStatementsCommand extends ListStatementsCommand_base {
93
94
  }
@@ -22,10 +22,10 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
22
22
  }
23
23
  declare const ListTablesCommand_base: {
24
24
  new (input: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
30
30
  * all tables in the database are returned.
31
31
  * A token is returned to page through the table list.
@@ -115,6 +115,7 @@ declare const ListTablesCommand_base: {
115
115
  * @throws {@link RedshiftDataServiceException}
116
116
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
117
117
  *
118
+ * @public
118
119
  */
119
120
  export declare class ListTablesCommand extends ListTablesCommand_base {
120
121
  }