@aws-sdk/client-appsync 3.934.0 → 3.936.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 +19 -19
- 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,21 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import {
|
|
2
|
+
ApiCacheStatus,
|
|
3
|
+
ApiCacheType,
|
|
4
|
+
ApiCachingBehavior,
|
|
5
|
+
AssociationStatus,
|
|
6
|
+
AuthenticationType,
|
|
7
|
+
AuthorizationType,
|
|
8
|
+
CacheHealthMetricsConfig,
|
|
9
|
+
ConflictDetectionType,
|
|
10
|
+
ConflictHandlerType,
|
|
11
|
+
DataSourceIntrospectionStatus,
|
|
12
|
+
DataSourceLevelMetricsBehavior,
|
|
13
|
+
DataSourceLevelMetricsConfig,
|
|
14
|
+
DataSourceType,
|
|
15
|
+
DefaultAction,
|
|
16
|
+
EventLogLevel,
|
|
17
|
+
FieldLogLevel,
|
|
18
|
+
GraphQLApiIntrospectionConfig,
|
|
19
|
+
GraphQLApiType,
|
|
20
|
+
GraphQLApiVisibility,
|
|
21
|
+
HandlerBehavior,
|
|
22
|
+
InvokeType,
|
|
23
|
+
MergeType,
|
|
24
|
+
OperationLevelMetricsConfig,
|
|
25
|
+
OutputType,
|
|
26
|
+
Ownership,
|
|
27
|
+
RelationalDatabaseSourceType,
|
|
28
|
+
ResolverKind,
|
|
29
|
+
ResolverLevelMetricsBehavior,
|
|
30
|
+
ResolverLevelMetricsConfig,
|
|
31
|
+
RuntimeName,
|
|
32
|
+
SchemaStatus,
|
|
33
|
+
SourceApiAssociationStatus,
|
|
34
|
+
TypeDefinitionFormat,
|
|
35
|
+
} from "./enums";
|
|
19
36
|
export interface LambdaAuthorizerConfig {
|
|
20
37
|
authorizerResultTtlInSeconds?: number | undefined;
|
|
21
38
|
authorizerUri: string | undefined;
|
|
@@ -52,14 +69,6 @@ export interface AuthProvider {
|
|
|
52
69
|
export interface AuthMode {
|
|
53
70
|
authType: AuthenticationType | undefined;
|
|
54
71
|
}
|
|
55
|
-
export declare const EventLogLevel: {
|
|
56
|
-
readonly ALL: "ALL";
|
|
57
|
-
readonly DEBUG: "DEBUG";
|
|
58
|
-
readonly ERROR: "ERROR";
|
|
59
|
-
readonly INFO: "INFO";
|
|
60
|
-
readonly NONE: "NONE";
|
|
61
|
-
};
|
|
62
|
-
export type EventLogLevel = (typeof EventLogLevel)[keyof typeof EventLogLevel];
|
|
63
72
|
export interface EventLogConfig {
|
|
64
73
|
logLevel: EventLogLevel | undefined;
|
|
65
74
|
cloudWatchLogsRoleArn: string | undefined;
|
|
@@ -83,59 +92,12 @@ export interface Api {
|
|
|
83
92
|
wafWebAclArn?: string | undefined;
|
|
84
93
|
eventConfig?: EventConfig | undefined;
|
|
85
94
|
}
|
|
86
|
-
export declare const AssociationStatus: {
|
|
87
|
-
readonly Failed: "FAILED";
|
|
88
|
-
readonly Processing: "PROCESSING";
|
|
89
|
-
readonly Success: "SUCCESS";
|
|
90
|
-
};
|
|
91
|
-
export type AssociationStatus =
|
|
92
|
-
(typeof AssociationStatus)[keyof typeof AssociationStatus];
|
|
93
95
|
export interface ApiAssociation {
|
|
94
96
|
domainName?: string | undefined;
|
|
95
97
|
apiId?: string | undefined;
|
|
96
98
|
associationStatus?: AssociationStatus | undefined;
|
|
97
99
|
deploymentDetail?: string | undefined;
|
|
98
100
|
}
|
|
99
|
-
export declare const ApiCachingBehavior: {
|
|
100
|
-
readonly FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING";
|
|
101
|
-
readonly OPERATION_LEVEL_CACHING: "OPERATION_LEVEL_CACHING";
|
|
102
|
-
readonly PER_RESOLVER_CACHING: "PER_RESOLVER_CACHING";
|
|
103
|
-
};
|
|
104
|
-
export type ApiCachingBehavior =
|
|
105
|
-
(typeof ApiCachingBehavior)[keyof typeof ApiCachingBehavior];
|
|
106
|
-
export declare const CacheHealthMetricsConfig: {
|
|
107
|
-
readonly DISABLED: "DISABLED";
|
|
108
|
-
readonly ENABLED: "ENABLED";
|
|
109
|
-
};
|
|
110
|
-
export type CacheHealthMetricsConfig =
|
|
111
|
-
(typeof CacheHealthMetricsConfig)[keyof typeof CacheHealthMetricsConfig];
|
|
112
|
-
export declare const ApiCacheStatus: {
|
|
113
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
114
|
-
readonly CREATING: "CREATING";
|
|
115
|
-
readonly DELETING: "DELETING";
|
|
116
|
-
readonly FAILED: "FAILED";
|
|
117
|
-
readonly MODIFYING: "MODIFYING";
|
|
118
|
-
};
|
|
119
|
-
export type ApiCacheStatus =
|
|
120
|
-
(typeof ApiCacheStatus)[keyof typeof ApiCacheStatus];
|
|
121
|
-
export declare const ApiCacheType: {
|
|
122
|
-
readonly LARGE: "LARGE";
|
|
123
|
-
readonly LARGE_12X: "LARGE_12X";
|
|
124
|
-
readonly LARGE_2X: "LARGE_2X";
|
|
125
|
-
readonly LARGE_4X: "LARGE_4X";
|
|
126
|
-
readonly LARGE_8X: "LARGE_8X";
|
|
127
|
-
readonly MEDIUM: "MEDIUM";
|
|
128
|
-
readonly R4_2XLARGE: "R4_2XLARGE";
|
|
129
|
-
readonly R4_4XLARGE: "R4_4XLARGE";
|
|
130
|
-
readonly R4_8XLARGE: "R4_8XLARGE";
|
|
131
|
-
readonly R4_LARGE: "R4_LARGE";
|
|
132
|
-
readonly R4_XLARGE: "R4_XLARGE";
|
|
133
|
-
readonly SMALL: "SMALL";
|
|
134
|
-
readonly T2_MEDIUM: "T2_MEDIUM";
|
|
135
|
-
readonly T2_SMALL: "T2_SMALL";
|
|
136
|
-
readonly XLARGE: "XLARGE";
|
|
137
|
-
};
|
|
138
|
-
export type ApiCacheType = (typeof ApiCacheType)[keyof typeof ApiCacheType];
|
|
139
101
|
export interface ApiCache {
|
|
140
102
|
ttl?: number | undefined;
|
|
141
103
|
apiCachingBehavior?: ApiCachingBehavior | undefined;
|
|
@@ -151,34 +113,6 @@ export interface ApiKey {
|
|
|
151
113
|
expires?: number | undefined;
|
|
152
114
|
deletes?: number | undefined;
|
|
153
115
|
}
|
|
154
|
-
export declare class ApiKeyLimitExceededException extends __BaseException {
|
|
155
|
-
readonly name: "ApiKeyLimitExceededException";
|
|
156
|
-
readonly $fault: "client";
|
|
157
|
-
constructor(
|
|
158
|
-
opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
|
|
162
|
-
readonly name: "ApiKeyValidityOutOfBoundsException";
|
|
163
|
-
readonly $fault: "client";
|
|
164
|
-
constructor(
|
|
165
|
-
opts: __ExceptionOptionType<
|
|
166
|
-
ApiKeyValidityOutOfBoundsException,
|
|
167
|
-
__BaseException
|
|
168
|
-
>
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
export declare class ApiLimitExceededException extends __BaseException {
|
|
172
|
-
readonly name: "ApiLimitExceededException";
|
|
173
|
-
readonly $fault: "client";
|
|
174
|
-
constructor(
|
|
175
|
-
opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
export declare const RuntimeName: {
|
|
179
|
-
readonly APPSYNC_JS: "APPSYNC_JS";
|
|
180
|
-
};
|
|
181
|
-
export type RuntimeName = (typeof RuntimeName)[keyof typeof RuntimeName];
|
|
182
116
|
export interface AppSyncRuntime {
|
|
183
117
|
name: RuntimeName | undefined;
|
|
184
118
|
runtimeVersion: string | undefined;
|
|
@@ -203,37 +137,6 @@ export interface CodeError {
|
|
|
203
137
|
export interface BadRequestDetail {
|
|
204
138
|
codeErrors?: CodeError[] | undefined;
|
|
205
139
|
}
|
|
206
|
-
export declare const BadRequestReason: {
|
|
207
|
-
readonly CODE_ERROR: "CODE_ERROR";
|
|
208
|
-
};
|
|
209
|
-
export type BadRequestReason =
|
|
210
|
-
(typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
211
|
-
export declare class BadRequestException extends __BaseException {
|
|
212
|
-
readonly name: "BadRequestException";
|
|
213
|
-
readonly $fault: "client";
|
|
214
|
-
reason?: BadRequestReason | undefined;
|
|
215
|
-
detail?: BadRequestDetail | undefined;
|
|
216
|
-
constructor(
|
|
217
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
export declare class InternalFailureException extends __BaseException {
|
|
221
|
-
readonly name: "InternalFailureException";
|
|
222
|
-
readonly $fault: "server";
|
|
223
|
-
constructor(
|
|
224
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
225
|
-
);
|
|
226
|
-
}
|
|
227
|
-
export declare class NotFoundException extends __BaseException {
|
|
228
|
-
readonly name: "NotFoundException";
|
|
229
|
-
readonly $fault: "client";
|
|
230
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
231
|
-
}
|
|
232
|
-
export declare const MergeType: {
|
|
233
|
-
readonly AUTO_MERGE: "AUTO_MERGE";
|
|
234
|
-
readonly MANUAL_MERGE: "MANUAL_MERGE";
|
|
235
|
-
};
|
|
236
|
-
export type MergeType = (typeof MergeType)[keyof typeof MergeType];
|
|
237
140
|
export interface SourceApiAssociationConfig {
|
|
238
141
|
mergeType?: MergeType | undefined;
|
|
239
142
|
}
|
|
@@ -243,18 +146,6 @@ export interface AssociateMergedGraphqlApiRequest {
|
|
|
243
146
|
description?: string | undefined;
|
|
244
147
|
sourceApiAssociationConfig?: SourceApiAssociationConfig | undefined;
|
|
245
148
|
}
|
|
246
|
-
export declare const SourceApiAssociationStatus: {
|
|
247
|
-
readonly AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED";
|
|
248
|
-
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
249
|
-
readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
|
|
250
|
-
readonly DELETION_SCHEDULED: "DELETION_SCHEDULED";
|
|
251
|
-
readonly MERGE_FAILED: "MERGE_FAILED";
|
|
252
|
-
readonly MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS";
|
|
253
|
-
readonly MERGE_SCHEDULED: "MERGE_SCHEDULED";
|
|
254
|
-
readonly MERGE_SUCCESS: "MERGE_SUCCESS";
|
|
255
|
-
};
|
|
256
|
-
export type SourceApiAssociationStatus =
|
|
257
|
-
(typeof SourceApiAssociationStatus)[keyof typeof SourceApiAssociationStatus];
|
|
258
149
|
export interface SourceApiAssociation {
|
|
259
150
|
associationId?: string | undefined;
|
|
260
151
|
associationArn?: string | undefined;
|
|
@@ -271,30 +162,6 @@ export interface SourceApiAssociation {
|
|
|
271
162
|
export interface AssociateMergedGraphqlApiResponse {
|
|
272
163
|
sourceApiAssociation?: SourceApiAssociation | undefined;
|
|
273
164
|
}
|
|
274
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
275
|
-
readonly name: "ConcurrentModificationException";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
constructor(
|
|
278
|
-
opts: __ExceptionOptionType<
|
|
279
|
-
ConcurrentModificationException,
|
|
280
|
-
__BaseException
|
|
281
|
-
>
|
|
282
|
-
);
|
|
283
|
-
}
|
|
284
|
-
export declare class LimitExceededException extends __BaseException {
|
|
285
|
-
readonly name: "LimitExceededException";
|
|
286
|
-
readonly $fault: "client";
|
|
287
|
-
constructor(
|
|
288
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
292
|
-
readonly name: "UnauthorizedException";
|
|
293
|
-
readonly $fault: "client";
|
|
294
|
-
constructor(
|
|
295
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
296
|
-
);
|
|
297
|
-
}
|
|
298
165
|
export interface AssociateSourceGraphqlApiRequest {
|
|
299
166
|
mergedApiIdentifier: string | undefined;
|
|
300
167
|
sourceApiIdentifier: string | undefined;
|
|
@@ -304,11 +171,6 @@ export interface AssociateSourceGraphqlApiRequest {
|
|
|
304
171
|
export interface AssociateSourceGraphqlApiResponse {
|
|
305
172
|
sourceApiAssociation?: SourceApiAssociation | undefined;
|
|
306
173
|
}
|
|
307
|
-
export declare const AuthorizationType: {
|
|
308
|
-
readonly AWS_IAM: "AWS_IAM";
|
|
309
|
-
};
|
|
310
|
-
export type AuthorizationType =
|
|
311
|
-
(typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
312
174
|
export interface AwsIamConfig {
|
|
313
175
|
signingRegion?: string | undefined;
|
|
314
176
|
signingServiceName?: string | undefined;
|
|
@@ -326,13 +188,6 @@ export interface CreateApiRequest {
|
|
|
326
188
|
export interface CreateApiResponse {
|
|
327
189
|
api?: Api | undefined;
|
|
328
190
|
}
|
|
329
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
330
|
-
readonly name: "ServiceQuotaExceededException";
|
|
331
|
-
readonly $fault: "client";
|
|
332
|
-
constructor(
|
|
333
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
191
|
export interface CreateApiCacheRequest {
|
|
337
192
|
apiId: string | undefined;
|
|
338
193
|
ttl: number | undefined;
|
|
@@ -353,22 +208,6 @@ export interface CreateApiKeyRequest {
|
|
|
353
208
|
export interface CreateApiKeyResponse {
|
|
354
209
|
apiKey?: ApiKey | undefined;
|
|
355
210
|
}
|
|
356
|
-
export declare class ConflictException extends __BaseException {
|
|
357
|
-
readonly name: "ConflictException";
|
|
358
|
-
readonly $fault: "client";
|
|
359
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
360
|
-
}
|
|
361
|
-
export declare const HandlerBehavior: {
|
|
362
|
-
readonly CODE: "CODE";
|
|
363
|
-
readonly DIRECT: "DIRECT";
|
|
364
|
-
};
|
|
365
|
-
export type HandlerBehavior =
|
|
366
|
-
(typeof HandlerBehavior)[keyof typeof HandlerBehavior];
|
|
367
|
-
export declare const InvokeType: {
|
|
368
|
-
readonly EVENT: "EVENT";
|
|
369
|
-
readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
|
|
370
|
-
};
|
|
371
|
-
export type InvokeType = (typeof InvokeType)[keyof typeof InvokeType];
|
|
372
211
|
export interface LambdaConfig {
|
|
373
212
|
invokeType?: InvokeType | undefined;
|
|
374
213
|
}
|
|
@@ -434,12 +273,6 @@ export interface HttpDataSourceConfig {
|
|
|
434
273
|
export interface LambdaDataSourceConfig {
|
|
435
274
|
lambdaFunctionArn: string | undefined;
|
|
436
275
|
}
|
|
437
|
-
export declare const DataSourceLevelMetricsConfig: {
|
|
438
|
-
readonly DISABLED: "DISABLED";
|
|
439
|
-
readonly ENABLED: "ENABLED";
|
|
440
|
-
};
|
|
441
|
-
export type DataSourceLevelMetricsConfig =
|
|
442
|
-
(typeof DataSourceLevelMetricsConfig)[keyof typeof DataSourceLevelMetricsConfig];
|
|
443
276
|
export interface OpenSearchServiceDataSourceConfig {
|
|
444
277
|
endpoint: string | undefined;
|
|
445
278
|
awsRegion: string | undefined;
|
|
@@ -451,28 +284,10 @@ export interface RdsHttpEndpointConfig {
|
|
|
451
284
|
schema?: string | undefined;
|
|
452
285
|
awsSecretStoreArn?: string | undefined;
|
|
453
286
|
}
|
|
454
|
-
export declare const RelationalDatabaseSourceType: {
|
|
455
|
-
readonly RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT";
|
|
456
|
-
};
|
|
457
|
-
export type RelationalDatabaseSourceType =
|
|
458
|
-
(typeof RelationalDatabaseSourceType)[keyof typeof RelationalDatabaseSourceType];
|
|
459
287
|
export interface RelationalDatabaseDataSourceConfig {
|
|
460
288
|
relationalDatabaseSourceType?: RelationalDatabaseSourceType | undefined;
|
|
461
289
|
rdsHttpEndpointConfig?: RdsHttpEndpointConfig | undefined;
|
|
462
290
|
}
|
|
463
|
-
export declare const DataSourceType: {
|
|
464
|
-
readonly AMAZON_BEDROCK_RUNTIME: "AMAZON_BEDROCK_RUNTIME";
|
|
465
|
-
readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
|
|
466
|
-
readonly AMAZON_ELASTICSEARCH: "AMAZON_ELASTICSEARCH";
|
|
467
|
-
readonly AMAZON_EVENTBRIDGE: "AMAZON_EVENTBRIDGE";
|
|
468
|
-
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
469
|
-
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
470
|
-
readonly HTTP: "HTTP";
|
|
471
|
-
readonly NONE: "NONE";
|
|
472
|
-
readonly RELATIONAL_DATABASE: "RELATIONAL_DATABASE";
|
|
473
|
-
};
|
|
474
|
-
export type DataSourceType =
|
|
475
|
-
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
476
291
|
export interface CreateDataSourceRequest {
|
|
477
292
|
apiId: string | undefined;
|
|
478
293
|
name: string | undefined;
|
|
@@ -524,20 +339,6 @@ export interface DomainNameConfig {
|
|
|
524
339
|
export interface CreateDomainNameResponse {
|
|
525
340
|
domainNameConfig?: DomainNameConfig | undefined;
|
|
526
341
|
}
|
|
527
|
-
export declare const ConflictDetectionType: {
|
|
528
|
-
readonly NONE: "NONE";
|
|
529
|
-
readonly VERSION: "VERSION";
|
|
530
|
-
};
|
|
531
|
-
export type ConflictDetectionType =
|
|
532
|
-
(typeof ConflictDetectionType)[keyof typeof ConflictDetectionType];
|
|
533
|
-
export declare const ConflictHandlerType: {
|
|
534
|
-
readonly AUTOMERGE: "AUTOMERGE";
|
|
535
|
-
readonly LAMBDA: "LAMBDA";
|
|
536
|
-
readonly NONE: "NONE";
|
|
537
|
-
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
538
|
-
};
|
|
539
|
-
export type ConflictHandlerType =
|
|
540
|
-
(typeof ConflictHandlerType)[keyof typeof ConflictHandlerType];
|
|
541
342
|
export interface LambdaConflictHandlerConfig {
|
|
542
343
|
lambdaConflictHandlerArn?: string | undefined;
|
|
543
344
|
}
|
|
@@ -576,71 +377,22 @@ export interface FunctionConfiguration {
|
|
|
576
377
|
export interface CreateFunctionResponse {
|
|
577
378
|
functionConfiguration?: FunctionConfiguration | undefined;
|
|
578
379
|
}
|
|
579
|
-
export declare const GraphQLApiType: {
|
|
580
|
-
readonly GRAPHQL: "GRAPHQL";
|
|
581
|
-
readonly MERGED: "MERGED";
|
|
582
|
-
};
|
|
583
|
-
export type GraphQLApiType =
|
|
584
|
-
(typeof GraphQLApiType)[keyof typeof GraphQLApiType];
|
|
585
|
-
export declare const DataSourceLevelMetricsBehavior: {
|
|
586
|
-
readonly FULL_REQUEST_DATA_SOURCE_METRICS: "FULL_REQUEST_DATA_SOURCE_METRICS";
|
|
587
|
-
readonly PER_DATA_SOURCE_METRICS: "PER_DATA_SOURCE_METRICS";
|
|
588
|
-
};
|
|
589
|
-
export type DataSourceLevelMetricsBehavior =
|
|
590
|
-
(typeof DataSourceLevelMetricsBehavior)[keyof typeof DataSourceLevelMetricsBehavior];
|
|
591
|
-
export declare const OperationLevelMetricsConfig: {
|
|
592
|
-
readonly DISABLED: "DISABLED";
|
|
593
|
-
readonly ENABLED: "ENABLED";
|
|
594
|
-
};
|
|
595
|
-
export type OperationLevelMetricsConfig =
|
|
596
|
-
(typeof OperationLevelMetricsConfig)[keyof typeof OperationLevelMetricsConfig];
|
|
597
|
-
export declare const ResolverLevelMetricsBehavior: {
|
|
598
|
-
readonly FULL_REQUEST_RESOLVER_METRICS: "FULL_REQUEST_RESOLVER_METRICS";
|
|
599
|
-
readonly PER_RESOLVER_METRICS: "PER_RESOLVER_METRICS";
|
|
600
|
-
};
|
|
601
|
-
export type ResolverLevelMetricsBehavior =
|
|
602
|
-
(typeof ResolverLevelMetricsBehavior)[keyof typeof ResolverLevelMetricsBehavior];
|
|
603
380
|
export interface EnhancedMetricsConfig {
|
|
604
381
|
resolverLevelMetricsBehavior: ResolverLevelMetricsBehavior | undefined;
|
|
605
382
|
dataSourceLevelMetricsBehavior: DataSourceLevelMetricsBehavior | undefined;
|
|
606
383
|
operationLevelMetricsConfig: OperationLevelMetricsConfig | undefined;
|
|
607
384
|
}
|
|
608
|
-
export declare const GraphQLApiIntrospectionConfig: {
|
|
609
|
-
readonly DISABLED: "DISABLED";
|
|
610
|
-
readonly ENABLED: "ENABLED";
|
|
611
|
-
};
|
|
612
|
-
export type GraphQLApiIntrospectionConfig =
|
|
613
|
-
(typeof GraphQLApiIntrospectionConfig)[keyof typeof GraphQLApiIntrospectionConfig];
|
|
614
|
-
export declare const FieldLogLevel: {
|
|
615
|
-
readonly ALL: "ALL";
|
|
616
|
-
readonly DEBUG: "DEBUG";
|
|
617
|
-
readonly ERROR: "ERROR";
|
|
618
|
-
readonly INFO: "INFO";
|
|
619
|
-
readonly NONE: "NONE";
|
|
620
|
-
};
|
|
621
|
-
export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
|
|
622
385
|
export interface LogConfig {
|
|
623
386
|
fieldLogLevel: FieldLogLevel | undefined;
|
|
624
387
|
cloudWatchLogsRoleArn: string | undefined;
|
|
625
388
|
excludeVerboseContent?: boolean | undefined;
|
|
626
389
|
}
|
|
627
|
-
export declare const DefaultAction: {
|
|
628
|
-
readonly ALLOW: "ALLOW";
|
|
629
|
-
readonly DENY: "DENY";
|
|
630
|
-
};
|
|
631
|
-
export type DefaultAction = (typeof DefaultAction)[keyof typeof DefaultAction];
|
|
632
390
|
export interface UserPoolConfig {
|
|
633
391
|
userPoolId: string | undefined;
|
|
634
392
|
awsRegion: string | undefined;
|
|
635
393
|
defaultAction: DefaultAction | undefined;
|
|
636
394
|
appIdClientRegex?: string | undefined;
|
|
637
395
|
}
|
|
638
|
-
export declare const GraphQLApiVisibility: {
|
|
639
|
-
readonly GLOBAL: "GLOBAL";
|
|
640
|
-
readonly PRIVATE: "PRIVATE";
|
|
641
|
-
};
|
|
642
|
-
export type GraphQLApiVisibility =
|
|
643
|
-
(typeof GraphQLApiVisibility)[keyof typeof GraphQLApiVisibility];
|
|
644
396
|
export interface CreateGraphqlApiRequest {
|
|
645
397
|
name: string | undefined;
|
|
646
398
|
logConfig?: LogConfig | undefined;
|
|
@@ -696,17 +448,6 @@ export interface CachingConfig {
|
|
|
696
448
|
ttl: number | undefined;
|
|
697
449
|
cachingKeys?: string[] | undefined;
|
|
698
450
|
}
|
|
699
|
-
export declare const ResolverKind: {
|
|
700
|
-
readonly PIPELINE: "PIPELINE";
|
|
701
|
-
readonly UNIT: "UNIT";
|
|
702
|
-
};
|
|
703
|
-
export type ResolverKind = (typeof ResolverKind)[keyof typeof ResolverKind];
|
|
704
|
-
export declare const ResolverLevelMetricsConfig: {
|
|
705
|
-
readonly DISABLED: "DISABLED";
|
|
706
|
-
readonly ENABLED: "ENABLED";
|
|
707
|
-
};
|
|
708
|
-
export type ResolverLevelMetricsConfig =
|
|
709
|
-
(typeof ResolverLevelMetricsConfig)[keyof typeof ResolverLevelMetricsConfig];
|
|
710
451
|
export interface PipelineConfig {
|
|
711
452
|
functions?: string[] | undefined;
|
|
712
453
|
}
|
|
@@ -745,12 +486,6 @@ export interface Resolver {
|
|
|
745
486
|
export interface CreateResolverResponse {
|
|
746
487
|
resolver?: Resolver | undefined;
|
|
747
488
|
}
|
|
748
|
-
export declare const TypeDefinitionFormat: {
|
|
749
|
-
readonly JSON: "JSON";
|
|
750
|
-
readonly SDL: "SDL";
|
|
751
|
-
};
|
|
752
|
-
export type TypeDefinitionFormat =
|
|
753
|
-
(typeof TypeDefinitionFormat)[keyof typeof TypeDefinitionFormat];
|
|
754
489
|
export interface CreateTypeRequest {
|
|
755
490
|
apiId: string | undefined;
|
|
756
491
|
definition: string | undefined;
|
|
@@ -908,13 +643,6 @@ export interface DataSourceIntrospectionModelIndex {
|
|
|
908
643
|
name?: string | undefined;
|
|
909
644
|
fields?: string[] | undefined;
|
|
910
645
|
}
|
|
911
|
-
export declare const DataSourceIntrospectionStatus: {
|
|
912
|
-
readonly FAILED: "FAILED";
|
|
913
|
-
readonly PROCESSING: "PROCESSING";
|
|
914
|
-
readonly SUCCESS: "SUCCESS";
|
|
915
|
-
};
|
|
916
|
-
export type DataSourceIntrospectionStatus =
|
|
917
|
-
(typeof DataSourceIntrospectionStatus)[keyof typeof DataSourceIntrospectionStatus];
|
|
918
646
|
export interface GetDomainNameRequest {
|
|
919
647
|
domainName: string | undefined;
|
|
920
648
|
}
|
|
@@ -940,11 +668,6 @@ export interface GetGraphqlApiEnvironmentVariablesRequest {
|
|
|
940
668
|
export interface GetGraphqlApiEnvironmentVariablesResponse {
|
|
941
669
|
environmentVariables?: Record<string, string> | undefined;
|
|
942
670
|
}
|
|
943
|
-
export declare const OutputType: {
|
|
944
|
-
readonly JSON: "JSON";
|
|
945
|
-
readonly SDL: "SDL";
|
|
946
|
-
};
|
|
947
|
-
export type OutputType = (typeof OutputType)[keyof typeof OutputType];
|
|
948
671
|
export interface GetIntrospectionSchemaRequest {
|
|
949
672
|
apiId: string | undefined;
|
|
950
673
|
format: OutputType | undefined;
|
|
@@ -953,13 +676,6 @@ export interface GetIntrospectionSchemaRequest {
|
|
|
953
676
|
export interface GetIntrospectionSchemaResponse {
|
|
954
677
|
schema?: Uint8Array | undefined;
|
|
955
678
|
}
|
|
956
|
-
export declare class GraphQLSchemaException extends __BaseException {
|
|
957
|
-
readonly name: "GraphQLSchemaException";
|
|
958
|
-
readonly $fault: "client";
|
|
959
|
-
constructor(
|
|
960
|
-
opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>
|
|
961
|
-
);
|
|
962
|
-
}
|
|
963
679
|
export interface GetResolverRequest {
|
|
964
680
|
apiId: string | undefined;
|
|
965
681
|
typeName: string | undefined;
|
|
@@ -971,15 +687,6 @@ export interface GetResolverResponse {
|
|
|
971
687
|
export interface GetSchemaCreationStatusRequest {
|
|
972
688
|
apiId: string | undefined;
|
|
973
689
|
}
|
|
974
|
-
export declare const SchemaStatus: {
|
|
975
|
-
readonly Active: "ACTIVE";
|
|
976
|
-
readonly Deleting: "DELETING";
|
|
977
|
-
readonly Failed: "FAILED";
|
|
978
|
-
readonly NotApplicable: "NOT_APPLICABLE";
|
|
979
|
-
readonly Processing: "PROCESSING";
|
|
980
|
-
readonly Success: "SUCCESS";
|
|
981
|
-
};
|
|
982
|
-
export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
|
|
983
690
|
export interface GetSchemaCreationStatusResponse {
|
|
984
691
|
status?: SchemaStatus | undefined;
|
|
985
692
|
details?: string | undefined;
|
|
@@ -1051,11 +758,6 @@ export interface ListFunctionsResponse {
|
|
|
1051
758
|
functions?: FunctionConfiguration[] | undefined;
|
|
1052
759
|
nextToken?: string | undefined;
|
|
1053
760
|
}
|
|
1054
|
-
export declare const Ownership: {
|
|
1055
|
-
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
1056
|
-
readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
|
|
1057
|
-
};
|
|
1058
|
-
export type Ownership = (typeof Ownership)[keyof typeof Ownership];
|
|
1059
761
|
export interface ListGraphqlApisRequest {
|
|
1060
762
|
nextToken?: string | undefined;
|
|
1061
763
|
maxResults?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appsync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-appsync",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|