@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.
@@ -14,14 +14,19 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum AuthenticationType {
19
- AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
20
- API_KEY = "API_KEY",
21
- AWS_IAM = "AWS_IAM",
22
- AWS_LAMBDA = "AWS_LAMBDA",
23
- OPENID_CONNECT = "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 enum AssociationStatus {
127
- Failed = "FAILED",
128
- Processing = "PROCESSING",
129
- Success = "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 enum ApiCachingBehavior {
174
- FULL_REQUEST_CACHING = "FULL_REQUEST_CACHING",
175
- PER_RESOLVER_CACHING = "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 declare enum ApiCacheStatus {
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 enum ApiCacheType {
191
- LARGE = "LARGE",
192
- LARGE_12X = "LARGE_12X",
193
- LARGE_2X = "LARGE_2X",
194
- LARGE_4X = "LARGE_4X",
195
- LARGE_8X = "LARGE_8X",
196
- MEDIUM = "MEDIUM",
197
- R4_2XLARGE = "R4_2XLARGE",
198
- R4_4XLARGE = "R4_4XLARGE",
199
- R4_8XLARGE = "R4_8XLARGE",
200
- R4_LARGE = "R4_LARGE",
201
- R4_XLARGE = "R4_XLARGE",
202
- SMALL = "SMALL",
203
- T2_MEDIUM = "T2_MEDIUM",
204
- T2_SMALL = "T2_SMALL",
205
- XLARGE = "XLARGE"
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 enum RuntimeName {
469
- APPSYNC_JS = "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 enum BadRequestReason {
563
- CODE_ERROR = "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 enum AuthorizationType {
616
- AWS_IAM = "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 enum RelationalDatabaseSourceType {
984
- RDS_HTTP_ENDPOINT = "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 enum DataSourceType {
1011
- AMAZON_DYNAMODB = "AMAZON_DYNAMODB",
1012
- AMAZON_ELASTICSEARCH = "AMAZON_ELASTICSEARCH",
1013
- AMAZON_EVENTBRIDGE = "AMAZON_EVENTBRIDGE",
1014
- AMAZON_OPENSEARCH_SERVICE = "AMAZON_OPENSEARCH_SERVICE",
1015
- AWS_LAMBDA = "AWS_LAMBDA",
1016
- HTTP = "HTTP",
1017
- NONE = "NONE",
1018
- RELATIONAL_DATABASE = "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 enum ConflictDetectionType {
1237
- NONE = "NONE",
1238
- VERSION = "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 declare enum ConflictHandlerType {
1244
- AUTOMERGE = "AUTOMERGE",
1245
- LAMBDA = "LAMBDA",
1246
- NONE = "NONE",
1247
- OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY"
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 enum FieldLogLevel {
1439
- ALL = "ALL",
1440
- ERROR = "ERROR",
1441
- NONE = "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 enum DefaultAction {
1502
- ALLOW = "ALLOW",
1503
- DENY = "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 enum ResolverKind {
1660
- PIPELINE = "PIPELINE",
1661
- UNIT = "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 enum TypeDefinitionFormat {
1835
- JSON = "JSON",
1836
- SDL = "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 enum OutputType {
2283
- JSON = "JSON",
2284
- SDL = "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 enum SchemaStatus {
2365
- Active = "ACTIVE",
2366
- Deleting = "DELETING",
2367
- Failed = "FAILED",
2368
- NotApplicable = "NOT_APPLICABLE",
2369
- Processing = "PROCESSING",
2370
- Success = "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
  */