@aws-sdk/client-athena 3.52.0 → 3.54.1
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/Athena.js +15 -0
- package/dist-cjs/commands/UpdateNamedQueryCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AthenaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +99 -3
- package/dist-cjs/protocols/Aws_json1_1.js +349 -856
- package/dist-es/Athena.js +15 -0
- package/dist-es/commands/UpdateNamedQueryCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/AthenaServiceException.js +12 -0
- package/dist-es/models/models_0.js +86 -1
- package/dist-es/protocols/Aws_json1_1.js +710 -986
- package/dist-types/Athena.d.ts +7 -0
- package/dist-types/AthenaClient.d.ts +5 -4
- package/dist-types/commands/UpdateNamedQueryCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- 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 +127 -23
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Athena.d.ts +5 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +5 -4
- package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- 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 +65 -16
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
3
|
+
export declare enum S3AclOption {
|
|
4
|
+
BUCKET_OWNER_FULL_CONTROL = "BUCKET_OWNER_FULL_CONTROL"
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface AclConfiguration {
|
|
8
|
+
|
|
9
|
+
S3AclOption: S3AclOption | string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace AclConfiguration {
|
|
12
|
+
|
|
13
|
+
const filterSensitiveLog: (obj: AclConfiguration) => any;
|
|
14
|
+
}
|
|
2
15
|
export interface BatchGetNamedQueryInput {
|
|
3
16
|
|
|
4
17
|
NamedQueryIds: string[] | undefined;
|
|
@@ -50,18 +63,22 @@ export declare namespace BatchGetNamedQueryOutput {
|
|
|
50
63
|
const filterSensitiveLog: (obj: BatchGetNamedQueryOutput) => any;
|
|
51
64
|
}
|
|
52
65
|
|
|
53
|
-
export
|
|
54
|
-
name: "InternalServerException";
|
|
55
|
-
$fault: "server";
|
|
66
|
+
export declare class InternalServerException extends __BaseException {
|
|
67
|
+
readonly name: "InternalServerException";
|
|
68
|
+
readonly $fault: "server";
|
|
56
69
|
Message?: string;
|
|
70
|
+
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
57
72
|
}
|
|
58
73
|
|
|
59
|
-
export
|
|
60
|
-
name: "InvalidRequestException";
|
|
61
|
-
$fault: "client";
|
|
74
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
75
|
+
readonly name: "InvalidRequestException";
|
|
76
|
+
readonly $fault: "client";
|
|
62
77
|
|
|
63
78
|
AthenaErrorCode?: string;
|
|
64
79
|
Message?: string;
|
|
80
|
+
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
65
82
|
}
|
|
66
83
|
export interface BatchGetQueryExecutionInput {
|
|
67
84
|
|
|
@@ -117,6 +134,8 @@ export interface ResultConfiguration {
|
|
|
117
134
|
EncryptionConfiguration?: EncryptionConfiguration;
|
|
118
135
|
|
|
119
136
|
ExpectedBucketOwner?: string;
|
|
137
|
+
|
|
138
|
+
AclConfiguration?: AclConfiguration;
|
|
120
139
|
}
|
|
121
140
|
export declare namespace ResultConfiguration {
|
|
122
141
|
|
|
@@ -401,11 +420,13 @@ export declare namespace DeletePreparedStatementOutput {
|
|
|
401
420
|
const filterSensitiveLog: (obj: DeletePreparedStatementOutput) => any;
|
|
402
421
|
}
|
|
403
422
|
|
|
404
|
-
export
|
|
405
|
-
name: "ResourceNotFoundException";
|
|
406
|
-
$fault: "client";
|
|
423
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
424
|
+
readonly name: "ResourceNotFoundException";
|
|
425
|
+
readonly $fault: "client";
|
|
407
426
|
Message?: string;
|
|
408
427
|
ResourceName?: string;
|
|
428
|
+
|
|
429
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
409
430
|
}
|
|
410
431
|
export interface DeleteWorkGroupInput {
|
|
411
432
|
|
|
@@ -457,10 +478,12 @@ export declare namespace GetDatabaseOutput {
|
|
|
457
478
|
const filterSensitiveLog: (obj: GetDatabaseOutput) => any;
|
|
458
479
|
}
|
|
459
480
|
|
|
460
|
-
export
|
|
461
|
-
name: "MetadataException";
|
|
462
|
-
$fault: "client";
|
|
481
|
+
export declare class MetadataException extends __BaseException {
|
|
482
|
+
readonly name: "MetadataException";
|
|
483
|
+
readonly $fault: "client";
|
|
463
484
|
Message?: string;
|
|
485
|
+
|
|
486
|
+
constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
|
|
464
487
|
}
|
|
465
488
|
export interface GetDataCatalogInput {
|
|
466
489
|
|
|
@@ -1012,12 +1035,14 @@ export declare enum ThrottleReason {
|
|
|
1012
1035
|
CONCURRENT_QUERY_LIMIT_EXCEEDED = "CONCURRENT_QUERY_LIMIT_EXCEEDED"
|
|
1013
1036
|
}
|
|
1014
1037
|
|
|
1015
|
-
export
|
|
1016
|
-
name: "TooManyRequestsException";
|
|
1017
|
-
$fault: "client";
|
|
1038
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
1039
|
+
readonly name: "TooManyRequestsException";
|
|
1040
|
+
readonly $fault: "client";
|
|
1018
1041
|
Message?: string;
|
|
1019
1042
|
|
|
1020
1043
|
Reason?: ThrottleReason | string;
|
|
1044
|
+
|
|
1045
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1021
1046
|
}
|
|
1022
1047
|
export interface StopQueryExecutionInput {
|
|
1023
1048
|
|
|
@@ -1087,6 +1112,26 @@ export declare namespace UpdateDataCatalogOutput {
|
|
|
1087
1112
|
|
|
1088
1113
|
const filterSensitiveLog: (obj: UpdateDataCatalogOutput) => any;
|
|
1089
1114
|
}
|
|
1115
|
+
export interface UpdateNamedQueryInput {
|
|
1116
|
+
|
|
1117
|
+
NamedQueryId: string | undefined;
|
|
1118
|
+
|
|
1119
|
+
Name: string | undefined;
|
|
1120
|
+
|
|
1121
|
+
Description?: string;
|
|
1122
|
+
|
|
1123
|
+
QueryString: string | undefined;
|
|
1124
|
+
}
|
|
1125
|
+
export declare namespace UpdateNamedQueryInput {
|
|
1126
|
+
|
|
1127
|
+
const filterSensitiveLog: (obj: UpdateNamedQueryInput) => any;
|
|
1128
|
+
}
|
|
1129
|
+
export interface UpdateNamedQueryOutput {
|
|
1130
|
+
}
|
|
1131
|
+
export declare namespace UpdateNamedQueryOutput {
|
|
1132
|
+
|
|
1133
|
+
const filterSensitiveLog: (obj: UpdateNamedQueryOutput) => any;
|
|
1134
|
+
}
|
|
1090
1135
|
export interface UpdatePreparedStatementInput {
|
|
1091
1136
|
|
|
1092
1137
|
StatementName: string | undefined;
|
|
@@ -1121,6 +1166,10 @@ export interface ResultConfigurationUpdates {
|
|
|
1121
1166
|
ExpectedBucketOwner?: string;
|
|
1122
1167
|
|
|
1123
1168
|
RemoveExpectedBucketOwner?: boolean;
|
|
1169
|
+
|
|
1170
|
+
AclConfiguration?: AclConfiguration;
|
|
1171
|
+
|
|
1172
|
+
RemoveAclConfiguration?: boolean;
|
|
1124
1173
|
}
|
|
1125
1174
|
export declare namespace ResultConfigurationUpdates {
|
|
1126
1175
|
|
|
@@ -32,6 +32,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
|
|
|
32
32
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
33
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
34
34
|
import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "../commands/UpdateDataCatalogCommand";
|
|
35
|
+
import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "../commands/UpdateNamedQueryCommand";
|
|
35
36
|
import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "../commands/UpdatePreparedStatementCommand";
|
|
36
37
|
import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "../commands/UpdateWorkGroupCommand";
|
|
37
38
|
export declare const serializeAws_json1_1BatchGetNamedQueryCommand: (input: BatchGetNamedQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -66,6 +67,7 @@ export declare const serializeAws_json1_1StopQueryExecutionCommand: (input: Stop
|
|
|
66
67
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
68
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
69
|
export declare const serializeAws_json1_1UpdateDataCatalogCommand: (input: UpdateDataCatalogCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_json1_1UpdateNamedQueryCommand: (input: UpdateNamedQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
71
|
export declare const serializeAws_json1_1UpdatePreparedStatementCommand: (input: UpdatePreparedStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
72
|
export declare const serializeAws_json1_1UpdateWorkGroupCommand: (input: UpdateWorkGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
73
|
export declare const deserializeAws_json1_1BatchGetNamedQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetNamedQueryCommandOutput>;
|
|
@@ -100,5 +102,6 @@ export declare const deserializeAws_json1_1StopQueryExecutionCommand: (output: _
|
|
|
100
102
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
101
103
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
102
104
|
export declare const deserializeAws_json1_1UpdateDataCatalogCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataCatalogCommandOutput>;
|
|
105
|
+
export declare const deserializeAws_json1_1UpdateNamedQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateNamedQueryCommandOutput>;
|
|
103
106
|
export declare const deserializeAws_json1_1UpdatePreparedStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePreparedStatementCommandOutput>;
|
|
104
107
|
export declare const deserializeAws_json1_1UpdateWorkGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkGroupCommandOutput>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.1",
|
|
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.54.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.1",
|
|
39
|
+
"@aws-sdk/types": "3.54.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.1",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
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.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.1",
|
|
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",
|