@aws-sdk/client-appsync 3.41.0 → 3.46.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/AppSync.js +120 -0
  4. package/dist-cjs/commands/AssociateApiCommand.js +36 -0
  5. package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
  7. package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
  8. package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
  9. package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
  10. package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoints.js +1 -0
  14. package/dist-cjs/models/models_0.js +136 -21
  15. package/dist-cjs/protocols/Aws_restJson1.js +917 -93
  16. package/dist-cjs/runtimeConfig.js +0 -2
  17. package/dist-es/AppSync.js +120 -0
  18. package/dist-es/commands/AssociateApiCommand.js +39 -0
  19. package/dist-es/commands/CreateDomainNameCommand.js +39 -0
  20. package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
  21. package/dist-es/commands/DisassociateApiCommand.js +39 -0
  22. package/dist-es/commands/GetApiAssociationCommand.js +39 -0
  23. package/dist-es/commands/GetDomainNameCommand.js +39 -0
  24. package/dist-es/commands/ListDomainNamesCommand.js +39 -0
  25. package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/endpoints.js +1 -0
  28. package/dist-es/models/models_0.js +90 -12
  29. package/dist-es/protocols/Aws_restJson1.js +1048 -91
  30. package/dist-es/runtimeConfig.js +0 -2
  31. package/dist-types/AppSync.d.ts +60 -5
  32. package/dist-types/AppSyncClient.d.ts +10 -2
  33. package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
  34. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  35. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  36. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  39. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  40. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  41. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  42. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  43. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  45. package/dist-types/commands/index.d.ts +8 -0
  46. package/dist-types/models/models_0.d.ts +578 -255
  47. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  48. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  49. package/dist-types/ts3.4/AppSyncClient.d.ts +10 -2
  50. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +215 -30
  60. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  61. package/package.json +36 -43
@@ -72,6 +72,26 @@ export declare namespace AdditionalAuthenticationProvider {
72
72
 
73
73
  const filterSensitiveLog: (obj: AdditionalAuthenticationProvider) => any;
74
74
  }
75
+ export declare enum AssociationStatus {
76
+ Failed = "FAILED",
77
+ Processing = "PROCESSING",
78
+ Success = "SUCCESS"
79
+ }
80
+
81
+ export interface ApiAssociation {
82
+
83
+ domainName?: string;
84
+
85
+ apiId?: string;
86
+
87
+ associationStatus?: AssociationStatus | string;
88
+
89
+ deploymentDetail?: string;
90
+ }
91
+ export declare namespace ApiAssociation {
92
+
93
+ const filterSensitiveLog: (obj: ApiAssociation) => any;
94
+ }
75
95
  export declare enum ApiCachingBehavior {
76
96
  FULL_REQUEST_CACHING = "FULL_REQUEST_CACHING",
77
97
  PER_RESOLVER_CACHING = "PER_RESOLVER_CACHING"
@@ -164,6 +184,54 @@ export declare namespace ApiLimitExceededException {
164
184
 
165
185
  const filterSensitiveLog: (obj: ApiLimitExceededException) => any;
166
186
  }
187
+ export interface AssociateApiRequest {
188
+
189
+ domainName: string | undefined;
190
+
191
+ apiId: string | undefined;
192
+ }
193
+ export declare namespace AssociateApiRequest {
194
+
195
+ const filterSensitiveLog: (obj: AssociateApiRequest) => any;
196
+ }
197
+ export interface AssociateApiResponse {
198
+
199
+ apiAssociation?: ApiAssociation;
200
+ }
201
+ export declare namespace AssociateApiResponse {
202
+
203
+ const filterSensitiveLog: (obj: AssociateApiResponse) => any;
204
+ }
205
+
206
+ export interface BadRequestException extends __SmithyException, $MetadataBearer {
207
+ name: "BadRequestException";
208
+ $fault: "client";
209
+ message?: string;
210
+ }
211
+ export declare namespace BadRequestException {
212
+
213
+ const filterSensitiveLog: (obj: BadRequestException) => any;
214
+ }
215
+
216
+ export interface InternalFailureException extends __SmithyException, $MetadataBearer {
217
+ name: "InternalFailureException";
218
+ $fault: "server";
219
+ message?: string;
220
+ }
221
+ export declare namespace InternalFailureException {
222
+
223
+ const filterSensitiveLog: (obj: InternalFailureException) => any;
224
+ }
225
+
226
+ export interface NotFoundException extends __SmithyException, $MetadataBearer {
227
+ name: "NotFoundException";
228
+ $fault: "client";
229
+ message?: string;
230
+ }
231
+ export declare namespace NotFoundException {
232
+
233
+ const filterSensitiveLog: (obj: NotFoundException) => any;
234
+ }
167
235
  export declare enum AuthorizationType {
168
236
  AWS_IAM = "AWS_IAM"
169
237
  }
@@ -190,16 +258,6 @@ export declare namespace AuthorizationConfig {
190
258
  const filterSensitiveLog: (obj: AuthorizationConfig) => any;
191
259
  }
192
260
 
193
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
194
- name: "BadRequestException";
195
- $fault: "client";
196
- message?: string;
197
- }
198
- export declare namespace BadRequestException {
199
-
200
- const filterSensitiveLog: (obj: BadRequestException) => any;
201
- }
202
-
203
261
  export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
204
262
  name: "ConcurrentModificationException";
205
263
  $fault: "client";
@@ -238,26 +296,6 @@ export declare namespace CreateApiCacheResponse {
238
296
  const filterSensitiveLog: (obj: CreateApiCacheResponse) => any;
239
297
  }
240
298
 
241
- export interface InternalFailureException extends __SmithyException, $MetadataBearer {
242
- name: "InternalFailureException";
243
- $fault: "server";
244
- message?: string;
245
- }
246
- export declare namespace InternalFailureException {
247
-
248
- const filterSensitiveLog: (obj: InternalFailureException) => any;
249
- }
250
-
251
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
252
- name: "NotFoundException";
253
- $fault: "client";
254
- message?: string;
255
- }
256
- export declare namespace NotFoundException {
257
-
258
- const filterSensitiveLog: (obj: NotFoundException) => any;
259
- }
260
-
261
299
  export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
262
300
  name: "UnauthorizedException";
263
301
  $fault: "client";
@@ -474,6 +512,43 @@ export declare namespace CreateDataSourceResponse {
474
512
 
475
513
  const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
476
514
  }
515
+ export interface CreateDomainNameRequest {
516
+
517
+ domainName: string | undefined;
518
+
519
+ certificateArn: string | undefined;
520
+
521
+ description?: string;
522
+ }
523
+ export declare namespace CreateDomainNameRequest {
524
+
525
+ const filterSensitiveLog: (obj: CreateDomainNameRequest) => any;
526
+ }
527
+
528
+ export interface DomainNameConfig {
529
+
530
+ domainName?: string;
531
+
532
+ description?: string;
533
+
534
+ certificateArn?: string;
535
+
536
+ appsyncDomainName?: string;
537
+
538
+ hostedZoneId?: string;
539
+ }
540
+ export declare namespace DomainNameConfig {
541
+
542
+ const filterSensitiveLog: (obj: DomainNameConfig) => any;
543
+ }
544
+ export interface CreateDomainNameResponse {
545
+
546
+ domainNameConfig?: DomainNameConfig;
547
+ }
548
+ export declare namespace CreateDomainNameResponse {
549
+
550
+ const filterSensitiveLog: (obj: CreateDomainNameResponse) => any;
551
+ }
477
552
  export declare enum ConflictDetectionType {
478
553
  NONE = "NONE",
479
554
  VERSION = "VERSION"
@@ -523,6 +598,8 @@ export interface CreateFunctionRequest {
523
598
  functionVersion: string | undefined;
524
599
 
525
600
  syncConfig?: SyncConfig;
601
+
602
+ maxBatchSize?: number;
526
603
  }
527
604
  export declare namespace CreateFunctionRequest {
528
605
 
@@ -548,6 +625,8 @@ export interface FunctionConfiguration {
548
625
  functionVersion?: string;
549
626
 
550
627
  syncConfig?: SyncConfig;
628
+
629
+ maxBatchSize?: number;
551
630
  }
552
631
  export declare namespace FunctionConfiguration {
553
632
 
@@ -714,6 +793,8 @@ export interface CreateResolverRequest {
714
793
  syncConfig?: SyncConfig;
715
794
 
716
795
  cachingConfig?: CachingConfig;
796
+
797
+ maxBatchSize?: number;
717
798
  }
718
799
  export declare namespace CreateResolverRequest {
719
800
 
@@ -741,6 +822,8 @@ export interface Resolver {
741
822
  syncConfig?: SyncConfig;
742
823
 
743
824
  cachingConfig?: CachingConfig;
825
+
826
+ maxBatchSize?: number;
744
827
  }
745
828
  export declare namespace Resolver {
746
829
 
@@ -843,6 +926,20 @@ export declare namespace DeleteDataSourceResponse {
843
926
 
844
927
  const filterSensitiveLog: (obj: DeleteDataSourceResponse) => any;
845
928
  }
929
+ export interface DeleteDomainNameRequest {
930
+
931
+ domainName: string | undefined;
932
+ }
933
+ export declare namespace DeleteDomainNameRequest {
934
+
935
+ const filterSensitiveLog: (obj: DeleteDomainNameRequest) => any;
936
+ }
937
+ export interface DeleteDomainNameResponse {
938
+ }
939
+ export declare namespace DeleteDomainNameResponse {
940
+
941
+ const filterSensitiveLog: (obj: DeleteDomainNameResponse) => any;
942
+ }
846
943
  export interface DeleteFunctionRequest {
847
944
 
848
945
  apiId: string | undefined;
@@ -907,6 +1004,20 @@ export declare namespace DeleteTypeResponse {
907
1004
 
908
1005
  const filterSensitiveLog: (obj: DeleteTypeResponse) => any;
909
1006
  }
1007
+ export interface DisassociateApiRequest {
1008
+
1009
+ domainName: string | undefined;
1010
+ }
1011
+ export declare namespace DisassociateApiRequest {
1012
+
1013
+ const filterSensitiveLog: (obj: DisassociateApiRequest) => any;
1014
+ }
1015
+ export interface DisassociateApiResponse {
1016
+ }
1017
+ export declare namespace DisassociateApiResponse {
1018
+
1019
+ const filterSensitiveLog: (obj: DisassociateApiResponse) => any;
1020
+ }
910
1021
 
911
1022
  export interface FlushApiCacheRequest {
912
1023
 
@@ -923,6 +1034,22 @@ export declare namespace FlushApiCacheResponse {
923
1034
 
924
1035
  const filterSensitiveLog: (obj: FlushApiCacheResponse) => any;
925
1036
  }
1037
+ export interface GetApiAssociationRequest {
1038
+
1039
+ domainName: string | undefined;
1040
+ }
1041
+ export declare namespace GetApiAssociationRequest {
1042
+
1043
+ const filterSensitiveLog: (obj: GetApiAssociationRequest) => any;
1044
+ }
1045
+ export interface GetApiAssociationResponse {
1046
+
1047
+ apiAssociation?: ApiAssociation;
1048
+ }
1049
+ export declare namespace GetApiAssociationResponse {
1050
+
1051
+ const filterSensitiveLog: (obj: GetApiAssociationResponse) => any;
1052
+ }
926
1053
 
927
1054
  export interface GetApiCacheRequest {
928
1055
 
@@ -959,6 +1086,22 @@ export declare namespace GetDataSourceResponse {
959
1086
 
960
1087
  const filterSensitiveLog: (obj: GetDataSourceResponse) => any;
961
1088
  }
1089
+ export interface GetDomainNameRequest {
1090
+
1091
+ domainName: string | undefined;
1092
+ }
1093
+ export declare namespace GetDomainNameRequest {
1094
+
1095
+ const filterSensitiveLog: (obj: GetDomainNameRequest) => any;
1096
+ }
1097
+ export interface GetDomainNameResponse {
1098
+
1099
+ domainNameConfig?: DomainNameConfig;
1100
+ }
1101
+ export declare namespace GetDomainNameResponse {
1102
+
1103
+ const filterSensitiveLog: (obj: GetDomainNameResponse) => any;
1104
+ }
962
1105
  export interface GetFunctionRequest {
963
1106
 
964
1107
  apiId: string | undefined;
@@ -1137,6 +1280,26 @@ export declare namespace ListDataSourcesResponse {
1137
1280
 
1138
1281
  const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
1139
1282
  }
1283
+ export interface ListDomainNamesRequest {
1284
+
1285
+ nextToken?: string;
1286
+
1287
+ maxResults?: number;
1288
+ }
1289
+ export declare namespace ListDomainNamesRequest {
1290
+
1291
+ const filterSensitiveLog: (obj: ListDomainNamesRequest) => any;
1292
+ }
1293
+ export interface ListDomainNamesResponse {
1294
+
1295
+ domainNameConfigs?: DomainNameConfig[];
1296
+
1297
+ nextToken?: string;
1298
+ }
1299
+ export declare namespace ListDomainNamesResponse {
1300
+
1301
+ const filterSensitiveLog: (obj: ListDomainNamesResponse) => any;
1302
+ }
1140
1303
  export interface ListFunctionsRequest {
1141
1304
 
1142
1305
  apiId: string | undefined;
@@ -1403,6 +1566,24 @@ export declare namespace UpdateDataSourceResponse {
1403
1566
 
1404
1567
  const filterSensitiveLog: (obj: UpdateDataSourceResponse) => any;
1405
1568
  }
1569
+ export interface UpdateDomainNameRequest {
1570
+
1571
+ domainName: string | undefined;
1572
+
1573
+ description?: string;
1574
+ }
1575
+ export declare namespace UpdateDomainNameRequest {
1576
+
1577
+ const filterSensitiveLog: (obj: UpdateDomainNameRequest) => any;
1578
+ }
1579
+ export interface UpdateDomainNameResponse {
1580
+
1581
+ domainNameConfig?: DomainNameConfig;
1582
+ }
1583
+ export declare namespace UpdateDomainNameResponse {
1584
+
1585
+ const filterSensitiveLog: (obj: UpdateDomainNameResponse) => any;
1586
+ }
1406
1587
  export interface UpdateFunctionRequest {
1407
1588
 
1408
1589
  apiId: string | undefined;
@@ -1422,6 +1603,8 @@ export interface UpdateFunctionRequest {
1422
1603
  functionVersion: string | undefined;
1423
1604
 
1424
1605
  syncConfig?: SyncConfig;
1606
+
1607
+ maxBatchSize?: number;
1425
1608
  }
1426
1609
  export declare namespace UpdateFunctionRequest {
1427
1610
 
@@ -1488,6 +1671,8 @@ export interface UpdateResolverRequest {
1488
1671
  syncConfig?: SyncConfig;
1489
1672
 
1490
1673
  cachingConfig?: CachingConfig;
1674
+
1675
+ maxBatchSize?: number;
1491
1676
  }
1492
1677
  export declare namespace UpdateResolverRequest {
1493
1678
 
@@ -1,8 +1,10 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "../commands/AssociateApiCommand";
3
4
  import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "../commands/CreateApiCacheCommand";
4
5
  import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "../commands/CreateApiKeyCommand";
5
6
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
7
+ import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "../commands/CreateDomainNameCommand";
6
8
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "../commands/CreateFunctionCommand";
7
9
  import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "../commands/CreateGraphqlApiCommand";
8
10
  import { CreateResolverCommandInput, CreateResolverCommandOutput } from "../commands/CreateResolverCommand";
@@ -10,13 +12,17 @@ import { CreateTypeCommandInput, CreateTypeCommandOutput } from "../commands/Cre
10
12
  import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "../commands/DeleteApiCacheCommand";
11
13
  import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "../commands/DeleteApiKeyCommand";
12
14
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
15
+ import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "../commands/DeleteDomainNameCommand";
13
16
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "../commands/DeleteFunctionCommand";
14
17
  import { DeleteGraphqlApiCommandInput, DeleteGraphqlApiCommandOutput } from "../commands/DeleteGraphqlApiCommand";
15
18
  import { DeleteResolverCommandInput, DeleteResolverCommandOutput } from "../commands/DeleteResolverCommand";
16
19
  import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "../commands/DeleteTypeCommand";
20
+ import { DisassociateApiCommandInput, DisassociateApiCommandOutput } from "../commands/DisassociateApiCommand";
17
21
  import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "../commands/FlushApiCacheCommand";
22
+ import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "../commands/GetApiAssociationCommand";
18
23
  import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "../commands/GetApiCacheCommand";
19
24
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
25
+ import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "../commands/GetDomainNameCommand";
20
26
  import { GetFunctionCommandInput, GetFunctionCommandOutput } from "../commands/GetFunctionCommand";
21
27
  import { GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput } from "../commands/GetGraphqlApiCommand";
22
28
  import { GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput } from "../commands/GetIntrospectionSchemaCommand";
@@ -25,6 +31,7 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
25
31
  import { GetTypeCommandInput, GetTypeCommandOutput } from "../commands/GetTypeCommand";
26
32
  import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "../commands/ListApiKeysCommand";
27
33
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
34
+ import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand";
28
35
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand";
29
36
  import { ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput } from "../commands/ListGraphqlApisCommand";
30
37
  import { ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput } from "../commands/ListResolversByFunctionCommand";
@@ -37,13 +44,16 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
37
44
  import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "../commands/UpdateApiCacheCommand";
38
45
  import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "../commands/UpdateApiKeyCommand";
39
46
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
47
+ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "../commands/UpdateDomainNameCommand";
40
48
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "../commands/UpdateFunctionCommand";
41
49
  import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "../commands/UpdateGraphqlApiCommand";
42
50
  import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "../commands/UpdateResolverCommand";
43
51
  import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "../commands/UpdateTypeCommand";
52
+ export declare const serializeAws_restJson1AssociateApiCommand: (input: AssociateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
53
  export declare const serializeAws_restJson1CreateApiCacheCommand: (input: CreateApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
54
  export declare const serializeAws_restJson1CreateApiKeyCommand: (input: CreateApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
55
  export declare const serializeAws_restJson1CreateDataSourceCommand: (input: CreateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ export declare const serializeAws_restJson1CreateDomainNameCommand: (input: CreateDomainNameCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
57
  export declare const serializeAws_restJson1CreateFunctionCommand: (input: CreateFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
58
  export declare const serializeAws_restJson1CreateGraphqlApiCommand: (input: CreateGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
59
  export declare const serializeAws_restJson1CreateResolverCommand: (input: CreateResolverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -51,13 +61,17 @@ export declare const serializeAws_restJson1CreateTypeCommand: (input: CreateType
51
61
  export declare const serializeAws_restJson1DeleteApiCacheCommand: (input: DeleteApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
62
  export declare const serializeAws_restJson1DeleteApiKeyCommand: (input: DeleteApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
63
  export declare const serializeAws_restJson1DeleteDataSourceCommand: (input: DeleteDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ export declare const serializeAws_restJson1DeleteDomainNameCommand: (input: DeleteDomainNameCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
65
  export declare const serializeAws_restJson1DeleteFunctionCommand: (input: DeleteFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
66
  export declare const serializeAws_restJson1DeleteGraphqlApiCommand: (input: DeleteGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
67
  export declare const serializeAws_restJson1DeleteResolverCommand: (input: DeleteResolverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
68
  export declare const serializeAws_restJson1DeleteTypeCommand: (input: DeleteTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const serializeAws_restJson1DisassociateApiCommand: (input: DisassociateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
70
  export declare const serializeAws_restJson1FlushApiCacheCommand: (input: FlushApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ export declare const serializeAws_restJson1GetApiAssociationCommand: (input: GetApiAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
72
  export declare const serializeAws_restJson1GetApiCacheCommand: (input: GetApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
73
  export declare const serializeAws_restJson1GetDataSourceCommand: (input: GetDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
+ export declare const serializeAws_restJson1GetDomainNameCommand: (input: GetDomainNameCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
75
  export declare const serializeAws_restJson1GetFunctionCommand: (input: GetFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
76
  export declare const serializeAws_restJson1GetGraphqlApiCommand: (input: GetGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
77
  export declare const serializeAws_restJson1GetIntrospectionSchemaCommand: (input: GetIntrospectionSchemaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -66,6 +80,7 @@ export declare const serializeAws_restJson1GetSchemaCreationStatusCommand: (inpu
66
80
  export declare const serializeAws_restJson1GetTypeCommand: (input: GetTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
81
  export declare const serializeAws_restJson1ListApiKeysCommand: (input: ListApiKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
82
  export declare const serializeAws_restJson1ListDataSourcesCommand: (input: ListDataSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
+ export declare const serializeAws_restJson1ListDomainNamesCommand: (input: ListDomainNamesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
84
  export declare const serializeAws_restJson1ListFunctionsCommand: (input: ListFunctionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
85
  export declare const serializeAws_restJson1ListGraphqlApisCommand: (input: ListGraphqlApisCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
86
  export declare const serializeAws_restJson1ListResolversCommand: (input: ListResolversCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -78,13 +93,16 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
78
93
  export declare const serializeAws_restJson1UpdateApiCacheCommand: (input: UpdateApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
94
  export declare const serializeAws_restJson1UpdateApiKeyCommand: (input: UpdateApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
95
  export declare const serializeAws_restJson1UpdateDataSourceCommand: (input: UpdateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
+ export declare const serializeAws_restJson1UpdateDomainNameCommand: (input: UpdateDomainNameCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
97
  export declare const serializeAws_restJson1UpdateFunctionCommand: (input: UpdateFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
98
  export declare const serializeAws_restJson1UpdateGraphqlApiCommand: (input: UpdateGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
99
  export declare const serializeAws_restJson1UpdateResolverCommand: (input: UpdateResolverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
100
  export declare const serializeAws_restJson1UpdateTypeCommand: (input: UpdateTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
+ export declare const deserializeAws_restJson1AssociateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateApiCommandOutput>;
85
102
  export declare const deserializeAws_restJson1CreateApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApiCacheCommandOutput>;
86
103
  export declare const deserializeAws_restJson1CreateApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApiKeyCommandOutput>;
87
104
  export declare const deserializeAws_restJson1CreateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDataSourceCommandOutput>;
105
+ export declare const deserializeAws_restJson1CreateDomainNameCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDomainNameCommandOutput>;
88
106
  export declare const deserializeAws_restJson1CreateFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFunctionCommandOutput>;
89
107
  export declare const deserializeAws_restJson1CreateGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGraphqlApiCommandOutput>;
90
108
  export declare const deserializeAws_restJson1CreateResolverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateResolverCommandOutput>;
@@ -92,13 +110,17 @@ export declare const deserializeAws_restJson1CreateTypeCommand: (output: __HttpR
92
110
  export declare const deserializeAws_restJson1DeleteApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteApiCacheCommandOutput>;
93
111
  export declare const deserializeAws_restJson1DeleteApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteApiKeyCommandOutput>;
94
112
  export declare const deserializeAws_restJson1DeleteDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataSourceCommandOutput>;
113
+ export declare const deserializeAws_restJson1DeleteDomainNameCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDomainNameCommandOutput>;
95
114
  export declare const deserializeAws_restJson1DeleteFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFunctionCommandOutput>;
96
115
  export declare const deserializeAws_restJson1DeleteGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGraphqlApiCommandOutput>;
97
116
  export declare const deserializeAws_restJson1DeleteResolverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResolverCommandOutput>;
98
117
  export declare const deserializeAws_restJson1DeleteTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTypeCommandOutput>;
118
+ export declare const deserializeAws_restJson1DisassociateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateApiCommandOutput>;
99
119
  export declare const deserializeAws_restJson1FlushApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FlushApiCacheCommandOutput>;
120
+ export declare const deserializeAws_restJson1GetApiAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApiAssociationCommandOutput>;
100
121
  export declare const deserializeAws_restJson1GetApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApiCacheCommandOutput>;
101
122
  export declare const deserializeAws_restJson1GetDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataSourceCommandOutput>;
123
+ export declare const deserializeAws_restJson1GetDomainNameCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDomainNameCommandOutput>;
102
124
  export declare const deserializeAws_restJson1GetFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFunctionCommandOutput>;
103
125
  export declare const deserializeAws_restJson1GetGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGraphqlApiCommandOutput>;
104
126
  export declare const deserializeAws_restJson1GetIntrospectionSchemaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIntrospectionSchemaCommandOutput>;
@@ -107,6 +129,7 @@ export declare const deserializeAws_restJson1GetSchemaCreationStatusCommand: (ou
107
129
  export declare const deserializeAws_restJson1GetTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTypeCommandOutput>;
108
130
  export declare const deserializeAws_restJson1ListApiKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApiKeysCommandOutput>;
109
131
  export declare const deserializeAws_restJson1ListDataSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataSourcesCommandOutput>;
132
+ export declare const deserializeAws_restJson1ListDomainNamesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDomainNamesCommandOutput>;
110
133
  export declare const deserializeAws_restJson1ListFunctionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFunctionsCommandOutput>;
111
134
  export declare const deserializeAws_restJson1ListGraphqlApisCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGraphqlApisCommandOutput>;
112
135
  export declare const deserializeAws_restJson1ListResolversCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResolversCommandOutput>;
@@ -119,6 +142,7 @@ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __Ht
119
142
  export declare const deserializeAws_restJson1UpdateApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApiCacheCommandOutput>;
120
143
  export declare const deserializeAws_restJson1UpdateApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApiKeyCommandOutput>;
121
144
  export declare const deserializeAws_restJson1UpdateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataSourceCommandOutput>;
145
+ export declare const deserializeAws_restJson1UpdateDomainNameCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDomainNameCommandOutput>;
122
146
  export declare const deserializeAws_restJson1UpdateFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFunctionCommandOutput>;
123
147
  export declare const deserializeAws_restJson1UpdateGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGraphqlApiCommandOutput>;
124
148
  export declare const deserializeAws_restJson1UpdateResolverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateResolverCommandOutput>;
package/package.json CHANGED
@@ -1,18 +1,17 @@
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.41.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,48 +20,42 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/client-sts": "3.46.0",
24
+ "@aws-sdk/config-resolver": "3.46.0",
25
+ "@aws-sdk/credential-provider-node": "3.46.0",
26
+ "@aws-sdk/fetch-http-handler": "3.46.0",
27
+ "@aws-sdk/hash-node": "3.46.0",
28
+ "@aws-sdk/invalid-dependency": "3.46.0",
29
+ "@aws-sdk/middleware-content-length": "3.46.0",
30
+ "@aws-sdk/middleware-host-header": "3.46.0",
31
+ "@aws-sdk/middleware-logger": "3.46.0",
32
+ "@aws-sdk/middleware-retry": "3.46.0",
33
+ "@aws-sdk/middleware-serde": "3.46.0",
34
+ "@aws-sdk/middleware-signing": "3.46.0",
35
+ "@aws-sdk/middleware-stack": "3.46.0",
36
+ "@aws-sdk/middleware-user-agent": "3.46.0",
37
+ "@aws-sdk/node-config-provider": "3.46.0",
38
+ "@aws-sdk/node-http-handler": "3.46.0",
39
+ "@aws-sdk/protocol-http": "3.46.0",
40
+ "@aws-sdk/smithy-client": "3.46.0",
41
+ "@aws-sdk/types": "3.46.0",
42
+ "@aws-sdk/url-parser": "3.46.0",
43
+ "@aws-sdk/util-base64-browser": "3.46.0",
44
+ "@aws-sdk/util-base64-node": "3.46.0",
45
+ "@aws-sdk/util-body-length-browser": "3.46.0",
46
+ "@aws-sdk/util-body-length-node": "3.46.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
48
+ "@aws-sdk/util-user-agent-node": "3.46.0",
49
+ "@aws-sdk/util-utf8-browser": "3.46.0",
50
+ "@aws-sdk/util-utf8-node": "3.46.0",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {