@aws-sdk/client-athena 3.934.0 → 3.935.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 +128 -127
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +127 -0
- package/dist-es/models/errors.js +91 -0
- package/dist-es/models/models_0.js +1 -218
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +279 -0
- package/dist-types/models/errors.d.ts +105 -0
- package/dist-types/models/models_0.d.ts +1 -383
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +159 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -210
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,218 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const S3AclOption = {
|
|
3
|
-
BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
|
|
4
|
-
};
|
|
5
|
-
export class InternalServerException extends __BaseException {
|
|
6
|
-
name = "InternalServerException";
|
|
7
|
-
$fault = "server";
|
|
8
|
-
Message;
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "InternalServerException",
|
|
12
|
-
$fault: "server",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
16
|
-
this.Message = opts.Message;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export class InvalidRequestException extends __BaseException {
|
|
20
|
-
name = "InvalidRequestException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
AthenaErrorCode;
|
|
23
|
-
Message;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "InvalidRequestException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
31
|
-
this.AthenaErrorCode = opts.AthenaErrorCode;
|
|
32
|
-
this.Message = opts.Message;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
export const AuthenticationType = {
|
|
36
|
-
DIRECTORY_IDENTITY: "DIRECTORY_IDENTITY",
|
|
37
|
-
};
|
|
38
|
-
export const EncryptionOption = {
|
|
39
|
-
CSE_KMS: "CSE_KMS",
|
|
40
|
-
SSE_KMS: "SSE_KMS",
|
|
41
|
-
SSE_S3: "SSE_S3",
|
|
42
|
-
};
|
|
43
|
-
export const StatementType = {
|
|
44
|
-
DDL: "DDL",
|
|
45
|
-
DML: "DML",
|
|
46
|
-
UTILITY: "UTILITY",
|
|
47
|
-
};
|
|
48
|
-
export const QueryExecutionState = {
|
|
49
|
-
CANCELLED: "CANCELLED",
|
|
50
|
-
FAILED: "FAILED",
|
|
51
|
-
QUEUED: "QUEUED",
|
|
52
|
-
RUNNING: "RUNNING",
|
|
53
|
-
SUCCEEDED: "SUCCEEDED",
|
|
54
|
-
};
|
|
55
|
-
export const DataCatalogType = {
|
|
56
|
-
FEDERATED: "FEDERATED",
|
|
57
|
-
GLUE: "GLUE",
|
|
58
|
-
HIVE: "HIVE",
|
|
59
|
-
LAMBDA: "LAMBDA",
|
|
60
|
-
};
|
|
61
|
-
export const ConnectionType = {
|
|
62
|
-
BIGQUERY: "BIGQUERY",
|
|
63
|
-
CMDB: "CMDB",
|
|
64
|
-
DATALAKEGEN2: "DATALAKEGEN2",
|
|
65
|
-
DB2: "DB2",
|
|
66
|
-
DB2AS400: "DB2AS400",
|
|
67
|
-
DOCUMENTDB: "DOCUMENTDB",
|
|
68
|
-
DYNAMODB: "DYNAMODB",
|
|
69
|
-
GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE",
|
|
70
|
-
HBASE: "HBASE",
|
|
71
|
-
MYSQL: "MYSQL",
|
|
72
|
-
OPENSEARCH: "OPENSEARCH",
|
|
73
|
-
ORACLE: "ORACLE",
|
|
74
|
-
POSTGRESQL: "POSTGRESQL",
|
|
75
|
-
REDSHIFT: "REDSHIFT",
|
|
76
|
-
SAPHANA: "SAPHANA",
|
|
77
|
-
SNOWFLAKE: "SNOWFLAKE",
|
|
78
|
-
SQLSERVER: "SQLSERVER",
|
|
79
|
-
SYNAPSE: "SYNAPSE",
|
|
80
|
-
TIMESTREAM: "TIMESTREAM",
|
|
81
|
-
TPCDS: "TPCDS",
|
|
82
|
-
};
|
|
83
|
-
export const DataCatalogStatus = {
|
|
84
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
85
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
86
|
-
CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE",
|
|
87
|
-
CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED",
|
|
88
|
-
CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS",
|
|
89
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
90
|
-
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
91
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
92
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
93
|
-
};
|
|
94
|
-
export const ThrottleReason = {
|
|
95
|
-
CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED",
|
|
96
|
-
};
|
|
97
|
-
export class TooManyRequestsException extends __BaseException {
|
|
98
|
-
name = "TooManyRequestsException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
Message;
|
|
101
|
-
Reason;
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "TooManyRequestsException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
109
|
-
this.Message = opts.Message;
|
|
110
|
-
this.Reason = opts.Reason;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
114
|
-
name = "ResourceNotFoundException";
|
|
115
|
-
$fault = "client";
|
|
116
|
-
Message;
|
|
117
|
-
ResourceName;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ResourceNotFoundException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
125
|
-
this.Message = opts.Message;
|
|
126
|
-
this.ResourceName = opts.ResourceName;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export const NotebookType = {
|
|
130
|
-
IPYNB: "IPYNB",
|
|
131
|
-
};
|
|
132
|
-
export const CalculationExecutionState = {
|
|
133
|
-
CANCELED: "CANCELED",
|
|
134
|
-
CANCELING: "CANCELING",
|
|
135
|
-
COMPLETED: "COMPLETED",
|
|
136
|
-
CREATED: "CREATED",
|
|
137
|
-
CREATING: "CREATING",
|
|
138
|
-
FAILED: "FAILED",
|
|
139
|
-
QUEUED: "QUEUED",
|
|
140
|
-
RUNNING: "RUNNING",
|
|
141
|
-
};
|
|
142
|
-
export const CapacityAllocationStatus = {
|
|
143
|
-
FAILED: "FAILED",
|
|
144
|
-
PENDING: "PENDING",
|
|
145
|
-
SUCCEEDED: "SUCCEEDED",
|
|
146
|
-
};
|
|
147
|
-
export const CapacityReservationStatus = {
|
|
148
|
-
ACTIVE: "ACTIVE",
|
|
149
|
-
CANCELLED: "CANCELLED",
|
|
150
|
-
CANCELLING: "CANCELLING",
|
|
151
|
-
FAILED: "FAILED",
|
|
152
|
-
PENDING: "PENDING",
|
|
153
|
-
UPDATE_PENDING: "UPDATE_PENDING",
|
|
154
|
-
};
|
|
155
|
-
export class MetadataException extends __BaseException {
|
|
156
|
-
name = "MetadataException";
|
|
157
|
-
$fault = "client";
|
|
158
|
-
Message;
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "MetadataException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, MetadataException.prototype);
|
|
166
|
-
this.Message = opts.Message;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
export const QueryResultType = {
|
|
170
|
-
DATA_MANIFEST: "DATA_MANIFEST",
|
|
171
|
-
DATA_ROWS: "DATA_ROWS",
|
|
172
|
-
};
|
|
173
|
-
export const ColumnNullable = {
|
|
174
|
-
NOT_NULL: "NOT_NULL",
|
|
175
|
-
NULLABLE: "NULLABLE",
|
|
176
|
-
UNKNOWN: "UNKNOWN",
|
|
177
|
-
};
|
|
178
|
-
export const SessionState = {
|
|
179
|
-
BUSY: "BUSY",
|
|
180
|
-
CREATED: "CREATED",
|
|
181
|
-
CREATING: "CREATING",
|
|
182
|
-
DEGRADED: "DEGRADED",
|
|
183
|
-
FAILED: "FAILED",
|
|
184
|
-
IDLE: "IDLE",
|
|
185
|
-
TERMINATED: "TERMINATED",
|
|
186
|
-
TERMINATING: "TERMINATING",
|
|
187
|
-
};
|
|
188
|
-
export const WorkGroupState = {
|
|
189
|
-
DISABLED: "DISABLED",
|
|
190
|
-
ENABLED: "ENABLED",
|
|
191
|
-
};
|
|
192
|
-
export const ExecutorState = {
|
|
193
|
-
CREATED: "CREATED",
|
|
194
|
-
CREATING: "CREATING",
|
|
195
|
-
FAILED: "FAILED",
|
|
196
|
-
REGISTERED: "REGISTERED",
|
|
197
|
-
TERMINATED: "TERMINATED",
|
|
198
|
-
TERMINATING: "TERMINATING",
|
|
199
|
-
};
|
|
200
|
-
export const ExecutorType = {
|
|
201
|
-
COORDINATOR: "COORDINATOR",
|
|
202
|
-
GATEWAY: "GATEWAY",
|
|
203
|
-
WORKER: "WORKER",
|
|
204
|
-
};
|
|
205
|
-
export class SessionAlreadyExistsException extends __BaseException {
|
|
206
|
-
name = "SessionAlreadyExistsException";
|
|
207
|
-
$fault = "client";
|
|
208
|
-
Message;
|
|
209
|
-
constructor(opts) {
|
|
210
|
-
super({
|
|
211
|
-
name: "SessionAlreadyExistsException",
|
|
212
|
-
$fault: "client",
|
|
213
|
-
...opts,
|
|
214
|
-
});
|
|
215
|
-
Object.setPrototypeOf(this, SessionAlreadyExistsException.prototype);
|
|
216
|
-
this.Message = opts.Message;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
1
|
+
export {};
|
|
@@ -488,7 +488,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.athena";
|
|
|
488
488
|
const n0 = "com.amazonaws.athena";
|
|
489
489
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
490
490
|
import { AthenaServiceException as __AthenaServiceException } from "../models/AthenaServiceException";
|
|
491
|
-
import { InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, MetadataException as __MetadataException, ResourceNotFoundException as __ResourceNotFoundException, SessionAlreadyExistsException as __SessionAlreadyExistsException, TooManyRequestsException as __TooManyRequestsException, } from "../models/
|
|
491
|
+
import { InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, MetadataException as __MetadataException, ResourceNotFoundException as __ResourceNotFoundException, SessionAlreadyExistsException as __SessionAlreadyExistsException, TooManyRequestsException as __TooManyRequestsException, } from "../models/errors";
|
|
492
492
|
export var AclConfiguration = [3, n0, _AC, 0, [_SAO], [0]];
|
|
493
493
|
export var ApplicationDPUSizes = [3, n0, _ADPUS, 0, [_ARI, _SDPUS], [0, 64 | 1]];
|
|
494
494
|
export var AthenaError = [3, n0, _AE, 0, [_EC, _ET, _R, _EM], [1, 1, 2, 0]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -20,5 +20,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
20
20
|
export type { AthenaExtensionConfiguration } from "./extensionConfiguration";
|
|
21
21
|
export * from "./commands";
|
|
22
22
|
export * from "./pagination";
|
|
23
|
-
export * from "./models";
|
|
23
|
+
export * from "./models/enums";
|
|
24
|
+
export * from "./models/errors";
|
|
25
|
+
export type * from "./models/models_0";
|
|
24
26
|
export { AthenaServiceException } from "./models/AthenaServiceException";
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const S3AclOption: {
|
|
6
|
+
readonly BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type S3AclOption = (typeof S3AclOption)[keyof typeof S3AclOption];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const AuthenticationType: {
|
|
17
|
+
readonly DIRECTORY_IDENTITY: "DIRECTORY_IDENTITY";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @enum
|
|
26
|
+
*/
|
|
27
|
+
export declare const EncryptionOption: {
|
|
28
|
+
readonly CSE_KMS: "CSE_KMS";
|
|
29
|
+
readonly SSE_KMS: "SSE_KMS";
|
|
30
|
+
readonly SSE_S3: "SSE_S3";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type EncryptionOption = (typeof EncryptionOption)[keyof typeof EncryptionOption];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const StatementType: {
|
|
41
|
+
readonly DDL: "DDL";
|
|
42
|
+
readonly DML: "DML";
|
|
43
|
+
readonly UTILITY: "UTILITY";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type StatementType = (typeof StatementType)[keyof typeof StatementType];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const QueryExecutionState: {
|
|
54
|
+
readonly CANCELLED: "CANCELLED";
|
|
55
|
+
readonly FAILED: "FAILED";
|
|
56
|
+
readonly QUEUED: "QUEUED";
|
|
57
|
+
readonly RUNNING: "RUNNING";
|
|
58
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type QueryExecutionState = (typeof QueryExecutionState)[keyof typeof QueryExecutionState];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const DataCatalogType: {
|
|
69
|
+
readonly FEDERATED: "FEDERATED";
|
|
70
|
+
readonly GLUE: "GLUE";
|
|
71
|
+
readonly HIVE: "HIVE";
|
|
72
|
+
readonly LAMBDA: "LAMBDA";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type DataCatalogType = (typeof DataCatalogType)[keyof typeof DataCatalogType];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const ConnectionType: {
|
|
83
|
+
readonly BIGQUERY: "BIGQUERY";
|
|
84
|
+
readonly CMDB: "CMDB";
|
|
85
|
+
readonly DATALAKEGEN2: "DATALAKEGEN2";
|
|
86
|
+
readonly DB2: "DB2";
|
|
87
|
+
readonly DB2AS400: "DB2AS400";
|
|
88
|
+
readonly DOCUMENTDB: "DOCUMENTDB";
|
|
89
|
+
readonly DYNAMODB: "DYNAMODB";
|
|
90
|
+
readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE";
|
|
91
|
+
readonly HBASE: "HBASE";
|
|
92
|
+
readonly MYSQL: "MYSQL";
|
|
93
|
+
readonly OPENSEARCH: "OPENSEARCH";
|
|
94
|
+
readonly ORACLE: "ORACLE";
|
|
95
|
+
readonly POSTGRESQL: "POSTGRESQL";
|
|
96
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
97
|
+
readonly SAPHANA: "SAPHANA";
|
|
98
|
+
readonly SNOWFLAKE: "SNOWFLAKE";
|
|
99
|
+
readonly SQLSERVER: "SQLSERVER";
|
|
100
|
+
readonly SYNAPSE: "SYNAPSE";
|
|
101
|
+
readonly TIMESTREAM: "TIMESTREAM";
|
|
102
|
+
readonly TPCDS: "TPCDS";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const DataCatalogStatus: {
|
|
113
|
+
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
114
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
115
|
+
readonly CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE";
|
|
116
|
+
readonly CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED";
|
|
117
|
+
readonly CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS";
|
|
118
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
119
|
+
readonly DELETE_COMPLETE: "DELETE_COMPLETE";
|
|
120
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
121
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export type DataCatalogStatus = (typeof DataCatalogStatus)[keyof typeof DataCatalogStatus];
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* @enum
|
|
130
|
+
*/
|
|
131
|
+
export declare const ThrottleReason: {
|
|
132
|
+
readonly CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type ThrottleReason = (typeof ThrottleReason)[keyof typeof ThrottleReason];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const NotebookType: {
|
|
143
|
+
readonly IPYNB: "IPYNB";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type NotebookType = (typeof NotebookType)[keyof typeof NotebookType];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const CalculationExecutionState: {
|
|
154
|
+
readonly CANCELED: "CANCELED";
|
|
155
|
+
readonly CANCELING: "CANCELING";
|
|
156
|
+
readonly COMPLETED: "COMPLETED";
|
|
157
|
+
readonly CREATED: "CREATED";
|
|
158
|
+
readonly CREATING: "CREATING";
|
|
159
|
+
readonly FAILED: "FAILED";
|
|
160
|
+
readonly QUEUED: "QUEUED";
|
|
161
|
+
readonly RUNNING: "RUNNING";
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export type CalculationExecutionState = (typeof CalculationExecutionState)[keyof typeof CalculationExecutionState];
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* @enum
|
|
170
|
+
*/
|
|
171
|
+
export declare const CapacityAllocationStatus: {
|
|
172
|
+
readonly FAILED: "FAILED";
|
|
173
|
+
readonly PENDING: "PENDING";
|
|
174
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type CapacityAllocationStatus = (typeof CapacityAllocationStatus)[keyof typeof CapacityAllocationStatus];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const CapacityReservationStatus: {
|
|
185
|
+
readonly ACTIVE: "ACTIVE";
|
|
186
|
+
readonly CANCELLED: "CANCELLED";
|
|
187
|
+
readonly CANCELLING: "CANCELLING";
|
|
188
|
+
readonly FAILED: "FAILED";
|
|
189
|
+
readonly PENDING: "PENDING";
|
|
190
|
+
readonly UPDATE_PENDING: "UPDATE_PENDING";
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export type CapacityReservationStatus = (typeof CapacityReservationStatus)[keyof typeof CapacityReservationStatus];
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @enum
|
|
199
|
+
*/
|
|
200
|
+
export declare const QueryResultType: {
|
|
201
|
+
readonly DATA_MANIFEST: "DATA_MANIFEST";
|
|
202
|
+
readonly DATA_ROWS: "DATA_ROWS";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type QueryResultType = (typeof QueryResultType)[keyof typeof QueryResultType];
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* @enum
|
|
211
|
+
*/
|
|
212
|
+
export declare const ColumnNullable: {
|
|
213
|
+
readonly NOT_NULL: "NOT_NULL";
|
|
214
|
+
readonly NULLABLE: "NULLABLE";
|
|
215
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type ColumnNullable = (typeof ColumnNullable)[keyof typeof ColumnNullable];
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @enum
|
|
224
|
+
*/
|
|
225
|
+
export declare const SessionState: {
|
|
226
|
+
readonly BUSY: "BUSY";
|
|
227
|
+
readonly CREATED: "CREATED";
|
|
228
|
+
readonly CREATING: "CREATING";
|
|
229
|
+
readonly DEGRADED: "DEGRADED";
|
|
230
|
+
readonly FAILED: "FAILED";
|
|
231
|
+
readonly IDLE: "IDLE";
|
|
232
|
+
readonly TERMINATED: "TERMINATED";
|
|
233
|
+
readonly TERMINATING: "TERMINATING";
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export type SessionState = (typeof SessionState)[keyof typeof SessionState];
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* @enum
|
|
242
|
+
*/
|
|
243
|
+
export declare const WorkGroupState: {
|
|
244
|
+
readonly DISABLED: "DISABLED";
|
|
245
|
+
readonly ENABLED: "ENABLED";
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export type WorkGroupState = (typeof WorkGroupState)[keyof typeof WorkGroupState];
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* @enum
|
|
254
|
+
*/
|
|
255
|
+
export declare const ExecutorState: {
|
|
256
|
+
readonly CREATED: "CREATED";
|
|
257
|
+
readonly CREATING: "CREATING";
|
|
258
|
+
readonly FAILED: "FAILED";
|
|
259
|
+
readonly REGISTERED: "REGISTERED";
|
|
260
|
+
readonly TERMINATED: "TERMINATED";
|
|
261
|
+
readonly TERMINATING: "TERMINATING";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export type ExecutorState = (typeof ExecutorState)[keyof typeof ExecutorState];
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
* @enum
|
|
270
|
+
*/
|
|
271
|
+
export declare const ExecutorType: {
|
|
272
|
+
readonly COORDINATOR: "COORDINATOR";
|
|
273
|
+
readonly GATEWAY: "GATEWAY";
|
|
274
|
+
readonly WORKER: "WORKER";
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
|
|
3
|
+
import { ThrottleReason } from "./enums";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
6
|
+
* outage.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class InternalServerException extends __BaseException {
|
|
10
|
+
readonly name: "InternalServerException";
|
|
11
|
+
readonly $fault: "server";
|
|
12
|
+
Message?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
20
|
+
* required parameter may be missing or out of range.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
24
|
+
readonly name: "InvalidRequestException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
/**
|
|
27
|
+
* <p>The error code returned when the query execution failed to process, or when the
|
|
28
|
+
* processing request for the named query failed.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
AthenaErrorCode?: string | undefined;
|
|
32
|
+
Message?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>Indicates that the request was throttled.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
43
|
+
readonly name: "TooManyRequestsException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
Message?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The reason for the query throttling, for example, when it exceeds the concurrent query
|
|
48
|
+
* limit.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
Reason?: ThrottleReason | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>A resource, such as a workgroup, was not found.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ResourceNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The name of the Amazon resource.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
ResourceName?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>An exception that Athena received when it called a custom metastore.
|
|
77
|
+
* Occurs if the error is not caused by user input (<code>InvalidRequestException</code>)
|
|
78
|
+
* or from the Athena platform (<code>InternalServerException</code>). For
|
|
79
|
+
* example, if a user-created Lambda function is missing permissions, the
|
|
80
|
+
* Lambda
|
|
81
|
+
* <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class MetadataException extends __BaseException {
|
|
85
|
+
readonly name: "MetadataException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
Message?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>The specified session already exists.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class SessionAlreadyExistsException extends __BaseException {
|
|
98
|
+
readonly name: "SessionAlreadyExistsException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
Message?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<SessionAlreadyExistsException, __BaseException>);
|
|
105
|
+
}
|