@aws-sdk/client-appsync 3.338.0 → 3.339.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 (60) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/AppSync.js +18 -0
  3. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
  4. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
  5. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
  7. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
  8. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
  9. package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
  10. package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
  11. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +35 -13
  14. package/dist-cjs/protocols/Aws_restJson1.js +652 -16
  15. package/dist-es/AppSync.js +18 -0
  16. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
  17. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
  18. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
  19. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
  20. package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
  21. package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
  22. package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
  23. package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
  24. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
  25. package/dist-es/commands/index.js +9 -0
  26. package/dist-es/models/models_0.js +32 -10
  27. package/dist-es/protocols/Aws_restJson1.js +632 -14
  28. package/dist-types/AppSync.d.ts +63 -0
  29. package/dist-types/AppSyncClient.d.ts +11 -2
  30. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
  31. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +7 -0
  33. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
  34. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
  35. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -0
  36. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
  37. package/dist-types/commands/ListGraphqlApisCommand.d.ts +6 -0
  38. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
  40. package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
  41. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +6 -0
  42. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/models_0.d.ts +516 -39
  45. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  46. package/dist-types/ts3.4/AppSync.d.ts +153 -0
  47. package/dist-types/ts3.4/AppSyncClient.d.ts +54 -0
  48. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +163 -24
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  60. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AssociateApiCommandInput, AssociateApiCommandOutput } from "../commands/AssociateApiCommand";
4
+ import { AssociateMergedGraphqlApiCommandInput, AssociateMergedGraphqlApiCommandOutput } from "../commands/AssociateMergedGraphqlApiCommand";
5
+ import { AssociateSourceGraphqlApiCommandInput, AssociateSourceGraphqlApiCommandOutput } from "../commands/AssociateSourceGraphqlApiCommand";
4
6
  import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "../commands/CreateApiCacheCommand";
5
7
  import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "../commands/CreateApiKeyCommand";
6
8
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
@@ -18,6 +20,8 @@ import { DeleteGraphqlApiCommandInput, DeleteGraphqlApiCommandOutput } from "../
18
20
  import { DeleteResolverCommandInput, DeleteResolverCommandOutput } from "../commands/DeleteResolverCommand";
19
21
  import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "../commands/DeleteTypeCommand";
20
22
  import { DisassociateApiCommandInput, DisassociateApiCommandOutput } from "../commands/DisassociateApiCommand";
23
+ import { DisassociateMergedGraphqlApiCommandInput, DisassociateMergedGraphqlApiCommandOutput } from "../commands/DisassociateMergedGraphqlApiCommand";
24
+ import { DisassociateSourceGraphqlApiCommandInput, DisassociateSourceGraphqlApiCommandOutput } from "../commands/DisassociateSourceGraphqlApiCommand";
21
25
  import { EvaluateCodeCommandInput, EvaluateCodeCommandOutput } from "../commands/EvaluateCodeCommand";
22
26
  import { EvaluateMappingTemplateCommandInput, EvaluateMappingTemplateCommandOutput } from "../commands/EvaluateMappingTemplateCommand";
23
27
  import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "../commands/FlushApiCacheCommand";
@@ -30,6 +34,7 @@ import { GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput } from "../comman
30
34
  import { GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput } from "../commands/GetIntrospectionSchemaCommand";
31
35
  import { GetResolverCommandInput, GetResolverCommandOutput } from "../commands/GetResolverCommand";
32
36
  import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutput } from "../commands/GetSchemaCreationStatusCommand";
37
+ import { GetSourceApiAssociationCommandInput, GetSourceApiAssociationCommandOutput } from "../commands/GetSourceApiAssociationCommand";
33
38
  import { GetTypeCommandInput, GetTypeCommandOutput } from "../commands/GetTypeCommand";
34
39
  import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "../commands/ListApiKeysCommand";
35
40
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
@@ -38,9 +43,12 @@ import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../comman
38
43
  import { ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput } from "../commands/ListGraphqlApisCommand";
39
44
  import { ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput } from "../commands/ListResolversByFunctionCommand";
40
45
  import { ListResolversCommandInput, ListResolversCommandOutput } from "../commands/ListResolversCommand";
46
+ import { ListSourceApiAssociationsCommandInput, ListSourceApiAssociationsCommandOutput } from "../commands/ListSourceApiAssociationsCommand";
41
47
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
48
+ import { ListTypesByAssociationCommandInput, ListTypesByAssociationCommandOutput } from "../commands/ListTypesByAssociationCommand";
42
49
  import { ListTypesCommandInput, ListTypesCommandOutput } from "../commands/ListTypesCommand";
43
50
  import { StartSchemaCreationCommandInput, StartSchemaCreationCommandOutput } from "../commands/StartSchemaCreationCommand";
51
+ import { StartSchemaMergeCommandInput, StartSchemaMergeCommandOutput } from "../commands/StartSchemaMergeCommand";
44
52
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
45
53
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
46
54
  import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "../commands/UpdateApiCacheCommand";
@@ -50,11 +58,20 @@ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "../
50
58
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "../commands/UpdateFunctionCommand";
51
59
  import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "../commands/UpdateGraphqlApiCommand";
52
60
  import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "../commands/UpdateResolverCommand";
61
+ import { UpdateSourceApiAssociationCommandInput, UpdateSourceApiAssociationCommandOutput } from "../commands/UpdateSourceApiAssociationCommand";
53
62
  import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "../commands/UpdateTypeCommand";
54
63
  /**
55
64
  * serializeAws_restJson1AssociateApiCommand
56
65
  */
57
66
  export declare const se_AssociateApiCommand: (input: AssociateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
+ /**
68
+ * serializeAws_restJson1AssociateMergedGraphqlApiCommand
69
+ */
70
+ export declare const se_AssociateMergedGraphqlApiCommand: (input: AssociateMergedGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ /**
72
+ * serializeAws_restJson1AssociateSourceGraphqlApiCommand
73
+ */
74
+ export declare const se_AssociateSourceGraphqlApiCommand: (input: AssociateSourceGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
75
  /**
59
76
  * serializeAws_restJson1CreateApiCacheCommand
60
77
  */
@@ -123,6 +140,14 @@ export declare const se_DeleteTypeCommand: (input: DeleteTypeCommandInput, conte
123
140
  * serializeAws_restJson1DisassociateApiCommand
124
141
  */
125
142
  export declare const se_DisassociateApiCommand: (input: DisassociateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1DisassociateMergedGraphqlApiCommand
145
+ */
146
+ export declare const se_DisassociateMergedGraphqlApiCommand: (input: DisassociateMergedGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
+ /**
148
+ * serializeAws_restJson1DisassociateSourceGraphqlApiCommand
149
+ */
150
+ export declare const se_DisassociateSourceGraphqlApiCommand: (input: DisassociateSourceGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
151
  /**
127
152
  * serializeAws_restJson1EvaluateCodeCommand
128
153
  */
@@ -171,6 +196,10 @@ export declare const se_GetResolverCommand: (input: GetResolverCommandInput, con
171
196
  * serializeAws_restJson1GetSchemaCreationStatusCommand
172
197
  */
173
198
  export declare const se_GetSchemaCreationStatusCommand: (input: GetSchemaCreationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
199
+ /**
200
+ * serializeAws_restJson1GetSourceApiAssociationCommand
201
+ */
202
+ export declare const se_GetSourceApiAssociationCommand: (input: GetSourceApiAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
174
203
  /**
175
204
  * serializeAws_restJson1GetTypeCommand
176
205
  */
@@ -203,6 +232,10 @@ export declare const se_ListResolversCommand: (input: ListResolversCommandInput,
203
232
  * serializeAws_restJson1ListResolversByFunctionCommand
204
233
  */
205
234
  export declare const se_ListResolversByFunctionCommand: (input: ListResolversByFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
235
+ /**
236
+ * serializeAws_restJson1ListSourceApiAssociationsCommand
237
+ */
238
+ export declare const se_ListSourceApiAssociationsCommand: (input: ListSourceApiAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
206
239
  /**
207
240
  * serializeAws_restJson1ListTagsForResourceCommand
208
241
  */
@@ -211,10 +244,18 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
211
244
  * serializeAws_restJson1ListTypesCommand
212
245
  */
213
246
  export declare const se_ListTypesCommand: (input: ListTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
247
+ /**
248
+ * serializeAws_restJson1ListTypesByAssociationCommand
249
+ */
250
+ export declare const se_ListTypesByAssociationCommand: (input: ListTypesByAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
214
251
  /**
215
252
  * serializeAws_restJson1StartSchemaCreationCommand
216
253
  */
217
254
  export declare const se_StartSchemaCreationCommand: (input: StartSchemaCreationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
255
+ /**
256
+ * serializeAws_restJson1StartSchemaMergeCommand
257
+ */
258
+ export declare const se_StartSchemaMergeCommand: (input: StartSchemaMergeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
259
  /**
219
260
  * serializeAws_restJson1TagResourceCommand
220
261
  */
@@ -251,6 +292,10 @@ export declare const se_UpdateGraphqlApiCommand: (input: UpdateGraphqlApiCommand
251
292
  * serializeAws_restJson1UpdateResolverCommand
252
293
  */
253
294
  export declare const se_UpdateResolverCommand: (input: UpdateResolverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
295
+ /**
296
+ * serializeAws_restJson1UpdateSourceApiAssociationCommand
297
+ */
298
+ export declare const se_UpdateSourceApiAssociationCommand: (input: UpdateSourceApiAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
254
299
  /**
255
300
  * serializeAws_restJson1UpdateTypeCommand
256
301
  */
@@ -259,6 +304,14 @@ export declare const se_UpdateTypeCommand: (input: UpdateTypeCommandInput, conte
259
304
  * deserializeAws_restJson1AssociateApiCommand
260
305
  */
261
306
  export declare const de_AssociateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateApiCommandOutput>;
307
+ /**
308
+ * deserializeAws_restJson1AssociateMergedGraphqlApiCommand
309
+ */
310
+ export declare const de_AssociateMergedGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateMergedGraphqlApiCommandOutput>;
311
+ /**
312
+ * deserializeAws_restJson1AssociateSourceGraphqlApiCommand
313
+ */
314
+ export declare const de_AssociateSourceGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSourceGraphqlApiCommandOutput>;
262
315
  /**
263
316
  * deserializeAws_restJson1CreateApiCacheCommand
264
317
  */
@@ -327,6 +380,14 @@ export declare const de_DeleteTypeCommand: (output: __HttpResponse, context: __S
327
380
  * deserializeAws_restJson1DisassociateApiCommand
328
381
  */
329
382
  export declare const de_DisassociateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateApiCommandOutput>;
383
+ /**
384
+ * deserializeAws_restJson1DisassociateMergedGraphqlApiCommand
385
+ */
386
+ export declare const de_DisassociateMergedGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateMergedGraphqlApiCommandOutput>;
387
+ /**
388
+ * deserializeAws_restJson1DisassociateSourceGraphqlApiCommand
389
+ */
390
+ export declare const de_DisassociateSourceGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSourceGraphqlApiCommandOutput>;
330
391
  /**
331
392
  * deserializeAws_restJson1EvaluateCodeCommand
332
393
  */
@@ -375,6 +436,10 @@ export declare const de_GetResolverCommand: (output: __HttpResponse, context: __
375
436
  * deserializeAws_restJson1GetSchemaCreationStatusCommand
376
437
  */
377
438
  export declare const de_GetSchemaCreationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSchemaCreationStatusCommandOutput>;
439
+ /**
440
+ * deserializeAws_restJson1GetSourceApiAssociationCommand
441
+ */
442
+ export declare const de_GetSourceApiAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSourceApiAssociationCommandOutput>;
378
443
  /**
379
444
  * deserializeAws_restJson1GetTypeCommand
380
445
  */
@@ -407,6 +472,10 @@ export declare const de_ListResolversCommand: (output: __HttpResponse, context:
407
472
  * deserializeAws_restJson1ListResolversByFunctionCommand
408
473
  */
409
474
  export declare const de_ListResolversByFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResolversByFunctionCommandOutput>;
475
+ /**
476
+ * deserializeAws_restJson1ListSourceApiAssociationsCommand
477
+ */
478
+ export declare const de_ListSourceApiAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSourceApiAssociationsCommandOutput>;
410
479
  /**
411
480
  * deserializeAws_restJson1ListTagsForResourceCommand
412
481
  */
@@ -415,10 +484,18 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
415
484
  * deserializeAws_restJson1ListTypesCommand
416
485
  */
417
486
  export declare const de_ListTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTypesCommandOutput>;
487
+ /**
488
+ * deserializeAws_restJson1ListTypesByAssociationCommand
489
+ */
490
+ export declare const de_ListTypesByAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTypesByAssociationCommandOutput>;
418
491
  /**
419
492
  * deserializeAws_restJson1StartSchemaCreationCommand
420
493
  */
421
494
  export declare const de_StartSchemaCreationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSchemaCreationCommandOutput>;
495
+ /**
496
+ * deserializeAws_restJson1StartSchemaMergeCommand
497
+ */
498
+ export declare const de_StartSchemaMergeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSchemaMergeCommandOutput>;
422
499
  /**
423
500
  * deserializeAws_restJson1TagResourceCommand
424
501
  */
@@ -455,6 +532,10 @@ export declare const de_UpdateGraphqlApiCommand: (output: __HttpResponse, contex
455
532
  * deserializeAws_restJson1UpdateResolverCommand
456
533
  */
457
534
  export declare const de_UpdateResolverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateResolverCommandOutput>;
535
+ /**
536
+ * deserializeAws_restJson1UpdateSourceApiAssociationCommand
537
+ */
538
+ export declare const de_UpdateSourceApiAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSourceApiAssociationCommandOutput>;
458
539
  /**
459
540
  * deserializeAws_restJson1UpdateTypeCommand
460
541
  */
@@ -4,6 +4,14 @@ import {
4
4
  AssociateApiCommandInput,
5
5
  AssociateApiCommandOutput,
6
6
  } from "./commands/AssociateApiCommand";
7
+ import {
8
+ AssociateMergedGraphqlApiCommandInput,
9
+ AssociateMergedGraphqlApiCommandOutput,
10
+ } from "./commands/AssociateMergedGraphqlApiCommand";
11
+ import {
12
+ AssociateSourceGraphqlApiCommandInput,
13
+ AssociateSourceGraphqlApiCommandOutput,
14
+ } from "./commands/AssociateSourceGraphqlApiCommand";
7
15
  import {
8
16
  CreateApiCacheCommandInput,
9
17
  CreateApiCacheCommandOutput,
@@ -72,6 +80,14 @@ import {
72
80
  DisassociateApiCommandInput,
73
81
  DisassociateApiCommandOutput,
74
82
  } from "./commands/DisassociateApiCommand";
83
+ import {
84
+ DisassociateMergedGraphqlApiCommandInput,
85
+ DisassociateMergedGraphqlApiCommandOutput,
86
+ } from "./commands/DisassociateMergedGraphqlApiCommand";
87
+ import {
88
+ DisassociateSourceGraphqlApiCommandInput,
89
+ DisassociateSourceGraphqlApiCommandOutput,
90
+ } from "./commands/DisassociateSourceGraphqlApiCommand";
75
91
  import {
76
92
  EvaluateCodeCommandInput,
77
93
  EvaluateCodeCommandOutput,
@@ -120,6 +136,10 @@ import {
120
136
  GetSchemaCreationStatusCommandInput,
121
137
  GetSchemaCreationStatusCommandOutput,
122
138
  } from "./commands/GetSchemaCreationStatusCommand";
139
+ import {
140
+ GetSourceApiAssociationCommandInput,
141
+ GetSourceApiAssociationCommandOutput,
142
+ } from "./commands/GetSourceApiAssociationCommand";
123
143
  import {
124
144
  GetTypeCommandInput,
125
145
  GetTypeCommandOutput,
@@ -152,10 +172,18 @@ import {
152
172
  ListResolversCommandInput,
153
173
  ListResolversCommandOutput,
154
174
  } from "./commands/ListResolversCommand";
175
+ import {
176
+ ListSourceApiAssociationsCommandInput,
177
+ ListSourceApiAssociationsCommandOutput,
178
+ } from "./commands/ListSourceApiAssociationsCommand";
155
179
  import {
156
180
  ListTagsForResourceCommandInput,
157
181
  ListTagsForResourceCommandOutput,
158
182
  } from "./commands/ListTagsForResourceCommand";
183
+ import {
184
+ ListTypesByAssociationCommandInput,
185
+ ListTypesByAssociationCommandOutput,
186
+ } from "./commands/ListTypesByAssociationCommand";
159
187
  import {
160
188
  ListTypesCommandInput,
161
189
  ListTypesCommandOutput,
@@ -164,6 +192,10 @@ import {
164
192
  StartSchemaCreationCommandInput,
165
193
  StartSchemaCreationCommandOutput,
166
194
  } from "./commands/StartSchemaCreationCommand";
195
+ import {
196
+ StartSchemaMergeCommandInput,
197
+ StartSchemaMergeCommandOutput,
198
+ } from "./commands/StartSchemaMergeCommand";
167
199
  import {
168
200
  TagResourceCommandInput,
169
201
  TagResourceCommandOutput,
@@ -200,6 +232,10 @@ import {
200
232
  UpdateResolverCommandInput,
201
233
  UpdateResolverCommandOutput,
202
234
  } from "./commands/UpdateResolverCommand";
235
+ import {
236
+ UpdateSourceApiAssociationCommandInput,
237
+ UpdateSourceApiAssociationCommandOutput,
238
+ } from "./commands/UpdateSourceApiAssociationCommand";
203
239
  import {
204
240
  UpdateTypeCommandInput,
205
241
  UpdateTypeCommandOutput,
@@ -218,6 +254,32 @@ export interface AppSync {
218
254
  options: __HttpHandlerOptions,
219
255
  cb: (err: any, data?: AssociateApiCommandOutput) => void
220
256
  ): void;
257
+ associateMergedGraphqlApi(
258
+ args: AssociateMergedGraphqlApiCommandInput,
259
+ options?: __HttpHandlerOptions
260
+ ): Promise<AssociateMergedGraphqlApiCommandOutput>;
261
+ associateMergedGraphqlApi(
262
+ args: AssociateMergedGraphqlApiCommandInput,
263
+ cb: (err: any, data?: AssociateMergedGraphqlApiCommandOutput) => void
264
+ ): void;
265
+ associateMergedGraphqlApi(
266
+ args: AssociateMergedGraphqlApiCommandInput,
267
+ options: __HttpHandlerOptions,
268
+ cb: (err: any, data?: AssociateMergedGraphqlApiCommandOutput) => void
269
+ ): void;
270
+ associateSourceGraphqlApi(
271
+ args: AssociateSourceGraphqlApiCommandInput,
272
+ options?: __HttpHandlerOptions
273
+ ): Promise<AssociateSourceGraphqlApiCommandOutput>;
274
+ associateSourceGraphqlApi(
275
+ args: AssociateSourceGraphqlApiCommandInput,
276
+ cb: (err: any, data?: AssociateSourceGraphqlApiCommandOutput) => void
277
+ ): void;
278
+ associateSourceGraphqlApi(
279
+ args: AssociateSourceGraphqlApiCommandInput,
280
+ options: __HttpHandlerOptions,
281
+ cb: (err: any, data?: AssociateSourceGraphqlApiCommandOutput) => void
282
+ ): void;
221
283
  createApiCache(
222
284
  args: CreateApiCacheCommandInput,
223
285
  options?: __HttpHandlerOptions
@@ -439,6 +501,32 @@ export interface AppSync {
439
501
  options: __HttpHandlerOptions,
440
502
  cb: (err: any, data?: DisassociateApiCommandOutput) => void
441
503
  ): void;
504
+ disassociateMergedGraphqlApi(
505
+ args: DisassociateMergedGraphqlApiCommandInput,
506
+ options?: __HttpHandlerOptions
507
+ ): Promise<DisassociateMergedGraphqlApiCommandOutput>;
508
+ disassociateMergedGraphqlApi(
509
+ args: DisassociateMergedGraphqlApiCommandInput,
510
+ cb: (err: any, data?: DisassociateMergedGraphqlApiCommandOutput) => void
511
+ ): void;
512
+ disassociateMergedGraphqlApi(
513
+ args: DisassociateMergedGraphqlApiCommandInput,
514
+ options: __HttpHandlerOptions,
515
+ cb: (err: any, data?: DisassociateMergedGraphqlApiCommandOutput) => void
516
+ ): void;
517
+ disassociateSourceGraphqlApi(
518
+ args: DisassociateSourceGraphqlApiCommandInput,
519
+ options?: __HttpHandlerOptions
520
+ ): Promise<DisassociateSourceGraphqlApiCommandOutput>;
521
+ disassociateSourceGraphqlApi(
522
+ args: DisassociateSourceGraphqlApiCommandInput,
523
+ cb: (err: any, data?: DisassociateSourceGraphqlApiCommandOutput) => void
524
+ ): void;
525
+ disassociateSourceGraphqlApi(
526
+ args: DisassociateSourceGraphqlApiCommandInput,
527
+ options: __HttpHandlerOptions,
528
+ cb: (err: any, data?: DisassociateSourceGraphqlApiCommandOutput) => void
529
+ ): void;
442
530
  evaluateCode(
443
531
  args: EvaluateCodeCommandInput,
444
532
  options?: __HttpHandlerOptions
@@ -595,6 +683,19 @@ export interface AppSync {
595
683
  options: __HttpHandlerOptions,
596
684
  cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void
597
685
  ): void;
686
+ getSourceApiAssociation(
687
+ args: GetSourceApiAssociationCommandInput,
688
+ options?: __HttpHandlerOptions
689
+ ): Promise<GetSourceApiAssociationCommandOutput>;
690
+ getSourceApiAssociation(
691
+ args: GetSourceApiAssociationCommandInput,
692
+ cb: (err: any, data?: GetSourceApiAssociationCommandOutput) => void
693
+ ): void;
694
+ getSourceApiAssociation(
695
+ args: GetSourceApiAssociationCommandInput,
696
+ options: __HttpHandlerOptions,
697
+ cb: (err: any, data?: GetSourceApiAssociationCommandOutput) => void
698
+ ): void;
598
699
  getType(
599
700
  args: GetTypeCommandInput,
600
701
  options?: __HttpHandlerOptions
@@ -699,6 +800,19 @@ export interface AppSync {
699
800
  options: __HttpHandlerOptions,
700
801
  cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void
701
802
  ): void;
803
+ listSourceApiAssociations(
804
+ args: ListSourceApiAssociationsCommandInput,
805
+ options?: __HttpHandlerOptions
806
+ ): Promise<ListSourceApiAssociationsCommandOutput>;
807
+ listSourceApiAssociations(
808
+ args: ListSourceApiAssociationsCommandInput,
809
+ cb: (err: any, data?: ListSourceApiAssociationsCommandOutput) => void
810
+ ): void;
811
+ listSourceApiAssociations(
812
+ args: ListSourceApiAssociationsCommandInput,
813
+ options: __HttpHandlerOptions,
814
+ cb: (err: any, data?: ListSourceApiAssociationsCommandOutput) => void
815
+ ): void;
702
816
  listTagsForResource(
703
817
  args: ListTagsForResourceCommandInput,
704
818
  options?: __HttpHandlerOptions
@@ -725,6 +839,19 @@ export interface AppSync {
725
839
  options: __HttpHandlerOptions,
726
840
  cb: (err: any, data?: ListTypesCommandOutput) => void
727
841
  ): void;
842
+ listTypesByAssociation(
843
+ args: ListTypesByAssociationCommandInput,
844
+ options?: __HttpHandlerOptions
845
+ ): Promise<ListTypesByAssociationCommandOutput>;
846
+ listTypesByAssociation(
847
+ args: ListTypesByAssociationCommandInput,
848
+ cb: (err: any, data?: ListTypesByAssociationCommandOutput) => void
849
+ ): void;
850
+ listTypesByAssociation(
851
+ args: ListTypesByAssociationCommandInput,
852
+ options: __HttpHandlerOptions,
853
+ cb: (err: any, data?: ListTypesByAssociationCommandOutput) => void
854
+ ): void;
728
855
  startSchemaCreation(
729
856
  args: StartSchemaCreationCommandInput,
730
857
  options?: __HttpHandlerOptions
@@ -738,6 +865,19 @@ export interface AppSync {
738
865
  options: __HttpHandlerOptions,
739
866
  cb: (err: any, data?: StartSchemaCreationCommandOutput) => void
740
867
  ): void;
868
+ startSchemaMerge(
869
+ args: StartSchemaMergeCommandInput,
870
+ options?: __HttpHandlerOptions
871
+ ): Promise<StartSchemaMergeCommandOutput>;
872
+ startSchemaMerge(
873
+ args: StartSchemaMergeCommandInput,
874
+ cb: (err: any, data?: StartSchemaMergeCommandOutput) => void
875
+ ): void;
876
+ startSchemaMerge(
877
+ args: StartSchemaMergeCommandInput,
878
+ options: __HttpHandlerOptions,
879
+ cb: (err: any, data?: StartSchemaMergeCommandOutput) => void
880
+ ): void;
741
881
  tagResource(
742
882
  args: TagResourceCommandInput,
743
883
  options?: __HttpHandlerOptions
@@ -855,6 +995,19 @@ export interface AppSync {
855
995
  options: __HttpHandlerOptions,
856
996
  cb: (err: any, data?: UpdateResolverCommandOutput) => void
857
997
  ): void;
998
+ updateSourceApiAssociation(
999
+ args: UpdateSourceApiAssociationCommandInput,
1000
+ options?: __HttpHandlerOptions
1001
+ ): Promise<UpdateSourceApiAssociationCommandOutput>;
1002
+ updateSourceApiAssociation(
1003
+ args: UpdateSourceApiAssociationCommandInput,
1004
+ cb: (err: any, data?: UpdateSourceApiAssociationCommandOutput) => void
1005
+ ): void;
1006
+ updateSourceApiAssociation(
1007
+ args: UpdateSourceApiAssociationCommandInput,
1008
+ options: __HttpHandlerOptions,
1009
+ cb: (err: any, data?: UpdateSourceApiAssociationCommandOutput) => void
1010
+ ): void;
858
1011
  updateType(
859
1012
  args: UpdateTypeCommandInput,
860
1013
  options?: __HttpHandlerOptions
@@ -50,6 +50,14 @@ import {
50
50
  AssociateApiCommandInput,
51
51
  AssociateApiCommandOutput,
52
52
  } from "./commands/AssociateApiCommand";
53
+ import {
54
+ AssociateMergedGraphqlApiCommandInput,
55
+ AssociateMergedGraphqlApiCommandOutput,
56
+ } from "./commands/AssociateMergedGraphqlApiCommand";
57
+ import {
58
+ AssociateSourceGraphqlApiCommandInput,
59
+ AssociateSourceGraphqlApiCommandOutput,
60
+ } from "./commands/AssociateSourceGraphqlApiCommand";
53
61
  import {
54
62
  CreateApiCacheCommandInput,
55
63
  CreateApiCacheCommandOutput,
@@ -118,6 +126,14 @@ import {
118
126
  DisassociateApiCommandInput,
119
127
  DisassociateApiCommandOutput,
120
128
  } from "./commands/DisassociateApiCommand";
129
+ import {
130
+ DisassociateMergedGraphqlApiCommandInput,
131
+ DisassociateMergedGraphqlApiCommandOutput,
132
+ } from "./commands/DisassociateMergedGraphqlApiCommand";
133
+ import {
134
+ DisassociateSourceGraphqlApiCommandInput,
135
+ DisassociateSourceGraphqlApiCommandOutput,
136
+ } from "./commands/DisassociateSourceGraphqlApiCommand";
121
137
  import {
122
138
  EvaluateCodeCommandInput,
123
139
  EvaluateCodeCommandOutput,
@@ -166,6 +182,10 @@ import {
166
182
  GetSchemaCreationStatusCommandInput,
167
183
  GetSchemaCreationStatusCommandOutput,
168
184
  } from "./commands/GetSchemaCreationStatusCommand";
185
+ import {
186
+ GetSourceApiAssociationCommandInput,
187
+ GetSourceApiAssociationCommandOutput,
188
+ } from "./commands/GetSourceApiAssociationCommand";
169
189
  import {
170
190
  GetTypeCommandInput,
171
191
  GetTypeCommandOutput,
@@ -198,10 +218,18 @@ import {
198
218
  ListResolversCommandInput,
199
219
  ListResolversCommandOutput,
200
220
  } from "./commands/ListResolversCommand";
221
+ import {
222
+ ListSourceApiAssociationsCommandInput,
223
+ ListSourceApiAssociationsCommandOutput,
224
+ } from "./commands/ListSourceApiAssociationsCommand";
201
225
  import {
202
226
  ListTagsForResourceCommandInput,
203
227
  ListTagsForResourceCommandOutput,
204
228
  } from "./commands/ListTagsForResourceCommand";
229
+ import {
230
+ ListTypesByAssociationCommandInput,
231
+ ListTypesByAssociationCommandOutput,
232
+ } from "./commands/ListTypesByAssociationCommand";
205
233
  import {
206
234
  ListTypesCommandInput,
207
235
  ListTypesCommandOutput,
@@ -210,6 +238,10 @@ import {
210
238
  StartSchemaCreationCommandInput,
211
239
  StartSchemaCreationCommandOutput,
212
240
  } from "./commands/StartSchemaCreationCommand";
241
+ import {
242
+ StartSchemaMergeCommandInput,
243
+ StartSchemaMergeCommandOutput,
244
+ } from "./commands/StartSchemaMergeCommand";
213
245
  import {
214
246
  TagResourceCommandInput,
215
247
  TagResourceCommandOutput,
@@ -246,6 +278,10 @@ import {
246
278
  UpdateResolverCommandInput,
247
279
  UpdateResolverCommandOutput,
248
280
  } from "./commands/UpdateResolverCommand";
281
+ import {
282
+ UpdateSourceApiAssociationCommandInput,
283
+ UpdateSourceApiAssociationCommandOutput,
284
+ } from "./commands/UpdateSourceApiAssociationCommand";
249
285
  import {
250
286
  UpdateTypeCommandInput,
251
287
  UpdateTypeCommandOutput,
@@ -258,6 +294,8 @@ import {
258
294
  export { __Client };
259
295
  export type ServiceInputTypes =
260
296
  | AssociateApiCommandInput
297
+ | AssociateMergedGraphqlApiCommandInput
298
+ | AssociateSourceGraphqlApiCommandInput
261
299
  | CreateApiCacheCommandInput
262
300
  | CreateApiKeyCommandInput
263
301
  | CreateDataSourceCommandInput
@@ -275,6 +313,8 @@ export type ServiceInputTypes =
275
313
  | DeleteResolverCommandInput
276
314
  | DeleteTypeCommandInput
277
315
  | DisassociateApiCommandInput
316
+ | DisassociateMergedGraphqlApiCommandInput
317
+ | DisassociateSourceGraphqlApiCommandInput
278
318
  | EvaluateCodeCommandInput
279
319
  | EvaluateMappingTemplateCommandInput
280
320
  | FlushApiCacheCommandInput
@@ -287,6 +327,7 @@ export type ServiceInputTypes =
287
327
  | GetIntrospectionSchemaCommandInput
288
328
  | GetResolverCommandInput
289
329
  | GetSchemaCreationStatusCommandInput
330
+ | GetSourceApiAssociationCommandInput
290
331
  | GetTypeCommandInput
291
332
  | ListApiKeysCommandInput
292
333
  | ListDataSourcesCommandInput
@@ -295,9 +336,12 @@ export type ServiceInputTypes =
295
336
  | ListGraphqlApisCommandInput
296
337
  | ListResolversByFunctionCommandInput
297
338
  | ListResolversCommandInput
339
+ | ListSourceApiAssociationsCommandInput
298
340
  | ListTagsForResourceCommandInput
341
+ | ListTypesByAssociationCommandInput
299
342
  | ListTypesCommandInput
300
343
  | StartSchemaCreationCommandInput
344
+ | StartSchemaMergeCommandInput
301
345
  | TagResourceCommandInput
302
346
  | UntagResourceCommandInput
303
347
  | UpdateApiCacheCommandInput
@@ -307,9 +351,12 @@ export type ServiceInputTypes =
307
351
  | UpdateFunctionCommandInput
308
352
  | UpdateGraphqlApiCommandInput
309
353
  | UpdateResolverCommandInput
354
+ | UpdateSourceApiAssociationCommandInput
310
355
  | UpdateTypeCommandInput;
311
356
  export type ServiceOutputTypes =
312
357
  | AssociateApiCommandOutput
358
+ | AssociateMergedGraphqlApiCommandOutput
359
+ | AssociateSourceGraphqlApiCommandOutput
313
360
  | CreateApiCacheCommandOutput
314
361
  | CreateApiKeyCommandOutput
315
362
  | CreateDataSourceCommandOutput
@@ -327,6 +374,8 @@ export type ServiceOutputTypes =
327
374
  | DeleteResolverCommandOutput
328
375
  | DeleteTypeCommandOutput
329
376
  | DisassociateApiCommandOutput
377
+ | DisassociateMergedGraphqlApiCommandOutput
378
+ | DisassociateSourceGraphqlApiCommandOutput
330
379
  | EvaluateCodeCommandOutput
331
380
  | EvaluateMappingTemplateCommandOutput
332
381
  | FlushApiCacheCommandOutput
@@ -339,6 +388,7 @@ export type ServiceOutputTypes =
339
388
  | GetIntrospectionSchemaCommandOutput
340
389
  | GetResolverCommandOutput
341
390
  | GetSchemaCreationStatusCommandOutput
391
+ | GetSourceApiAssociationCommandOutput
342
392
  | GetTypeCommandOutput
343
393
  | ListApiKeysCommandOutput
344
394
  | ListDataSourcesCommandOutput
@@ -347,9 +397,12 @@ export type ServiceOutputTypes =
347
397
  | ListGraphqlApisCommandOutput
348
398
  | ListResolversByFunctionCommandOutput
349
399
  | ListResolversCommandOutput
400
+ | ListSourceApiAssociationsCommandOutput
350
401
  | ListTagsForResourceCommandOutput
402
+ | ListTypesByAssociationCommandOutput
351
403
  | ListTypesCommandOutput
352
404
  | StartSchemaCreationCommandOutput
405
+ | StartSchemaMergeCommandOutput
353
406
  | TagResourceCommandOutput
354
407
  | UntagResourceCommandOutput
355
408
  | UpdateApiCacheCommandOutput
@@ -359,6 +412,7 @@ export type ServiceOutputTypes =
359
412
  | UpdateFunctionCommandOutput
360
413
  | UpdateGraphqlApiCommandOutput
361
414
  | UpdateResolverCommandOutput
415
+ | UpdateSourceApiAssociationCommandOutput
362
416
  | UpdateTypeCommandOutput;
363
417
  export interface ClientDefaults
364
418
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AppSyncClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AppSyncClient";
14
+ import {
15
+ AssociateMergedGraphqlApiRequest,
16
+ AssociateMergedGraphqlApiResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface AssociateMergedGraphqlApiCommandInput
20
+ extends AssociateMergedGraphqlApiRequest {}
21
+ export interface AssociateMergedGraphqlApiCommandOutput
22
+ extends AssociateMergedGraphqlApiResponse,
23
+ __MetadataBearer {}
24
+ export declare class AssociateMergedGraphqlApiCommand extends $Command<
25
+ AssociateMergedGraphqlApiCommandInput,
26
+ AssociateMergedGraphqlApiCommandOutput,
27
+ AppSyncClientResolvedConfig
28
+ > {
29
+ readonly input: AssociateMergedGraphqlApiCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: AssociateMergedGraphqlApiCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: AppSyncClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ AssociateMergedGraphqlApiCommandInput,
38
+ AssociateMergedGraphqlApiCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }