@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
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateFunctionCommand = void 0;
3
+ exports.UpdateFunctionCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateFunctionCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateGraphqlApiCommand = void 0;
3
+ exports.UpdateGraphqlApiCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateGraphqlApiCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateResolverCommand = void 0;
3
+ exports.UpdateResolverCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateResolverCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSourceApiAssociationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateSourceApiAssociationCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSourceApiAssociationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "AppSyncClient";
28
+ const commandName = "UpdateSourceApiAssociationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_UpdateSourceApiAssociationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_UpdateSourceApiAssociationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateSourceApiAssociationCommand = UpdateSourceApiAssociationCommand;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateTypeCommand = void 0;
3
+ exports.UpdateTypeCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateTypeCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateApiCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociateMergedGraphqlApiCommand"), exports);
6
+ tslib_1.__exportStar(require("./AssociateSourceGraphqlApiCommand"), exports);
5
7
  tslib_1.__exportStar(require("./CreateApiCacheCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateApiKeyCommand"), exports);
7
9
  tslib_1.__exportStar(require("./CreateDataSourceCommand"), exports);
@@ -19,6 +21,8 @@ tslib_1.__exportStar(require("./DeleteGraphqlApiCommand"), exports);
19
21
  tslib_1.__exportStar(require("./DeleteResolverCommand"), exports);
20
22
  tslib_1.__exportStar(require("./DeleteTypeCommand"), exports);
21
23
  tslib_1.__exportStar(require("./DisassociateApiCommand"), exports);
24
+ tslib_1.__exportStar(require("./DisassociateMergedGraphqlApiCommand"), exports);
25
+ tslib_1.__exportStar(require("./DisassociateSourceGraphqlApiCommand"), exports);
22
26
  tslib_1.__exportStar(require("./EvaluateCodeCommand"), exports);
23
27
  tslib_1.__exportStar(require("./EvaluateMappingTemplateCommand"), exports);
24
28
  tslib_1.__exportStar(require("./FlushApiCacheCommand"), exports);
@@ -31,6 +35,7 @@ tslib_1.__exportStar(require("./GetGraphqlApiCommand"), exports);
31
35
  tslib_1.__exportStar(require("./GetIntrospectionSchemaCommand"), exports);
32
36
  tslib_1.__exportStar(require("./GetResolverCommand"), exports);
33
37
  tslib_1.__exportStar(require("./GetSchemaCreationStatusCommand"), exports);
38
+ tslib_1.__exportStar(require("./GetSourceApiAssociationCommand"), exports);
34
39
  tslib_1.__exportStar(require("./GetTypeCommand"), exports);
35
40
  tslib_1.__exportStar(require("./ListApiKeysCommand"), exports);
36
41
  tslib_1.__exportStar(require("./ListDataSourcesCommand"), exports);
@@ -39,9 +44,12 @@ tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
39
44
  tslib_1.__exportStar(require("./ListGraphqlApisCommand"), exports);
40
45
  tslib_1.__exportStar(require("./ListResolversByFunctionCommand"), exports);
41
46
  tslib_1.__exportStar(require("./ListResolversCommand"), exports);
47
+ tslib_1.__exportStar(require("./ListSourceApiAssociationsCommand"), exports);
42
48
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
49
+ tslib_1.__exportStar(require("./ListTypesByAssociationCommand"), exports);
43
50
  tslib_1.__exportStar(require("./ListTypesCommand"), exports);
44
51
  tslib_1.__exportStar(require("./StartSchemaCreationCommand"), exports);
52
+ tslib_1.__exportStar(require("./StartSchemaMergeCommand"), exports);
45
53
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
46
54
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
47
55
  tslib_1.__exportStar(require("./UpdateApiCacheCommand"), exports);
@@ -51,4 +59,5 @@ tslib_1.__exportStar(require("./UpdateDomainNameCommand"), exports);
51
59
  tslib_1.__exportStar(require("./UpdateFunctionCommand"), exports);
52
60
  tslib_1.__exportStar(require("./UpdateGraphqlApiCommand"), exports);
53
61
  tslib_1.__exportStar(require("./UpdateResolverCommand"), exports);
62
+ tslib_1.__exportStar(require("./UpdateSourceApiAssociationCommand"), exports);
54
63
  tslib_1.__exportStar(require("./UpdateTypeCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AppSyncServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./AppSync"), exports);
6
5
  tslib_1.__exportStar(require("./AppSyncClient"), exports);
6
+ tslib_1.__exportStar(require("./AppSync"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  var AppSyncServiceException_1 = require("./models/AppSyncServiceException");
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppSyncServiceException = void 0;
3
+ exports.AppSyncServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class AppSyncServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SchemaStatus = exports.GraphQLSchemaException = exports.OutputType = exports.TypeDefinitionFormat = exports.ResolverKind = exports.GraphQLApiVisibility = exports.DefaultAction = exports.FieldLogLevel = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.DataSourceType = exports.RelationalDatabaseSourceType = exports.LimitExceededException = exports.UnauthorizedException = exports.ConcurrentModificationException = exports.AuthorizationType = exports.NotFoundException = exports.InternalFailureException = exports.BadRequestException = exports.BadRequestReason = exports.RuntimeName = exports.ApiLimitExceededException = exports.ApiKeyValidityOutOfBoundsException = exports.ApiKeyLimitExceededException = exports.ApiCacheType = exports.ApiCacheStatus = exports.ApiCachingBehavior = exports.AssociationStatus = exports.AuthenticationType = exports.AccessDeniedException = void 0;
3
+ exports.Ownership = exports.SchemaStatus = exports.GraphQLSchemaException = exports.OutputType = exports.TypeDefinitionFormat = exports.ResolverKind = exports.GraphQLApiVisibility = exports.DefaultAction = exports.FieldLogLevel = exports.GraphQLApiType = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.DataSourceType = exports.RelationalDatabaseSourceType = exports.AuthorizationType = exports.UnauthorizedException = exports.LimitExceededException = exports.ConcurrentModificationException = exports.SourceApiAssociationStatus = exports.MergeType = exports.NotFoundException = exports.InternalFailureException = exports.BadRequestException = exports.BadRequestReason = exports.RuntimeName = exports.ApiLimitExceededException = exports.ApiKeyValidityOutOfBoundsException = exports.ApiKeyLimitExceededException = exports.ApiCacheType = exports.ApiCacheStatus = exports.ApiCachingBehavior = exports.AssociationStatus = exports.AuthenticationType = exports.AccessDeniedException = void 0;
4
4
  const AppSyncServiceException_1 = require("./AppSyncServiceException");
5
5
  class AccessDeniedException extends AppSyncServiceException_1.AppSyncServiceException {
6
6
  constructor(opts) {
@@ -141,8 +141,19 @@ class NotFoundException extends AppSyncServiceException_1.AppSyncServiceExceptio
141
141
  }
142
142
  }
143
143
  exports.NotFoundException = NotFoundException;
144
- exports.AuthorizationType = {
145
- AWS_IAM: "AWS_IAM",
144
+ exports.MergeType = {
145
+ AUTO_MERGE: "AUTO_MERGE",
146
+ MANUAL_MERGE: "MANUAL_MERGE",
147
+ };
148
+ exports.SourceApiAssociationStatus = {
149
+ AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED",
150
+ DELETION_FAILED: "DELETION_FAILED",
151
+ DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
152
+ DELETION_SCHEDULED: "DELETION_SCHEDULED",
153
+ MERGE_FAILED: "MERGE_FAILED",
154
+ MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS",
155
+ MERGE_SCHEDULED: "MERGE_SCHEDULED",
156
+ MERGE_SUCCESS: "MERGE_SUCCESS",
146
157
  };
147
158
  class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncServiceException {
148
159
  constructor(opts) {
@@ -157,32 +168,35 @@ class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncS
157
168
  }
158
169
  }
159
170
  exports.ConcurrentModificationException = ConcurrentModificationException;
160
- class UnauthorizedException extends AppSyncServiceException_1.AppSyncServiceException {
171
+ class LimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
161
172
  constructor(opts) {
162
173
  super({
163
- name: "UnauthorizedException",
174
+ name: "LimitExceededException",
164
175
  $fault: "client",
165
176
  ...opts,
166
177
  });
167
- this.name = "UnauthorizedException";
178
+ this.name = "LimitExceededException";
168
179
  this.$fault = "client";
169
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
180
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
170
181
  }
171
182
  }
172
- exports.UnauthorizedException = UnauthorizedException;
173
- class LimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
183
+ exports.LimitExceededException = LimitExceededException;
184
+ class UnauthorizedException extends AppSyncServiceException_1.AppSyncServiceException {
174
185
  constructor(opts) {
175
186
  super({
176
- name: "LimitExceededException",
187
+ name: "UnauthorizedException",
177
188
  $fault: "client",
178
189
  ...opts,
179
190
  });
180
- this.name = "LimitExceededException";
191
+ this.name = "UnauthorizedException";
181
192
  this.$fault = "client";
182
- Object.setPrototypeOf(this, LimitExceededException.prototype);
193
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
183
194
  }
184
195
  }
185
- exports.LimitExceededException = LimitExceededException;
196
+ exports.UnauthorizedException = UnauthorizedException;
197
+ exports.AuthorizationType = {
198
+ AWS_IAM: "AWS_IAM",
199
+ };
186
200
  exports.RelationalDatabaseSourceType = {
187
201
  RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT",
188
202
  };
@@ -206,6 +220,10 @@ exports.ConflictHandlerType = {
206
220
  NONE: "NONE",
207
221
  OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
208
222
  };
223
+ exports.GraphQLApiType = {
224
+ GRAPHQL: "GRAPHQL",
225
+ MERGED: "MERGED",
226
+ };
209
227
  exports.FieldLogLevel = {
210
228
  ALL: "ALL",
211
229
  ERROR: "ERROR",
@@ -252,3 +270,7 @@ exports.SchemaStatus = {
252
270
  Processing: "PROCESSING",
253
271
  Success: "SUCCESS",
254
272
  };
273
+ exports.Ownership = {
274
+ CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
275
+ OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
276
+ };