@aws-sdk/client-athena 3.1148.0 → 3.1150.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/index.js +8 -1
- package/dist-es/models/AthenaServiceException.js +1 -0
- package/dist-es/models/errors.js +6 -0
- package/dist-types/models/AthenaServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/AthenaServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class AthenaServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.athena#AthenaServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, AthenaServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class AthenaServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class InternalServerException extends AthenaServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.athena#InternalServerException";
|
|
142
144
|
name = "InternalServerException";
|
|
143
145
|
$fault = "server";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class InternalServerException extends AthenaServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class InvalidRequestException extends AthenaServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.athena#InvalidRequestException";
|
|
156
159
|
name = "InvalidRequestException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
AthenaErrorCode;
|
|
@@ -169,6 +172,7 @@ class InvalidRequestException extends AthenaServiceException {
|
|
|
169
172
|
}
|
|
170
173
|
}
|
|
171
174
|
class TooManyRequestsException extends AthenaServiceException {
|
|
175
|
+
static shapeId = "com.amazonaws.athena#TooManyRequestsException";
|
|
172
176
|
name = "TooManyRequestsException";
|
|
173
177
|
$fault = "client";
|
|
174
178
|
Message;
|
|
@@ -185,6 +189,7 @@ class TooManyRequestsException extends AthenaServiceException {
|
|
|
185
189
|
}
|
|
186
190
|
}
|
|
187
191
|
class ResourceNotFoundException extends AthenaServiceException {
|
|
192
|
+
static shapeId = "com.amazonaws.athena#ResourceNotFoundException";
|
|
188
193
|
name = "ResourceNotFoundException";
|
|
189
194
|
$fault = "client";
|
|
190
195
|
Message;
|
|
@@ -201,6 +206,7 @@ class ResourceNotFoundException extends AthenaServiceException {
|
|
|
201
206
|
}
|
|
202
207
|
}
|
|
203
208
|
class MetadataException extends AthenaServiceException {
|
|
209
|
+
static shapeId = "com.amazonaws.athena#MetadataException";
|
|
204
210
|
name = "MetadataException";
|
|
205
211
|
$fault = "client";
|
|
206
212
|
Message;
|
|
@@ -215,6 +221,7 @@ class MetadataException extends AthenaServiceException {
|
|
|
215
221
|
}
|
|
216
222
|
}
|
|
217
223
|
class SessionAlreadyExistsException extends AthenaServiceException {
|
|
224
|
+
static shapeId = "com.amazonaws.athena#SessionAlreadyExistsException";
|
|
218
225
|
name = "SessionAlreadyExistsException";
|
|
219
226
|
$fault = "client";
|
|
220
227
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class AthenaServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.athena#AthenaServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, AthenaServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
2
2
|
export class InternalServerException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.athena#InternalServerException";
|
|
3
4
|
name = "InternalServerException";
|
|
4
5
|
$fault = "server";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class InternalServerException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InvalidRequestException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.athena#InvalidRequestException";
|
|
17
19
|
name = "InvalidRequestException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
AthenaErrorCode;
|
|
@@ -30,6 +32,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
export class TooManyRequestsException extends __BaseException {
|
|
35
|
+
static shapeId = "com.amazonaws.athena#TooManyRequestsException";
|
|
33
36
|
name = "TooManyRequestsException";
|
|
34
37
|
$fault = "client";
|
|
35
38
|
Message;
|
|
@@ -46,6 +49,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
export class ResourceNotFoundException extends __BaseException {
|
|
52
|
+
static shapeId = "com.amazonaws.athena#ResourceNotFoundException";
|
|
49
53
|
name = "ResourceNotFoundException";
|
|
50
54
|
$fault = "client";
|
|
51
55
|
Message;
|
|
@@ -62,6 +66,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
export class MetadataException extends __BaseException {
|
|
69
|
+
static shapeId = "com.amazonaws.athena#MetadataException";
|
|
65
70
|
name = "MetadataException";
|
|
66
71
|
$fault = "client";
|
|
67
72
|
Message;
|
|
@@ -76,6 +81,7 @@ export class MetadataException extends __BaseException {
|
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
export class SessionAlreadyExistsException extends __BaseException {
|
|
84
|
+
static shapeId = "com.amazonaws.athena#SessionAlreadyExistsException";
|
|
79
85
|
name = "SessionAlreadyExistsException";
|
|
80
86
|
$fault = "client";
|
|
81
87
|
Message;
|
|
@@ -7,6 +7,7 @@ import type { ThrottleReason } from "./enums";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class InternalServerException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "InternalServerException";
|
|
11
12
|
readonly $fault: "server";
|
|
12
13
|
Message?: string | undefined;
|
|
@@ -21,6 +22,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
21
22
|
* @public
|
|
22
23
|
*/
|
|
23
24
|
export declare class InvalidRequestException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
24
26
|
readonly name: "InvalidRequestException";
|
|
25
27
|
readonly $fault: "client";
|
|
26
28
|
/**
|
|
@@ -40,6 +42,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
40
42
|
* @public
|
|
41
43
|
*/
|
|
42
44
|
export declare class TooManyRequestsException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
43
46
|
readonly name: "TooManyRequestsException";
|
|
44
47
|
readonly $fault: "client";
|
|
45
48
|
Message?: string | undefined;
|
|
@@ -59,6 +62,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
59
62
|
* @public
|
|
60
63
|
*/
|
|
61
64
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
static readonly shapeId: string;
|
|
62
66
|
readonly name: "ResourceNotFoundException";
|
|
63
67
|
readonly $fault: "client";
|
|
64
68
|
Message?: string | undefined;
|
|
@@ -82,6 +86,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
82
86
|
* @public
|
|
83
87
|
*/
|
|
84
88
|
export declare class MetadataException extends __BaseException {
|
|
89
|
+
static readonly shapeId: string;
|
|
85
90
|
readonly name: "MetadataException";
|
|
86
91
|
readonly $fault: "client";
|
|
87
92
|
Message?: string | undefined;
|
|
@@ -95,6 +100,7 @@ export declare class MetadataException extends __BaseException {
|
|
|
95
100
|
* @public
|
|
96
101
|
*/
|
|
97
102
|
export declare class SessionAlreadyExistsException extends __BaseException {
|
|
103
|
+
static readonly shapeId: string;
|
|
98
104
|
readonly name: "SessionAlreadyExistsException";
|
|
99
105
|
readonly $fault: "client";
|
|
100
106
|
Message?: string | undefined;
|
|
@@ -2,12 +2,14 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
3
3
|
import { ThrottleReason } from "./enums";
|
|
4
4
|
export declare class InternalServerException extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "InternalServerException";
|
|
6
7
|
readonly $fault: "server";
|
|
7
8
|
Message?: string | undefined;
|
|
8
9
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class InvalidRequestException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InvalidRequestException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
AthenaErrorCode?: string | undefined;
|
|
@@ -15,6 +17,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class TooManyRequestsException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "TooManyRequestsException";
|
|
19
22
|
readonly $fault: "client";
|
|
20
23
|
Message?: string | undefined;
|
|
@@ -22,6 +25,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "ResourceNotFoundException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
Message?: string | undefined;
|
|
@@ -29,12 +33,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
29
33
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
30
34
|
}
|
|
31
35
|
export declare class MetadataException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
32
37
|
readonly name: "MetadataException";
|
|
33
38
|
readonly $fault: "client";
|
|
34
39
|
Message?: string | undefined;
|
|
35
40
|
constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
|
|
36
41
|
}
|
|
37
42
|
export declare class SessionAlreadyExistsException extends __BaseException {
|
|
43
|
+
static readonly shapeId: string;
|
|
38
44
|
readonly name: "SessionAlreadyExistsException";
|
|
39
45
|
readonly $fault: "client";
|
|
40
46
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-athena",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-athena",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|