@aws-sdk/client-appsync 3.682.0 → 3.683.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 (121) hide show
  1. package/README.md +90 -10
  2. package/dist-cjs/index.js +572 -0
  3. package/dist-es/AppSync.js +20 -0
  4. package/dist-es/commands/CreateApiCommand.js +22 -0
  5. package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
  6. package/dist-es/commands/DeleteApiCommand.js +22 -0
  7. package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
  8. package/dist-es/commands/GetApiCommand.js +22 -0
  9. package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
  10. package/dist-es/commands/ListApisCommand.js +22 -0
  11. package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
  12. package/dist-es/commands/UpdateApiCommand.js +22 -0
  13. package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +31 -0
  16. package/dist-es/pagination/ListApisPaginator.js +4 -0
  17. package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +341 -2
  20. package/dist-types/AppSync.d.ts +73 -2
  21. package/dist-types/AppSyncClient.d.ts +14 -4
  22. package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
  23. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
  24. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
  25. package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateApiCommand.d.ts +192 -0
  27. package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
  28. package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
  29. package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
  30. package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
  33. package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
  34. package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
  35. package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
  36. package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
  37. package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
  38. package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
  39. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
  40. package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
  41. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
  42. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
  43. package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
  44. package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
  45. package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
  46. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
  47. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
  48. package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
  49. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
  50. package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
  51. package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
  52. package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
  53. package/dist-types/commands/GetApiCommand.d.ts +144 -0
  54. package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
  55. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
  56. package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
  57. package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
  58. package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
  59. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
  60. package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
  61. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
  62. package/dist-types/commands/GetResolverCommand.d.ts +4 -3
  63. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
  64. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
  65. package/dist-types/commands/GetTypeCommand.d.ts +6 -5
  66. package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
  67. package/dist-types/commands/ListApisCommand.d.ts +144 -0
  68. package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
  69. package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
  70. package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
  71. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
  72. package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
  73. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
  74. package/dist-types/commands/ListResolversCommand.d.ts +4 -3
  75. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  77. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
  78. package/dist-types/commands/ListTypesCommand.d.ts +6 -5
  79. package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
  80. package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
  81. package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
  82. package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
  83. package/dist-types/commands/TagResourceCommand.d.ts +4 -3
  84. package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
  85. package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
  86. package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
  87. package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
  88. package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
  89. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
  90. package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
  91. package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
  92. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
  93. package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
  94. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
  95. package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
  96. package/dist-types/commands/index.d.ts +10 -0
  97. package/dist-types/index.d.ts +2 -2
  98. package/dist-types/models/models_0.d.ts +1305 -629
  99. package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +2 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  103. package/dist-types/ts3.4/AppSync.d.ts +171 -0
  104. package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
  105. package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
  106. package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
  110. package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +148 -2
  117. package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  121. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListApisCommandInput, ListApisCommandOutput } from "../commands/ListApisCommand";
3
+ import { AppSyncPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListApis: (config: AppSyncPaginationConfiguration, input: ListApisCommandInput, ...rest: any[]) => Paginator<ListApisCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput } from "../commands/ListChannelNamespacesCommand";
3
+ import { AppSyncPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListChannelNamespaces: (config: AppSyncPaginationConfiguration, input: ListChannelNamespacesCommandInput, ...rest: any[]) => Paginator<ListChannelNamespacesCommandOutput>;
@@ -1,5 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListApiKeysPaginator";
3
+ export * from "./ListApisPaginator";
4
+ export * from "./ListChannelNamespacesPaginator";
3
5
  export * from "./ListDataSourcesPaginator";
4
6
  export * from "./ListDomainNamesPaginator";
5
7
  export * from "./ListFunctionsPaginator";
@@ -4,7 +4,9 @@ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "../commands
4
4
  import { AssociateMergedGraphqlApiCommandInput, AssociateMergedGraphqlApiCommandOutput } from "../commands/AssociateMergedGraphqlApiCommand";
5
5
  import { AssociateSourceGraphqlApiCommandInput, AssociateSourceGraphqlApiCommandOutput } from "../commands/AssociateSourceGraphqlApiCommand";
6
6
  import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "../commands/CreateApiCacheCommand";
7
+ import { CreateApiCommandInput, CreateApiCommandOutput } from "../commands/CreateApiCommand";
7
8
  import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "../commands/CreateApiKeyCommand";
9
+ import { CreateChannelNamespaceCommandInput, CreateChannelNamespaceCommandOutput } from "../commands/CreateChannelNamespaceCommand";
8
10
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
9
11
  import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "../commands/CreateDomainNameCommand";
10
12
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "../commands/CreateFunctionCommand";
@@ -12,7 +14,9 @@ import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "../
12
14
  import { CreateResolverCommandInput, CreateResolverCommandOutput } from "../commands/CreateResolverCommand";
13
15
  import { CreateTypeCommandInput, CreateTypeCommandOutput } from "../commands/CreateTypeCommand";
14
16
  import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "../commands/DeleteApiCacheCommand";
17
+ import { DeleteApiCommandInput, DeleteApiCommandOutput } from "../commands/DeleteApiCommand";
15
18
  import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "../commands/DeleteApiKeyCommand";
19
+ import { DeleteChannelNamespaceCommandInput, DeleteChannelNamespaceCommandOutput } from "../commands/DeleteChannelNamespaceCommand";
16
20
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
17
21
  import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "../commands/DeleteDomainNameCommand";
18
22
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "../commands/DeleteFunctionCommand";
@@ -27,6 +31,8 @@ import { EvaluateMappingTemplateCommandInput, EvaluateMappingTemplateCommandOutp
27
31
  import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "../commands/FlushApiCacheCommand";
28
32
  import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "../commands/GetApiAssociationCommand";
29
33
  import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "../commands/GetApiCacheCommand";
34
+ import { GetApiCommandInput, GetApiCommandOutput } from "../commands/GetApiCommand";
35
+ import { GetChannelNamespaceCommandInput, GetChannelNamespaceCommandOutput } from "../commands/GetChannelNamespaceCommand";
30
36
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
31
37
  import { GetDataSourceIntrospectionCommandInput, GetDataSourceIntrospectionCommandOutput } from "../commands/GetDataSourceIntrospectionCommand";
32
38
  import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "../commands/GetDomainNameCommand";
@@ -39,6 +45,8 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
39
45
  import { GetSourceApiAssociationCommandInput, GetSourceApiAssociationCommandOutput } from "../commands/GetSourceApiAssociationCommand";
40
46
  import { GetTypeCommandInput, GetTypeCommandOutput } from "../commands/GetTypeCommand";
41
47
  import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "../commands/ListApiKeysCommand";
48
+ import { ListApisCommandInput, ListApisCommandOutput } from "../commands/ListApisCommand";
49
+ import { ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput } from "../commands/ListChannelNamespacesCommand";
42
50
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
43
51
  import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand";
44
52
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand";
@@ -56,7 +64,9 @@ import { StartSchemaMergeCommandInput, StartSchemaMergeCommandOutput } from "../
56
64
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
57
65
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
58
66
  import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "../commands/UpdateApiCacheCommand";
67
+ import { UpdateApiCommandInput, UpdateApiCommandOutput } from "../commands/UpdateApiCommand";
59
68
  import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "../commands/UpdateApiKeyCommand";
69
+ import { UpdateChannelNamespaceCommandInput, UpdateChannelNamespaceCommandOutput } from "../commands/UpdateChannelNamespaceCommand";
60
70
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
61
71
  import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "../commands/UpdateDomainNameCommand";
62
72
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "../commands/UpdateFunctionCommand";
@@ -76,6 +86,10 @@ export declare const se_AssociateMergedGraphqlApiCommand: (input: AssociateMerge
76
86
  * serializeAws_restJson1AssociateSourceGraphqlApiCommand
77
87
  */
78
88
  export declare const se_AssociateSourceGraphqlApiCommand: (input: AssociateSourceGraphqlApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
+ /**
90
+ * serializeAws_restJson1CreateApiCommand
91
+ */
92
+ export declare const se_CreateApiCommand: (input: CreateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
93
  /**
80
94
  * serializeAws_restJson1CreateApiCacheCommand
81
95
  */
@@ -84,6 +98,10 @@ export declare const se_CreateApiCacheCommand: (input: CreateApiCacheCommandInpu
84
98
  * serializeAws_restJson1CreateApiKeyCommand
85
99
  */
86
100
  export declare const se_CreateApiKeyCommand: (input: CreateApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
+ /**
102
+ * serializeAws_restJson1CreateChannelNamespaceCommand
103
+ */
104
+ export declare const se_CreateChannelNamespaceCommand: (input: CreateChannelNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
105
  /**
88
106
  * serializeAws_restJson1CreateDataSourceCommand
89
107
  */
@@ -108,6 +126,10 @@ export declare const se_CreateResolverCommand: (input: CreateResolverCommandInpu
108
126
  * serializeAws_restJson1CreateTypeCommand
109
127
  */
110
128
  export declare const se_CreateTypeCommand: (input: CreateTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
+ /**
130
+ * serializeAws_restJson1DeleteApiCommand
131
+ */
132
+ export declare const se_DeleteApiCommand: (input: DeleteApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
133
  /**
112
134
  * serializeAws_restJson1DeleteApiCacheCommand
113
135
  */
@@ -116,6 +138,10 @@ export declare const se_DeleteApiCacheCommand: (input: DeleteApiCacheCommandInpu
116
138
  * serializeAws_restJson1DeleteApiKeyCommand
117
139
  */
118
140
  export declare const se_DeleteApiKeyCommand: (input: DeleteApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
141
+ /**
142
+ * serializeAws_restJson1DeleteChannelNamespaceCommand
143
+ */
144
+ export declare const se_DeleteChannelNamespaceCommand: (input: DeleteChannelNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
145
  /**
120
146
  * serializeAws_restJson1DeleteDataSourceCommand
121
147
  */
@@ -164,6 +190,10 @@ export declare const se_EvaluateMappingTemplateCommand: (input: EvaluateMappingT
164
190
  * serializeAws_restJson1FlushApiCacheCommand
165
191
  */
166
192
  export declare const se_FlushApiCacheCommand: (input: FlushApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
193
+ /**
194
+ * serializeAws_restJson1GetApiCommand
195
+ */
196
+ export declare const se_GetApiCommand: (input: GetApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
197
  /**
168
198
  * serializeAws_restJson1GetApiAssociationCommand
169
199
  */
@@ -172,6 +202,10 @@ export declare const se_GetApiAssociationCommand: (input: GetApiAssociationComma
172
202
  * serializeAws_restJson1GetApiCacheCommand
173
203
  */
174
204
  export declare const se_GetApiCacheCommand: (input: GetApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
205
+ /**
206
+ * serializeAws_restJson1GetChannelNamespaceCommand
207
+ */
208
+ export declare const se_GetChannelNamespaceCommand: (input: GetChannelNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
175
209
  /**
176
210
  * serializeAws_restJson1GetDataSourceCommand
177
211
  */
@@ -220,6 +254,14 @@ export declare const se_GetTypeCommand: (input: GetTypeCommandInput, context: __
220
254
  * serializeAws_restJson1ListApiKeysCommand
221
255
  */
222
256
  export declare const se_ListApiKeysCommand: (input: ListApiKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
257
+ /**
258
+ * serializeAws_restJson1ListApisCommand
259
+ */
260
+ export declare const se_ListApisCommand: (input: ListApisCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
261
+ /**
262
+ * serializeAws_restJson1ListChannelNamespacesCommand
263
+ */
264
+ export declare const se_ListChannelNamespacesCommand: (input: ListChannelNamespacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
265
  /**
224
266
  * serializeAws_restJson1ListDataSourcesCommand
225
267
  */
@@ -284,6 +326,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
284
326
  * serializeAws_restJson1UntagResourceCommand
285
327
  */
286
328
  export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
329
+ /**
330
+ * serializeAws_restJson1UpdateApiCommand
331
+ */
332
+ export declare const se_UpdateApiCommand: (input: UpdateApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
287
333
  /**
288
334
  * serializeAws_restJson1UpdateApiCacheCommand
289
335
  */
@@ -292,6 +338,10 @@ export declare const se_UpdateApiCacheCommand: (input: UpdateApiCacheCommandInpu
292
338
  * serializeAws_restJson1UpdateApiKeyCommand
293
339
  */
294
340
  export declare const se_UpdateApiKeyCommand: (input: UpdateApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
341
+ /**
342
+ * serializeAws_restJson1UpdateChannelNamespaceCommand
343
+ */
344
+ export declare const se_UpdateChannelNamespaceCommand: (input: UpdateChannelNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
295
345
  /**
296
346
  * serializeAws_restJson1UpdateDataSourceCommand
297
347
  */
@@ -332,6 +382,10 @@ export declare const de_AssociateMergedGraphqlApiCommand: (output: __HttpRespons
332
382
  * deserializeAws_restJson1AssociateSourceGraphqlApiCommand
333
383
  */
334
384
  export declare const de_AssociateSourceGraphqlApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSourceGraphqlApiCommandOutput>;
385
+ /**
386
+ * deserializeAws_restJson1CreateApiCommand
387
+ */
388
+ export declare const de_CreateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApiCommandOutput>;
335
389
  /**
336
390
  * deserializeAws_restJson1CreateApiCacheCommand
337
391
  */
@@ -340,6 +394,10 @@ export declare const de_CreateApiCacheCommand: (output: __HttpResponse, context:
340
394
  * deserializeAws_restJson1CreateApiKeyCommand
341
395
  */
342
396
  export declare const de_CreateApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApiKeyCommandOutput>;
397
+ /**
398
+ * deserializeAws_restJson1CreateChannelNamespaceCommand
399
+ */
400
+ export declare const de_CreateChannelNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChannelNamespaceCommandOutput>;
343
401
  /**
344
402
  * deserializeAws_restJson1CreateDataSourceCommand
345
403
  */
@@ -364,6 +422,10 @@ export declare const de_CreateResolverCommand: (output: __HttpResponse, context:
364
422
  * deserializeAws_restJson1CreateTypeCommand
365
423
  */
366
424
  export declare const de_CreateTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTypeCommandOutput>;
425
+ /**
426
+ * deserializeAws_restJson1DeleteApiCommand
427
+ */
428
+ export declare const de_DeleteApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteApiCommandOutput>;
367
429
  /**
368
430
  * deserializeAws_restJson1DeleteApiCacheCommand
369
431
  */
@@ -372,6 +434,10 @@ export declare const de_DeleteApiCacheCommand: (output: __HttpResponse, context:
372
434
  * deserializeAws_restJson1DeleteApiKeyCommand
373
435
  */
374
436
  export declare const de_DeleteApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteApiKeyCommandOutput>;
437
+ /**
438
+ * deserializeAws_restJson1DeleteChannelNamespaceCommand
439
+ */
440
+ export declare const de_DeleteChannelNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChannelNamespaceCommandOutput>;
375
441
  /**
376
442
  * deserializeAws_restJson1DeleteDataSourceCommand
377
443
  */
@@ -420,6 +486,10 @@ export declare const de_EvaluateMappingTemplateCommand: (output: __HttpResponse,
420
486
  * deserializeAws_restJson1FlushApiCacheCommand
421
487
  */
422
488
  export declare const de_FlushApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FlushApiCacheCommandOutput>;
489
+ /**
490
+ * deserializeAws_restJson1GetApiCommand
491
+ */
492
+ export declare const de_GetApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApiCommandOutput>;
423
493
  /**
424
494
  * deserializeAws_restJson1GetApiAssociationCommand
425
495
  */
@@ -428,6 +498,10 @@ export declare const de_GetApiAssociationCommand: (output: __HttpResponse, conte
428
498
  * deserializeAws_restJson1GetApiCacheCommand
429
499
  */
430
500
  export declare const de_GetApiCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApiCacheCommandOutput>;
501
+ /**
502
+ * deserializeAws_restJson1GetChannelNamespaceCommand
503
+ */
504
+ export declare const de_GetChannelNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChannelNamespaceCommandOutput>;
431
505
  /**
432
506
  * deserializeAws_restJson1GetDataSourceCommand
433
507
  */
@@ -476,6 +550,14 @@ export declare const de_GetTypeCommand: (output: __HttpResponse, context: __Serd
476
550
  * deserializeAws_restJson1ListApiKeysCommand
477
551
  */
478
552
  export declare const de_ListApiKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApiKeysCommandOutput>;
553
+ /**
554
+ * deserializeAws_restJson1ListApisCommand
555
+ */
556
+ export declare const de_ListApisCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApisCommandOutput>;
557
+ /**
558
+ * deserializeAws_restJson1ListChannelNamespacesCommand
559
+ */
560
+ export declare const de_ListChannelNamespacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelNamespacesCommandOutput>;
479
561
  /**
480
562
  * deserializeAws_restJson1ListDataSourcesCommand
481
563
  */
@@ -540,6 +622,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
540
622
  * deserializeAws_restJson1UntagResourceCommand
541
623
  */
542
624
  export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
625
+ /**
626
+ * deserializeAws_restJson1UpdateApiCommand
627
+ */
628
+ export declare const de_UpdateApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApiCommandOutput>;
543
629
  /**
544
630
  * deserializeAws_restJson1UpdateApiCacheCommand
545
631
  */
@@ -548,6 +634,10 @@ export declare const de_UpdateApiCacheCommand: (output: __HttpResponse, context:
548
634
  * deserializeAws_restJson1UpdateApiKeyCommand
549
635
  */
550
636
  export declare const de_UpdateApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApiKeyCommandOutput>;
637
+ /**
638
+ * deserializeAws_restJson1UpdateChannelNamespaceCommand
639
+ */
640
+ export declare const de_UpdateChannelNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChannelNamespaceCommandOutput>;
551
641
  /**
552
642
  * deserializeAws_restJson1UpdateDataSourceCommand
553
643
  */
@@ -16,10 +16,18 @@ import {
16
16
  CreateApiCacheCommandInput,
17
17
  CreateApiCacheCommandOutput,
18
18
  } from "./commands/CreateApiCacheCommand";
19
+ import {
20
+ CreateApiCommandInput,
21
+ CreateApiCommandOutput,
22
+ } from "./commands/CreateApiCommand";
19
23
  import {
20
24
  CreateApiKeyCommandInput,
21
25
  CreateApiKeyCommandOutput,
22
26
  } from "./commands/CreateApiKeyCommand";
27
+ import {
28
+ CreateChannelNamespaceCommandInput,
29
+ CreateChannelNamespaceCommandOutput,
30
+ } from "./commands/CreateChannelNamespaceCommand";
23
31
  import {
24
32
  CreateDataSourceCommandInput,
25
33
  CreateDataSourceCommandOutput,
@@ -48,10 +56,18 @@ import {
48
56
  DeleteApiCacheCommandInput,
49
57
  DeleteApiCacheCommandOutput,
50
58
  } from "./commands/DeleteApiCacheCommand";
59
+ import {
60
+ DeleteApiCommandInput,
61
+ DeleteApiCommandOutput,
62
+ } from "./commands/DeleteApiCommand";
51
63
  import {
52
64
  DeleteApiKeyCommandInput,
53
65
  DeleteApiKeyCommandOutput,
54
66
  } from "./commands/DeleteApiKeyCommand";
67
+ import {
68
+ DeleteChannelNamespaceCommandInput,
69
+ DeleteChannelNamespaceCommandOutput,
70
+ } from "./commands/DeleteChannelNamespaceCommand";
55
71
  import {
56
72
  DeleteDataSourceCommandInput,
57
73
  DeleteDataSourceCommandOutput,
@@ -108,6 +124,14 @@ import {
108
124
  GetApiCacheCommandInput,
109
125
  GetApiCacheCommandOutput,
110
126
  } from "./commands/GetApiCacheCommand";
127
+ import {
128
+ GetApiCommandInput,
129
+ GetApiCommandOutput,
130
+ } from "./commands/GetApiCommand";
131
+ import {
132
+ GetChannelNamespaceCommandInput,
133
+ GetChannelNamespaceCommandOutput,
134
+ } from "./commands/GetChannelNamespaceCommand";
111
135
  import {
112
136
  GetDataSourceCommandInput,
113
137
  GetDataSourceCommandOutput,
@@ -156,6 +180,14 @@ import {
156
180
  ListApiKeysCommandInput,
157
181
  ListApiKeysCommandOutput,
158
182
  } from "./commands/ListApiKeysCommand";
183
+ import {
184
+ ListApisCommandInput,
185
+ ListApisCommandOutput,
186
+ } from "./commands/ListApisCommand";
187
+ import {
188
+ ListChannelNamespacesCommandInput,
189
+ ListChannelNamespacesCommandOutput,
190
+ } from "./commands/ListChannelNamespacesCommand";
159
191
  import {
160
192
  ListDataSourcesCommandInput,
161
193
  ListDataSourcesCommandOutput,
@@ -224,10 +256,18 @@ import {
224
256
  UpdateApiCacheCommandInput,
225
257
  UpdateApiCacheCommandOutput,
226
258
  } from "./commands/UpdateApiCacheCommand";
259
+ import {
260
+ UpdateApiCommandInput,
261
+ UpdateApiCommandOutput,
262
+ } from "./commands/UpdateApiCommand";
227
263
  import {
228
264
  UpdateApiKeyCommandInput,
229
265
  UpdateApiKeyCommandOutput,
230
266
  } from "./commands/UpdateApiKeyCommand";
267
+ import {
268
+ UpdateChannelNamespaceCommandInput,
269
+ UpdateChannelNamespaceCommandOutput,
270
+ } from "./commands/UpdateChannelNamespaceCommand";
231
271
  import {
232
272
  UpdateDataSourceCommandInput,
233
273
  UpdateDataSourceCommandOutput,
@@ -296,6 +336,19 @@ export interface AppSync {
296
336
  options: __HttpHandlerOptions,
297
337
  cb: (err: any, data?: AssociateSourceGraphqlApiCommandOutput) => void
298
338
  ): void;
339
+ createApi(
340
+ args: CreateApiCommandInput,
341
+ options?: __HttpHandlerOptions
342
+ ): Promise<CreateApiCommandOutput>;
343
+ createApi(
344
+ args: CreateApiCommandInput,
345
+ cb: (err: any, data?: CreateApiCommandOutput) => void
346
+ ): void;
347
+ createApi(
348
+ args: CreateApiCommandInput,
349
+ options: __HttpHandlerOptions,
350
+ cb: (err: any, data?: CreateApiCommandOutput) => void
351
+ ): void;
299
352
  createApiCache(
300
353
  args: CreateApiCacheCommandInput,
301
354
  options?: __HttpHandlerOptions
@@ -322,6 +375,19 @@ export interface AppSync {
322
375
  options: __HttpHandlerOptions,
323
376
  cb: (err: any, data?: CreateApiKeyCommandOutput) => void
324
377
  ): void;
378
+ createChannelNamespace(
379
+ args: CreateChannelNamespaceCommandInput,
380
+ options?: __HttpHandlerOptions
381
+ ): Promise<CreateChannelNamespaceCommandOutput>;
382
+ createChannelNamespace(
383
+ args: CreateChannelNamespaceCommandInput,
384
+ cb: (err: any, data?: CreateChannelNamespaceCommandOutput) => void
385
+ ): void;
386
+ createChannelNamespace(
387
+ args: CreateChannelNamespaceCommandInput,
388
+ options: __HttpHandlerOptions,
389
+ cb: (err: any, data?: CreateChannelNamespaceCommandOutput) => void
390
+ ): void;
325
391
  createDataSource(
326
392
  args: CreateDataSourceCommandInput,
327
393
  options?: __HttpHandlerOptions
@@ -400,6 +466,19 @@ export interface AppSync {
400
466
  options: __HttpHandlerOptions,
401
467
  cb: (err: any, data?: CreateTypeCommandOutput) => void
402
468
  ): void;
469
+ deleteApi(
470
+ args: DeleteApiCommandInput,
471
+ options?: __HttpHandlerOptions
472
+ ): Promise<DeleteApiCommandOutput>;
473
+ deleteApi(
474
+ args: DeleteApiCommandInput,
475
+ cb: (err: any, data?: DeleteApiCommandOutput) => void
476
+ ): void;
477
+ deleteApi(
478
+ args: DeleteApiCommandInput,
479
+ options: __HttpHandlerOptions,
480
+ cb: (err: any, data?: DeleteApiCommandOutput) => void
481
+ ): void;
403
482
  deleteApiCache(
404
483
  args: DeleteApiCacheCommandInput,
405
484
  options?: __HttpHandlerOptions
@@ -426,6 +505,19 @@ export interface AppSync {
426
505
  options: __HttpHandlerOptions,
427
506
  cb: (err: any, data?: DeleteApiKeyCommandOutput) => void
428
507
  ): void;
508
+ deleteChannelNamespace(
509
+ args: DeleteChannelNamespaceCommandInput,
510
+ options?: __HttpHandlerOptions
511
+ ): Promise<DeleteChannelNamespaceCommandOutput>;
512
+ deleteChannelNamespace(
513
+ args: DeleteChannelNamespaceCommandInput,
514
+ cb: (err: any, data?: DeleteChannelNamespaceCommandOutput) => void
515
+ ): void;
516
+ deleteChannelNamespace(
517
+ args: DeleteChannelNamespaceCommandInput,
518
+ options: __HttpHandlerOptions,
519
+ cb: (err: any, data?: DeleteChannelNamespaceCommandOutput) => void
520
+ ): void;
429
521
  deleteDataSource(
430
522
  args: DeleteDataSourceCommandInput,
431
523
  options?: __HttpHandlerOptions
@@ -582,6 +674,19 @@ export interface AppSync {
582
674
  options: __HttpHandlerOptions,
583
675
  cb: (err: any, data?: FlushApiCacheCommandOutput) => void
584
676
  ): void;
677
+ getApi(
678
+ args: GetApiCommandInput,
679
+ options?: __HttpHandlerOptions
680
+ ): Promise<GetApiCommandOutput>;
681
+ getApi(
682
+ args: GetApiCommandInput,
683
+ cb: (err: any, data?: GetApiCommandOutput) => void
684
+ ): void;
685
+ getApi(
686
+ args: GetApiCommandInput,
687
+ options: __HttpHandlerOptions,
688
+ cb: (err: any, data?: GetApiCommandOutput) => void
689
+ ): void;
585
690
  getApiAssociation(
586
691
  args: GetApiAssociationCommandInput,
587
692
  options?: __HttpHandlerOptions
@@ -608,6 +713,19 @@ export interface AppSync {
608
713
  options: __HttpHandlerOptions,
609
714
  cb: (err: any, data?: GetApiCacheCommandOutput) => void
610
715
  ): void;
716
+ getChannelNamespace(
717
+ args: GetChannelNamespaceCommandInput,
718
+ options?: __HttpHandlerOptions
719
+ ): Promise<GetChannelNamespaceCommandOutput>;
720
+ getChannelNamespace(
721
+ args: GetChannelNamespaceCommandInput,
722
+ cb: (err: any, data?: GetChannelNamespaceCommandOutput) => void
723
+ ): void;
724
+ getChannelNamespace(
725
+ args: GetChannelNamespaceCommandInput,
726
+ options: __HttpHandlerOptions,
727
+ cb: (err: any, data?: GetChannelNamespaceCommandOutput) => void
728
+ ): void;
611
729
  getDataSource(
612
730
  args: GetDataSourceCommandInput,
613
731
  options?: __HttpHandlerOptions
@@ -770,6 +888,33 @@ export interface AppSync {
770
888
  options: __HttpHandlerOptions,
771
889
  cb: (err: any, data?: ListApiKeysCommandOutput) => void
772
890
  ): void;
891
+ listApis(): Promise<ListApisCommandOutput>;
892
+ listApis(
893
+ args: ListApisCommandInput,
894
+ options?: __HttpHandlerOptions
895
+ ): Promise<ListApisCommandOutput>;
896
+ listApis(
897
+ args: ListApisCommandInput,
898
+ cb: (err: any, data?: ListApisCommandOutput) => void
899
+ ): void;
900
+ listApis(
901
+ args: ListApisCommandInput,
902
+ options: __HttpHandlerOptions,
903
+ cb: (err: any, data?: ListApisCommandOutput) => void
904
+ ): void;
905
+ listChannelNamespaces(
906
+ args: ListChannelNamespacesCommandInput,
907
+ options?: __HttpHandlerOptions
908
+ ): Promise<ListChannelNamespacesCommandOutput>;
909
+ listChannelNamespaces(
910
+ args: ListChannelNamespacesCommandInput,
911
+ cb: (err: any, data?: ListChannelNamespacesCommandOutput) => void
912
+ ): void;
913
+ listChannelNamespaces(
914
+ args: ListChannelNamespacesCommandInput,
915
+ options: __HttpHandlerOptions,
916
+ cb: (err: any, data?: ListChannelNamespacesCommandOutput) => void
917
+ ): void;
773
918
  listDataSources(
774
919
  args: ListDataSourcesCommandInput,
775
920
  options?: __HttpHandlerOptions
@@ -987,6 +1132,19 @@ export interface AppSync {
987
1132
  options: __HttpHandlerOptions,
988
1133
  cb: (err: any, data?: UntagResourceCommandOutput) => void
989
1134
  ): void;
1135
+ updateApi(
1136
+ args: UpdateApiCommandInput,
1137
+ options?: __HttpHandlerOptions
1138
+ ): Promise<UpdateApiCommandOutput>;
1139
+ updateApi(
1140
+ args: UpdateApiCommandInput,
1141
+ cb: (err: any, data?: UpdateApiCommandOutput) => void
1142
+ ): void;
1143
+ updateApi(
1144
+ args: UpdateApiCommandInput,
1145
+ options: __HttpHandlerOptions,
1146
+ cb: (err: any, data?: UpdateApiCommandOutput) => void
1147
+ ): void;
990
1148
  updateApiCache(
991
1149
  args: UpdateApiCacheCommandInput,
992
1150
  options?: __HttpHandlerOptions
@@ -1013,6 +1171,19 @@ export interface AppSync {
1013
1171
  options: __HttpHandlerOptions,
1014
1172
  cb: (err: any, data?: UpdateApiKeyCommandOutput) => void
1015
1173
  ): void;
1174
+ updateChannelNamespace(
1175
+ args: UpdateChannelNamespaceCommandInput,
1176
+ options?: __HttpHandlerOptions
1177
+ ): Promise<UpdateChannelNamespaceCommandOutput>;
1178
+ updateChannelNamespace(
1179
+ args: UpdateChannelNamespaceCommandInput,
1180
+ cb: (err: any, data?: UpdateChannelNamespaceCommandOutput) => void
1181
+ ): void;
1182
+ updateChannelNamespace(
1183
+ args: UpdateChannelNamespaceCommandInput,
1184
+ options: __HttpHandlerOptions,
1185
+ cb: (err: any, data?: UpdateChannelNamespaceCommandOutput) => void
1186
+ ): void;
1016
1187
  updateDataSource(
1017
1188
  args: UpdateDataSourceCommandInput,
1018
1189
  options?: __HttpHandlerOptions