@aws-sdk/client-athena 3.52.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 +11 -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 +266 -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 +618 -983
- 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 +37 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AthenaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -16
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Athena service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AthenaServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
2
3
|
export interface BatchGetNamedQueryInput {
|
|
3
4
|
/**
|
|
4
5
|
* <p>An array of query IDs.</p>
|
|
@@ -92,24 +93,32 @@ export declare namespace BatchGetNamedQueryOutput {
|
|
|
92
93
|
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
93
94
|
* outage.</p>
|
|
94
95
|
*/
|
|
95
|
-
export
|
|
96
|
-
name: "InternalServerException";
|
|
97
|
-
$fault: "server";
|
|
96
|
+
export declare class InternalServerException extends __BaseException {
|
|
97
|
+
readonly name: "InternalServerException";
|
|
98
|
+
readonly $fault: "server";
|
|
98
99
|
Message?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
99
104
|
}
|
|
100
105
|
/**
|
|
101
106
|
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
102
107
|
* required parameter may be missing or out of range.</p>
|
|
103
108
|
*/
|
|
104
|
-
export
|
|
105
|
-
name: "InvalidRequestException";
|
|
106
|
-
$fault: "client";
|
|
109
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
110
|
+
readonly name: "InvalidRequestException";
|
|
111
|
+
readonly $fault: "client";
|
|
107
112
|
/**
|
|
108
113
|
* <p>The error code returned when the query execution failed to process, or when the
|
|
109
114
|
* processing request for the named query failed.</p>
|
|
110
115
|
*/
|
|
111
116
|
AthenaErrorCode?: string;
|
|
112
117
|
Message?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
113
122
|
}
|
|
114
123
|
export interface BatchGetQueryExecutionInput {
|
|
115
124
|
/**
|
|
@@ -878,11 +887,15 @@ export declare namespace DeletePreparedStatementOutput {
|
|
|
878
887
|
/**
|
|
879
888
|
* <p>A resource, such as a workgroup, was not found.</p>
|
|
880
889
|
*/
|
|
881
|
-
export
|
|
882
|
-
name: "ResourceNotFoundException";
|
|
883
|
-
$fault: "client";
|
|
890
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
891
|
+
readonly name: "ResourceNotFoundException";
|
|
892
|
+
readonly $fault: "client";
|
|
884
893
|
Message?: string;
|
|
885
894
|
ResourceName?: string;
|
|
895
|
+
/**
|
|
896
|
+
* @internal
|
|
897
|
+
*/
|
|
898
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
886
899
|
}
|
|
887
900
|
export interface DeleteWorkGroupInput {
|
|
888
901
|
/**
|
|
@@ -970,10 +983,14 @@ export declare namespace GetDatabaseOutput {
|
|
|
970
983
|
* Lambda
|
|
971
984
|
* <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
|
|
972
985
|
*/
|
|
973
|
-
export
|
|
974
|
-
name: "MetadataException";
|
|
975
|
-
$fault: "client";
|
|
986
|
+
export declare class MetadataException extends __BaseException {
|
|
987
|
+
readonly name: "MetadataException";
|
|
988
|
+
readonly $fault: "client";
|
|
976
989
|
Message?: string;
|
|
990
|
+
/**
|
|
991
|
+
* @internal
|
|
992
|
+
*/
|
|
993
|
+
constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
|
|
977
994
|
}
|
|
978
995
|
export interface GetDataCatalogInput {
|
|
979
996
|
/**
|
|
@@ -2033,15 +2050,19 @@ export declare enum ThrottleReason {
|
|
|
2033
2050
|
/**
|
|
2034
2051
|
* <p>Indicates that the request was throttled.</p>
|
|
2035
2052
|
*/
|
|
2036
|
-
export
|
|
2037
|
-
name: "TooManyRequestsException";
|
|
2038
|
-
$fault: "client";
|
|
2053
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
2054
|
+
readonly name: "TooManyRequestsException";
|
|
2055
|
+
readonly $fault: "client";
|
|
2039
2056
|
Message?: string;
|
|
2040
2057
|
/**
|
|
2041
2058
|
* <p>The reason for the query throttling, for example, when it exceeds the concurrent query
|
|
2042
2059
|
* limit.</p>
|
|
2043
2060
|
*/
|
|
2044
2061
|
Reason?: ThrottleReason | string;
|
|
2062
|
+
/**
|
|
2063
|
+
* @internal
|
|
2064
|
+
*/
|
|
2065
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
2045
2066
|
}
|
|
2046
2067
|
export interface StopQueryExecutionInput {
|
|
2047
2068
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
2
3
|
export interface BatchGetNamedQueryInput {
|
|
3
4
|
|
|
4
5
|
NamedQueryIds: string[] | undefined;
|
|
@@ -50,18 +51,22 @@ export declare namespace BatchGetNamedQueryOutput {
|
|
|
50
51
|
const filterSensitiveLog: (obj: BatchGetNamedQueryOutput) => any;
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
export
|
|
54
|
-
name: "InternalServerException";
|
|
55
|
-
$fault: "server";
|
|
54
|
+
export declare class InternalServerException extends __BaseException {
|
|
55
|
+
readonly name: "InternalServerException";
|
|
56
|
+
readonly $fault: "server";
|
|
56
57
|
Message?: string;
|
|
58
|
+
|
|
59
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
57
60
|
}
|
|
58
61
|
|
|
59
|
-
export
|
|
60
|
-
name: "InvalidRequestException";
|
|
61
|
-
$fault: "client";
|
|
62
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidRequestException";
|
|
64
|
+
readonly $fault: "client";
|
|
62
65
|
|
|
63
66
|
AthenaErrorCode?: string;
|
|
64
67
|
Message?: string;
|
|
68
|
+
|
|
69
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
65
70
|
}
|
|
66
71
|
export interface BatchGetQueryExecutionInput {
|
|
67
72
|
|
|
@@ -401,11 +406,13 @@ export declare namespace DeletePreparedStatementOutput {
|
|
|
401
406
|
const filterSensitiveLog: (obj: DeletePreparedStatementOutput) => any;
|
|
402
407
|
}
|
|
403
408
|
|
|
404
|
-
export
|
|
405
|
-
name: "ResourceNotFoundException";
|
|
406
|
-
$fault: "client";
|
|
409
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
410
|
+
readonly name: "ResourceNotFoundException";
|
|
411
|
+
readonly $fault: "client";
|
|
407
412
|
Message?: string;
|
|
408
413
|
ResourceName?: string;
|
|
414
|
+
|
|
415
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
409
416
|
}
|
|
410
417
|
export interface DeleteWorkGroupInput {
|
|
411
418
|
|
|
@@ -457,10 +464,12 @@ export declare namespace GetDatabaseOutput {
|
|
|
457
464
|
const filterSensitiveLog: (obj: GetDatabaseOutput) => any;
|
|
458
465
|
}
|
|
459
466
|
|
|
460
|
-
export
|
|
461
|
-
name: "MetadataException";
|
|
462
|
-
$fault: "client";
|
|
467
|
+
export declare class MetadataException extends __BaseException {
|
|
468
|
+
readonly name: "MetadataException";
|
|
469
|
+
readonly $fault: "client";
|
|
463
470
|
Message?: string;
|
|
471
|
+
|
|
472
|
+
constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
|
|
464
473
|
}
|
|
465
474
|
export interface GetDataCatalogInput {
|
|
466
475
|
|
|
@@ -1012,12 +1021,14 @@ export declare enum ThrottleReason {
|
|
|
1012
1021
|
CONCURRENT_QUERY_LIMIT_EXCEEDED = "CONCURRENT_QUERY_LIMIT_EXCEEDED"
|
|
1013
1022
|
}
|
|
1014
1023
|
|
|
1015
|
-
export
|
|
1016
|
-
name: "TooManyRequestsException";
|
|
1017
|
-
$fault: "client";
|
|
1024
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
1025
|
+
readonly name: "TooManyRequestsException";
|
|
1026
|
+
readonly $fault: "client";
|
|
1018
1027
|
Message?: string;
|
|
1019
1028
|
|
|
1020
1029
|
Reason?: ThrottleReason | string;
|
|
1030
|
+
|
|
1031
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1021
1032
|
}
|
|
1022
1033
|
export interface StopQueryExecutionInput {
|
|
1023
1034
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-athena",
|
|
3
3
|
"description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|