@aws-sdk/client-redshift-data 3.490.0 → 3.496.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/RedshiftData.js +1 -31
- package/dist-cjs/RedshiftDataClient.js +1 -43
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/CancelStatementCommand.js +1 -28
- package/dist-cjs/commands/DescribeStatementCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableCommand.js +1 -28
- package/dist-cjs/commands/ExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/GetStatementResultCommand.js +1 -28
- package/dist-cjs/commands/ListDatabasesCommand.js +1 -28
- package/dist-cjs/commands/ListSchemasCommand.js +1 -28
- package/dist-cjs/commands/ListStatementsCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -13
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1321 -11
- package/dist-cjs/models/RedshiftDataServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -140
- package/dist-cjs/pagination/DescribeTablePaginator.js +1 -7
- package/dist-cjs/pagination/GetStatementResultPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDatabasesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchemasPaginator.js +1 -7
- package/dist-cjs/pagination/ListStatementsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_json1_1.js +1 -774
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RedshiftDataServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class RedshiftDataServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.RedshiftDataServiceException = RedshiftDataServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,140 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Field = exports.ExecuteStatementException = exports.StatementStatusString = exports.StatusString = exports.ResourceNotFoundException = exports.InternalServerException = exports.DatabaseConnectionException = exports.ValidationException = exports.BatchExecuteStatementException = exports.ActiveStatementsExceededException = void 0;
|
|
4
|
-
const RedshiftDataServiceException_1 = require("./RedshiftDataServiceException");
|
|
5
|
-
class ActiveStatementsExceededException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ActiveStatementsExceededException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "ActiveStatementsExceededException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, ActiveStatementsExceededException.prototype);
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.ActiveStatementsExceededException = ActiveStatementsExceededException;
|
|
19
|
-
class BatchExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "BatchExecuteStatementException",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
this.name = "BatchExecuteStatementException";
|
|
27
|
-
this.$fault = "server";
|
|
28
|
-
Object.setPrototypeOf(this, BatchExecuteStatementException.prototype);
|
|
29
|
-
this.Message = opts.Message;
|
|
30
|
-
this.StatementId = opts.StatementId;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.BatchExecuteStatementException = BatchExecuteStatementException;
|
|
34
|
-
class ValidationException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "ValidationException",
|
|
38
|
-
$fault: "client",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
this.name = "ValidationException";
|
|
42
|
-
this.$fault = "client";
|
|
43
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.ValidationException = ValidationException;
|
|
48
|
-
class DatabaseConnectionException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "DatabaseConnectionException",
|
|
52
|
-
$fault: "server",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
this.name = "DatabaseConnectionException";
|
|
56
|
-
this.$fault = "server";
|
|
57
|
-
Object.setPrototypeOf(this, DatabaseConnectionException.prototype);
|
|
58
|
-
this.Message = opts.Message;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.DatabaseConnectionException = DatabaseConnectionException;
|
|
62
|
-
class InternalServerException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "InternalServerException",
|
|
66
|
-
$fault: "server",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
this.name = "InternalServerException";
|
|
70
|
-
this.$fault = "server";
|
|
71
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
72
|
-
this.Message = opts.Message;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
exports.InternalServerException = InternalServerException;
|
|
76
|
-
class ResourceNotFoundException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ResourceNotFoundException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
this.name = "ResourceNotFoundException";
|
|
84
|
-
this.$fault = "client";
|
|
85
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
86
|
-
this.Message = opts.Message;
|
|
87
|
-
this.ResourceId = opts.ResourceId;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
91
|
-
exports.StatusString = {
|
|
92
|
-
ABORTED: "ABORTED",
|
|
93
|
-
ALL: "ALL",
|
|
94
|
-
FAILED: "FAILED",
|
|
95
|
-
FINISHED: "FINISHED",
|
|
96
|
-
PICKED: "PICKED",
|
|
97
|
-
STARTED: "STARTED",
|
|
98
|
-
SUBMITTED: "SUBMITTED",
|
|
99
|
-
};
|
|
100
|
-
exports.StatementStatusString = {
|
|
101
|
-
ABORTED: "ABORTED",
|
|
102
|
-
FAILED: "FAILED",
|
|
103
|
-
FINISHED: "FINISHED",
|
|
104
|
-
PICKED: "PICKED",
|
|
105
|
-
STARTED: "STARTED",
|
|
106
|
-
SUBMITTED: "SUBMITTED",
|
|
107
|
-
};
|
|
108
|
-
class ExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ExecuteStatementException",
|
|
112
|
-
$fault: "server",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
this.name = "ExecuteStatementException";
|
|
116
|
-
this.$fault = "server";
|
|
117
|
-
Object.setPrototypeOf(this, ExecuteStatementException.prototype);
|
|
118
|
-
this.Message = opts.Message;
|
|
119
|
-
this.StatementId = opts.StatementId;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
exports.ExecuteStatementException = ExecuteStatementException;
|
|
123
|
-
var Field;
|
|
124
|
-
(function (Field) {
|
|
125
|
-
Field.visit = (value, visitor) => {
|
|
126
|
-
if (value.isNull !== undefined)
|
|
127
|
-
return visitor.isNull(value.isNull);
|
|
128
|
-
if (value.booleanValue !== undefined)
|
|
129
|
-
return visitor.booleanValue(value.booleanValue);
|
|
130
|
-
if (value.longValue !== undefined)
|
|
131
|
-
return visitor.longValue(value.longValue);
|
|
132
|
-
if (value.doubleValue !== undefined)
|
|
133
|
-
return visitor.doubleValue(value.doubleValue);
|
|
134
|
-
if (value.stringValue !== undefined)
|
|
135
|
-
return visitor.stringValue(value.stringValue);
|
|
136
|
-
if (value.blobValue !== undefined)
|
|
137
|
-
return visitor.blobValue(value.blobValue);
|
|
138
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
139
|
-
};
|
|
140
|
-
})(Field = exports.Field || (exports.Field = {}));
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateDescribeTable = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateDescribeTable = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, DescribeTableCommand_1.DescribeTableCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateGetStatementResult = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const GetStatementResultCommand_1 = require("../commands/GetStatementResultCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateGetStatementResult = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, GetStatementResultCommand_1.GetStatementResultCommand, "NextToken", "NextToken", "");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListDatabases = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateListDatabases = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, ListDatabasesCommand_1.ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSchemas = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateListSchemas = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, ListSchemasCommand_1.ListSchemasCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListStatements = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListStatementsCommand_1 = require("../commands/ListStatementsCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateListStatements = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, ListStatementsCommand_1.ListStatementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListTables = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
6
|
-
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
7
|
-
exports.paginateListTables = (0, core_1.createPaginator)(RedshiftDataClient_1.RedshiftDataClient, ListTablesCommand_1.ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./DescribeTablePaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./GetStatementResultPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListDatabasesPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListSchemasPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListStatementsPaginator"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ListTablesPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|