@aws-sdk/client-appsync 3.32.0 → 3.36.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 (372) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +2 -2
  3. package/{dist/cjs → dist-cjs}/AppSync.js +2 -3
  4. package/{dist/cjs → dist-cjs}/AppSyncClient.js +10 -11
  5. package/{dist/cjs → dist-cjs}/commands/CreateApiCacheCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateApiKeyCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateFunctionCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateGraphqlApiCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/CreateResolverCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/CreateTypeCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteApiCacheCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteApiKeyCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteFunctionCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteGraphqlApiCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DeleteResolverCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DeleteTypeCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/FlushApiCacheCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetApiCacheCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetFunctionCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetGraphqlApiCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/GetIntrospectionSchemaCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/GetResolverCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/GetSchemaCreationStatusCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/GetTypeCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListApiKeysCommand.js +5 -6
  29. package/{dist/cjs → dist-cjs}/commands/ListDataSourcesCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/ListFunctionsCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/ListGraphqlApisCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/ListResolversByFunctionCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/ListResolversCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/ListTypesCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/StartSchemaCreationCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/UpdateApiCacheCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/UpdateApiKeyCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/commands/UpdateFunctionCommand.js +2 -3
  43. package/{dist/cjs → dist-cjs}/commands/UpdateGraphqlApiCommand.js +2 -3
  44. package/{dist/cjs → dist-cjs}/commands/UpdateResolverCommand.js +2 -3
  45. package/{dist/cjs → dist-cjs}/commands/UpdateTypeCommand.js +2 -3
  46. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  47. package/{dist/cjs → dist-cjs}/index.js +0 -1
  48. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  49. package/{dist/cjs → dist-cjs}/models/models_0.js +13 -4
  50. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +25 -3
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  53. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  54. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  55. package/{dist/es → dist-es}/AppSync.js +1 -6
  56. package/{dist/es → dist-es}/AppSyncClient.js +2 -12
  57. package/{dist/es → dist-es}/commands/CreateApiCacheCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/CreateApiKeyCommand.js +4 -31
  59. package/{dist/es → dist-es}/commands/CreateDataSourceCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/CreateFunctionCommand.js +4 -32
  61. package/{dist/es → dist-es}/commands/CreateGraphqlApiCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/CreateResolverCommand.js +4 -32
  63. package/{dist/es → dist-es}/commands/CreateTypeCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/DeleteApiCacheCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/DeleteApiKeyCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DeleteFunctionCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DeleteGraphqlApiCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/DeleteResolverCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DeleteTypeCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/FlushApiCacheCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/GetApiCacheCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/GetFunctionCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/GetGraphqlApiCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/GetIntrospectionSchemaCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/GetResolverCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/GetSchemaCreationStatusCommand.js +4 -30
  79. package/{dist/es → dist-es}/commands/GetTypeCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/ListApiKeysCommand.js +4 -36
  81. package/{dist/es → dist-es}/commands/ListDataSourcesCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/ListFunctionsCommand.js +4 -30
  83. package/{dist/es → dist-es}/commands/ListGraphqlApisCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/ListResolversByFunctionCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/ListResolversCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  87. package/{dist/es → dist-es}/commands/ListTypesCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/StartSchemaCreationCommand.js +4 -32
  89. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/UpdateApiCacheCommand.js +4 -30
  92. package/{dist/es → dist-es}/commands/UpdateApiKeyCommand.js +4 -30
  93. package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +4 -30
  94. package/{dist/es → dist-es}/commands/UpdateFunctionCommand.js +4 -30
  95. package/{dist/es → dist-es}/commands/UpdateGraphqlApiCommand.js +4 -30
  96. package/{dist/es → dist-es}/commands/UpdateResolverCommand.js +4 -30
  97. package/{dist/es → dist-es}/commands/UpdateTypeCommand.js +4 -30
  98. package/{dist/es → dist-es}/endpoints.js +1 -2
  99. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  100. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  101. package/{dist/es → dist-es}/models/models_0.js +5 -358
  102. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1177 -1165
  103. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  104. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  105. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  106. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  107. package/{dist/types → dist-types}/AppSync.d.ts +6 -6
  108. package/{dist/types → dist-types}/AppSyncClient.d.ts +10 -10
  109. package/{dist/types → dist-types}/commands/CreateApiCacheCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/CreateApiKeyCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/CreateDataSourceCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/CreateFunctionCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/CreateGraphqlApiCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/CreateResolverCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/CreateTypeCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DeleteApiCacheCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DeleteApiKeyCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/DeleteFunctionCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/DeleteGraphqlApiCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/DeleteResolverCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/DeleteTypeCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/FlushApiCacheCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/GetApiCacheCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/GetFunctionCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/GetGraphqlApiCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/GetIntrospectionSchemaCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/GetResolverCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/GetSchemaCreationStatusCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/GetTypeCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/ListApiKeysCommand.d.ts +5 -5
  133. package/{dist/types → dist-types}/commands/ListDataSourcesCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/ListFunctionsCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/ListGraphqlApisCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/ListResolversByFunctionCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/ListResolversCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/ListTypesCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/StartSchemaCreationCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/UpdateApiCacheCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/UpdateApiKeyCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/UpdateFunctionCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/UpdateGraphqlApiCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/UpdateResolverCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/UpdateTypeCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  151. package/{index.ts → dist-types/index.d.ts} +0 -0
  152. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  153. package/{dist/types → dist-types}/models/models_0.d.ts +100 -53
  154. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  155. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  156. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  157. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  158. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  159. package/{dist/types → dist-types}/ts3.4/AppSync.d.ts +6 -6
  160. package/{dist/types → dist-types}/ts3.4/AppSyncClient.d.ts +10 -10
  161. package/{dist/types → dist-types}/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/CreateFunctionCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/commands/CreateResolverCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/ts3.4/commands/CreateTypeCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/ts3.4/commands/DeleteResolverCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/ts3.4/commands/DeleteTypeCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/ts3.4/commands/GetApiCacheCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/commands/GetFunctionCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/ts3.4/commands/GetResolverCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/GetTypeCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/ListApiKeysCommand.d.ts +5 -5
  185. package/{dist/types → dist-types}/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/ListFunctionsCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/commands/ListResolversCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/ts3.4/commands/ListTypesCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/UpdateResolverCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/UpdateTypeCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  203. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  204. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  205. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +100 -53
  206. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  208. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  209. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  210. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  211. package/package.json +52 -49
  212. package/AppSync.ts +0 -1429
  213. package/AppSyncClient.ts +0 -374
  214. package/commands/CreateApiCacheCommand.ts +0 -94
  215. package/commands/CreateApiKeyCommand.ts +0 -95
  216. package/commands/CreateDataSourceCommand.ts +0 -94
  217. package/commands/CreateFunctionCommand.ts +0 -96
  218. package/commands/CreateGraphqlApiCommand.ts +0 -94
  219. package/commands/CreateResolverCommand.ts +0 -96
  220. package/commands/CreateTypeCommand.ts +0 -94
  221. package/commands/DeleteApiCacheCommand.ts +0 -94
  222. package/commands/DeleteApiKeyCommand.ts +0 -94
  223. package/commands/DeleteDataSourceCommand.ts +0 -94
  224. package/commands/DeleteFunctionCommand.ts +0 -94
  225. package/commands/DeleteGraphqlApiCommand.ts +0 -94
  226. package/commands/DeleteResolverCommand.ts +0 -94
  227. package/commands/DeleteTypeCommand.ts +0 -94
  228. package/commands/FlushApiCacheCommand.ts +0 -94
  229. package/commands/GetApiCacheCommand.ts +0 -94
  230. package/commands/GetDataSourceCommand.ts +0 -94
  231. package/commands/GetFunctionCommand.ts +0 -94
  232. package/commands/GetGraphqlApiCommand.ts +0 -94
  233. package/commands/GetIntrospectionSchemaCommand.ts +0 -94
  234. package/commands/GetResolverCommand.ts +0 -94
  235. package/commands/GetSchemaCreationStatusCommand.ts +0 -94
  236. package/commands/GetTypeCommand.ts +0 -90
  237. package/commands/ListApiKeysCommand.ts +0 -100
  238. package/commands/ListDataSourcesCommand.ts +0 -94
  239. package/commands/ListFunctionsCommand.ts +0 -94
  240. package/commands/ListGraphqlApisCommand.ts +0 -94
  241. package/commands/ListResolversByFunctionCommand.ts +0 -94
  242. package/commands/ListResolversCommand.ts +0 -94
  243. package/commands/ListTagsForResourceCommand.ts +0 -94
  244. package/commands/ListTypesCommand.ts +0 -94
  245. package/commands/StartSchemaCreationCommand.ts +0 -96
  246. package/commands/TagResourceCommand.ts +0 -94
  247. package/commands/UntagResourceCommand.ts +0 -94
  248. package/commands/UpdateApiCacheCommand.ts +0 -94
  249. package/commands/UpdateApiKeyCommand.ts +0 -94
  250. package/commands/UpdateDataSourceCommand.ts +0 -94
  251. package/commands/UpdateFunctionCommand.ts +0 -94
  252. package/commands/UpdateGraphqlApiCommand.ts +0 -94
  253. package/commands/UpdateResolverCommand.ts +0 -94
  254. package/commands/UpdateTypeCommand.ts +0 -94
  255. package/dist/cjs/AppSync.js.map +0 -1
  256. package/dist/cjs/AppSyncClient.js.map +0 -1
  257. package/dist/cjs/commands/CreateApiCacheCommand.js.map +0 -1
  258. package/dist/cjs/commands/CreateApiKeyCommand.js.map +0 -1
  259. package/dist/cjs/commands/CreateDataSourceCommand.js.map +0 -1
  260. package/dist/cjs/commands/CreateFunctionCommand.js.map +0 -1
  261. package/dist/cjs/commands/CreateGraphqlApiCommand.js.map +0 -1
  262. package/dist/cjs/commands/CreateResolverCommand.js.map +0 -1
  263. package/dist/cjs/commands/CreateTypeCommand.js.map +0 -1
  264. package/dist/cjs/commands/DeleteApiCacheCommand.js.map +0 -1
  265. package/dist/cjs/commands/DeleteApiKeyCommand.js.map +0 -1
  266. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  267. package/dist/cjs/commands/DeleteFunctionCommand.js.map +0 -1
  268. package/dist/cjs/commands/DeleteGraphqlApiCommand.js.map +0 -1
  269. package/dist/cjs/commands/DeleteResolverCommand.js.map +0 -1
  270. package/dist/cjs/commands/DeleteTypeCommand.js.map +0 -1
  271. package/dist/cjs/commands/FlushApiCacheCommand.js.map +0 -1
  272. package/dist/cjs/commands/GetApiCacheCommand.js.map +0 -1
  273. package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
  274. package/dist/cjs/commands/GetFunctionCommand.js.map +0 -1
  275. package/dist/cjs/commands/GetGraphqlApiCommand.js.map +0 -1
  276. package/dist/cjs/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  277. package/dist/cjs/commands/GetResolverCommand.js.map +0 -1
  278. package/dist/cjs/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  279. package/dist/cjs/commands/GetTypeCommand.js.map +0 -1
  280. package/dist/cjs/commands/ListApiKeysCommand.js.map +0 -1
  281. package/dist/cjs/commands/ListDataSourcesCommand.js.map +0 -1
  282. package/dist/cjs/commands/ListFunctionsCommand.js.map +0 -1
  283. package/dist/cjs/commands/ListGraphqlApisCommand.js.map +0 -1
  284. package/dist/cjs/commands/ListResolversByFunctionCommand.js.map +0 -1
  285. package/dist/cjs/commands/ListResolversCommand.js.map +0 -1
  286. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  287. package/dist/cjs/commands/ListTypesCommand.js.map +0 -1
  288. package/dist/cjs/commands/StartSchemaCreationCommand.js.map +0 -1
  289. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  290. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  291. package/dist/cjs/commands/UpdateApiCacheCommand.js.map +0 -1
  292. package/dist/cjs/commands/UpdateApiKeyCommand.js.map +0 -1
  293. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  294. package/dist/cjs/commands/UpdateFunctionCommand.js.map +0 -1
  295. package/dist/cjs/commands/UpdateGraphqlApiCommand.js.map +0 -1
  296. package/dist/cjs/commands/UpdateResolverCommand.js.map +0 -1
  297. package/dist/cjs/commands/UpdateTypeCommand.js.map +0 -1
  298. package/dist/cjs/endpoints.js.map +0 -1
  299. package/dist/cjs/index.js.map +0 -1
  300. package/dist/cjs/models/index.js.map +0 -1
  301. package/dist/cjs/models/models_0.js.map +0 -1
  302. package/dist/cjs/package.json +0 -91
  303. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  304. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  305. package/dist/cjs/runtimeConfig.js.map +0 -1
  306. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  307. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  308. package/dist/es/AppSync.js.map +0 -1
  309. package/dist/es/AppSyncClient.js.map +0 -1
  310. package/dist/es/commands/CreateApiCacheCommand.js.map +0 -1
  311. package/dist/es/commands/CreateApiKeyCommand.js.map +0 -1
  312. package/dist/es/commands/CreateDataSourceCommand.js.map +0 -1
  313. package/dist/es/commands/CreateFunctionCommand.js.map +0 -1
  314. package/dist/es/commands/CreateGraphqlApiCommand.js.map +0 -1
  315. package/dist/es/commands/CreateResolverCommand.js.map +0 -1
  316. package/dist/es/commands/CreateTypeCommand.js.map +0 -1
  317. package/dist/es/commands/DeleteApiCacheCommand.js.map +0 -1
  318. package/dist/es/commands/DeleteApiKeyCommand.js.map +0 -1
  319. package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
  320. package/dist/es/commands/DeleteFunctionCommand.js.map +0 -1
  321. package/dist/es/commands/DeleteGraphqlApiCommand.js.map +0 -1
  322. package/dist/es/commands/DeleteResolverCommand.js.map +0 -1
  323. package/dist/es/commands/DeleteTypeCommand.js.map +0 -1
  324. package/dist/es/commands/FlushApiCacheCommand.js.map +0 -1
  325. package/dist/es/commands/GetApiCacheCommand.js.map +0 -1
  326. package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
  327. package/dist/es/commands/GetFunctionCommand.js.map +0 -1
  328. package/dist/es/commands/GetGraphqlApiCommand.js.map +0 -1
  329. package/dist/es/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  330. package/dist/es/commands/GetResolverCommand.js.map +0 -1
  331. package/dist/es/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  332. package/dist/es/commands/GetTypeCommand.js.map +0 -1
  333. package/dist/es/commands/ListApiKeysCommand.js.map +0 -1
  334. package/dist/es/commands/ListDataSourcesCommand.js.map +0 -1
  335. package/dist/es/commands/ListFunctionsCommand.js.map +0 -1
  336. package/dist/es/commands/ListGraphqlApisCommand.js.map +0 -1
  337. package/dist/es/commands/ListResolversByFunctionCommand.js.map +0 -1
  338. package/dist/es/commands/ListResolversCommand.js.map +0 -1
  339. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  340. package/dist/es/commands/ListTypesCommand.js.map +0 -1
  341. package/dist/es/commands/StartSchemaCreationCommand.js.map +0 -1
  342. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  343. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  344. package/dist/es/commands/UpdateApiCacheCommand.js.map +0 -1
  345. package/dist/es/commands/UpdateApiKeyCommand.js.map +0 -1
  346. package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
  347. package/dist/es/commands/UpdateFunctionCommand.js.map +0 -1
  348. package/dist/es/commands/UpdateGraphqlApiCommand.js.map +0 -1
  349. package/dist/es/commands/UpdateResolverCommand.js.map +0 -1
  350. package/dist/es/commands/UpdateTypeCommand.js.map +0 -1
  351. package/dist/es/endpoints.js.map +0 -1
  352. package/dist/es/index.js +0 -45
  353. package/dist/es/index.js.map +0 -1
  354. package/dist/es/models/index.js +0 -2
  355. package/dist/es/models/index.js.map +0 -1
  356. package/dist/es/models/models_0.js.map +0 -1
  357. package/dist/es/package.json +0 -91
  358. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  359. package/dist/es/runtimeConfig.browser.js.map +0 -1
  360. package/dist/es/runtimeConfig.js.map +0 -1
  361. package/dist/es/runtimeConfig.native.js.map +0 -1
  362. package/dist/es/runtimeConfig.shared.js.map +0 -1
  363. package/endpoints.ts +0 -57
  364. package/jest.config.js +0 -4
  365. package/models/models_0.ts +0 -3744
  366. package/protocols/Aws_restJson1.ts +0 -6209
  367. package/runtimeConfig.browser.ts +0 -40
  368. package/runtimeConfig.native.ts +0 -16
  369. package/runtimeConfig.shared.ts +0 -16
  370. package/runtimeConfig.ts +0 -45
  371. package/tsconfig.es.json +0 -12
  372. package/tsconfig.json +0 -32
@@ -1,94 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetFunctionRequest, GetFunctionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetFunctionCommand,
5
- serializeAws_restJson1GetFunctionCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetFunctionCommandInput extends GetFunctionRequest {}
21
- export interface GetFunctionCommandOutput extends GetFunctionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Get a <code>Function</code>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetFunctionCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetFunctionCommandInput} for command's `input` shape.
36
- * @see {@link GetFunctionCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetFunctionCommand extends $Command<
41
- GetFunctionCommandInput,
42
- GetFunctionCommandOutput,
43
- AppSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetFunctionCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetFunctionCommandInput, GetFunctionCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppSyncClient";
68
- const commandName = "GetFunctionCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetFunctionRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetFunctionResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetFunctionCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFunctionCommandOutput> {
89
- return deserializeAws_restJson1GetFunctionCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetGraphqlApiRequest, GetGraphqlApiResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetGraphqlApiCommand,
5
- serializeAws_restJson1GetGraphqlApiCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetGraphqlApiCommandInput extends GetGraphqlApiRequest {}
21
- export interface GetGraphqlApiCommandOutput extends GetGraphqlApiResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a <code>GraphqlApi</code> object.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetGraphqlApiCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetGraphqlApiCommandInput} for command's `input` shape.
36
- * @see {@link GetGraphqlApiCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetGraphqlApiCommand extends $Command<
41
- GetGraphqlApiCommandInput,
42
- GetGraphqlApiCommandOutput,
43
- AppSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetGraphqlApiCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppSyncClient";
68
- const commandName = "GetGraphqlApiCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetGraphqlApiRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetGraphqlApiResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetGraphqlApiCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetGraphqlApiCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGraphqlApiCommandOutput> {
89
- return deserializeAws_restJson1GetGraphqlApiCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetIntrospectionSchemaRequest, GetIntrospectionSchemaResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetIntrospectionSchemaCommand,
5
- serializeAws_restJson1GetIntrospectionSchemaCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetIntrospectionSchemaCommandInput extends GetIntrospectionSchemaRequest {}
21
- export interface GetIntrospectionSchemaCommandOutput extends GetIntrospectionSchemaResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the introspection schema for a GraphQL API.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetIntrospectionSchemaCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetIntrospectionSchemaCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetIntrospectionSchemaCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetIntrospectionSchemaCommandInput} for command's `input` shape.
36
- * @see {@link GetIntrospectionSchemaCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetIntrospectionSchemaCommand extends $Command<
41
- GetIntrospectionSchemaCommandInput,
42
- GetIntrospectionSchemaCommandOutput,
43
- AppSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetIntrospectionSchemaCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppSyncClient";
68
- const commandName = "GetIntrospectionSchemaCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetIntrospectionSchemaRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetIntrospectionSchemaResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetIntrospectionSchemaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetIntrospectionSchemaCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntrospectionSchemaCommandOutput> {
89
- return deserializeAws_restJson1GetIntrospectionSchemaCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetResolverRequest, GetResolverResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetResolverCommand,
5
- serializeAws_restJson1GetResolverCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetResolverCommandInput extends GetResolverRequest {}
21
- export interface GetResolverCommandOutput extends GetResolverResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a <code>Resolver</code> object.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetResolverCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetResolverCommandInput} for command's `input` shape.
36
- * @see {@link GetResolverCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetResolverCommand extends $Command<
41
- GetResolverCommandInput,
42
- GetResolverCommandOutput,
43
- AppSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetResolverCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetResolverCommandInput, GetResolverCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppSyncClient";
68
- const commandName = "GetResolverCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetResolverRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetResolverResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetResolverCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetResolverCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResolverCommandOutput> {
89
- return deserializeAws_restJson1GetResolverCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetSchemaCreationStatusRequest, GetSchemaCreationStatusResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetSchemaCreationStatusCommand,
5
- serializeAws_restJson1GetSchemaCreationStatusCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetSchemaCreationStatusCommandInput extends GetSchemaCreationStatusRequest {}
21
- export interface GetSchemaCreationStatusCommandOutput extends GetSchemaCreationStatusResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the current status of a schema creation operation.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetSchemaCreationStatusCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetSchemaCreationStatusCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetSchemaCreationStatusCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetSchemaCreationStatusCommandInput} for command's `input` shape.
36
- * @see {@link GetSchemaCreationStatusCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetSchemaCreationStatusCommand extends $Command<
41
- GetSchemaCreationStatusCommandInput,
42
- GetSchemaCreationStatusCommandOutput,
43
- AppSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetSchemaCreationStatusCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppSyncClient";
68
- const commandName = "GetSchemaCreationStatusCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetSchemaCreationStatusRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetSchemaCreationStatusResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetSchemaCreationStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetSchemaCreationStatusCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSchemaCreationStatusCommandOutput> {
89
- return deserializeAws_restJson1GetSchemaCreationStatusCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,90 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { GetTypeRequest, GetTypeResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetTypeCommand,
5
- serializeAws_restJson1GetTypeCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetTypeCommandInput extends GetTypeRequest {}
21
- export interface GetTypeCommandOutput extends GetTypeResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a <code>Type</code> object.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppSyncClient, GetTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
29
- * // const { AppSyncClient, GetTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
30
- * const client = new AppSyncClient(config);
31
- * const command = new GetTypeCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetTypeCommandInput} for command's `input` shape.
36
- * @see {@link GetTypeCommandOutput} for command's `response` shape.
37
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetTypeCommand extends $Command<GetTypeCommandInput, GetTypeCommandOutput, AppSyncClientResolvedConfig> {
41
- // Start section: command_properties
42
- // End section: command_properties
43
-
44
- constructor(readonly input: GetTypeCommandInput) {
45
- // Start section: command_constructor
46
- super();
47
- // End section: command_constructor
48
- }
49
-
50
- /**
51
- * @internal
52
- */
53
- resolveMiddleware(
54
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
55
- configuration: AppSyncClientResolvedConfig,
56
- options?: __HttpHandlerOptions
57
- ): Handler<GetTypeCommandInput, GetTypeCommandOutput> {
58
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
59
-
60
- const stack = clientStack.concat(this.middlewareStack);
61
-
62
- const { logger } = configuration;
63
- const clientName = "AppSyncClient";
64
- const commandName = "GetTypeCommand";
65
- const handlerExecutionContext: HandlerExecutionContext = {
66
- logger,
67
- clientName,
68
- commandName,
69
- inputFilterSensitiveLog: GetTypeRequest.filterSensitiveLog,
70
- outputFilterSensitiveLog: GetTypeResponse.filterSensitiveLog,
71
- };
72
- const { requestHandler } = configuration;
73
- return stack.resolve(
74
- (request: FinalizeHandlerArguments<any>) =>
75
- requestHandler.handle(request.request as __HttpRequest, options || {}),
76
- handlerExecutionContext
77
- );
78
- }
79
-
80
- private serialize(input: GetTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
81
- return serializeAws_restJson1GetTypeCommand(input, context);
82
- }
83
-
84
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTypeCommandOutput> {
85
- return deserializeAws_restJson1GetTypeCommand(output, context);
86
- }
87
-
88
- // Start section: command_body_extra
89
- // End section: command_body_extra
90
- }
@@ -1,100 +0,0 @@
1
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
2
- import { ListApiKeysRequest, ListApiKeysResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListApiKeysCommand,
5
- serializeAws_restJson1ListApiKeysCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListApiKeysCommandInput extends ListApiKeysRequest {}
21
- export interface ListApiKeysCommandOutput extends ListApiKeysResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists the API keys for a given API.</p>
25
- * <note>
26
- * <p>API keys are deleted automatically 60 days after they expire. However, they may
27
- * still be included in the response until they have actually been deleted. You can safely
28
- * call <code>DeleteApiKey</code> to manually delete a key before it's automatically
29
- * deleted.</p>
30
- * </note>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { AppSyncClient, ListApiKeysCommand } from "@aws-sdk/client-appsync"; // ES Modules import
35
- * // const { AppSyncClient, ListApiKeysCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
36
- * const client = new AppSyncClient(config);
37
- * const command = new ListApiKeysCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link ListApiKeysCommandInput} for command's `input` shape.
42
- * @see {@link ListApiKeysCommandOutput} for command's `response` shape.
43
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class ListApiKeysCommand extends $Command<
47
- ListApiKeysCommandInput,
48
- ListApiKeysCommandOutput,
49
- AppSyncClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: ListApiKeysCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: AppSyncClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<ListApiKeysCommandInput, ListApiKeysCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "AppSyncClient";
74
- const commandName = "ListApiKeysCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: ListApiKeysRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: ListApiKeysResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: ListApiKeysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1ListApiKeysCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListApiKeysCommandOutput> {
95
- return deserializeAws_restJson1ListApiKeysCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }