@aws-sdk/client-appsync 3.337.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 (270) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/AppSync.js +18 -0
  3. package/dist-cjs/AppSyncClient.js +2 -1
  4. package/dist-cjs/commands/AssociateApiCommand.js +2 -1
  5. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
  6. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
  7. package/dist-cjs/commands/CreateApiCacheCommand.js +2 -1
  8. package/dist-cjs/commands/CreateApiKeyCommand.js +2 -1
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +2 -1
  10. package/dist-cjs/commands/CreateDomainNameCommand.js +2 -1
  11. package/dist-cjs/commands/CreateFunctionCommand.js +2 -1
  12. package/dist-cjs/commands/CreateGraphqlApiCommand.js +2 -1
  13. package/dist-cjs/commands/CreateResolverCommand.js +2 -1
  14. package/dist-cjs/commands/CreateTypeCommand.js +2 -1
  15. package/dist-cjs/commands/DeleteApiCacheCommand.js +2 -1
  16. package/dist-cjs/commands/DeleteApiKeyCommand.js +2 -1
  17. package/dist-cjs/commands/DeleteDataSourceCommand.js +2 -1
  18. package/dist-cjs/commands/DeleteDomainNameCommand.js +2 -1
  19. package/dist-cjs/commands/DeleteFunctionCommand.js +2 -1
  20. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +2 -1
  21. package/dist-cjs/commands/DeleteResolverCommand.js +2 -1
  22. package/dist-cjs/commands/DeleteTypeCommand.js +2 -1
  23. package/dist-cjs/commands/DisassociateApiCommand.js +2 -1
  24. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
  25. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
  26. package/dist-cjs/commands/EvaluateCodeCommand.js +2 -1
  27. package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +2 -1
  28. package/dist-cjs/commands/FlushApiCacheCommand.js +2 -1
  29. package/dist-cjs/commands/GetApiAssociationCommand.js +2 -1
  30. package/dist-cjs/commands/GetApiCacheCommand.js +2 -1
  31. package/dist-cjs/commands/GetDataSourceCommand.js +2 -1
  32. package/dist-cjs/commands/GetDomainNameCommand.js +2 -1
  33. package/dist-cjs/commands/GetFunctionCommand.js +2 -1
  34. package/dist-cjs/commands/GetGraphqlApiCommand.js +2 -1
  35. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +2 -1
  36. package/dist-cjs/commands/GetResolverCommand.js +2 -1
  37. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +2 -1
  38. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
  39. package/dist-cjs/commands/GetTypeCommand.js +2 -1
  40. package/dist-cjs/commands/ListApiKeysCommand.js +2 -1
  41. package/dist-cjs/commands/ListDataSourcesCommand.js +2 -1
  42. package/dist-cjs/commands/ListDomainNamesCommand.js +2 -1
  43. package/dist-cjs/commands/ListFunctionsCommand.js +2 -1
  44. package/dist-cjs/commands/ListGraphqlApisCommand.js +2 -1
  45. package/dist-cjs/commands/ListResolversByFunctionCommand.js +2 -1
  46. package/dist-cjs/commands/ListResolversCommand.js +2 -1
  47. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
  48. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  49. package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
  50. package/dist-cjs/commands/ListTypesCommand.js +2 -1
  51. package/dist-cjs/commands/StartSchemaCreationCommand.js +2 -1
  52. package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
  53. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  54. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  55. package/dist-cjs/commands/UpdateApiCacheCommand.js +2 -1
  56. package/dist-cjs/commands/UpdateApiKeyCommand.js +2 -1
  57. package/dist-cjs/commands/UpdateDataSourceCommand.js +2 -1
  58. package/dist-cjs/commands/UpdateDomainNameCommand.js +2 -1
  59. package/dist-cjs/commands/UpdateFunctionCommand.js +2 -1
  60. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +2 -1
  61. package/dist-cjs/commands/UpdateResolverCommand.js +2 -1
  62. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
  63. package/dist-cjs/commands/UpdateTypeCommand.js +2 -1
  64. package/dist-cjs/commands/index.js +9 -0
  65. package/dist-cjs/index.js +1 -1
  66. package/dist-cjs/models/AppSyncServiceException.js +2 -1
  67. package/dist-cjs/models/models_0.js +35 -13
  68. package/dist-cjs/protocols/Aws_restJson1.js +652 -16
  69. package/dist-es/AppSync.js +18 -0
  70. package/dist-es/AppSyncClient.js +1 -0
  71. package/dist-es/commands/AssociateApiCommand.js +1 -0
  72. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
  73. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
  74. package/dist-es/commands/CreateApiCacheCommand.js +1 -0
  75. package/dist-es/commands/CreateApiKeyCommand.js +1 -0
  76. package/dist-es/commands/CreateDataSourceCommand.js +1 -0
  77. package/dist-es/commands/CreateDomainNameCommand.js +1 -0
  78. package/dist-es/commands/CreateFunctionCommand.js +1 -0
  79. package/dist-es/commands/CreateGraphqlApiCommand.js +1 -0
  80. package/dist-es/commands/CreateResolverCommand.js +1 -0
  81. package/dist-es/commands/CreateTypeCommand.js +1 -0
  82. package/dist-es/commands/DeleteApiCacheCommand.js +1 -0
  83. package/dist-es/commands/DeleteApiKeyCommand.js +1 -0
  84. package/dist-es/commands/DeleteDataSourceCommand.js +1 -0
  85. package/dist-es/commands/DeleteDomainNameCommand.js +1 -0
  86. package/dist-es/commands/DeleteFunctionCommand.js +1 -0
  87. package/dist-es/commands/DeleteGraphqlApiCommand.js +1 -0
  88. package/dist-es/commands/DeleteResolverCommand.js +1 -0
  89. package/dist-es/commands/DeleteTypeCommand.js +1 -0
  90. package/dist-es/commands/DisassociateApiCommand.js +1 -0
  91. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
  92. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
  93. package/dist-es/commands/EvaluateCodeCommand.js +1 -0
  94. package/dist-es/commands/EvaluateMappingTemplateCommand.js +1 -0
  95. package/dist-es/commands/FlushApiCacheCommand.js +1 -0
  96. package/dist-es/commands/GetApiAssociationCommand.js +1 -0
  97. package/dist-es/commands/GetApiCacheCommand.js +1 -0
  98. package/dist-es/commands/GetDataSourceCommand.js +1 -0
  99. package/dist-es/commands/GetDomainNameCommand.js +1 -0
  100. package/dist-es/commands/GetFunctionCommand.js +1 -0
  101. package/dist-es/commands/GetGraphqlApiCommand.js +1 -0
  102. package/dist-es/commands/GetIntrospectionSchemaCommand.js +1 -0
  103. package/dist-es/commands/GetResolverCommand.js +1 -0
  104. package/dist-es/commands/GetSchemaCreationStatusCommand.js +1 -0
  105. package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
  106. package/dist-es/commands/GetTypeCommand.js +1 -0
  107. package/dist-es/commands/ListApiKeysCommand.js +1 -0
  108. package/dist-es/commands/ListDataSourcesCommand.js +1 -0
  109. package/dist-es/commands/ListDomainNamesCommand.js +1 -0
  110. package/dist-es/commands/ListFunctionsCommand.js +1 -0
  111. package/dist-es/commands/ListGraphqlApisCommand.js +1 -0
  112. package/dist-es/commands/ListResolversByFunctionCommand.js +1 -0
  113. package/dist-es/commands/ListResolversCommand.js +1 -0
  114. package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
  115. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  116. package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
  117. package/dist-es/commands/ListTypesCommand.js +1 -0
  118. package/dist-es/commands/StartSchemaCreationCommand.js +1 -0
  119. package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
  120. package/dist-es/commands/TagResourceCommand.js +1 -0
  121. package/dist-es/commands/UntagResourceCommand.js +1 -0
  122. package/dist-es/commands/UpdateApiCacheCommand.js +1 -0
  123. package/dist-es/commands/UpdateApiKeyCommand.js +1 -0
  124. package/dist-es/commands/UpdateDataSourceCommand.js +1 -0
  125. package/dist-es/commands/UpdateDomainNameCommand.js +1 -0
  126. package/dist-es/commands/UpdateFunctionCommand.js +1 -0
  127. package/dist-es/commands/UpdateGraphqlApiCommand.js +1 -0
  128. package/dist-es/commands/UpdateResolverCommand.js +1 -0
  129. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
  130. package/dist-es/commands/UpdateTypeCommand.js +1 -0
  131. package/dist-es/commands/index.js +9 -0
  132. package/dist-es/index.js +1 -1
  133. package/dist-es/models/AppSyncServiceException.js +1 -0
  134. package/dist-es/models/models_0.js +32 -10
  135. package/dist-es/protocols/Aws_restJson1.js +632 -14
  136. package/dist-types/AppSync.d.ts +63 -0
  137. package/dist-types/AppSyncClient.d.ts +14 -5
  138. package/dist-types/commands/AssociateApiCommand.d.ts +4 -0
  139. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
  140. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
  141. package/dist-types/commands/CreateApiCacheCommand.d.ts +4 -0
  142. package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -0
  143. package/dist-types/commands/CreateDataSourceCommand.d.ts +4 -0
  144. package/dist-types/commands/CreateDomainNameCommand.d.ts +4 -0
  145. package/dist-types/commands/CreateFunctionCommand.d.ts +4 -0
  146. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +11 -0
  147. package/dist-types/commands/CreateResolverCommand.d.ts +4 -0
  148. package/dist-types/commands/CreateTypeCommand.d.ts +4 -0
  149. package/dist-types/commands/DeleteApiCacheCommand.d.ts +4 -0
  150. package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -0
  151. package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
  152. package/dist-types/commands/DeleteDomainNameCommand.d.ts +4 -0
  153. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  154. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +4 -0
  155. package/dist-types/commands/DeleteResolverCommand.d.ts +4 -0
  156. package/dist-types/commands/DeleteTypeCommand.d.ts +4 -0
  157. package/dist-types/commands/DisassociateApiCommand.d.ts +4 -0
  158. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
  159. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
  160. package/dist-types/commands/EvaluateCodeCommand.d.ts +4 -0
  161. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +4 -0
  162. package/dist-types/commands/FlushApiCacheCommand.d.ts +4 -0
  163. package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -0
  164. package/dist-types/commands/GetApiCacheCommand.d.ts +4 -0
  165. package/dist-types/commands/GetDataSourceCommand.d.ts +4 -0
  166. package/dist-types/commands/GetDomainNameCommand.d.ts +4 -0
  167. package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
  168. package/dist-types/commands/GetGraphqlApiCommand.d.ts +8 -0
  169. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +4 -0
  170. package/dist-types/commands/GetResolverCommand.d.ts +4 -0
  171. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -0
  172. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
  173. package/dist-types/commands/GetTypeCommand.d.ts +4 -0
  174. package/dist-types/commands/ListApiKeysCommand.d.ts +4 -0
  175. package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -0
  176. package/dist-types/commands/ListDomainNamesCommand.d.ts +4 -0
  177. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -0
  178. package/dist-types/commands/ListGraphqlApisCommand.d.ts +10 -0
  179. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -0
  180. package/dist-types/commands/ListResolversCommand.d.ts +4 -0
  181. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
  182. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  183. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
  184. package/dist-types/commands/ListTypesCommand.d.ts +4 -0
  185. package/dist-types/commands/StartSchemaCreationCommand.d.ts +4 -0
  186. package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
  187. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  188. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  189. package/dist-types/commands/UpdateApiCacheCommand.d.ts +4 -0
  190. package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -0
  191. package/dist-types/commands/UpdateDataSourceCommand.d.ts +4 -0
  192. package/dist-types/commands/UpdateDomainNameCommand.d.ts +4 -0
  193. package/dist-types/commands/UpdateFunctionCommand.d.ts +4 -0
  194. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +10 -0
  195. package/dist-types/commands/UpdateResolverCommand.d.ts +4 -0
  196. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
  197. package/dist-types/commands/UpdateTypeCommand.d.ts +4 -0
  198. package/dist-types/commands/index.d.ts +9 -0
  199. package/dist-types/index.d.ts +7 -1
  200. package/dist-types/models/AppSyncServiceException.d.ts +1 -0
  201. package/dist-types/models/models_0.d.ts +516 -39
  202. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  203. package/dist-types/ts3.4/AppSync.d.ts +153 -0
  204. package/dist-types/ts3.4/AppSyncClient.d.ts +57 -3
  205. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +1 -0
  206. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
  207. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
  208. package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +1 -0
  209. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +1 -0
  210. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +1 -0
  211. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +1 -0
  212. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +1 -0
  213. package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +1 -0
  214. package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +1 -0
  215. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +1 -0
  216. package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +1 -0
  217. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +1 -0
  218. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +1 -0
  219. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +1 -0
  220. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -0
  221. package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +1 -0
  222. package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +1 -0
  223. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +1 -0
  224. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +1 -0
  225. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
  226. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
  227. package/dist-types/ts3.4/commands/EvaluateCodeCommand.d.ts +1 -0
  228. package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +1 -0
  229. package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +1 -0
  230. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +1 -0
  231. package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +1 -0
  232. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +1 -0
  233. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +1 -0
  234. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +1 -0
  235. package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +1 -0
  236. package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +1 -0
  237. package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +1 -0
  238. package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +1 -0
  239. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
  240. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +1 -0
  241. package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +1 -0
  242. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +1 -0
  243. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +1 -0
  244. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +1 -0
  245. package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +1 -0
  246. package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +1 -0
  247. package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +1 -0
  248. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
  249. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  250. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
  251. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -0
  252. package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +1 -0
  253. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
  254. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  255. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  256. package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +1 -0
  257. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +1 -0
  258. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -0
  259. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +1 -0
  260. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -0
  261. package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +1 -0
  262. package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +1 -0
  263. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
  264. package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +1 -0
  265. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  266. package/dist-types/ts3.4/index.d.ts +1 -1
  267. package/dist-types/ts3.4/models/AppSyncServiceException.d.ts +1 -0
  268. package/dist-types/ts3.4/models/models_0.d.ts +163 -24
  269. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  270. package/package.json +28 -28
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../AppSyncClient";
14
14
  import { ListTypesRequest, ListTypesResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListTypesCommandInput extends ListTypesRequest {}
16
17
  export interface ListTypesCommandOutput
17
18
  extends ListTypesResponse,
@@ -15,6 +15,7 @@ import {
15
15
  StartSchemaCreationRequest,
16
16
  StartSchemaCreationResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface StartSchemaCreationCommandInput
19
20
  extends StartSchemaCreationRequest {}
20
21
  export interface StartSchemaCreationCommandOutput
@@ -0,0 +1,38 @@
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
+ StartSchemaMergeRequest,
16
+ StartSchemaMergeResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface StartSchemaMergeCommandInput extends StartSchemaMergeRequest {}
20
+ export interface StartSchemaMergeCommandOutput
21
+ extends StartSchemaMergeResponse,
22
+ __MetadataBearer {}
23
+ export declare class StartSchemaMergeCommand extends $Command<
24
+ StartSchemaMergeCommandInput,
25
+ StartSchemaMergeCommandOutput,
26
+ AppSyncClientResolvedConfig
27
+ > {
28
+ readonly input: StartSchemaMergeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: StartSchemaMergeCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: AppSyncClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<StartSchemaMergeCommandInput, StartSchemaMergeCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../AppSyncClient";
14
14
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface TagResourceCommandInput extends TagResourceRequest {}
16
17
  export interface TagResourceCommandOutput
17
18
  extends TagResourceResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UntagResourceRequest,
16
16
  UntagResourceResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
19
20
  export interface UntagResourceCommandOutput
20
21
  extends UntagResourceResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateApiCacheRequest,
16
16
  UpdateApiCacheResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateApiCacheCommandInput extends UpdateApiCacheRequest {}
19
20
  export interface UpdateApiCacheCommandOutput
20
21
  extends UpdateApiCacheResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../AppSyncClient";
14
14
  import { UpdateApiKeyRequest, UpdateApiKeyResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface UpdateApiKeyCommandInput extends UpdateApiKeyRequest {}
16
17
  export interface UpdateApiKeyCommandOutput
17
18
  extends UpdateApiKeyResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateDataSourceRequest,
16
16
  UpdateDataSourceResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateDataSourceCommandInput extends UpdateDataSourceRequest {}
19
20
  export interface UpdateDataSourceCommandOutput
20
21
  extends UpdateDataSourceResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateDomainNameRequest,
16
16
  UpdateDomainNameResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateDomainNameCommandInput extends UpdateDomainNameRequest {}
19
20
  export interface UpdateDomainNameCommandOutput
20
21
  extends UpdateDomainNameResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateFunctionRequest,
16
16
  UpdateFunctionResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateFunctionCommandInput extends UpdateFunctionRequest {}
19
20
  export interface UpdateFunctionCommandOutput
20
21
  extends UpdateFunctionResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateGraphqlApiRequest,
16
16
  UpdateGraphqlApiResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateGraphqlApiCommandInput extends UpdateGraphqlApiRequest {}
19
20
  export interface UpdateGraphqlApiCommandOutput
20
21
  extends UpdateGraphqlApiResponse,
@@ -15,6 +15,7 @@ import {
15
15
  UpdateResolverRequest,
16
16
  UpdateResolverResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UpdateResolverCommandInput extends UpdateResolverRequest {}
19
20
  export interface UpdateResolverCommandOutput
20
21
  extends UpdateResolverResponse,
@@ -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
+ UpdateSourceApiAssociationRequest,
16
+ UpdateSourceApiAssociationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateSourceApiAssociationCommandInput
20
+ extends UpdateSourceApiAssociationRequest {}
21
+ export interface UpdateSourceApiAssociationCommandOutput
22
+ extends UpdateSourceApiAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateSourceApiAssociationCommand extends $Command<
25
+ UpdateSourceApiAssociationCommandInput,
26
+ UpdateSourceApiAssociationCommandOutput,
27
+ AppSyncClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateSourceApiAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateSourceApiAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: AppSyncClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateSourceApiAssociationCommandInput,
38
+ UpdateSourceApiAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../AppSyncClient";
14
14
  import { UpdateTypeRequest, UpdateTypeResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface UpdateTypeCommandInput extends UpdateTypeRequest {}
16
17
  export interface UpdateTypeCommandOutput
17
18
  extends UpdateTypeResponse,
@@ -1,4 +1,6 @@
1
1
  export * from "./AssociateApiCommand";
2
+ export * from "./AssociateMergedGraphqlApiCommand";
3
+ export * from "./AssociateSourceGraphqlApiCommand";
2
4
  export * from "./CreateApiCacheCommand";
3
5
  export * from "./CreateApiKeyCommand";
4
6
  export * from "./CreateDataSourceCommand";
@@ -16,6 +18,8 @@ export * from "./DeleteGraphqlApiCommand";
16
18
  export * from "./DeleteResolverCommand";
17
19
  export * from "./DeleteTypeCommand";
18
20
  export * from "./DisassociateApiCommand";
21
+ export * from "./DisassociateMergedGraphqlApiCommand";
22
+ export * from "./DisassociateSourceGraphqlApiCommand";
19
23
  export * from "./EvaluateCodeCommand";
20
24
  export * from "./EvaluateMappingTemplateCommand";
21
25
  export * from "./FlushApiCacheCommand";
@@ -28,6 +32,7 @@ export * from "./GetGraphqlApiCommand";
28
32
  export * from "./GetIntrospectionSchemaCommand";
29
33
  export * from "./GetResolverCommand";
30
34
  export * from "./GetSchemaCreationStatusCommand";
35
+ export * from "./GetSourceApiAssociationCommand";
31
36
  export * from "./GetTypeCommand";
32
37
  export * from "./ListApiKeysCommand";
33
38
  export * from "./ListDataSourcesCommand";
@@ -36,9 +41,12 @@ export * from "./ListFunctionsCommand";
36
41
  export * from "./ListGraphqlApisCommand";
37
42
  export * from "./ListResolversByFunctionCommand";
38
43
  export * from "./ListResolversCommand";
44
+ export * from "./ListSourceApiAssociationsCommand";
39
45
  export * from "./ListTagsForResourceCommand";
46
+ export * from "./ListTypesByAssociationCommand";
40
47
  export * from "./ListTypesCommand";
41
48
  export * from "./StartSchemaCreationCommand";
49
+ export * from "./StartSchemaMergeCommand";
42
50
  export * from "./TagResourceCommand";
43
51
  export * from "./UntagResourceCommand";
44
52
  export * from "./UpdateApiCacheCommand";
@@ -48,4 +56,5 @@ export * from "./UpdateDomainNameCommand";
48
56
  export * from "./UpdateFunctionCommand";
49
57
  export * from "./UpdateGraphqlApiCommand";
50
58
  export * from "./UpdateResolverCommand";
59
+ export * from "./UpdateSourceApiAssociationCommand";
51
60
  export * from "./UpdateTypeCommand";
@@ -1,5 +1,5 @@
1
- export * from "./AppSync";
2
1
  export * from "./AppSyncClient";
2
+ export * from "./AppSync";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { AppSyncServiceException } from "./models/AppSyncServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class AppSyncServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
@@ -176,18 +176,47 @@ export declare class NotFoundException extends __BaseException {
176
176
  readonly $fault: "client";
177
177
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
178
178
  }
179
- export declare const AuthorizationType: {
180
- readonly AWS_IAM: "AWS_IAM";
179
+ export declare const MergeType: {
180
+ readonly AUTO_MERGE: "AUTO_MERGE";
181
+ readonly MANUAL_MERGE: "MANUAL_MERGE";
181
182
  };
182
- export type AuthorizationType =
183
- (typeof AuthorizationType)[keyof typeof AuthorizationType];
184
- export interface AwsIamConfig {
185
- signingRegion?: string;
186
- signingServiceName?: string;
183
+ export type MergeType = (typeof MergeType)[keyof typeof MergeType];
184
+ export interface SourceApiAssociationConfig {
185
+ mergeType?: MergeType | string;
187
186
  }
188
- export interface AuthorizationConfig {
189
- authorizationType: AuthorizationType | string | undefined;
190
- awsIamConfig?: AwsIamConfig;
187
+ export interface AssociateMergedGraphqlApiRequest {
188
+ sourceApiIdentifier: string | undefined;
189
+ mergedApiIdentifier: string | undefined;
190
+ description?: string;
191
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
192
+ }
193
+ export declare const SourceApiAssociationStatus: {
194
+ readonly AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED";
195
+ readonly DELETION_FAILED: "DELETION_FAILED";
196
+ readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
197
+ readonly DELETION_SCHEDULED: "DELETION_SCHEDULED";
198
+ readonly MERGE_FAILED: "MERGE_FAILED";
199
+ readonly MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS";
200
+ readonly MERGE_SCHEDULED: "MERGE_SCHEDULED";
201
+ readonly MERGE_SUCCESS: "MERGE_SUCCESS";
202
+ };
203
+ export type SourceApiAssociationStatus =
204
+ (typeof SourceApiAssociationStatus)[keyof typeof SourceApiAssociationStatus];
205
+ export interface SourceApiAssociation {
206
+ associationId?: string;
207
+ associationArn?: string;
208
+ sourceApiId?: string;
209
+ sourceApiArn?: string;
210
+ mergedApiArn?: string;
211
+ mergedApiId?: string;
212
+ description?: string;
213
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
214
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
215
+ sourceApiAssociationStatusDetail?: string;
216
+ lastSuccessfulMergeDate?: Date;
217
+ }
218
+ export interface AssociateMergedGraphqlApiResponse {
219
+ sourceApiAssociation?: SourceApiAssociation;
191
220
  }
192
221
  export declare class ConcurrentModificationException extends __BaseException {
193
222
  readonly name: "ConcurrentModificationException";
@@ -199,6 +228,42 @@ export declare class ConcurrentModificationException extends __BaseException {
199
228
  >
200
229
  );
201
230
  }
231
+ export declare class LimitExceededException extends __BaseException {
232
+ readonly name: "LimitExceededException";
233
+ readonly $fault: "client";
234
+ constructor(
235
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
236
+ );
237
+ }
238
+ export declare class UnauthorizedException extends __BaseException {
239
+ readonly name: "UnauthorizedException";
240
+ readonly $fault: "client";
241
+ constructor(
242
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
243
+ );
244
+ }
245
+ export interface AssociateSourceGraphqlApiRequest {
246
+ mergedApiIdentifier: string | undefined;
247
+ sourceApiIdentifier: string | undefined;
248
+ description?: string;
249
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
250
+ }
251
+ export interface AssociateSourceGraphqlApiResponse {
252
+ sourceApiAssociation?: SourceApiAssociation;
253
+ }
254
+ export declare const AuthorizationType: {
255
+ readonly AWS_IAM: "AWS_IAM";
256
+ };
257
+ export type AuthorizationType =
258
+ (typeof AuthorizationType)[keyof typeof AuthorizationType];
259
+ export interface AwsIamConfig {
260
+ signingRegion?: string;
261
+ signingServiceName?: string;
262
+ }
263
+ export interface AuthorizationConfig {
264
+ authorizationType: AuthorizationType | string | undefined;
265
+ awsIamConfig?: AwsIamConfig;
266
+ }
202
267
  export interface CreateApiCacheRequest {
203
268
  apiId: string | undefined;
204
269
  ttl: number | undefined;
@@ -210,13 +275,6 @@ export interface CreateApiCacheRequest {
210
275
  export interface CreateApiCacheResponse {
211
276
  apiCache?: ApiCache;
212
277
  }
213
- export declare class UnauthorizedException extends __BaseException {
214
- readonly name: "UnauthorizedException";
215
- readonly $fault: "client";
216
- constructor(
217
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
218
- );
219
- }
220
278
  export interface CreateApiKeyRequest {
221
279
  apiId: string | undefined;
222
280
  description?: string;
@@ -225,13 +283,6 @@ export interface CreateApiKeyRequest {
225
283
  export interface CreateApiKeyResponse {
226
284
  apiKey?: ApiKey;
227
285
  }
228
- export declare class LimitExceededException extends __BaseException {
229
- readonly name: "LimitExceededException";
230
- readonly $fault: "client";
231
- constructor(
232
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
233
- );
234
- }
235
286
  export interface DeltaSyncConfig {
236
287
  baseTableTTL?: number;
237
288
  deltaSyncTableName?: string;
@@ -388,6 +439,12 @@ export interface FunctionConfiguration {
388
439
  export interface CreateFunctionResponse {
389
440
  functionConfiguration?: FunctionConfiguration;
390
441
  }
442
+ export declare const GraphQLApiType: {
443
+ readonly GRAPHQL: "GRAPHQL";
444
+ readonly MERGED: "MERGED";
445
+ };
446
+ export type GraphQLApiType =
447
+ (typeof GraphQLApiType)[keyof typeof GraphQLApiType];
391
448
  export declare const FieldLogLevel: {
392
449
  readonly ALL: "ALL";
393
450
  readonly ERROR: "ERROR";
@@ -427,6 +484,9 @@ export interface CreateGraphqlApiRequest {
427
484
  xrayEnabled?: boolean;
428
485
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
429
486
  visibility?: GraphQLApiVisibility | string;
487
+ apiType?: GraphQLApiType | string;
488
+ mergedApiExecutionRoleArn?: string;
489
+ ownerContact?: string;
430
490
  }
431
491
  export interface GraphqlApi {
432
492
  name?: string;
@@ -444,6 +504,10 @@ export interface GraphqlApi {
444
504
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
445
505
  dns?: Record<string, string>;
446
506
  visibility?: GraphQLApiVisibility | string;
507
+ apiType?: GraphQLApiType | string;
508
+ mergedApiExecutionRoleArn?: string;
509
+ owner?: string;
510
+ ownerContact?: string;
447
511
  }
448
512
  export interface CreateGraphqlApiResponse {
449
513
  graphqlApi?: GraphqlApi;
@@ -556,6 +620,20 @@ export interface DisassociateApiRequest {
556
620
  domainName: string | undefined;
557
621
  }
558
622
  export interface DisassociateApiResponse {}
623
+ export interface DisassociateMergedGraphqlApiRequest {
624
+ sourceApiIdentifier: string | undefined;
625
+ associationId: string | undefined;
626
+ }
627
+ export interface DisassociateMergedGraphqlApiResponse {
628
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
629
+ }
630
+ export interface DisassociateSourceGraphqlApiRequest {
631
+ mergedApiIdentifier: string | undefined;
632
+ associationId: string | undefined;
633
+ }
634
+ export interface DisassociateSourceGraphqlApiResponse {
635
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
636
+ }
559
637
  export interface EvaluateCodeRequest {
560
638
  runtime: AppSyncRuntime | undefined;
561
639
  code: string | undefined;
@@ -669,6 +747,13 @@ export interface GetSchemaCreationStatusResponse {
669
747
  status?: SchemaStatus | string;
670
748
  details?: string;
671
749
  }
750
+ export interface GetSourceApiAssociationRequest {
751
+ mergedApiIdentifier: string | undefined;
752
+ associationId: string | undefined;
753
+ }
754
+ export interface GetSourceApiAssociationResponse {
755
+ sourceApiAssociation?: SourceApiAssociation;
756
+ }
672
757
  export interface GetTypeRequest {
673
758
  apiId: string | undefined;
674
759
  typeName: string | undefined;
@@ -712,9 +797,16 @@ export interface ListFunctionsResponse {
712
797
  functions?: FunctionConfiguration[];
713
798
  nextToken?: string;
714
799
  }
800
+ export declare const Ownership: {
801
+ readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
802
+ readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
803
+ };
804
+ export type Ownership = (typeof Ownership)[keyof typeof Ownership];
715
805
  export interface ListGraphqlApisRequest {
716
806
  nextToken?: string;
717
807
  maxResults?: number;
808
+ apiType?: GraphQLApiType | string;
809
+ owner?: Ownership | string;
718
810
  }
719
811
  export interface ListGraphqlApisResponse {
720
812
  graphqlApis?: GraphqlApi[];
@@ -740,6 +832,24 @@ export interface ListResolversByFunctionResponse {
740
832
  resolvers?: Resolver[];
741
833
  nextToken?: string;
742
834
  }
835
+ export interface ListSourceApiAssociationsRequest {
836
+ apiId: string | undefined;
837
+ nextToken?: string;
838
+ maxResults?: number;
839
+ }
840
+ export interface SourceApiAssociationSummary {
841
+ associationId?: string;
842
+ associationArn?: string;
843
+ sourceApiId?: string;
844
+ sourceApiArn?: string;
845
+ mergedApiId?: string;
846
+ mergedApiArn?: string;
847
+ description?: string;
848
+ }
849
+ export interface ListSourceApiAssociationsResponse {
850
+ sourceApiAssociationSummaries?: SourceApiAssociationSummary[];
851
+ nextToken?: string;
852
+ }
743
853
  export interface ListTagsForResourceRequest {
744
854
  resourceArn: string | undefined;
745
855
  }
@@ -756,6 +866,17 @@ export interface ListTypesResponse {
756
866
  types?: Type[];
757
867
  nextToken?: string;
758
868
  }
869
+ export interface ListTypesByAssociationRequest {
870
+ mergedApiIdentifier: string | undefined;
871
+ associationId: string | undefined;
872
+ format: TypeDefinitionFormat | string | undefined;
873
+ nextToken?: string;
874
+ maxResults?: number;
875
+ }
876
+ export interface ListTypesByAssociationResponse {
877
+ types?: Type[];
878
+ nextToken?: string;
879
+ }
759
880
  export interface StartSchemaCreationRequest {
760
881
  apiId: string | undefined;
761
882
  definition: Uint8Array | undefined;
@@ -763,6 +884,13 @@ export interface StartSchemaCreationRequest {
763
884
  export interface StartSchemaCreationResponse {
764
885
  status?: SchemaStatus | string;
765
886
  }
887
+ export interface StartSchemaMergeRequest {
888
+ associationId: string | undefined;
889
+ mergedApiIdentifier: string | undefined;
890
+ }
891
+ export interface StartSchemaMergeResponse {
892
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
893
+ }
766
894
  export interface TagResourceRequest {
767
895
  resourceArn: string | undefined;
768
896
  tags: Record<string, string> | undefined;
@@ -842,6 +970,8 @@ export interface UpdateGraphqlApiRequest {
842
970
  additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
843
971
  xrayEnabled?: boolean;
844
972
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
973
+ mergedApiExecutionRoleArn?: string;
974
+ ownerContact?: string;
845
975
  }
846
976
  export interface UpdateGraphqlApiResponse {
847
977
  graphqlApi?: GraphqlApi;
@@ -864,6 +994,15 @@ export interface UpdateResolverRequest {
864
994
  export interface UpdateResolverResponse {
865
995
  resolver?: Resolver;
866
996
  }
997
+ export interface UpdateSourceApiAssociationRequest {
998
+ associationId: string | undefined;
999
+ mergedApiIdentifier: string | undefined;
1000
+ description?: string;
1001
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
1002
+ }
1003
+ export interface UpdateSourceApiAssociationResponse {
1004
+ sourceApiAssociation?: SourceApiAssociation;
1005
+ }
867
1006
  export interface UpdateTypeRequest {
868
1007
  apiId: string | undefined;
869
1008
  typeName: string | undefined;