@aws-sdk/client-appsync 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 +180 -179
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +179 -0
- package/dist-es/models/errors.js +161 -0
- package/dist-es/models/models_0.js +1 -340
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +451 -0
- package/dist-types/models/errors.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +1 -627
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +236 -0
- package/dist-types/ts3.4/models/errors.d.ts +99 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -333
- 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
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AuthenticationType: {
|
|
6
|
+
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
7
|
+
readonly API_KEY: "API_KEY";
|
|
8
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
9
|
+
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
10
|
+
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const EventLogLevel: {
|
|
21
|
+
readonly ALL: "ALL";
|
|
22
|
+
readonly DEBUG: "DEBUG";
|
|
23
|
+
readonly ERROR: "ERROR";
|
|
24
|
+
readonly INFO: "INFO";
|
|
25
|
+
readonly NONE: "NONE";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type EventLogLevel = (typeof EventLogLevel)[keyof typeof EventLogLevel];
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @enum
|
|
34
|
+
*/
|
|
35
|
+
export declare const AssociationStatus: {
|
|
36
|
+
readonly Failed: "FAILED";
|
|
37
|
+
readonly Processing: "PROCESSING";
|
|
38
|
+
readonly Success: "SUCCESS";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @enum
|
|
47
|
+
*/
|
|
48
|
+
export declare const ApiCachingBehavior: {
|
|
49
|
+
readonly FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING";
|
|
50
|
+
readonly OPERATION_LEVEL_CACHING: "OPERATION_LEVEL_CACHING";
|
|
51
|
+
readonly PER_RESOLVER_CACHING: "PER_RESOLVER_CACHING";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type ApiCachingBehavior = (typeof ApiCachingBehavior)[keyof typeof ApiCachingBehavior];
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* @enum
|
|
60
|
+
*/
|
|
61
|
+
export declare const CacheHealthMetricsConfig: {
|
|
62
|
+
readonly DISABLED: "DISABLED";
|
|
63
|
+
readonly ENABLED: "ENABLED";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type CacheHealthMetricsConfig = (typeof CacheHealthMetricsConfig)[keyof typeof CacheHealthMetricsConfig];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @enum
|
|
72
|
+
*/
|
|
73
|
+
export declare const ApiCacheStatus: {
|
|
74
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
75
|
+
readonly CREATING: "CREATING";
|
|
76
|
+
readonly DELETING: "DELETING";
|
|
77
|
+
readonly FAILED: "FAILED";
|
|
78
|
+
readonly MODIFYING: "MODIFYING";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type ApiCacheStatus = (typeof ApiCacheStatus)[keyof typeof ApiCacheStatus];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const ApiCacheType: {
|
|
89
|
+
readonly LARGE: "LARGE";
|
|
90
|
+
readonly LARGE_12X: "LARGE_12X";
|
|
91
|
+
readonly LARGE_2X: "LARGE_2X";
|
|
92
|
+
readonly LARGE_4X: "LARGE_4X";
|
|
93
|
+
readonly LARGE_8X: "LARGE_8X";
|
|
94
|
+
readonly MEDIUM: "MEDIUM";
|
|
95
|
+
readonly R4_2XLARGE: "R4_2XLARGE";
|
|
96
|
+
readonly R4_4XLARGE: "R4_4XLARGE";
|
|
97
|
+
readonly R4_8XLARGE: "R4_8XLARGE";
|
|
98
|
+
readonly R4_LARGE: "R4_LARGE";
|
|
99
|
+
readonly R4_XLARGE: "R4_XLARGE";
|
|
100
|
+
readonly SMALL: "SMALL";
|
|
101
|
+
readonly T2_MEDIUM: "T2_MEDIUM";
|
|
102
|
+
readonly T2_SMALL: "T2_SMALL";
|
|
103
|
+
readonly XLARGE: "XLARGE";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type ApiCacheType = (typeof ApiCacheType)[keyof typeof ApiCacheType];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* @enum
|
|
112
|
+
*/
|
|
113
|
+
export declare const RuntimeName: {
|
|
114
|
+
readonly APPSYNC_JS: "APPSYNC_JS";
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type RuntimeName = (typeof RuntimeName)[keyof typeof RuntimeName];
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @enum
|
|
123
|
+
*/
|
|
124
|
+
export declare const BadRequestReason: {
|
|
125
|
+
readonly CODE_ERROR: "CODE_ERROR";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @enum
|
|
134
|
+
*/
|
|
135
|
+
export declare const MergeType: {
|
|
136
|
+
readonly AUTO_MERGE: "AUTO_MERGE";
|
|
137
|
+
readonly MANUAL_MERGE: "MANUAL_MERGE";
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export type MergeType = (typeof MergeType)[keyof typeof MergeType];
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @enum
|
|
146
|
+
*/
|
|
147
|
+
export declare const SourceApiAssociationStatus: {
|
|
148
|
+
readonly AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED";
|
|
149
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
150
|
+
readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
|
|
151
|
+
readonly DELETION_SCHEDULED: "DELETION_SCHEDULED";
|
|
152
|
+
readonly MERGE_FAILED: "MERGE_FAILED";
|
|
153
|
+
readonly MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS";
|
|
154
|
+
readonly MERGE_SCHEDULED: "MERGE_SCHEDULED";
|
|
155
|
+
readonly MERGE_SUCCESS: "MERGE_SUCCESS";
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export type SourceApiAssociationStatus = (typeof SourceApiAssociationStatus)[keyof typeof SourceApiAssociationStatus];
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
* @enum
|
|
164
|
+
*/
|
|
165
|
+
export declare const AuthorizationType: {
|
|
166
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type AuthorizationType = (typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* @enum
|
|
175
|
+
*/
|
|
176
|
+
export declare const HandlerBehavior: {
|
|
177
|
+
readonly CODE: "CODE";
|
|
178
|
+
readonly DIRECT: "DIRECT";
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export type HandlerBehavior = (typeof HandlerBehavior)[keyof typeof HandlerBehavior];
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* @enum
|
|
187
|
+
*/
|
|
188
|
+
export declare const InvokeType: {
|
|
189
|
+
readonly EVENT: "EVENT";
|
|
190
|
+
readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export type InvokeType = (typeof InvokeType)[keyof typeof InvokeType];
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @enum
|
|
199
|
+
*/
|
|
200
|
+
export declare const DataSourceLevelMetricsConfig: {
|
|
201
|
+
readonly DISABLED: "DISABLED";
|
|
202
|
+
readonly ENABLED: "ENABLED";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type DataSourceLevelMetricsConfig = (typeof DataSourceLevelMetricsConfig)[keyof typeof DataSourceLevelMetricsConfig];
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* @enum
|
|
211
|
+
*/
|
|
212
|
+
export declare const RelationalDatabaseSourceType: {
|
|
213
|
+
readonly RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT";
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export type RelationalDatabaseSourceType = (typeof RelationalDatabaseSourceType)[keyof typeof RelationalDatabaseSourceType];
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const DataSourceType: {
|
|
224
|
+
readonly AMAZON_BEDROCK_RUNTIME: "AMAZON_BEDROCK_RUNTIME";
|
|
225
|
+
readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
|
|
226
|
+
readonly AMAZON_ELASTICSEARCH: "AMAZON_ELASTICSEARCH";
|
|
227
|
+
readonly AMAZON_EVENTBRIDGE: "AMAZON_EVENTBRIDGE";
|
|
228
|
+
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
229
|
+
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
230
|
+
readonly HTTP: "HTTP";
|
|
231
|
+
readonly NONE: "NONE";
|
|
232
|
+
readonly RELATIONAL_DATABASE: "RELATIONAL_DATABASE";
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
* @enum
|
|
241
|
+
*/
|
|
242
|
+
export declare const ConflictDetectionType: {
|
|
243
|
+
readonly NONE: "NONE";
|
|
244
|
+
readonly VERSION: "VERSION";
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export type ConflictDetectionType = (typeof ConflictDetectionType)[keyof typeof ConflictDetectionType];
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* @enum
|
|
253
|
+
*/
|
|
254
|
+
export declare const ConflictHandlerType: {
|
|
255
|
+
readonly AUTOMERGE: "AUTOMERGE";
|
|
256
|
+
readonly LAMBDA: "LAMBDA";
|
|
257
|
+
readonly NONE: "NONE";
|
|
258
|
+
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
export type ConflictHandlerType = (typeof ConflictHandlerType)[keyof typeof ConflictHandlerType];
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* @enum
|
|
267
|
+
*/
|
|
268
|
+
export declare const GraphQLApiType: {
|
|
269
|
+
readonly GRAPHQL: "GRAPHQL";
|
|
270
|
+
readonly MERGED: "MERGED";
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
export type GraphQLApiType = (typeof GraphQLApiType)[keyof typeof GraphQLApiType];
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
* @enum
|
|
279
|
+
*/
|
|
280
|
+
export declare const DataSourceLevelMetricsBehavior: {
|
|
281
|
+
readonly FULL_REQUEST_DATA_SOURCE_METRICS: "FULL_REQUEST_DATA_SOURCE_METRICS";
|
|
282
|
+
readonly PER_DATA_SOURCE_METRICS: "PER_DATA_SOURCE_METRICS";
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export type DataSourceLevelMetricsBehavior = (typeof DataSourceLevelMetricsBehavior)[keyof typeof DataSourceLevelMetricsBehavior];
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* @enum
|
|
291
|
+
*/
|
|
292
|
+
export declare const OperationLevelMetricsConfig: {
|
|
293
|
+
readonly DISABLED: "DISABLED";
|
|
294
|
+
readonly ENABLED: "ENABLED";
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export type OperationLevelMetricsConfig = (typeof OperationLevelMetricsConfig)[keyof typeof OperationLevelMetricsConfig];
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* @enum
|
|
303
|
+
*/
|
|
304
|
+
export declare const ResolverLevelMetricsBehavior: {
|
|
305
|
+
readonly FULL_REQUEST_RESOLVER_METRICS: "FULL_REQUEST_RESOLVER_METRICS";
|
|
306
|
+
readonly PER_RESOLVER_METRICS: "PER_RESOLVER_METRICS";
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
export type ResolverLevelMetricsBehavior = (typeof ResolverLevelMetricsBehavior)[keyof typeof ResolverLevelMetricsBehavior];
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
* @enum
|
|
315
|
+
*/
|
|
316
|
+
export declare const GraphQLApiIntrospectionConfig: {
|
|
317
|
+
readonly DISABLED: "DISABLED";
|
|
318
|
+
readonly ENABLED: "ENABLED";
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
export type GraphQLApiIntrospectionConfig = (typeof GraphQLApiIntrospectionConfig)[keyof typeof GraphQLApiIntrospectionConfig];
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
* @enum
|
|
327
|
+
*/
|
|
328
|
+
export declare const FieldLogLevel: {
|
|
329
|
+
readonly ALL: "ALL";
|
|
330
|
+
readonly DEBUG: "DEBUG";
|
|
331
|
+
readonly ERROR: "ERROR";
|
|
332
|
+
readonly INFO: "INFO";
|
|
333
|
+
readonly NONE: "NONE";
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
* @enum
|
|
342
|
+
*/
|
|
343
|
+
export declare const DefaultAction: {
|
|
344
|
+
readonly ALLOW: "ALLOW";
|
|
345
|
+
readonly DENY: "DENY";
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
export type DefaultAction = (typeof DefaultAction)[keyof typeof DefaultAction];
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
* @enum
|
|
354
|
+
*/
|
|
355
|
+
export declare const GraphQLApiVisibility: {
|
|
356
|
+
readonly GLOBAL: "GLOBAL";
|
|
357
|
+
readonly PRIVATE: "PRIVATE";
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
export type GraphQLApiVisibility = (typeof GraphQLApiVisibility)[keyof typeof GraphQLApiVisibility];
|
|
363
|
+
/**
|
|
364
|
+
* @public
|
|
365
|
+
* @enum
|
|
366
|
+
*/
|
|
367
|
+
export declare const ResolverKind: {
|
|
368
|
+
readonly PIPELINE: "PIPELINE";
|
|
369
|
+
readonly UNIT: "UNIT";
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
export type ResolverKind = (typeof ResolverKind)[keyof typeof ResolverKind];
|
|
375
|
+
/**
|
|
376
|
+
* @public
|
|
377
|
+
* @enum
|
|
378
|
+
*/
|
|
379
|
+
export declare const ResolverLevelMetricsConfig: {
|
|
380
|
+
readonly DISABLED: "DISABLED";
|
|
381
|
+
readonly ENABLED: "ENABLED";
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
export type ResolverLevelMetricsConfig = (typeof ResolverLevelMetricsConfig)[keyof typeof ResolverLevelMetricsConfig];
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
* @enum
|
|
390
|
+
*/
|
|
391
|
+
export declare const TypeDefinitionFormat: {
|
|
392
|
+
readonly JSON: "JSON";
|
|
393
|
+
readonly SDL: "SDL";
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export type TypeDefinitionFormat = (typeof TypeDefinitionFormat)[keyof typeof TypeDefinitionFormat];
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
* @enum
|
|
402
|
+
*/
|
|
403
|
+
export declare const DataSourceIntrospectionStatus: {
|
|
404
|
+
readonly FAILED: "FAILED";
|
|
405
|
+
readonly PROCESSING: "PROCESSING";
|
|
406
|
+
readonly SUCCESS: "SUCCESS";
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export type DataSourceIntrospectionStatus = (typeof DataSourceIntrospectionStatus)[keyof typeof DataSourceIntrospectionStatus];
|
|
412
|
+
/**
|
|
413
|
+
* @public
|
|
414
|
+
* @enum
|
|
415
|
+
*/
|
|
416
|
+
export declare const OutputType: {
|
|
417
|
+
readonly JSON: "JSON";
|
|
418
|
+
readonly SDL: "SDL";
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
export type OutputType = (typeof OutputType)[keyof typeof OutputType];
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* @enum
|
|
427
|
+
*/
|
|
428
|
+
export declare const SchemaStatus: {
|
|
429
|
+
readonly Active: "ACTIVE";
|
|
430
|
+
readonly Deleting: "DELETING";
|
|
431
|
+
readonly Failed: "FAILED";
|
|
432
|
+
readonly NotApplicable: "NOT_APPLICABLE";
|
|
433
|
+
readonly Processing: "PROCESSING";
|
|
434
|
+
readonly Success: "SUCCESS";
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
* @enum
|
|
443
|
+
*/
|
|
444
|
+
export declare const Ownership: {
|
|
445
|
+
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
446
|
+
readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
export type Ownership = (typeof Ownership)[keyof typeof Ownership];
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AppSyncServiceException as __BaseException } from "./AppSyncServiceException";
|
|
3
|
+
import { BadRequestReason } from "./enums";
|
|
4
|
+
import { BadRequestDetail } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have access to perform this operation on this resource.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The API key exceeded a limit. Try your request again.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ApiKeyLimitExceededException extends __BaseException {
|
|
22
|
+
readonly name: "ApiKeyLimitExceededException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The API key expiration must be set to a value between 1 and 365 days from creation (for
|
|
31
|
+
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
|
|
35
|
+
readonly name: "ApiKeyValidityOutOfBoundsException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<ApiKeyValidityOutOfBoundsException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The GraphQL API exceeded a limit. Try your request again.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ApiLimitExceededException extends __BaseException {
|
|
47
|
+
readonly name: "ApiLimitExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
56
|
+
* missing. Check the field values, and then try again.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class BadRequestException extends __BaseException {
|
|
60
|
+
readonly name: "BadRequestException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* <p>Provides context for the cause of the bad request. The only supported value is
|
|
64
|
+
* <code>CODE_ERROR</code>.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
reason?: BadRequestReason | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Provides further details for the reason behind the bad request. For reason type
|
|
70
|
+
* <code>CODE_ERROR</code>, the detail will contain a list of code errors.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
detail?: BadRequestDetail | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class InternalFailureException extends __BaseException {
|
|
84
|
+
readonly name: "InternalFailureException";
|
|
85
|
+
readonly $fault: "server";
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
93
|
+
* again.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class NotFoundException extends __BaseException {
|
|
97
|
+
readonly name: "NotFoundException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
106
|
+
* make your change.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
110
|
+
readonly name: "ConcurrentModificationException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* <p>The request exceeded a limit. Try your request again.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class LimitExceededException extends __BaseException {
|
|
122
|
+
readonly name: "LimitExceededException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>You aren't authorized to perform this operation.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
134
|
+
readonly name: "UnauthorizedException";
|
|
135
|
+
readonly $fault: "client";
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* <p>The operation exceeded the service quota for this resource.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
146
|
+
readonly name: "ServiceQuotaExceededException";
|
|
147
|
+
readonly $fault: "client";
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* <p>A conflict with a previous successful update is detected. This typically occurs when the
|
|
155
|
+
* previous update did not have time to propagate before the next update was made. A retry
|
|
156
|
+
* (with appropriate backoff logic) is the recommended response to this exception.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export declare class ConflictException extends __BaseException {
|
|
160
|
+
readonly name: "ConflictException";
|
|
161
|
+
readonly $fault: "client";
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* <p>The GraphQL schema is not valid.</p>
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare class GraphQLSchemaException extends __BaseException {
|
|
172
|
+
readonly name: "GraphQLSchemaException";
|
|
173
|
+
readonly $fault: "client";
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>);
|
|
178
|
+
}
|