@aws-sdk/client-appsync 3.301.0 → 3.303.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/models/models_0.js +101 -119
- package/dist-es/models/models_0.js +101 -119
- package/dist-types/models/models_0.d.ts +191 -101
- package/dist-types/ts3.4/models/models_0.d.ts +130 -101
- package/package.json +34 -34
|
@@ -14,14 +14,19 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
|
+
* @enum
|
|
17
18
|
*/
|
|
18
|
-
export declare
|
|
19
|
-
AMAZON_COGNITO_USER_POOLS
|
|
20
|
-
API_KEY
|
|
21
|
-
AWS_IAM
|
|
22
|
-
AWS_LAMBDA
|
|
23
|
-
OPENID_CONNECT
|
|
24
|
-
}
|
|
19
|
+
export declare const AuthenticationType: {
|
|
20
|
+
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
21
|
+
readonly API_KEY: "API_KEY";
|
|
22
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
23
|
+
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
24
|
+
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
|
|
25
30
|
/**
|
|
26
31
|
* @public
|
|
27
32
|
* <p>A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync API access when
|
|
@@ -122,12 +127,17 @@ export interface AdditionalAuthenticationProvider {
|
|
|
122
127
|
}
|
|
123
128
|
/**
|
|
124
129
|
* @public
|
|
130
|
+
* @enum
|
|
125
131
|
*/
|
|
126
|
-
export declare
|
|
127
|
-
Failed
|
|
128
|
-
Processing
|
|
129
|
-
Success
|
|
130
|
-
}
|
|
132
|
+
export declare const AssociationStatus: {
|
|
133
|
+
readonly Failed: "FAILED";
|
|
134
|
+
readonly Processing: "PROCESSING";
|
|
135
|
+
readonly Success: "SUCCESS";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
|
|
131
141
|
/**
|
|
132
142
|
* @public
|
|
133
143
|
* <p>Describes an <code>ApiAssociation</code> object.</p>
|
|
@@ -169,41 +179,56 @@ export interface ApiAssociation {
|
|
|
169
179
|
}
|
|
170
180
|
/**
|
|
171
181
|
* @public
|
|
182
|
+
* @enum
|
|
172
183
|
*/
|
|
173
|
-
export declare
|
|
174
|
-
FULL_REQUEST_CACHING
|
|
175
|
-
PER_RESOLVER_CACHING
|
|
176
|
-
}
|
|
184
|
+
export declare const ApiCachingBehavior: {
|
|
185
|
+
readonly FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING";
|
|
186
|
+
readonly PER_RESOLVER_CACHING: "PER_RESOLVER_CACHING";
|
|
187
|
+
};
|
|
177
188
|
/**
|
|
178
189
|
* @public
|
|
179
190
|
*/
|
|
180
|
-
export
|
|
181
|
-
AVAILABLE = "AVAILABLE",
|
|
182
|
-
CREATING = "CREATING",
|
|
183
|
-
DELETING = "DELETING",
|
|
184
|
-
FAILED = "FAILED",
|
|
185
|
-
MODIFYING = "MODIFYING"
|
|
186
|
-
}
|
|
191
|
+
export type ApiCachingBehavior = (typeof ApiCachingBehavior)[keyof typeof ApiCachingBehavior];
|
|
187
192
|
/**
|
|
188
193
|
* @public
|
|
194
|
+
* @enum
|
|
189
195
|
*/
|
|
190
|
-
export declare
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
196
|
+
export declare const ApiCacheStatus: {
|
|
197
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
198
|
+
readonly CREATING: "CREATING";
|
|
199
|
+
readonly DELETING: "DELETING";
|
|
200
|
+
readonly FAILED: "FAILED";
|
|
201
|
+
readonly MODIFYING: "MODIFYING";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export type ApiCacheStatus = (typeof ApiCacheStatus)[keyof typeof ApiCacheStatus];
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
* @enum
|
|
210
|
+
*/
|
|
211
|
+
export declare const ApiCacheType: {
|
|
212
|
+
readonly LARGE: "LARGE";
|
|
213
|
+
readonly LARGE_12X: "LARGE_12X";
|
|
214
|
+
readonly LARGE_2X: "LARGE_2X";
|
|
215
|
+
readonly LARGE_4X: "LARGE_4X";
|
|
216
|
+
readonly LARGE_8X: "LARGE_8X";
|
|
217
|
+
readonly MEDIUM: "MEDIUM";
|
|
218
|
+
readonly R4_2XLARGE: "R4_2XLARGE";
|
|
219
|
+
readonly R4_4XLARGE: "R4_4XLARGE";
|
|
220
|
+
readonly R4_8XLARGE: "R4_8XLARGE";
|
|
221
|
+
readonly R4_LARGE: "R4_LARGE";
|
|
222
|
+
readonly R4_XLARGE: "R4_XLARGE";
|
|
223
|
+
readonly SMALL: "SMALL";
|
|
224
|
+
readonly T2_MEDIUM: "T2_MEDIUM";
|
|
225
|
+
readonly T2_SMALL: "T2_SMALL";
|
|
226
|
+
readonly XLARGE: "XLARGE";
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export type ApiCacheType = (typeof ApiCacheType)[keyof typeof ApiCacheType];
|
|
207
232
|
/**
|
|
208
233
|
* @public
|
|
209
234
|
* <p>The <code>ApiCache</code> object.</p>
|
|
@@ -464,10 +489,15 @@ export declare class ApiLimitExceededException extends __BaseException {
|
|
|
464
489
|
}
|
|
465
490
|
/**
|
|
466
491
|
* @public
|
|
492
|
+
* @enum
|
|
467
493
|
*/
|
|
468
|
-
export declare
|
|
469
|
-
APPSYNC_JS
|
|
470
|
-
}
|
|
494
|
+
export declare const RuntimeName: {
|
|
495
|
+
readonly APPSYNC_JS: "APPSYNC_JS";
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
export type RuntimeName = (typeof RuntimeName)[keyof typeof RuntimeName];
|
|
471
501
|
/**
|
|
472
502
|
* @public
|
|
473
503
|
* <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
|
|
@@ -558,10 +588,15 @@ export interface BadRequestDetail {
|
|
|
558
588
|
}
|
|
559
589
|
/**
|
|
560
590
|
* @public
|
|
591
|
+
* @enum
|
|
561
592
|
*/
|
|
562
|
-
export declare
|
|
563
|
-
CODE_ERROR
|
|
564
|
-
}
|
|
593
|
+
export declare const BadRequestReason: {
|
|
594
|
+
readonly CODE_ERROR: "CODE_ERROR";
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
565
600
|
/**
|
|
566
601
|
* @public
|
|
567
602
|
* <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
|
|
@@ -611,10 +646,15 @@ export declare class NotFoundException extends __BaseException {
|
|
|
611
646
|
}
|
|
612
647
|
/**
|
|
613
648
|
* @public
|
|
649
|
+
* @enum
|
|
614
650
|
*/
|
|
615
|
-
export declare
|
|
616
|
-
AWS_IAM
|
|
617
|
-
}
|
|
651
|
+
export declare const AuthorizationType: {
|
|
652
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
export type AuthorizationType = (typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
618
658
|
/**
|
|
619
659
|
* @public
|
|
620
660
|
* <p>The Identity and Access Management (IAM) configuration.</p>
|
|
@@ -979,10 +1019,15 @@ export interface RdsHttpEndpointConfig {
|
|
|
979
1019
|
}
|
|
980
1020
|
/**
|
|
981
1021
|
* @public
|
|
1022
|
+
* @enum
|
|
982
1023
|
*/
|
|
983
|
-
export declare
|
|
984
|
-
RDS_HTTP_ENDPOINT
|
|
985
|
-
}
|
|
1024
|
+
export declare const RelationalDatabaseSourceType: {
|
|
1025
|
+
readonly RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT";
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* @public
|
|
1029
|
+
*/
|
|
1030
|
+
export type RelationalDatabaseSourceType = (typeof RelationalDatabaseSourceType)[keyof typeof RelationalDatabaseSourceType];
|
|
986
1031
|
/**
|
|
987
1032
|
* @public
|
|
988
1033
|
* <p>Describes a relational database data source configuration.</p>
|
|
@@ -1006,17 +1051,22 @@ export interface RelationalDatabaseDataSourceConfig {
|
|
|
1006
1051
|
}
|
|
1007
1052
|
/**
|
|
1008
1053
|
* @public
|
|
1054
|
+
* @enum
|
|
1009
1055
|
*/
|
|
1010
|
-
export declare
|
|
1011
|
-
AMAZON_DYNAMODB
|
|
1012
|
-
AMAZON_ELASTICSEARCH
|
|
1013
|
-
AMAZON_EVENTBRIDGE
|
|
1014
|
-
AMAZON_OPENSEARCH_SERVICE
|
|
1015
|
-
AWS_LAMBDA
|
|
1016
|
-
HTTP
|
|
1017
|
-
NONE
|
|
1018
|
-
RELATIONAL_DATABASE
|
|
1019
|
-
}
|
|
1056
|
+
export declare const DataSourceType: {
|
|
1057
|
+
readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
|
|
1058
|
+
readonly AMAZON_ELASTICSEARCH: "AMAZON_ELASTICSEARCH";
|
|
1059
|
+
readonly AMAZON_EVENTBRIDGE: "AMAZON_EVENTBRIDGE";
|
|
1060
|
+
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
1061
|
+
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
1062
|
+
readonly HTTP: "HTTP";
|
|
1063
|
+
readonly NONE: "NONE";
|
|
1064
|
+
readonly RELATIONAL_DATABASE: "RELATIONAL_DATABASE";
|
|
1065
|
+
};
|
|
1066
|
+
/**
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
1020
1070
|
/**
|
|
1021
1071
|
* @public
|
|
1022
1072
|
*/
|
|
@@ -1232,20 +1282,30 @@ export interface CreateDomainNameResponse {
|
|
|
1232
1282
|
}
|
|
1233
1283
|
/**
|
|
1234
1284
|
* @public
|
|
1285
|
+
* @enum
|
|
1235
1286
|
*/
|
|
1236
|
-
export declare
|
|
1237
|
-
NONE
|
|
1238
|
-
VERSION
|
|
1239
|
-
}
|
|
1287
|
+
export declare const ConflictDetectionType: {
|
|
1288
|
+
readonly NONE: "NONE";
|
|
1289
|
+
readonly VERSION: "VERSION";
|
|
1290
|
+
};
|
|
1240
1291
|
/**
|
|
1241
1292
|
* @public
|
|
1242
1293
|
*/
|
|
1243
|
-
export
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1294
|
+
export type ConflictDetectionType = (typeof ConflictDetectionType)[keyof typeof ConflictDetectionType];
|
|
1295
|
+
/**
|
|
1296
|
+
* @public
|
|
1297
|
+
* @enum
|
|
1298
|
+
*/
|
|
1299
|
+
export declare const ConflictHandlerType: {
|
|
1300
|
+
readonly AUTOMERGE: "AUTOMERGE";
|
|
1301
|
+
readonly LAMBDA: "LAMBDA";
|
|
1302
|
+
readonly NONE: "NONE";
|
|
1303
|
+
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
export type ConflictHandlerType = (typeof ConflictHandlerType)[keyof typeof ConflictHandlerType];
|
|
1249
1309
|
/**
|
|
1250
1310
|
* @public
|
|
1251
1311
|
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring <code>LAMBDA</code> as the Conflict
|
|
@@ -1434,12 +1494,17 @@ export interface CreateFunctionResponse {
|
|
|
1434
1494
|
}
|
|
1435
1495
|
/**
|
|
1436
1496
|
* @public
|
|
1497
|
+
* @enum
|
|
1437
1498
|
*/
|
|
1438
|
-
export declare
|
|
1439
|
-
ALL
|
|
1440
|
-
ERROR
|
|
1441
|
-
NONE
|
|
1442
|
-
}
|
|
1499
|
+
export declare const FieldLogLevel: {
|
|
1500
|
+
readonly ALL: "ALL";
|
|
1501
|
+
readonly ERROR: "ERROR";
|
|
1502
|
+
readonly NONE: "NONE";
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
|
|
1443
1508
|
/**
|
|
1444
1509
|
* @public
|
|
1445
1510
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
@@ -1497,11 +1562,16 @@ export interface LogConfig {
|
|
|
1497
1562
|
}
|
|
1498
1563
|
/**
|
|
1499
1564
|
* @public
|
|
1565
|
+
* @enum
|
|
1500
1566
|
*/
|
|
1501
|
-
export declare
|
|
1502
|
-
ALLOW
|
|
1503
|
-
DENY
|
|
1504
|
-
}
|
|
1567
|
+
export declare const DefaultAction: {
|
|
1568
|
+
readonly ALLOW: "ALLOW";
|
|
1569
|
+
readonly DENY: "DENY";
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* @public
|
|
1573
|
+
*/
|
|
1574
|
+
export type DefaultAction = (typeof DefaultAction)[keyof typeof DefaultAction];
|
|
1505
1575
|
/**
|
|
1506
1576
|
* @public
|
|
1507
1577
|
* <p>Describes an Amazon Cognito user pool configuration.</p>
|
|
@@ -1655,11 +1725,16 @@ export interface CachingConfig {
|
|
|
1655
1725
|
}
|
|
1656
1726
|
/**
|
|
1657
1727
|
* @public
|
|
1728
|
+
* @enum
|
|
1658
1729
|
*/
|
|
1659
|
-
export declare
|
|
1660
|
-
PIPELINE
|
|
1661
|
-
UNIT
|
|
1662
|
-
}
|
|
1730
|
+
export declare const ResolverKind: {
|
|
1731
|
+
readonly PIPELINE: "PIPELINE";
|
|
1732
|
+
readonly UNIT: "UNIT";
|
|
1733
|
+
};
|
|
1734
|
+
/**
|
|
1735
|
+
* @public
|
|
1736
|
+
*/
|
|
1737
|
+
export type ResolverKind = (typeof ResolverKind)[keyof typeof ResolverKind];
|
|
1663
1738
|
/**
|
|
1664
1739
|
* @public
|
|
1665
1740
|
* <p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>
|
|
@@ -1830,11 +1905,16 @@ export interface CreateResolverResponse {
|
|
|
1830
1905
|
}
|
|
1831
1906
|
/**
|
|
1832
1907
|
* @public
|
|
1908
|
+
* @enum
|
|
1833
1909
|
*/
|
|
1834
|
-
export declare
|
|
1835
|
-
JSON
|
|
1836
|
-
SDL
|
|
1837
|
-
}
|
|
1910
|
+
export declare const TypeDefinitionFormat: {
|
|
1911
|
+
readonly JSON: "JSON";
|
|
1912
|
+
readonly SDL: "SDL";
|
|
1913
|
+
};
|
|
1914
|
+
/**
|
|
1915
|
+
* @public
|
|
1916
|
+
*/
|
|
1917
|
+
export type TypeDefinitionFormat = (typeof TypeDefinitionFormat)[keyof typeof TypeDefinitionFormat];
|
|
1838
1918
|
/**
|
|
1839
1919
|
* @public
|
|
1840
1920
|
*/
|
|
@@ -2278,11 +2358,16 @@ export interface GetGraphqlApiResponse {
|
|
|
2278
2358
|
}
|
|
2279
2359
|
/**
|
|
2280
2360
|
* @public
|
|
2361
|
+
* @enum
|
|
2281
2362
|
*/
|
|
2282
|
-
export declare
|
|
2283
|
-
JSON
|
|
2284
|
-
SDL
|
|
2285
|
-
}
|
|
2363
|
+
export declare const OutputType: {
|
|
2364
|
+
readonly JSON: "JSON";
|
|
2365
|
+
readonly SDL: "SDL";
|
|
2366
|
+
};
|
|
2367
|
+
/**
|
|
2368
|
+
* @public
|
|
2369
|
+
*/
|
|
2370
|
+
export type OutputType = (typeof OutputType)[keyof typeof OutputType];
|
|
2286
2371
|
/**
|
|
2287
2372
|
* @public
|
|
2288
2373
|
*/
|
|
@@ -2360,15 +2445,20 @@ export interface GetSchemaCreationStatusRequest {
|
|
|
2360
2445
|
}
|
|
2361
2446
|
/**
|
|
2362
2447
|
* @public
|
|
2448
|
+
* @enum
|
|
2363
2449
|
*/
|
|
2364
|
-
export declare
|
|
2365
|
-
Active
|
|
2366
|
-
Deleting
|
|
2367
|
-
Failed
|
|
2368
|
-
NotApplicable
|
|
2369
|
-
Processing
|
|
2370
|
-
Success
|
|
2371
|
-
}
|
|
2450
|
+
export declare const SchemaStatus: {
|
|
2451
|
+
readonly Active: "ACTIVE";
|
|
2452
|
+
readonly Deleting: "DELETING";
|
|
2453
|
+
readonly Failed: "FAILED";
|
|
2454
|
+
readonly NotApplicable: "NOT_APPLICABLE";
|
|
2455
|
+
readonly Processing: "PROCESSING";
|
|
2456
|
+
readonly Success: "SUCCESS";
|
|
2457
|
+
};
|
|
2458
|
+
/**
|
|
2459
|
+
* @public
|
|
2460
|
+
*/
|
|
2461
|
+
export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
|
|
2372
2462
|
/**
|
|
2373
2463
|
* @public
|
|
2374
2464
|
*/
|