@aws-sdk/client-appsync 3.987.0 → 3.988.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 +93 -2451
- package/dist-cjs/models/AppSyncServiceException.js +12 -0
- package/dist-cjs/models/errors.js +177 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1927 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +97 -91
- package/dist-types/schemas/schemas_0.d.ts +20 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -13
- package/package.json +14 -14
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultAppSyncHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2017-07-25",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.appsync",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
xmlNamespace: "http://appsync.amazonaws.com",
|
|
30
32
|
version: "2017-07-25",
|
|
31
33
|
serviceTarget: "AWSDeepdishControlPlaneService",
|
|
@@ -48,9 +48,9 @@ const _CDNRr = "CreateDomainNameResponse";
|
|
|
48
48
|
const _CDS = "CreateDataSource";
|
|
49
49
|
const _CDSR = "CreateDataSourceRequest";
|
|
50
50
|
const _CDSRr = "CreateDataSourceResponse";
|
|
51
|
-
const _CE = "
|
|
51
|
+
const _CE = "ConflictException";
|
|
52
52
|
const _CEL = "CodeErrorLocation";
|
|
53
|
-
const _CEo = "
|
|
53
|
+
const _CEo = "CodeError";
|
|
54
54
|
const _CEod = "CodeErrors";
|
|
55
55
|
const _CF = "CreateFunction";
|
|
56
56
|
const _CFR = "CreateFunctionRequest";
|
|
@@ -357,7 +357,7 @@ const _co = "column";
|
|
|
357
357
|
const _cod = "code";
|
|
358
358
|
const _con = "context";
|
|
359
359
|
const _cr = "created";
|
|
360
|
-
const _d = "
|
|
360
|
+
const _d = "detail";
|
|
361
361
|
const _dA = "defaultAction";
|
|
362
362
|
const _dC = "dynamodbConfig";
|
|
363
363
|
const _dCI = "dbClusterIdentifier";
|
|
@@ -380,8 +380,8 @@ const _dSa = "dataSources";
|
|
|
380
380
|
const _de = "description";
|
|
381
381
|
const _def = "definition";
|
|
382
382
|
const _del = "deletes";
|
|
383
|
-
const _det = "
|
|
384
|
-
const
|
|
383
|
+
const _det = "details";
|
|
384
|
+
const _dn = "dns";
|
|
385
385
|
const _e = "error";
|
|
386
386
|
const _eBA = "eventBusArn";
|
|
387
387
|
const _eBC = "eventBridgeConfig";
|
|
@@ -480,7 +480,7 @@ const _rV = "runtimeVersion";
|
|
|
480
480
|
const _re = "resolver";
|
|
481
481
|
const _res = "resolvers";
|
|
482
482
|
const _ru = "runtime";
|
|
483
|
-
const _s = "
|
|
483
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.appsync";
|
|
484
484
|
const _sA = "secretArn";
|
|
485
485
|
const _sAA = "sourceApiAssociation";
|
|
486
486
|
const _sAAC = "sourceApiAssociationConfig";
|
|
@@ -498,9 +498,9 @@ const _sSN = "signingServiceName";
|
|
|
498
498
|
const _sc = "schema";
|
|
499
499
|
const _sd = "sdl";
|
|
500
500
|
const _se = "server";
|
|
501
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.appsync";
|
|
502
501
|
const _sp = "span";
|
|
503
|
-
const _st = "
|
|
502
|
+
const _st = "status";
|
|
503
|
+
const _sta = "stash";
|
|
504
504
|
const _t = "tags";
|
|
505
505
|
const _tEE = "transitEncryptionEnabled";
|
|
506
506
|
const _tK = "tagKeys";
|
|
@@ -524,12 +524,92 @@ const n0 = "com.amazonaws.appsync";
|
|
|
524
524
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
525
525
|
import { AppSyncServiceException } from "../models/AppSyncServiceException";
|
|
526
526
|
import { AccessDeniedException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, ApiLimitExceededException, BadRequestException, ConcurrentModificationException, ConflictException, GraphQLSchemaException, InternalFailureException, LimitExceededException, NotFoundException, ServiceQuotaExceededException, UnauthorizedException, } from "../models/errors";
|
|
527
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
528
|
+
export var AppSyncServiceException$ = [-3, _s, "AppSyncServiceException", 0, [], []];
|
|
529
|
+
_s_registry.registerError(AppSyncServiceException$, AppSyncServiceException);
|
|
530
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
527
531
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
528
532
|
{ [_e]: _c, [_hE]: 403 },
|
|
529
533
|
[_m],
|
|
530
534
|
[0]
|
|
531
535
|
];
|
|
532
|
-
|
|
536
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
537
|
+
export var ApiKeyLimitExceededException$ = [-3, n0, _AKLEE,
|
|
538
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
539
|
+
[_m],
|
|
540
|
+
[0]
|
|
541
|
+
];
|
|
542
|
+
n0_registry.registerError(ApiKeyLimitExceededException$, ApiKeyLimitExceededException);
|
|
543
|
+
export var ApiKeyValidityOutOfBoundsException$ = [-3, n0, _AKVOOBE,
|
|
544
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
545
|
+
[_m],
|
|
546
|
+
[0]
|
|
547
|
+
];
|
|
548
|
+
n0_registry.registerError(ApiKeyValidityOutOfBoundsException$, ApiKeyValidityOutOfBoundsException);
|
|
549
|
+
export var ApiLimitExceededException$ = [-3, n0, _ALEE,
|
|
550
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
551
|
+
[_m],
|
|
552
|
+
[0]
|
|
553
|
+
];
|
|
554
|
+
n0_registry.registerError(ApiLimitExceededException$, ApiLimitExceededException);
|
|
555
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
556
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
557
|
+
[_m, _r, _d],
|
|
558
|
+
[0, 0, () => BadRequestDetail$]
|
|
559
|
+
];
|
|
560
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
561
|
+
export var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
562
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
563
|
+
[_m],
|
|
564
|
+
[0]
|
|
565
|
+
];
|
|
566
|
+
n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
567
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
568
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
569
|
+
[_m],
|
|
570
|
+
[0]
|
|
571
|
+
];
|
|
572
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
573
|
+
export var GraphQLSchemaException$ = [-3, n0, _GQLSE,
|
|
574
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
575
|
+
[_m],
|
|
576
|
+
[0]
|
|
577
|
+
];
|
|
578
|
+
n0_registry.registerError(GraphQLSchemaException$, GraphQLSchemaException);
|
|
579
|
+
export var InternalFailureException$ = [-3, n0, _IFE,
|
|
580
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
581
|
+
[_m],
|
|
582
|
+
[0]
|
|
583
|
+
];
|
|
584
|
+
n0_registry.registerError(InternalFailureException$, InternalFailureException);
|
|
585
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
586
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
587
|
+
[_m],
|
|
588
|
+
[0]
|
|
589
|
+
];
|
|
590
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
591
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
592
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
593
|
+
[_m],
|
|
594
|
+
[0]
|
|
595
|
+
];
|
|
596
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
597
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
598
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
599
|
+
[_m],
|
|
600
|
+
[0]
|
|
601
|
+
];
|
|
602
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
603
|
+
export var UnauthorizedException$ = [-3, n0, _UE,
|
|
604
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
605
|
+
[_m],
|
|
606
|
+
[0]
|
|
607
|
+
];
|
|
608
|
+
n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
|
|
609
|
+
export const errorTypeRegistries = [
|
|
610
|
+
_s_registry,
|
|
611
|
+
n0_registry,
|
|
612
|
+
];
|
|
533
613
|
export var AdditionalAuthenticationProvider$ = [3, n0, _AAP,
|
|
534
614
|
0,
|
|
535
615
|
[_aT, _oIDCC, _uPC, _lAC],
|
|
@@ -537,7 +617,7 @@ export var AdditionalAuthenticationProvider$ = [3, n0, _AAP,
|
|
|
537
617
|
];
|
|
538
618
|
export var Api$ = [3, n0, _A,
|
|
539
619
|
0,
|
|
540
|
-
[_aI, _n, _oC, _t,
|
|
620
|
+
[_aI, _n, _oC, _t, _dn, _aA, _cr, _xE, _wWAA, _eC],
|
|
541
621
|
[0, 0, 0, 128 | 0, 128 | 0, 0, 4, 2, 0, () => EventConfig$]
|
|
542
622
|
];
|
|
543
623
|
export var ApiAssociation$ = [3, n0, _AA,
|
|
@@ -547,7 +627,7 @@ export var ApiAssociation$ = [3, n0, _AA,
|
|
|
547
627
|
];
|
|
548
628
|
export var ApiCache$ = [3, n0, _AC,
|
|
549
629
|
0,
|
|
550
|
-
[_tt, _aCB, _tEE, _aREE, _ty,
|
|
630
|
+
[_tt, _aCB, _tEE, _aREE, _ty, _st, _hMC],
|
|
551
631
|
[1, 0, 2, 2, 0, 0, 0]
|
|
552
632
|
];
|
|
553
633
|
export var ApiKey$ = [3, n0, _AK,
|
|
@@ -555,24 +635,6 @@ export var ApiKey$ = [3, n0, _AK,
|
|
|
555
635
|
[_i, _de, _ex, _del],
|
|
556
636
|
[0, 0, 1, 1]
|
|
557
637
|
];
|
|
558
|
-
export var ApiKeyLimitExceededException$ = [-3, n0, _AKLEE,
|
|
559
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
560
|
-
[_m],
|
|
561
|
-
[0]
|
|
562
|
-
];
|
|
563
|
-
TypeRegistry.for(n0).registerError(ApiKeyLimitExceededException$, ApiKeyLimitExceededException);
|
|
564
|
-
export var ApiKeyValidityOutOfBoundsException$ = [-3, n0, _AKVOOBE,
|
|
565
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
566
|
-
[_m],
|
|
567
|
-
[0]
|
|
568
|
-
];
|
|
569
|
-
TypeRegistry.for(n0).registerError(ApiKeyValidityOutOfBoundsException$, ApiKeyValidityOutOfBoundsException);
|
|
570
|
-
export var ApiLimitExceededException$ = [-3, n0, _ALEE,
|
|
571
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
572
|
-
[_m],
|
|
573
|
-
[0]
|
|
574
|
-
];
|
|
575
|
-
TypeRegistry.for(n0).registerError(ApiLimitExceededException$, ApiLimitExceededException);
|
|
576
638
|
export var AppSyncRuntime$ = [3, n0, _ASR,
|
|
577
639
|
0,
|
|
578
640
|
[_n, _rV],
|
|
@@ -633,12 +695,6 @@ export var BadRequestDetail$ = [3, n0, _BRD,
|
|
|
633
695
|
[_cE],
|
|
634
696
|
[() => CodeErrors]
|
|
635
697
|
];
|
|
636
|
-
export var BadRequestException$ = [-3, n0, _BRE,
|
|
637
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
638
|
-
[_m, _r, _det],
|
|
639
|
-
[0, 0, () => BadRequestDetail$]
|
|
640
|
-
];
|
|
641
|
-
TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
642
698
|
export var CachingConfig$ = [3, n0, _CC,
|
|
643
699
|
0,
|
|
644
700
|
[_tt, _cK],
|
|
@@ -649,7 +705,7 @@ export var ChannelNamespace$ = [3, n0, _CN,
|
|
|
649
705
|
[_aI, _n, _sAM, _pAM, _cH, _t, _cNA, _cr, _lM, _hC],
|
|
650
706
|
[0, 0, () => AuthModes, () => AuthModes, 0, 128 | 0, 0, 4, 4, () => HandlerConfigs$]
|
|
651
707
|
];
|
|
652
|
-
export var CodeError$ = [3, n0,
|
|
708
|
+
export var CodeError$ = [3, n0, _CEo,
|
|
653
709
|
0,
|
|
654
710
|
[_eT, _v, _l],
|
|
655
711
|
[0, 0, () => CodeErrorLocation$]
|
|
@@ -669,18 +725,6 @@ export var CognitoUserPoolConfig$ = [3, n0, _CUPC,
|
|
|
669
725
|
[_uPI, _aR, _aICR],
|
|
670
726
|
[0, 0, 0], 2
|
|
671
727
|
];
|
|
672
|
-
export var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
673
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
674
|
-
[_m],
|
|
675
|
-
[0]
|
|
676
|
-
];
|
|
677
|
-
TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
678
|
-
export var ConflictException$ = [-3, n0, _CEo,
|
|
679
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
680
|
-
[_m],
|
|
681
|
-
[0]
|
|
682
|
-
];
|
|
683
|
-
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
684
728
|
export var CreateApiCacheRequest$ = [3, n0, _CACR,
|
|
685
729
|
0,
|
|
686
730
|
[_aI, _tt, _aCB, _ty, _tEE, _aREE, _hMC],
|
|
@@ -983,7 +1027,7 @@ export var EvaluateCodeRequest$ = [3, n0, _ECR,
|
|
|
983
1027
|
];
|
|
984
1028
|
export var EvaluateCodeResponse$ = [3, n0, _ECRv,
|
|
985
1029
|
0,
|
|
986
|
-
[_eR, _e, _lo,
|
|
1030
|
+
[_eR, _e, _lo, _sta, _oE],
|
|
987
1031
|
[0, () => EvaluateCodeErrorDetail$, 64 | 0, 0, 0]
|
|
988
1032
|
];
|
|
989
1033
|
export var EvaluateMappingTemplateRequest$ = [3, n0, _EMTR,
|
|
@@ -993,7 +1037,7 @@ export var EvaluateMappingTemplateRequest$ = [3, n0, _EMTR,
|
|
|
993
1037
|
];
|
|
994
1038
|
export var EvaluateMappingTemplateResponse$ = [3, n0, _EMTRv,
|
|
995
1039
|
0,
|
|
996
|
-
[_eR, _e, _lo,
|
|
1040
|
+
[_eR, _e, _lo, _sta, _oE],
|
|
997
1041
|
[0, () => ErrorDetail$, 64 | 0, 0, 0]
|
|
998
1042
|
];
|
|
999
1043
|
export var EventBridgeDataSourceConfig$ = [3, n0, _EBDSC,
|
|
@@ -1153,7 +1197,7 @@ export var GetSchemaCreationStatusRequest$ = [3, n0, _GSCSR,
|
|
|
1153
1197
|
];
|
|
1154
1198
|
export var GetSchemaCreationStatusResponse$ = [3, n0, _GSCSRe,
|
|
1155
1199
|
0,
|
|
1156
|
-
[
|
|
1200
|
+
[_st, _det],
|
|
1157
1201
|
[0, 0]
|
|
1158
1202
|
];
|
|
1159
1203
|
export var GetSourceApiAssociationRequest$ = [3, n0, _GSAAR,
|
|
@@ -1178,15 +1222,9 @@ export var GetTypeResponse$ = [3, n0, _GTRe,
|
|
|
1178
1222
|
];
|
|
1179
1223
|
export var GraphqlApi$ = [3, n0, _GA,
|
|
1180
1224
|
0,
|
|
1181
|
-
[_n, _aI, _aT, _lCo, _uPC, _oIDCC, _ar, _u, _t, _aAP, _xE, _wWAA, _lAC,
|
|
1225
|
+
[_n, _aI, _aT, _lCo, _uPC, _oIDCC, _ar, _u, _t, _aAP, _xE, _wWAA, _lAC, _dn, _vi, _aTp, _mAERA, _o, _oC, _iC, _qDL, _rCL, _eMC],
|
|
1182
1226
|
[0, 0, 0, () => LogConfig$, () => UserPoolConfig$, () => OpenIDConnectConfig$, 0, 128 | 0, 128 | 0, () => AdditionalAuthenticationProviders, 2, 0, () => LambdaAuthorizerConfig$, 128 | 0, 0, 0, 0, 0, 0, 0, 1, 1, () => EnhancedMetricsConfig$]
|
|
1183
1227
|
];
|
|
1184
|
-
export var GraphQLSchemaException$ = [-3, n0, _GQLSE,
|
|
1185
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1186
|
-
[_m],
|
|
1187
|
-
[0]
|
|
1188
|
-
];
|
|
1189
|
-
TypeRegistry.for(n0).registerError(GraphQLSchemaException$, GraphQLSchemaException);
|
|
1190
1228
|
export var HandlerConfig$ = [3, n0, _HC,
|
|
1191
1229
|
0,
|
|
1192
1230
|
[_b, _int],
|
|
@@ -1207,12 +1245,6 @@ export var Integration$ = [3, n0, _I,
|
|
|
1207
1245
|
[_dSN, _lC],
|
|
1208
1246
|
[0, () => LambdaConfig$], 1
|
|
1209
1247
|
];
|
|
1210
|
-
export var InternalFailureException$ = [-3, n0, _IFE,
|
|
1211
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
1212
|
-
[_m],
|
|
1213
|
-
[0]
|
|
1214
|
-
];
|
|
1215
|
-
TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
|
|
1216
1248
|
export var LambdaAuthorizerConfig$ = [3, n0, _LAC,
|
|
1217
1249
|
0,
|
|
1218
1250
|
[_aU, _aRTIS, _iVE],
|
|
@@ -1233,12 +1265,6 @@ export var LambdaDataSourceConfig$ = [3, n0, _LDSC,
|
|
|
1233
1265
|
[_lFA],
|
|
1234
1266
|
[0], 1
|
|
1235
1267
|
];
|
|
1236
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
1237
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
1238
|
-
[_m],
|
|
1239
|
-
[0]
|
|
1240
|
-
];
|
|
1241
|
-
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
1242
1268
|
export var ListApiKeysRequest$ = [3, n0, _LAKR,
|
|
1243
1269
|
0,
|
|
1244
1270
|
[_aI, _nT, _mR],
|
|
@@ -1374,12 +1400,6 @@ export var LogConfig$ = [3, n0, _LCo,
|
|
|
1374
1400
|
[_fLL, _cWLRA, _eVC],
|
|
1375
1401
|
[0, 0, 2], 2
|
|
1376
1402
|
];
|
|
1377
|
-
export var NotFoundException$ = [-3, n0, _NFE,
|
|
1378
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1379
|
-
[_m],
|
|
1380
|
-
[0]
|
|
1381
|
-
];
|
|
1382
|
-
TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
|
|
1383
1403
|
export var OpenIDConnectConfig$ = [3, n0, _OIDCC,
|
|
1384
1404
|
0,
|
|
1385
1405
|
[_is, _cI, _iTTL, _aTTL],
|
|
@@ -1425,12 +1445,6 @@ export var Resolver$ = [3, n0, _R,
|
|
|
1425
1445
|
[_tN, _fN, _dSN, _rAe, _rMT, _rMTe, _k, _pC, _sC, _cCa, _mBS, _ru, _cod, _mC],
|
|
1426
1446
|
[0, 0, 0, 0, 0, 0, 0, () => PipelineConfig$, () => SyncConfig$, () => CachingConfig$, 1, () => AppSyncRuntime$, 0, 0]
|
|
1427
1447
|
];
|
|
1428
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
1429
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
1430
|
-
[_m],
|
|
1431
|
-
[0]
|
|
1432
|
-
];
|
|
1433
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
1434
1448
|
export var SourceApiAssociation$ = [3, n0, _SAA,
|
|
1435
1449
|
0,
|
|
1436
1450
|
[_aIs, _aAs, _sAIo, _sAAo, _mAA, _mAIe, _de, _sAAC, _sAAS, _sAASD, _lSMD],
|
|
@@ -1463,7 +1477,7 @@ export var StartSchemaCreationRequest$ = [3, n0, _SSCR,
|
|
|
1463
1477
|
];
|
|
1464
1478
|
export var StartSchemaCreationResponse$ = [3, n0, _SSCRt,
|
|
1465
1479
|
0,
|
|
1466
|
-
[
|
|
1480
|
+
[_st],
|
|
1467
1481
|
[0]
|
|
1468
1482
|
];
|
|
1469
1483
|
export var StartSchemaMergeRequest$ = [3, n0, _SSMR,
|
|
@@ -1496,12 +1510,6 @@ export var Type$ = [3, n0, _T,
|
|
|
1496
1510
|
[_n, _de, _ar, _def, _f],
|
|
1497
1511
|
[0, 0, 0, 0, 0]
|
|
1498
1512
|
];
|
|
1499
|
-
export var UnauthorizedException$ = [-3, n0, _UE,
|
|
1500
|
-
{ [_e]: _c, [_hE]: 401 },
|
|
1501
|
-
[_m],
|
|
1502
|
-
[0]
|
|
1503
|
-
];
|
|
1504
|
-
TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
|
|
1505
1513
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
1506
1514
|
0,
|
|
1507
1515
|
[_rA, _tK],
|
|
@@ -1627,8 +1635,6 @@ export var UserPoolConfig$ = [3, n0, _UPC,
|
|
|
1627
1635
|
[_uPI, _aR, _dA, _aICR],
|
|
1628
1636
|
[0, 0, 0, 0], 3
|
|
1629
1637
|
];
|
|
1630
|
-
export var AppSyncServiceException$ = [-3, _sm, "AppSyncServiceException", 0, [], []];
|
|
1631
|
-
TypeRegistry.for(_sm).registerError(AppSyncServiceException$, AppSyncServiceException);
|
|
1632
1638
|
var AdditionalAuthenticationProviders = [1, n0, _AAPd,
|
|
1633
1639
|
0, () => AdditionalAuthenticationProvider$
|
|
1634
1640
|
];
|
|
@@ -1,13 +1,30 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var AppSyncServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var ApiKeyLimitExceededException$: StaticErrorSchema;
|
|
6
|
+
export declare var ApiKeyValidityOutOfBoundsException$: StaticErrorSchema;
|
|
7
|
+
export declare var ApiLimitExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
9
|
+
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
10
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
11
|
+
export declare var GraphQLSchemaException$: StaticErrorSchema;
|
|
12
|
+
export declare var InternalFailureException$: StaticErrorSchema;
|
|
13
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
14
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
15
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
16
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
17
|
+
/**
|
|
18
|
+
* TypeRegistry instances containing modeled errors.
|
|
19
|
+
* @internal
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
23
|
export declare var AdditionalAuthenticationProvider$: StaticStructureSchema;
|
|
4
24
|
export declare var Api$: StaticStructureSchema;
|
|
5
25
|
export declare var ApiAssociation$: StaticStructureSchema;
|
|
6
26
|
export declare var ApiCache$: StaticStructureSchema;
|
|
7
27
|
export declare var ApiKey$: StaticStructureSchema;
|
|
8
|
-
export declare var ApiKeyLimitExceededException$: StaticErrorSchema;
|
|
9
|
-
export declare var ApiKeyValidityOutOfBoundsException$: StaticErrorSchema;
|
|
10
|
-
export declare var ApiLimitExceededException$: StaticErrorSchema;
|
|
11
28
|
export declare var AppSyncRuntime$: StaticStructureSchema;
|
|
12
29
|
export declare var AssociateApiRequest$: StaticStructureSchema;
|
|
13
30
|
export declare var AssociateApiResponse$: StaticStructureSchema;
|
|
@@ -20,15 +37,12 @@ export declare var AuthorizationConfig$: StaticStructureSchema;
|
|
|
20
37
|
export declare var AuthProvider$: StaticStructureSchema;
|
|
21
38
|
export declare var AwsIamConfig$: StaticStructureSchema;
|
|
22
39
|
export declare var BadRequestDetail$: StaticStructureSchema;
|
|
23
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
24
40
|
export declare var CachingConfig$: StaticStructureSchema;
|
|
25
41
|
export declare var ChannelNamespace$: StaticStructureSchema;
|
|
26
42
|
export declare var CodeError$: StaticStructureSchema;
|
|
27
43
|
export declare var CodeErrorLocation$: StaticStructureSchema;
|
|
28
44
|
export declare var CognitoConfig$: StaticStructureSchema;
|
|
29
45
|
export declare var CognitoUserPoolConfig$: StaticStructureSchema;
|
|
30
|
-
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
31
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
32
46
|
export declare var CreateApiCacheRequest$: StaticStructureSchema;
|
|
33
47
|
export declare var CreateApiCacheResponse$: StaticStructureSchema;
|
|
34
48
|
export declare var CreateApiKeyRequest$: StaticStructureSchema;
|
|
@@ -129,17 +143,14 @@ export declare var GetSourceApiAssociationResponse$: StaticStructureSchema;
|
|
|
129
143
|
export declare var GetTypeRequest$: StaticStructureSchema;
|
|
130
144
|
export declare var GetTypeResponse$: StaticStructureSchema;
|
|
131
145
|
export declare var GraphqlApi$: StaticStructureSchema;
|
|
132
|
-
export declare var GraphQLSchemaException$: StaticErrorSchema;
|
|
133
146
|
export declare var HandlerConfig$: StaticStructureSchema;
|
|
134
147
|
export declare var HandlerConfigs$: StaticStructureSchema;
|
|
135
148
|
export declare var HttpDataSourceConfig$: StaticStructureSchema;
|
|
136
149
|
export declare var Integration$: StaticStructureSchema;
|
|
137
|
-
export declare var InternalFailureException$: StaticErrorSchema;
|
|
138
150
|
export declare var LambdaAuthorizerConfig$: StaticStructureSchema;
|
|
139
151
|
export declare var LambdaConfig$: StaticStructureSchema;
|
|
140
152
|
export declare var LambdaConflictHandlerConfig$: StaticStructureSchema;
|
|
141
153
|
export declare var LambdaDataSourceConfig$: StaticStructureSchema;
|
|
142
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
143
154
|
export declare var ListApiKeysRequest$: StaticStructureSchema;
|
|
144
155
|
export declare var ListApiKeysResponse$: StaticStructureSchema;
|
|
145
156
|
export declare var ListApisRequest$: StaticStructureSchema;
|
|
@@ -167,7 +178,6 @@ export declare var ListTypesByAssociationResponse$: StaticStructureSchema;
|
|
|
167
178
|
export declare var ListTypesRequest$: StaticStructureSchema;
|
|
168
179
|
export declare var ListTypesResponse$: StaticStructureSchema;
|
|
169
180
|
export declare var LogConfig$: StaticStructureSchema;
|
|
170
|
-
export declare var NotFoundException$: StaticErrorSchema;
|
|
171
181
|
export declare var OpenIDConnectConfig$: StaticStructureSchema;
|
|
172
182
|
export declare var OpenSearchServiceDataSourceConfig$: StaticStructureSchema;
|
|
173
183
|
export declare var PipelineConfig$: StaticStructureSchema;
|
|
@@ -177,7 +187,6 @@ export declare var RdsDataApiConfig$: StaticStructureSchema;
|
|
|
177
187
|
export declare var RdsHttpEndpointConfig$: StaticStructureSchema;
|
|
178
188
|
export declare var RelationalDatabaseDataSourceConfig$: StaticStructureSchema;
|
|
179
189
|
export declare var Resolver$: StaticStructureSchema;
|
|
180
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
181
190
|
export declare var SourceApiAssociation$: StaticStructureSchema;
|
|
182
191
|
export declare var SourceApiAssociationConfig$: StaticStructureSchema;
|
|
183
192
|
export declare var SourceApiAssociationSummary$: StaticStructureSchema;
|
|
@@ -191,7 +200,6 @@ export declare var SyncConfig$: StaticStructureSchema;
|
|
|
191
200
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
192
201
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
193
202
|
export declare var Type$: StaticStructureSchema;
|
|
194
|
-
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
195
203
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
196
204
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
197
205
|
export declare var UpdateApiCacheRequest$: StaticStructureSchema;
|
|
@@ -217,7 +225,6 @@ export declare var UpdateSourceApiAssociationResponse$: StaticStructureSchema;
|
|
|
217
225
|
export declare var UpdateTypeRequest$: StaticStructureSchema;
|
|
218
226
|
export declare var UpdateTypeResponse$: StaticStructureSchema;
|
|
219
227
|
export declare var UserPoolConfig$: StaticStructureSchema;
|
|
220
|
-
export declare var AppSyncServiceException$: StaticErrorSchema;
|
|
221
228
|
export declare var AssociateApi$: StaticOperationSchema;
|
|
222
229
|
export declare var AssociateMergedGraphqlApi$: StaticOperationSchema;
|
|
223
230
|
export declare var AssociateSourceGraphqlApi$: StaticOperationSchema;
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var AppSyncServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var ApiKeyLimitExceededException$: StaticErrorSchema;
|
|
10
|
+
export declare var ApiKeyValidityOutOfBoundsException$: StaticErrorSchema;
|
|
11
|
+
export declare var ApiLimitExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
13
|
+
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
14
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
15
|
+
export declare var GraphQLSchemaException$: StaticErrorSchema;
|
|
16
|
+
export declare var InternalFailureException$: StaticErrorSchema;
|
|
17
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
18
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
19
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
20
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
21
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
22
|
export declare var AdditionalAuthenticationProvider$: StaticStructureSchema;
|
|
8
23
|
export declare var Api$: StaticStructureSchema;
|
|
9
24
|
export declare var ApiAssociation$: StaticStructureSchema;
|
|
10
25
|
export declare var ApiCache$: StaticStructureSchema;
|
|
11
26
|
export declare var ApiKey$: StaticStructureSchema;
|
|
12
|
-
export declare var ApiKeyLimitExceededException$: StaticErrorSchema;
|
|
13
|
-
export declare var ApiKeyValidityOutOfBoundsException$: StaticErrorSchema;
|
|
14
|
-
export declare var ApiLimitExceededException$: StaticErrorSchema;
|
|
15
27
|
export declare var AppSyncRuntime$: StaticStructureSchema;
|
|
16
28
|
export declare var AssociateApiRequest$: StaticStructureSchema;
|
|
17
29
|
export declare var AssociateApiResponse$: StaticStructureSchema;
|
|
@@ -24,15 +36,12 @@ export declare var AuthorizationConfig$: StaticStructureSchema;
|
|
|
24
36
|
export declare var AuthProvider$: StaticStructureSchema;
|
|
25
37
|
export declare var AwsIamConfig$: StaticStructureSchema;
|
|
26
38
|
export declare var BadRequestDetail$: StaticStructureSchema;
|
|
27
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
28
39
|
export declare var CachingConfig$: StaticStructureSchema;
|
|
29
40
|
export declare var ChannelNamespace$: StaticStructureSchema;
|
|
30
41
|
export declare var CodeError$: StaticStructureSchema;
|
|
31
42
|
export declare var CodeErrorLocation$: StaticStructureSchema;
|
|
32
43
|
export declare var CognitoConfig$: StaticStructureSchema;
|
|
33
44
|
export declare var CognitoUserPoolConfig$: StaticStructureSchema;
|
|
34
|
-
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
35
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
36
45
|
export declare var CreateApiCacheRequest$: StaticStructureSchema;
|
|
37
46
|
export declare var CreateApiCacheResponse$: StaticStructureSchema;
|
|
38
47
|
export declare var CreateApiKeyRequest$: StaticStructureSchema;
|
|
@@ -133,17 +142,14 @@ export declare var GetSourceApiAssociationResponse$: StaticStructureSchema;
|
|
|
133
142
|
export declare var GetTypeRequest$: StaticStructureSchema;
|
|
134
143
|
export declare var GetTypeResponse$: StaticStructureSchema;
|
|
135
144
|
export declare var GraphqlApi$: StaticStructureSchema;
|
|
136
|
-
export declare var GraphQLSchemaException$: StaticErrorSchema;
|
|
137
145
|
export declare var HandlerConfig$: StaticStructureSchema;
|
|
138
146
|
export declare var HandlerConfigs$: StaticStructureSchema;
|
|
139
147
|
export declare var HttpDataSourceConfig$: StaticStructureSchema;
|
|
140
148
|
export declare var Integration$: StaticStructureSchema;
|
|
141
|
-
export declare var InternalFailureException$: StaticErrorSchema;
|
|
142
149
|
export declare var LambdaAuthorizerConfig$: StaticStructureSchema;
|
|
143
150
|
export declare var LambdaConfig$: StaticStructureSchema;
|
|
144
151
|
export declare var LambdaConflictHandlerConfig$: StaticStructureSchema;
|
|
145
152
|
export declare var LambdaDataSourceConfig$: StaticStructureSchema;
|
|
146
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
147
153
|
export declare var ListApiKeysRequest$: StaticStructureSchema;
|
|
148
154
|
export declare var ListApiKeysResponse$: StaticStructureSchema;
|
|
149
155
|
export declare var ListApisRequest$: StaticStructureSchema;
|
|
@@ -171,7 +177,6 @@ export declare var ListTypesByAssociationResponse$: StaticStructureSchema;
|
|
|
171
177
|
export declare var ListTypesRequest$: StaticStructureSchema;
|
|
172
178
|
export declare var ListTypesResponse$: StaticStructureSchema;
|
|
173
179
|
export declare var LogConfig$: StaticStructureSchema;
|
|
174
|
-
export declare var NotFoundException$: StaticErrorSchema;
|
|
175
180
|
export declare var OpenIDConnectConfig$: StaticStructureSchema;
|
|
176
181
|
export declare var OpenSearchServiceDataSourceConfig$: StaticStructureSchema;
|
|
177
182
|
export declare var PipelineConfig$: StaticStructureSchema;
|
|
@@ -181,7 +186,6 @@ export declare var RdsDataApiConfig$: StaticStructureSchema;
|
|
|
181
186
|
export declare var RdsHttpEndpointConfig$: StaticStructureSchema;
|
|
182
187
|
export declare var RelationalDatabaseDataSourceConfig$: StaticStructureSchema;
|
|
183
188
|
export declare var Resolver$: StaticStructureSchema;
|
|
184
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
185
189
|
export declare var SourceApiAssociation$: StaticStructureSchema;
|
|
186
190
|
export declare var SourceApiAssociationConfig$: StaticStructureSchema;
|
|
187
191
|
export declare var SourceApiAssociationSummary$: StaticStructureSchema;
|
|
@@ -195,7 +199,6 @@ export declare var SyncConfig$: StaticStructureSchema;
|
|
|
195
199
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
196
200
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
197
201
|
export declare var Type$: StaticStructureSchema;
|
|
198
|
-
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
199
202
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
200
203
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
201
204
|
export declare var UpdateApiCacheRequest$: StaticStructureSchema;
|
|
@@ -221,7 +224,6 @@ export declare var UpdateSourceApiAssociationResponse$: StaticStructureSchema;
|
|
|
221
224
|
export declare var UpdateTypeRequest$: StaticStructureSchema;
|
|
222
225
|
export declare var UpdateTypeResponse$: StaticStructureSchema;
|
|
223
226
|
export declare var UserPoolConfig$: StaticStructureSchema;
|
|
224
|
-
export declare var AppSyncServiceException$: StaticErrorSchema;
|
|
225
227
|
export declare var AssociateApi$: StaticOperationSchema;
|
|
226
228
|
export declare var AssociateMergedGraphqlApi$: StaticOperationSchema;
|
|
227
229
|
export declare var AssociateSourceGraphqlApi$: StaticOperationSchema;
|
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.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-appsync",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|
|
59
|
-
"@smithy/util-stream": "^4.5.
|
|
59
|
+
"@smithy/util-stream": "^4.5.12",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|