@aws-sdk/client-redshift-data 3.296.0 → 3.298.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.
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +2 -3
- package/dist-cjs/commands/CancelStatementCommand.js +2 -3
- package/dist-cjs/commands/DescribeStatementCommand.js +2 -3
- package/dist-cjs/commands/DescribeTableCommand.js +2 -3
- package/dist-cjs/commands/ExecuteStatementCommand.js +2 -3
- package/dist-cjs/commands/GetStatementResultCommand.js +2 -3
- package/dist-cjs/commands/ListDatabasesCommand.js +2 -3
- package/dist-cjs/commands/ListSchemasCommand.js +2 -3
- package/dist-cjs/commands/ListStatementsCommand.js +2 -3
- package/dist-cjs/commands/ListTablesCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -119
- package/dist-es/commands/BatchExecuteStatementCommand.js +2 -3
- package/dist-es/commands/CancelStatementCommand.js +2 -3
- package/dist-es/commands/DescribeStatementCommand.js +2 -3
- package/dist-es/commands/DescribeTableCommand.js +2 -3
- package/dist-es/commands/ExecuteStatementCommand.js +2 -3
- package/dist-es/commands/GetStatementResultCommand.js +2 -3
- package/dist-es/commands/ListDatabasesCommand.js +2 -3
- package/dist-es/commands/ListSchemasCommand.js +2 -3
- package/dist-es/commands/ListStatementsCommand.js +2 -3
- package/dist-es/commands/ListTablesCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -92
- package/dist-types/RedshiftData.d.ts +11 -0
- package/dist-types/RedshiftDataClient.d.ts +24 -4
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +16 -0
- package/dist-types/commands/CancelStatementCommand.d.ts +16 -0
- package/dist-types/commands/DescribeStatementCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +16 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +16 -0
- package/dist-types/commands/GetStatementResultCommand.d.ts +16 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +16 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +16 -0
- package/dist-types/commands/ListStatementsCommand.d.ts +16 -0
- package/dist-types/commands/ListTablesCommand.d.ts +16 -0
- package/dist-types/models/RedshiftDataServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +82 -104
- package/dist-types/pagination/DescribeTablePaginator.d.ts +3 -0
- package/dist-types/pagination/GetStatementResultPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDatabasesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSchemasPaginator.d.ts +3 -0
- package/dist-types/pagination/ListStatementsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -72
- package/package.json +4 -3
|
@@ -11,6 +11,7 @@ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./comma
|
|
|
11
11
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
12
12
|
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
13
13
|
/**
|
|
14
|
+
* @public
|
|
14
15
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
15
16
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
16
17
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -19,6 +20,7 @@ import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
|
19
20
|
*/
|
|
20
21
|
export declare class RedshiftData extends RedshiftDataClient {
|
|
21
22
|
/**
|
|
23
|
+
* @public
|
|
22
24
|
* <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
|
|
23
25
|
* language (DDL).
|
|
24
26
|
* Depending on the authorization
|
|
@@ -42,6 +44,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
42
44
|
batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
43
45
|
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
44
46
|
/**
|
|
47
|
+
* @public
|
|
45
48
|
* <p>Cancels a running query. To be canceled, a query must be running. </p>
|
|
46
49
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
47
50
|
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
@@ -51,6 +54,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
51
54
|
cancelStatement(args: CancelStatementCommandInput, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
|
|
52
55
|
cancelStatement(args: CancelStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
|
|
53
56
|
/**
|
|
57
|
+
* @public
|
|
54
58
|
* <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
|
|
55
59
|
* includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
|
|
56
60
|
* statement. </p>
|
|
@@ -62,6 +66,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
62
66
|
describeStatement(args: DescribeStatementCommandInput, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
|
|
63
67
|
describeStatement(args: DescribeStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
|
|
64
68
|
/**
|
|
69
|
+
* @public
|
|
65
70
|
* <p>Describes the detailed information about a table from metadata in the cluster. The
|
|
66
71
|
* information includes its columns.
|
|
67
72
|
* A token is returned to page through the column list.
|
|
@@ -86,6 +91,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
86
91
|
describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
87
92
|
describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
88
93
|
/**
|
|
94
|
+
* @public
|
|
89
95
|
* <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
|
|
90
96
|
* language (DDL). This statement must be a single SQL statement.
|
|
91
97
|
* Depending on the authorization
|
|
@@ -109,6 +115,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
109
115
|
executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
110
116
|
executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
111
117
|
/**
|
|
118
|
+
* @public
|
|
112
119
|
* <p>Fetches the temporarily cached result of an SQL statement.
|
|
113
120
|
* A token is returned to page through the statement results. </p>
|
|
114
121
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -119,6 +126,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
119
126
|
getStatementResult(args: GetStatementResultCommandInput, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
|
|
120
127
|
getStatementResult(args: GetStatementResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
|
|
121
128
|
/**
|
|
129
|
+
* @public
|
|
122
130
|
* <p>List the databases in a cluster.
|
|
123
131
|
* A token is returned to page through the database list.
|
|
124
132
|
* Depending on the authorization method, use one of the
|
|
@@ -142,6 +150,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
142
150
|
listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
143
151
|
listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
144
152
|
/**
|
|
153
|
+
* @public
|
|
145
154
|
* <p>Lists the schemas in a database.
|
|
146
155
|
* A token is returned to page through the schema list.
|
|
147
156
|
* Depending on the authorization method, use one of the
|
|
@@ -165,6 +174,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
165
174
|
listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
166
175
|
listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
167
176
|
/**
|
|
177
|
+
* @public
|
|
168
178
|
* <p>List of SQL statements. By default, only finished statements are shown.
|
|
169
179
|
* A token is returned to page through the statement list. </p>
|
|
170
180
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -175,6 +185,7 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
175
185
|
listStatements(args: ListStatementsCommandInput, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
|
|
176
186
|
listStatements(args: ListStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
|
|
177
187
|
/**
|
|
188
|
+
* @public
|
|
178
189
|
* <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
|
|
179
190
|
* all tables in the database are returned.
|
|
180
191
|
* A token is returned to page through the table list.
|
|
@@ -18,15 +18,24 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
|
|
|
18
18
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
19
19
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
20
20
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
21
24
|
export type ServiceInputTypes = BatchExecuteStatementCommandInput | CancelStatementCommandInput | DescribeStatementCommandInput | DescribeTableCommandInput | ExecuteStatementCommandInput | GetStatementResultCommandInput | ListDatabasesCommandInput | ListSchemasCommandInput | ListStatementsCommandInput | ListTablesCommandInput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
22
28
|
export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | CancelStatementCommandOutput | DescribeStatementCommandOutput | DescribeTableCommandOutput | ExecuteStatementCommandOutput | GetStatementResultCommandOutput | ListDatabasesCommandOutput | ListSchemasCommandOutput | ListStatementsCommandOutput | ListTablesCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
23
32
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
24
33
|
/**
|
|
25
34
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
26
35
|
*/
|
|
27
36
|
requestHandler?: __HttpHandler;
|
|
28
37
|
/**
|
|
29
|
-
* A constructor for a class implementing the {@link
|
|
38
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
30
39
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
31
40
|
* @internal
|
|
32
41
|
*/
|
|
@@ -116,23 +125,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
116
125
|
*/
|
|
117
126
|
logger?: __Logger;
|
|
118
127
|
/**
|
|
119
|
-
* The {@link
|
|
128
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
120
129
|
*/
|
|
121
130
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
122
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
123
135
|
type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
124
136
|
/**
|
|
125
|
-
*
|
|
137
|
+
* @public
|
|
138
|
+
*
|
|
139
|
+
* The configuration interface of RedshiftDataClient class constructor that set the region, credentials and other options.
|
|
126
140
|
*/
|
|
127
141
|
export interface RedshiftDataClientConfig extends RedshiftDataClientConfigType {
|
|
128
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
129
146
|
type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
130
147
|
/**
|
|
131
|
-
*
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The resolved configuration interface of RedshiftDataClient class. This is resolved and normalized from the {@link RedshiftDataClientConfig | constructor configuration interface}.
|
|
132
151
|
*/
|
|
133
152
|
export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientResolvedConfigType {
|
|
134
153
|
}
|
|
135
154
|
/**
|
|
155
|
+
* @public
|
|
136
156
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
137
157
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
138
158
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link BatchExecuteStatementCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link BatchExecuteStatementCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
|
|
18
23
|
* language (DDL).
|
|
19
24
|
* Depending on the authorization
|
|
@@ -42,6 +47,8 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
50
|
+
* @param BatchExecuteStatementCommandInput - {@link BatchExecuteStatementCommandInput}
|
|
51
|
+
* @returns {@link BatchExecuteStatementCommandOutput}
|
|
45
52
|
* @see {@link BatchExecuteStatementCommandInput} for command's `input` shape.
|
|
46
53
|
* @see {@link BatchExecuteStatementCommandOutput} for command's `response` shape.
|
|
47
54
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
60
67
|
export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
61
68
|
readonly input: BatchExecuteStatementCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: BatchExecuteStatementCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelStatementCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelStatementCommandInput extends CancelStatementRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelStatementCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels a running query. To be canceled, a query must be running. </p>
|
|
18
23
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
19
24
|
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
@@ -28,6 +33,8 @@ export interface CancelStatementCommandOutput extends CancelStatementResponse, _
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CancelStatementCommandInput - {@link CancelStatementCommandInput}
|
|
37
|
+
* @returns {@link CancelStatementCommandOutput}
|
|
31
38
|
* @see {@link CancelStatementCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CancelStatementCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface CancelStatementCommandOutput extends CancelStatementResponse, _
|
|
|
49
56
|
export declare class CancelStatementCommand extends $Command<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
50
57
|
readonly input: CancelStatementCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: CancelStatementCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeStatementCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeStatementCommandInput extends DescribeStatementRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeStatementCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
|
|
18
23
|
* includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
|
|
19
24
|
* statement. </p>
|
|
@@ -30,6 +35,8 @@ export interface DescribeStatementCommandOutput extends DescribeStatementRespons
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param DescribeStatementCommandInput - {@link DescribeStatementCommandInput}
|
|
39
|
+
* @returns {@link DescribeStatementCommandOutput}
|
|
33
40
|
* @see {@link DescribeStatementCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link DescribeStatementCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface DescribeStatementCommandOutput extends DescribeStatementRespons
|
|
|
48
55
|
export declare class DescribeStatementCommand extends $Command<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
49
56
|
readonly input: DescribeStatementCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: DescribeStatementCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStatementCommandInput, DescribeStatementCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeTableCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeTableCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the detailed information about a table from metadata in the cluster. The
|
|
18
23
|
* information includes its columns.
|
|
19
24
|
* A token is returned to page through the column list.
|
|
@@ -43,6 +48,8 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
43
48
|
* const response = await client.send(command);
|
|
44
49
|
* ```
|
|
45
50
|
*
|
|
51
|
+
* @param DescribeTableCommandInput - {@link DescribeTableCommandInput}
|
|
52
|
+
* @returns {@link DescribeTableCommandOutput}
|
|
46
53
|
* @see {@link DescribeTableCommandInput} for command's `input` shape.
|
|
47
54
|
* @see {@link DescribeTableCommandOutput} for command's `response` shape.
|
|
48
55
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
61
68
|
export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
62
69
|
readonly input: DescribeTableCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: DescribeTableCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ExecuteStatementCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ExecuteStatementCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
|
|
18
23
|
* language (DDL). This statement must be a single SQL statement.
|
|
19
24
|
* Depending on the authorization
|
|
@@ -42,6 +47,8 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
|
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
50
|
+
* @param ExecuteStatementCommandInput - {@link ExecuteStatementCommandInput}
|
|
51
|
+
* @returns {@link ExecuteStatementCommandOutput}
|
|
45
52
|
* @see {@link ExecuteStatementCommandInput} for command's `input` shape.
|
|
46
53
|
* @see {@link ExecuteStatementCommandOutput} for command's `response` shape.
|
|
47
54
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
|
|
|
60
67
|
export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
61
68
|
readonly input: ExecuteStatementCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: ExecuteStatementCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetStatementResultCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetStatementResultCommandInput extends GetStatementResultRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetStatementResultCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Fetches the temporarily cached result of an SQL statement.
|
|
18
23
|
* A token is returned to page through the statement results. </p>
|
|
19
24
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -29,6 +34,8 @@ export interface GetStatementResultCommandOutput extends GetStatementResultRespo
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param GetStatementResultCommandInput - {@link GetStatementResultCommandInput}
|
|
38
|
+
* @returns {@link GetStatementResultCommandOutput}
|
|
32
39
|
* @see {@link GetStatementResultCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link GetStatementResultCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface GetStatementResultCommandOutput extends GetStatementResultRespo
|
|
|
47
54
|
export declare class GetStatementResultCommand extends $Command<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
48
55
|
readonly input: GetStatementResultCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: GetStatementResultCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStatementResultCommandInput, GetStatementResultCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListDatabasesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListDatabasesCommandInput extends ListDatabasesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListDatabasesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>List the databases in a cluster.
|
|
18
23
|
* A token is returned to page through the database list.
|
|
19
24
|
* Depending on the authorization method, use one of the
|
|
@@ -42,6 +47,8 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
50
|
+
* @param ListDatabasesCommandInput - {@link ListDatabasesCommandInput}
|
|
51
|
+
* @returns {@link ListDatabasesCommandOutput}
|
|
45
52
|
* @see {@link ListDatabasesCommandInput} for command's `input` shape.
|
|
46
53
|
* @see {@link ListDatabasesCommandOutput} for command's `response` shape.
|
|
47
54
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
60
67
|
export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
61
68
|
readonly input: ListDatabasesCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: ListDatabasesCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListSchemasCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListSchemasCommandInput extends ListSchemasRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListSchemasCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the schemas in a database.
|
|
18
23
|
* A token is returned to page through the schema list.
|
|
19
24
|
* Depending on the authorization method, use one of the
|
|
@@ -42,6 +47,8 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
|
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
50
|
+
* @param ListSchemasCommandInput - {@link ListSchemasCommandInput}
|
|
51
|
+
* @returns {@link ListSchemasCommandOutput}
|
|
45
52
|
* @see {@link ListSchemasCommandInput} for command's `input` shape.
|
|
46
53
|
* @see {@link ListSchemasCommandOutput} for command's `response` shape.
|
|
47
54
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
|
|
|
60
67
|
export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
61
68
|
readonly input: ListSchemasCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: ListSchemasCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchemasCommandInput, ListSchemasCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListStatementsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListStatementsCommandInput extends ListStatementsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListStatementsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>List of SQL statements. By default, only finished statements are shown.
|
|
18
23
|
* A token is returned to page through the statement list. </p>
|
|
19
24
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
@@ -29,6 +34,8 @@ export interface ListStatementsCommandOutput extends ListStatementsResponse, __M
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param ListStatementsCommandInput - {@link ListStatementsCommandInput}
|
|
38
|
+
* @returns {@link ListStatementsCommandOutput}
|
|
32
39
|
* @see {@link ListStatementsCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link ListStatementsCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link RedshiftDataClientResolvedConfig | config} for RedshiftDataClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface ListStatementsCommandOutput extends ListStatementsResponse, __M
|
|
|
44
51
|
export declare class ListStatementsCommand extends $Command<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
45
52
|
readonly input: ListStatementsCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: ListStatementsCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStatementsCommandInput, ListStatementsCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|