@aws-sdk/client-appsync 3.35.0 → 3.38.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 (320) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/AppSync.js +0 -5
  3. package/dist-cjs/AppSyncClient.js +0 -10
  4. package/dist-cjs/commands/CreateApiCacheCommand.js +0 -25
  5. package/dist-cjs/commands/CreateApiKeyCommand.js +0 -26
  6. package/dist-cjs/commands/CreateDataSourceCommand.js +0 -25
  7. package/dist-cjs/commands/CreateFunctionCommand.js +0 -27
  8. package/dist-cjs/commands/CreateGraphqlApiCommand.js +0 -25
  9. package/dist-cjs/commands/CreateResolverCommand.js +0 -27
  10. package/dist-cjs/commands/CreateTypeCommand.js +0 -25
  11. package/dist-cjs/commands/DeleteApiCacheCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -25
  14. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteResolverCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteTypeCommand.js +0 -25
  18. package/dist-cjs/commands/FlushApiCacheCommand.js +0 -25
  19. package/dist-cjs/commands/GetApiCacheCommand.js +0 -25
  20. package/dist-cjs/commands/GetDataSourceCommand.js +0 -25
  21. package/dist-cjs/commands/GetFunctionCommand.js +0 -25
  22. package/dist-cjs/commands/GetGraphqlApiCommand.js +0 -25
  23. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +0 -25
  24. package/dist-cjs/commands/GetResolverCommand.js +0 -25
  25. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +0 -25
  26. package/dist-cjs/commands/GetTypeCommand.js +0 -25
  27. package/dist-cjs/commands/ListApiKeysCommand.js +0 -31
  28. package/dist-cjs/commands/ListDataSourcesCommand.js +0 -25
  29. package/dist-cjs/commands/ListFunctionsCommand.js +0 -25
  30. package/dist-cjs/commands/ListGraphqlApisCommand.js +0 -25
  31. package/dist-cjs/commands/ListResolversByFunctionCommand.js +0 -25
  32. package/dist-cjs/commands/ListResolversCommand.js +0 -25
  33. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  34. package/dist-cjs/commands/ListTypesCommand.js +0 -25
  35. package/dist-cjs/commands/StartSchemaCreationCommand.js +0 -27
  36. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  37. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  38. package/dist-cjs/commands/UpdateApiCacheCommand.js +0 -25
  39. package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -25
  40. package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -25
  41. package/dist-cjs/commands/UpdateFunctionCommand.js +0 -25
  42. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +0 -25
  43. package/dist-cjs/commands/UpdateResolverCommand.js +0 -25
  44. package/dist-cjs/commands/UpdateTypeCommand.js +0 -25
  45. package/dist-cjs/commands/index.js +44 -0
  46. package/dist-cjs/endpoints.js +1 -2
  47. package/dist-cjs/index.js +3 -44
  48. package/dist-cjs/models/index.js +0 -1
  49. package/dist-cjs/models/models_0.js +0 -361
  50. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  51. package/dist-cjs/runtimeConfig.browser.js +1 -6
  52. package/dist-cjs/runtimeConfig.js +2 -7
  53. package/dist-cjs/runtimeConfig.native.js +0 -4
  54. package/dist-cjs/runtimeConfig.shared.js +0 -4
  55. package/dist-es/AppSync.js +0 -1
  56. package/dist-es/AppSyncClient.js +0 -1
  57. package/dist-es/commands/CreateApiCacheCommand.js +0 -1
  58. package/dist-es/commands/CreateApiKeyCommand.js +0 -1
  59. package/dist-es/commands/CreateDataSourceCommand.js +0 -1
  60. package/dist-es/commands/CreateFunctionCommand.js +0 -1
  61. package/dist-es/commands/CreateGraphqlApiCommand.js +0 -1
  62. package/dist-es/commands/CreateResolverCommand.js +0 -1
  63. package/dist-es/commands/CreateTypeCommand.js +0 -1
  64. package/dist-es/commands/DeleteApiCacheCommand.js +0 -1
  65. package/dist-es/commands/DeleteApiKeyCommand.js +0 -1
  66. package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
  67. package/dist-es/commands/DeleteFunctionCommand.js +0 -1
  68. package/dist-es/commands/DeleteGraphqlApiCommand.js +0 -1
  69. package/dist-es/commands/DeleteResolverCommand.js +0 -1
  70. package/dist-es/commands/DeleteTypeCommand.js +0 -1
  71. package/dist-es/commands/FlushApiCacheCommand.js +0 -1
  72. package/dist-es/commands/GetApiCacheCommand.js +0 -1
  73. package/dist-es/commands/GetDataSourceCommand.js +0 -1
  74. package/dist-es/commands/GetFunctionCommand.js +0 -1
  75. package/dist-es/commands/GetGraphqlApiCommand.js +0 -1
  76. package/dist-es/commands/GetIntrospectionSchemaCommand.js +0 -1
  77. package/dist-es/commands/GetResolverCommand.js +0 -1
  78. package/dist-es/commands/GetSchemaCreationStatusCommand.js +0 -1
  79. package/dist-es/commands/GetTypeCommand.js +0 -1
  80. package/dist-es/commands/ListApiKeysCommand.js +0 -1
  81. package/dist-es/commands/ListDataSourcesCommand.js +0 -1
  82. package/dist-es/commands/ListFunctionsCommand.js +0 -1
  83. package/dist-es/commands/ListGraphqlApisCommand.js +0 -1
  84. package/dist-es/commands/ListResolversByFunctionCommand.js +0 -1
  85. package/dist-es/commands/ListResolversCommand.js +0 -1
  86. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  87. package/dist-es/commands/ListTypesCommand.js +0 -1
  88. package/dist-es/commands/StartSchemaCreationCommand.js +0 -1
  89. package/dist-es/commands/TagResourceCommand.js +0 -1
  90. package/dist-es/commands/UntagResourceCommand.js +0 -1
  91. package/dist-es/commands/UpdateApiCacheCommand.js +0 -1
  92. package/dist-es/commands/UpdateApiKeyCommand.js +0 -1
  93. package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
  94. package/dist-es/commands/UpdateFunctionCommand.js +0 -1
  95. package/dist-es/commands/UpdateGraphqlApiCommand.js +0 -1
  96. package/dist-es/commands/UpdateResolverCommand.js +0 -1
  97. package/dist-es/commands/UpdateTypeCommand.js +0 -1
  98. package/dist-es/commands/index.js +41 -0
  99. package/dist-es/endpoints.js +1 -2
  100. package/dist-es/index.js +3 -44
  101. package/dist-es/models/index.js +0 -1
  102. package/dist-es/models/models_0.js +0 -1
  103. package/dist-es/protocols/Aws_restJson1.js +0 -1
  104. package/dist-es/runtimeConfig.browser.js +1 -2
  105. package/dist-es/runtimeConfig.js +2 -3
  106. package/dist-es/runtimeConfig.native.js +0 -1
  107. package/dist-es/runtimeConfig.shared.js +0 -1
  108. package/dist-types/commands/index.d.ts +41 -0
  109. package/dist-types/index.d.ts +3 -43
  110. package/dist-types/ts3.4/AppSync.d.ts +42 -140
  111. package/dist-types/ts3.4/AppSyncClient.d.ts +24 -90
  112. package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
  114. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -22
  116. package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +2 -26
  136. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -22
  144. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/index.d.ts +41 -0
  154. package/dist-types/ts3.4/index.d.ts +3 -43
  155. package/dist-types/ts3.4/models/models_0.d.ts +480 -2066
  156. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  157. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  158. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  159. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  160. package/package.json +33 -30
  161. package/dist-cjs/AppSync.js.map +0 -1
  162. package/dist-cjs/AppSyncClient.js.map +0 -1
  163. package/dist-cjs/commands/CreateApiCacheCommand.js.map +0 -1
  164. package/dist-cjs/commands/CreateApiKeyCommand.js.map +0 -1
  165. package/dist-cjs/commands/CreateDataSourceCommand.js.map +0 -1
  166. package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
  167. package/dist-cjs/commands/CreateGraphqlApiCommand.js.map +0 -1
  168. package/dist-cjs/commands/CreateResolverCommand.js.map +0 -1
  169. package/dist-cjs/commands/CreateTypeCommand.js.map +0 -1
  170. package/dist-cjs/commands/DeleteApiCacheCommand.js.map +0 -1
  171. package/dist-cjs/commands/DeleteApiKeyCommand.js.map +0 -1
  172. package/dist-cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  173. package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
  174. package/dist-cjs/commands/DeleteGraphqlApiCommand.js.map +0 -1
  175. package/dist-cjs/commands/DeleteResolverCommand.js.map +0 -1
  176. package/dist-cjs/commands/DeleteTypeCommand.js.map +0 -1
  177. package/dist-cjs/commands/FlushApiCacheCommand.js.map +0 -1
  178. package/dist-cjs/commands/GetApiCacheCommand.js.map +0 -1
  179. package/dist-cjs/commands/GetDataSourceCommand.js.map +0 -1
  180. package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
  181. package/dist-cjs/commands/GetGraphqlApiCommand.js.map +0 -1
  182. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  183. package/dist-cjs/commands/GetResolverCommand.js.map +0 -1
  184. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  185. package/dist-cjs/commands/GetTypeCommand.js.map +0 -1
  186. package/dist-cjs/commands/ListApiKeysCommand.js.map +0 -1
  187. package/dist-cjs/commands/ListDataSourcesCommand.js.map +0 -1
  188. package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
  189. package/dist-cjs/commands/ListGraphqlApisCommand.js.map +0 -1
  190. package/dist-cjs/commands/ListResolversByFunctionCommand.js.map +0 -1
  191. package/dist-cjs/commands/ListResolversCommand.js.map +0 -1
  192. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  193. package/dist-cjs/commands/ListTypesCommand.js.map +0 -1
  194. package/dist-cjs/commands/StartSchemaCreationCommand.js.map +0 -1
  195. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  196. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  197. package/dist-cjs/commands/UpdateApiCacheCommand.js.map +0 -1
  198. package/dist-cjs/commands/UpdateApiKeyCommand.js.map +0 -1
  199. package/dist-cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  200. package/dist-cjs/commands/UpdateFunctionCommand.js.map +0 -1
  201. package/dist-cjs/commands/UpdateGraphqlApiCommand.js.map +0 -1
  202. package/dist-cjs/commands/UpdateResolverCommand.js.map +0 -1
  203. package/dist-cjs/commands/UpdateTypeCommand.js.map +0 -1
  204. package/dist-cjs/endpoints.js.map +0 -1
  205. package/dist-cjs/index.js.map +0 -1
  206. package/dist-cjs/models/index.js.map +0 -1
  207. package/dist-cjs/models/models_0.js.map +0 -1
  208. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  209. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  210. package/dist-cjs/runtimeConfig.js.map +0 -1
  211. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  212. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  213. package/dist-es/AppSync.js.map +0 -1
  214. package/dist-es/AppSyncClient.js.map +0 -1
  215. package/dist-es/commands/CreateApiCacheCommand.js.map +0 -1
  216. package/dist-es/commands/CreateApiKeyCommand.js.map +0 -1
  217. package/dist-es/commands/CreateDataSourceCommand.js.map +0 -1
  218. package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
  219. package/dist-es/commands/CreateGraphqlApiCommand.js.map +0 -1
  220. package/dist-es/commands/CreateResolverCommand.js.map +0 -1
  221. package/dist-es/commands/CreateTypeCommand.js.map +0 -1
  222. package/dist-es/commands/DeleteApiCacheCommand.js.map +0 -1
  223. package/dist-es/commands/DeleteApiKeyCommand.js.map +0 -1
  224. package/dist-es/commands/DeleteDataSourceCommand.js.map +0 -1
  225. package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
  226. package/dist-es/commands/DeleteGraphqlApiCommand.js.map +0 -1
  227. package/dist-es/commands/DeleteResolverCommand.js.map +0 -1
  228. package/dist-es/commands/DeleteTypeCommand.js.map +0 -1
  229. package/dist-es/commands/FlushApiCacheCommand.js.map +0 -1
  230. package/dist-es/commands/GetApiCacheCommand.js.map +0 -1
  231. package/dist-es/commands/GetDataSourceCommand.js.map +0 -1
  232. package/dist-es/commands/GetFunctionCommand.js.map +0 -1
  233. package/dist-es/commands/GetGraphqlApiCommand.js.map +0 -1
  234. package/dist-es/commands/GetIntrospectionSchemaCommand.js.map +0 -1
  235. package/dist-es/commands/GetResolverCommand.js.map +0 -1
  236. package/dist-es/commands/GetSchemaCreationStatusCommand.js.map +0 -1
  237. package/dist-es/commands/GetTypeCommand.js.map +0 -1
  238. package/dist-es/commands/ListApiKeysCommand.js.map +0 -1
  239. package/dist-es/commands/ListDataSourcesCommand.js.map +0 -1
  240. package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
  241. package/dist-es/commands/ListGraphqlApisCommand.js.map +0 -1
  242. package/dist-es/commands/ListResolversByFunctionCommand.js.map +0 -1
  243. package/dist-es/commands/ListResolversCommand.js.map +0 -1
  244. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  245. package/dist-es/commands/ListTypesCommand.js.map +0 -1
  246. package/dist-es/commands/StartSchemaCreationCommand.js.map +0 -1
  247. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  248. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  249. package/dist-es/commands/UpdateApiCacheCommand.js.map +0 -1
  250. package/dist-es/commands/UpdateApiKeyCommand.js.map +0 -1
  251. package/dist-es/commands/UpdateDataSourceCommand.js.map +0 -1
  252. package/dist-es/commands/UpdateFunctionCommand.js.map +0 -1
  253. package/dist-es/commands/UpdateGraphqlApiCommand.js.map +0 -1
  254. package/dist-es/commands/UpdateResolverCommand.js.map +0 -1
  255. package/dist-es/commands/UpdateTypeCommand.js.map +0 -1
  256. package/dist-es/endpoints.js.map +0 -1
  257. package/dist-es/index.js.map +0 -1
  258. package/dist-es/models/index.js.map +0 -1
  259. package/dist-es/models/models_0.js.map +0 -1
  260. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  261. package/dist-es/runtimeConfig.browser.js.map +0 -1
  262. package/dist-es/runtimeConfig.js.map +0 -1
  263. package/dist-es/runtimeConfig.native.js.map +0 -1
  264. package/dist-es/runtimeConfig.shared.js.map +0 -1
  265. package/jest.config.js +0 -4
  266. package/src/AppSync.ts +0 -1430
  267. package/src/AppSyncClient.ts +0 -375
  268. package/src/commands/CreateApiCacheCommand.ts +0 -95
  269. package/src/commands/CreateApiKeyCommand.ts +0 -96
  270. package/src/commands/CreateDataSourceCommand.ts +0 -95
  271. package/src/commands/CreateFunctionCommand.ts +0 -97
  272. package/src/commands/CreateGraphqlApiCommand.ts +0 -95
  273. package/src/commands/CreateResolverCommand.ts +0 -97
  274. package/src/commands/CreateTypeCommand.ts +0 -95
  275. package/src/commands/DeleteApiCacheCommand.ts +0 -95
  276. package/src/commands/DeleteApiKeyCommand.ts +0 -95
  277. package/src/commands/DeleteDataSourceCommand.ts +0 -95
  278. package/src/commands/DeleteFunctionCommand.ts +0 -95
  279. package/src/commands/DeleteGraphqlApiCommand.ts +0 -95
  280. package/src/commands/DeleteResolverCommand.ts +0 -95
  281. package/src/commands/DeleteTypeCommand.ts +0 -95
  282. package/src/commands/FlushApiCacheCommand.ts +0 -95
  283. package/src/commands/GetApiCacheCommand.ts +0 -95
  284. package/src/commands/GetDataSourceCommand.ts +0 -95
  285. package/src/commands/GetFunctionCommand.ts +0 -95
  286. package/src/commands/GetGraphqlApiCommand.ts +0 -95
  287. package/src/commands/GetIntrospectionSchemaCommand.ts +0 -95
  288. package/src/commands/GetResolverCommand.ts +0 -95
  289. package/src/commands/GetSchemaCreationStatusCommand.ts +0 -95
  290. package/src/commands/GetTypeCommand.ts +0 -91
  291. package/src/commands/ListApiKeysCommand.ts +0 -101
  292. package/src/commands/ListDataSourcesCommand.ts +0 -95
  293. package/src/commands/ListFunctionsCommand.ts +0 -95
  294. package/src/commands/ListGraphqlApisCommand.ts +0 -95
  295. package/src/commands/ListResolversByFunctionCommand.ts +0 -95
  296. package/src/commands/ListResolversCommand.ts +0 -95
  297. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  298. package/src/commands/ListTypesCommand.ts +0 -95
  299. package/src/commands/StartSchemaCreationCommand.ts +0 -97
  300. package/src/commands/TagResourceCommand.ts +0 -95
  301. package/src/commands/UntagResourceCommand.ts +0 -95
  302. package/src/commands/UpdateApiCacheCommand.ts +0 -95
  303. package/src/commands/UpdateApiKeyCommand.ts +0 -95
  304. package/src/commands/UpdateDataSourceCommand.ts +0 -95
  305. package/src/commands/UpdateFunctionCommand.ts +0 -95
  306. package/src/commands/UpdateGraphqlApiCommand.ts +0 -95
  307. package/src/commands/UpdateResolverCommand.ts +0 -95
  308. package/src/commands/UpdateTypeCommand.ts +0 -95
  309. package/src/endpoints.ts +0 -57
  310. package/src/index.ts +0 -44
  311. package/src/models/index.ts +0 -1
  312. package/src/models/models_0.ts +0 -3799
  313. package/src/protocols/Aws_restJson1.ts +0 -6249
  314. package/src/runtimeConfig.browser.ts +0 -41
  315. package/src/runtimeConfig.native.ts +0 -17
  316. package/src/runtimeConfig.shared.ts +0 -17
  317. package/src/runtimeConfig.ts +0 -46
  318. package/tsconfig.es.json +0 -10
  319. package/tsconfig.json +0 -33
  320. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListDataSourcesRequest, ListDataSourcesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListDataSourcesCommand,
18
- serializeAws_restJson1ListDataSourcesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListDataSourcesCommandInput extends ListDataSourcesRequest {}
22
- export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the data sources for a given API.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListDataSourcesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListDataSourcesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListDataSourcesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDataSourcesCommandInput} for command's `input` shape.
37
- * @see {@link ListDataSourcesCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDataSourcesCommand extends $Command<
42
- ListDataSourcesCommandInput,
43
- ListDataSourcesCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDataSourcesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDataSourcesCommandInput, ListDataSourcesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListDataSourcesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDataSourcesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListDataSourcesResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDataSourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListDataSourcesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataSourcesCommandOutput> {
90
- return deserializeAws_restJson1ListDataSourcesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListFunctionsRequest, ListFunctionsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListFunctionsCommand,
18
- serializeAws_restJson1ListFunctionsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListFunctionsCommandInput extends ListFunctionsRequest {}
22
- export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List multiple functions.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListFunctionsCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListFunctionsCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListFunctionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListFunctionsCommandInput} for command's `input` shape.
37
- * @see {@link ListFunctionsCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListFunctionsCommand extends $Command<
42
- ListFunctionsCommandInput,
43
- ListFunctionsCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListFunctionsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListFunctionsCommandInput, ListFunctionsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListFunctionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListFunctionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListFunctionsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListFunctionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListFunctionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFunctionsCommandOutput> {
90
- return deserializeAws_restJson1ListFunctionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListGraphqlApisRequest, ListGraphqlApisResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListGraphqlApisCommand,
18
- serializeAws_restJson1ListGraphqlApisCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListGraphqlApisCommandInput extends ListGraphqlApisRequest {}
22
- export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists your GraphQL APIs.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListGraphqlApisCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListGraphqlApisCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListGraphqlApisCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListGraphqlApisCommandInput} for command's `input` shape.
37
- * @see {@link ListGraphqlApisCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListGraphqlApisCommand extends $Command<
42
- ListGraphqlApisCommandInput,
43
- ListGraphqlApisCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListGraphqlApisCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListGraphqlApisCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListGraphqlApisRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListGraphqlApisResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListGraphqlApisCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListGraphqlApisCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListGraphqlApisCommandOutput> {
90
- return deserializeAws_restJson1ListGraphqlApisCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListResolversByFunctionRequest, ListResolversByFunctionResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListResolversByFunctionCommand,
18
- serializeAws_restJson1ListResolversByFunctionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListResolversByFunctionCommandInput extends ListResolversByFunctionRequest {}
22
- export interface ListResolversByFunctionCommandOutput extends ListResolversByFunctionResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List the resolvers that are associated with a specific function.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListResolversByFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListResolversByFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListResolversByFunctionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListResolversByFunctionCommandInput} for command's `input` shape.
37
- * @see {@link ListResolversByFunctionCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListResolversByFunctionCommand extends $Command<
42
- ListResolversByFunctionCommandInput,
43
- ListResolversByFunctionCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListResolversByFunctionCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListResolversByFunctionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListResolversByFunctionRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListResolversByFunctionResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListResolversByFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListResolversByFunctionCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListResolversByFunctionCommandOutput> {
90
- return deserializeAws_restJson1ListResolversByFunctionCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListResolversRequest, ListResolversResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListResolversCommand,
18
- serializeAws_restJson1ListResolversCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListResolversCommandInput extends ListResolversRequest {}
22
- export interface ListResolversCommandOutput extends ListResolversResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the resolvers for a given API and type.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListResolversCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListResolversCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListResolversCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListResolversCommandInput} for command's `input` shape.
37
- * @see {@link ListResolversCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListResolversCommand extends $Command<
42
- ListResolversCommandInput,
43
- ListResolversCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListResolversCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListResolversCommandInput, ListResolversCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListResolversCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListResolversRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListResolversResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListResolversCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListResolversCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListResolversCommandOutput> {
90
- return deserializeAws_restJson1ListResolversCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTagsForResourceCommand,
18
- serializeAws_restJson1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the tags for a resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListTagsForResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
37
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTagsForResourceCommand extends $Command<
42
- ListTagsForResourceCommandInput,
43
- ListTagsForResourceCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTagsForResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListTagsForResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
90
- return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
15
- import { ListTypesRequest, ListTypesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTypesCommand,
18
- serializeAws_restJson1ListTypesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTypesCommandInput extends ListTypesRequest {}
22
- export interface ListTypesCommandOutput extends ListTypesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the types for a given API.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppSyncClient, ListTypesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
30
- * // const { AppSyncClient, ListTypesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
31
- * const client = new AppSyncClient(config);
32
- * const command = new ListTypesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTypesCommandInput} for command's `input` shape.
37
- * @see {@link ListTypesCommandOutput} for command's `response` shape.
38
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTypesCommand extends $Command<
42
- ListTypesCommandInput,
43
- ListTypesCommandOutput,
44
- AppSyncClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTypesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppSyncClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListTypesCommandInput, ListTypesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppSyncClient";
69
- const commandName = "ListTypesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTypesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTypesResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListTypesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListTypesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTypesCommandOutput> {
90
- return deserializeAws_restJson1ListTypesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }