@aws-sdk/client-athena 3.50.0 → 3.53.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/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AthenaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +77 -3
- package/dist-cjs/protocols/Aws_json1_1.js +267 -856
- package/dist-es/index.js +1 -0
- package/dist-es/models/AthenaServiceException.js +12 -0
- package/dist-es/models/models_0.js +70 -1
- package/dist-es/protocols/Aws_json1_1.js +619 -983
- package/dist-types/Athena.d.ts +0 -6
- package/dist-types/commands/GetQueryResultsCommand.d.ts +0 -6
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AthenaServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -25
- package/dist-types/ts3.4/Athena.d.ts +175 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +107 -0
- package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/AthenaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1180 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDataCatalogsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNamedQueriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPreparedStatementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQueryExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTableMetadataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var AthenaServiceException = (function (_super) {
|
|
4
|
+
__extends(AthenaServiceException, _super);
|
|
5
|
+
function AthenaServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, AthenaServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return AthenaServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { AthenaServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
2
3
|
export var BatchGetNamedQueryInput;
|
|
3
4
|
(function (BatchGetNamedQueryInput) {
|
|
4
5
|
BatchGetNamedQueryInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -15,6 +16,33 @@ export var BatchGetNamedQueryOutput;
|
|
|
15
16
|
(function (BatchGetNamedQueryOutput) {
|
|
16
17
|
BatchGetNamedQueryOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
18
|
})(BatchGetNamedQueryOutput || (BatchGetNamedQueryOutput = {}));
|
|
19
|
+
var InternalServerException = (function (_super) {
|
|
20
|
+
__extends(InternalServerException, _super);
|
|
21
|
+
function InternalServerException(opts) {
|
|
22
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
23
|
+
_this.name = "InternalServerException";
|
|
24
|
+
_this.$fault = "server";
|
|
25
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
26
|
+
_this.Message = opts.Message;
|
|
27
|
+
return _this;
|
|
28
|
+
}
|
|
29
|
+
return InternalServerException;
|
|
30
|
+
}(__BaseException));
|
|
31
|
+
export { InternalServerException };
|
|
32
|
+
var InvalidRequestException = (function (_super) {
|
|
33
|
+
__extends(InvalidRequestException, _super);
|
|
34
|
+
function InvalidRequestException(opts) {
|
|
35
|
+
var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
|
|
36
|
+
_this.name = "InvalidRequestException";
|
|
37
|
+
_this.$fault = "client";
|
|
38
|
+
Object.setPrototypeOf(_this, InvalidRequestException.prototype);
|
|
39
|
+
_this.AthenaErrorCode = opts.AthenaErrorCode;
|
|
40
|
+
_this.Message = opts.Message;
|
|
41
|
+
return _this;
|
|
42
|
+
}
|
|
43
|
+
return InvalidRequestException;
|
|
44
|
+
}(__BaseException));
|
|
45
|
+
export { InvalidRequestException };
|
|
18
46
|
export var BatchGetQueryExecutionInput;
|
|
19
47
|
(function (BatchGetQueryExecutionInput) {
|
|
20
48
|
BatchGetQueryExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -149,6 +177,20 @@ export var DeletePreparedStatementOutput;
|
|
|
149
177
|
(function (DeletePreparedStatementOutput) {
|
|
150
178
|
DeletePreparedStatementOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
179
|
})(DeletePreparedStatementOutput || (DeletePreparedStatementOutput = {}));
|
|
180
|
+
var ResourceNotFoundException = (function (_super) {
|
|
181
|
+
__extends(ResourceNotFoundException, _super);
|
|
182
|
+
function ResourceNotFoundException(opts) {
|
|
183
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
184
|
+
_this.name = "ResourceNotFoundException";
|
|
185
|
+
_this.$fault = "client";
|
|
186
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
187
|
+
_this.Message = opts.Message;
|
|
188
|
+
_this.ResourceName = opts.ResourceName;
|
|
189
|
+
return _this;
|
|
190
|
+
}
|
|
191
|
+
return ResourceNotFoundException;
|
|
192
|
+
}(__BaseException));
|
|
193
|
+
export { ResourceNotFoundException };
|
|
152
194
|
export var DeleteWorkGroupInput;
|
|
153
195
|
(function (DeleteWorkGroupInput) {
|
|
154
196
|
DeleteWorkGroupInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -169,6 +211,19 @@ export var GetDatabaseOutput;
|
|
|
169
211
|
(function (GetDatabaseOutput) {
|
|
170
212
|
GetDatabaseOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
213
|
})(GetDatabaseOutput || (GetDatabaseOutput = {}));
|
|
214
|
+
var MetadataException = (function (_super) {
|
|
215
|
+
__extends(MetadataException, _super);
|
|
216
|
+
function MetadataException(opts) {
|
|
217
|
+
var _this = _super.call(this, __assign({ name: "MetadataException", $fault: "client" }, opts)) || this;
|
|
218
|
+
_this.name = "MetadataException";
|
|
219
|
+
_this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(_this, MetadataException.prototype);
|
|
221
|
+
_this.Message = opts.Message;
|
|
222
|
+
return _this;
|
|
223
|
+
}
|
|
224
|
+
return MetadataException;
|
|
225
|
+
}(__BaseException));
|
|
226
|
+
export { MetadataException };
|
|
172
227
|
export var GetDataCatalogInput;
|
|
173
228
|
(function (GetDataCatalogInput) {
|
|
174
229
|
GetDataCatalogInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -372,6 +427,20 @@ export var ThrottleReason;
|
|
|
372
427
|
(function (ThrottleReason) {
|
|
373
428
|
ThrottleReason["CONCURRENT_QUERY_LIMIT_EXCEEDED"] = "CONCURRENT_QUERY_LIMIT_EXCEEDED";
|
|
374
429
|
})(ThrottleReason || (ThrottleReason = {}));
|
|
430
|
+
var TooManyRequestsException = (function (_super) {
|
|
431
|
+
__extends(TooManyRequestsException, _super);
|
|
432
|
+
function TooManyRequestsException(opts) {
|
|
433
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
434
|
+
_this.name = "TooManyRequestsException";
|
|
435
|
+
_this.$fault = "client";
|
|
436
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
437
|
+
_this.Message = opts.Message;
|
|
438
|
+
_this.Reason = opts.Reason;
|
|
439
|
+
return _this;
|
|
440
|
+
}
|
|
441
|
+
return TooManyRequestsException;
|
|
442
|
+
}(__BaseException));
|
|
443
|
+
export { TooManyRequestsException };
|
|
375
444
|
export var StopQueryExecutionInput;
|
|
376
445
|
(function (StopQueryExecutionInput) {
|
|
377
446
|
StopQueryExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|