@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
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListFunctionsCommand, se_ListFunctionsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListFunctionsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListGraphqlApisCommand, se_ListGraphqlApisCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListGraphqlApisCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListResolversByFunctionCommand, se_ListResolversByFunctionCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListResolversByFunctionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListResolversCommand, se_ListResolversCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListResolversCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListSourceApiAssociationsCommand, se_ListSourceApiAssociationsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListSourceApiAssociationsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListSourceApiAssociationsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "ListSourceApiAssociationsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListSourceApiAssociationsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListSourceApiAssociationsCommand(output, context);
41
+ }
42
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListTagsForResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTypesByAssociationCommand, se_ListTypesByAssociationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTypesByAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTypesByAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "ListTypesByAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTypesByAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTypesByAssociationCommand(output, context);
41
+ }
42
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTypesCommand, se_ListTypesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListTypesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_StartSchemaCreationCommand, se_StartSchemaCreationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class StartSchemaCreationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_StartSchemaMergeCommand, se_StartSchemaMergeCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class StartSchemaMergeCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartSchemaMergeCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "StartSchemaMergeCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartSchemaMergeCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartSchemaMergeCommand(output, context);
41
+ }
42
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateApiCacheCommand, se_UpdateApiCacheCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateApiCacheCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateApiKeyCommand, se_UpdateApiKeyCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateApiKeyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateDataSourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateDomainNameCommand, se_UpdateDomainNameCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateDomainNameCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateFunctionCommand, se_UpdateFunctionCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateFunctionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateGraphqlApiCommand, se_UpdateGraphqlApiCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateGraphqlApiCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateResolverCommand, se_UpdateResolverCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateResolverCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_UpdateSourceApiAssociationCommand, se_UpdateSourceApiAssociationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateSourceApiAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSourceApiAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "UpdateSourceApiAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_UpdateSourceApiAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_UpdateSourceApiAssociationCommand(output, context);
41
+ }
42
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateTypeCommand, se_UpdateTypeCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateTypeCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -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";
package/dist-es/index.js CHANGED
@@ -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";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class AppSyncServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -131,8 +131,19 @@ export class NotFoundException extends __BaseException {
131
131
  Object.setPrototypeOf(this, NotFoundException.prototype);
132
132
  }
133
133
  }
134
- export const AuthorizationType = {
135
- AWS_IAM: "AWS_IAM",
134
+ export const MergeType = {
135
+ AUTO_MERGE: "AUTO_MERGE",
136
+ MANUAL_MERGE: "MANUAL_MERGE",
137
+ };
138
+ export const SourceApiAssociationStatus = {
139
+ AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED",
140
+ DELETION_FAILED: "DELETION_FAILED",
141
+ DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
142
+ DELETION_SCHEDULED: "DELETION_SCHEDULED",
143
+ MERGE_FAILED: "MERGE_FAILED",
144
+ MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS",
145
+ MERGE_SCHEDULED: "MERGE_SCHEDULED",
146
+ MERGE_SUCCESS: "MERGE_SUCCESS",
136
147
  };
137
148
  export class ConcurrentModificationException extends __BaseException {
138
149
  constructor(opts) {
@@ -146,30 +157,33 @@ export class ConcurrentModificationException extends __BaseException {
146
157
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
147
158
  }
148
159
  }
149
- export class UnauthorizedException extends __BaseException {
160
+ export class LimitExceededException extends __BaseException {
150
161
  constructor(opts) {
151
162
  super({
152
- name: "UnauthorizedException",
163
+ name: "LimitExceededException",
153
164
  $fault: "client",
154
165
  ...opts,
155
166
  });
156
- this.name = "UnauthorizedException";
167
+ this.name = "LimitExceededException";
157
168
  this.$fault = "client";
158
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
169
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
159
170
  }
160
171
  }
161
- export class LimitExceededException extends __BaseException {
172
+ export class UnauthorizedException extends __BaseException {
162
173
  constructor(opts) {
163
174
  super({
164
- name: "LimitExceededException",
175
+ name: "UnauthorizedException",
165
176
  $fault: "client",
166
177
  ...opts,
167
178
  });
168
- this.name = "LimitExceededException";
179
+ this.name = "UnauthorizedException";
169
180
  this.$fault = "client";
170
- Object.setPrototypeOf(this, LimitExceededException.prototype);
181
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
171
182
  }
172
183
  }
184
+ export const AuthorizationType = {
185
+ AWS_IAM: "AWS_IAM",
186
+ };
173
187
  export const RelationalDatabaseSourceType = {
174
188
  RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT",
175
189
  };
@@ -193,6 +207,10 @@ export const ConflictHandlerType = {
193
207
  NONE: "NONE",
194
208
  OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
195
209
  };
210
+ export const GraphQLApiType = {
211
+ GRAPHQL: "GRAPHQL",
212
+ MERGED: "MERGED",
213
+ };
196
214
  export const FieldLogLevel = {
197
215
  ALL: "ALL",
198
216
  ERROR: "ERROR",
@@ -238,3 +256,7 @@ export const SchemaStatus = {
238
256
  Processing: "PROCESSING",
239
257
  Success: "SUCCESS",
240
258
  };
259
+ export const Ownership = {
260
+ CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
261
+ OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
262
+ };