@aws-sdk/client-amplify 3.34.0 → 3.37.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 +47 -0
  2. package/{dist/cjs → dist-cjs}/Amplify.js +0 -9
  3. package/dist-cjs/AmplifyClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateAppCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateBackendEnvironmentCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateBranchCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentCommand.js +2 -28
  8. package/{dist/cjs → dist-cjs}/commands/CreateDomainAssociationCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/CreateWebhookCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DeleteAppCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteBackendEnvironmentCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DeleteBranchCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DeleteDomainAssociationCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeleteJobCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DeleteWebhookCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/GenerateAccessLogsCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/GetAppCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/GetArtifactUrlCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/GetBackendEnvironmentCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/GetBranchCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/GetDomainAssociationCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetWebhookCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/ListAppsCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/ListArtifactsCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/ListBackendEnvironmentsCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/ListBranchesCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/ListDomainAssociationsCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ListWebhooksCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/StartDeploymentCommand.js +2 -28
  33. package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/StopJobCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  36. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/UpdateAppCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/UpdateBranchCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/UpdateDomainAssociationCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/UpdateWebhookCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  42. package/{dist/cjs → dist-cjs}/index.js +0 -1
  43. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  44. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -286
  45. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  48. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  49. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  50. package/{dist/es → dist-es}/Amplify.js +0 -1
  51. package/{dist/es → dist-es}/AmplifyClient.js +1 -2
  52. package/{dist/es → dist-es}/commands/CreateAppCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateBackendEnvironmentCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateBranchCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateDeploymentCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateDomainAssociationCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateWebhookCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteAppCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeleteBackendEnvironmentCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DeleteBranchCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DeleteDomainAssociationCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DeleteJobCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DeleteWebhookCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/GenerateAccessLogsCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/GetAppCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/GetArtifactUrlCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/GetBackendEnvironmentCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/GetBranchCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/GetDomainAssociationCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/GetJobCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetWebhookCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/ListAppsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/ListArtifactsCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/ListBackendEnvironmentsCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ListBranchesCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/ListDomainAssociationsCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/ListJobsCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/ListWebhooksCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/StartDeploymentCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/StartJobCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/StopJobCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/UpdateAppCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/UpdateBranchCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/UpdateDomainAssociationCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/UpdateWebhookCommand.js +2 -3
  89. package/{dist/es → dist-es}/endpoints.js +1 -2
  90. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  91. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  92. package/{dist/es → dist-es}/models/models_0.js +0 -1
  93. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  94. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  95. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  96. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  97. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  98. package/{dist/types → dist-types}/Amplify.d.ts +1 -1
  99. package/{dist/types → dist-types}/AmplifyClient.d.ts +8 -8
  100. package/{dist/types → dist-types}/commands/CreateAppCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/CreateBackendEnvironmentCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/CreateBranchCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/CreateDeploymentCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/CreateDomainAssociationCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/CreateWebhookCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DeleteAppCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DeleteBackendEnvironmentCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DeleteBranchCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DeleteDomainAssociationCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DeleteJobCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DeleteWebhookCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/GenerateAccessLogsCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/GetAppCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetArtifactUrlCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetBackendEnvironmentCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/GetBranchCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/GetDomainAssociationCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/GetWebhookCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/ListAppsCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/ListArtifactsCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/ListBackendEnvironmentsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/ListBranchesCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/ListDomainAssociationsCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/ListWebhooksCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/StartDeploymentCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/StopJobCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/UpdateAppCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/UpdateBranchCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/UpdateDomainAssociationCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/UpdateWebhookCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  138. package/{index.ts → dist-types/index.d.ts} +0 -0
  139. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  140. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  141. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  142. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  143. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  144. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  145. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  146. package/{dist/types → dist-types}/ts3.4/Amplify.d.ts +39 -124
  147. package/{dist/types → dist-types}/ts3.4/AmplifyClient.d.ts +32 -102
  148. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +17 -0
  149. package/{dist/types → dist-types}/ts3.4/commands/CreateBackendEnvironmentCommand.d.ts +4 -22
  150. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +17 -0
  155. package/{dist/types → dist-types}/ts3.4/commands/DeleteBackendEnvironmentCommand.d.ts +4 -22
  156. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +17 -0
  157. package/{dist/types → dist-types}/ts3.4/commands/DeleteDomainAssociationCommand.d.ts +4 -22
  158. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/DeleteWebhookCommand.d.ts +4 -22
  160. package/dist-types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetArtifactUrlCommand.d.ts +17 -0
  163. package/{dist/types → dist-types}/ts3.4/commands/GetBackendEnvironmentCommand.d.ts +4 -22
  164. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/GetDomainAssociationCommand.d.ts +4 -22
  166. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/GetWebhookCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +17 -0
  170. package/{dist/types → dist-types}/ts3.4/commands/ListBackendEnvironmentsCommand.d.ts +4 -22
  171. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +17 -0
  172. package/{dist/types → dist-types}/ts3.4/commands/ListDomainAssociationsCommand.d.ts +4 -22
  173. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +17 -0
  174. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  175. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/UpdateBranchCommand.d.ts +17 -0
  183. package/{dist/types → dist-types}/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +4 -22
  184. package/{dist/types → dist-types}/ts3.4/commands/UpdateWebhookCommand.d.ts +4 -22
  185. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  186. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  187. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  188. package/dist-types/ts3.4/models/models_0.d.ts +1416 -0
  189. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  191. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  192. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  193. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  194. package/package.json +45 -42
  195. package/Amplify.ts +0 -1240
  196. package/AmplifyClient.ts +0 -381
  197. package/commands/CreateAppCommand.ts +0 -94
  198. package/commands/CreateBackendEnvironmentCommand.ts +0 -94
  199. package/commands/CreateBranchCommand.ts +0 -94
  200. package/commands/CreateDeploymentCommand.ts +0 -95
  201. package/commands/CreateDomainAssociationCommand.ts +0 -95
  202. package/commands/CreateWebhookCommand.ts +0 -94
  203. package/commands/DeleteAppCommand.ts +0 -94
  204. package/commands/DeleteBackendEnvironmentCommand.ts +0 -94
  205. package/commands/DeleteBranchCommand.ts +0 -94
  206. package/commands/DeleteDomainAssociationCommand.ts +0 -94
  207. package/commands/DeleteJobCommand.ts +0 -94
  208. package/commands/DeleteWebhookCommand.ts +0 -94
  209. package/commands/GenerateAccessLogsCommand.ts +0 -95
  210. package/commands/GetAppCommand.ts +0 -87
  211. package/commands/GetArtifactUrlCommand.ts +0 -94
  212. package/commands/GetBackendEnvironmentCommand.ts +0 -94
  213. package/commands/GetBranchCommand.ts +0 -94
  214. package/commands/GetDomainAssociationCommand.ts +0 -94
  215. package/commands/GetJobCommand.ts +0 -87
  216. package/commands/GetWebhookCommand.ts +0 -94
  217. package/commands/ListAppsCommand.ts +0 -94
  218. package/commands/ListArtifactsCommand.ts +0 -94
  219. package/commands/ListBackendEnvironmentsCommand.ts +0 -94
  220. package/commands/ListBranchesCommand.ts +0 -94
  221. package/commands/ListDomainAssociationsCommand.ts +0 -94
  222. package/commands/ListJobsCommand.ts +0 -94
  223. package/commands/ListTagsForResourceCommand.ts +0 -94
  224. package/commands/ListWebhooksCommand.ts +0 -94
  225. package/commands/StartDeploymentCommand.ts +0 -95
  226. package/commands/StartJobCommand.ts +0 -94
  227. package/commands/StopJobCommand.ts +0 -90
  228. package/commands/TagResourceCommand.ts +0 -94
  229. package/commands/UntagResourceCommand.ts +0 -94
  230. package/commands/UpdateAppCommand.ts +0 -94
  231. package/commands/UpdateBranchCommand.ts +0 -94
  232. package/commands/UpdateDomainAssociationCommand.ts +0 -94
  233. package/commands/UpdateWebhookCommand.ts +0 -94
  234. package/dist/cjs/Amplify.js.map +0 -1
  235. package/dist/cjs/AmplifyClient.js +0 -49
  236. package/dist/cjs/AmplifyClient.js.map +0 -1
  237. package/dist/cjs/commands/CreateAppCommand.js.map +0 -1
  238. package/dist/cjs/commands/CreateBackendEnvironmentCommand.js.map +0 -1
  239. package/dist/cjs/commands/CreateBranchCommand.js.map +0 -1
  240. package/dist/cjs/commands/CreateDeploymentCommand.js.map +0 -1
  241. package/dist/cjs/commands/CreateDomainAssociationCommand.js.map +0 -1
  242. package/dist/cjs/commands/CreateWebhookCommand.js.map +0 -1
  243. package/dist/cjs/commands/DeleteAppCommand.js.map +0 -1
  244. package/dist/cjs/commands/DeleteBackendEnvironmentCommand.js.map +0 -1
  245. package/dist/cjs/commands/DeleteBranchCommand.js.map +0 -1
  246. package/dist/cjs/commands/DeleteDomainAssociationCommand.js.map +0 -1
  247. package/dist/cjs/commands/DeleteJobCommand.js.map +0 -1
  248. package/dist/cjs/commands/DeleteWebhookCommand.js.map +0 -1
  249. package/dist/cjs/commands/GenerateAccessLogsCommand.js.map +0 -1
  250. package/dist/cjs/commands/GetAppCommand.js.map +0 -1
  251. package/dist/cjs/commands/GetArtifactUrlCommand.js.map +0 -1
  252. package/dist/cjs/commands/GetBackendEnvironmentCommand.js.map +0 -1
  253. package/dist/cjs/commands/GetBranchCommand.js.map +0 -1
  254. package/dist/cjs/commands/GetDomainAssociationCommand.js.map +0 -1
  255. package/dist/cjs/commands/GetJobCommand.js.map +0 -1
  256. package/dist/cjs/commands/GetWebhookCommand.js.map +0 -1
  257. package/dist/cjs/commands/ListAppsCommand.js.map +0 -1
  258. package/dist/cjs/commands/ListArtifactsCommand.js.map +0 -1
  259. package/dist/cjs/commands/ListBackendEnvironmentsCommand.js.map +0 -1
  260. package/dist/cjs/commands/ListBranchesCommand.js.map +0 -1
  261. package/dist/cjs/commands/ListDomainAssociationsCommand.js.map +0 -1
  262. package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
  263. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  264. package/dist/cjs/commands/ListWebhooksCommand.js.map +0 -1
  265. package/dist/cjs/commands/StartDeploymentCommand.js.map +0 -1
  266. package/dist/cjs/commands/StartJobCommand.js.map +0 -1
  267. package/dist/cjs/commands/StopJobCommand.js.map +0 -1
  268. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  269. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  270. package/dist/cjs/commands/UpdateAppCommand.js.map +0 -1
  271. package/dist/cjs/commands/UpdateBranchCommand.js.map +0 -1
  272. package/dist/cjs/commands/UpdateDomainAssociationCommand.js.map +0 -1
  273. package/dist/cjs/commands/UpdateWebhookCommand.js.map +0 -1
  274. package/dist/cjs/endpoints.js.map +0 -1
  275. package/dist/cjs/index.js.map +0 -1
  276. package/dist/cjs/models/index.js.map +0 -1
  277. package/dist/cjs/models/models_0.js.map +0 -1
  278. package/dist/cjs/package.json +0 -91
  279. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  280. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  281. package/dist/cjs/runtimeConfig.js.map +0 -1
  282. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  283. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  284. package/dist/es/Amplify.js.map +0 -1
  285. package/dist/es/AmplifyClient.js.map +0 -1
  286. package/dist/es/commands/CreateAppCommand.js.map +0 -1
  287. package/dist/es/commands/CreateBackendEnvironmentCommand.js.map +0 -1
  288. package/dist/es/commands/CreateBranchCommand.js.map +0 -1
  289. package/dist/es/commands/CreateDeploymentCommand.js.map +0 -1
  290. package/dist/es/commands/CreateDomainAssociationCommand.js.map +0 -1
  291. package/dist/es/commands/CreateWebhookCommand.js.map +0 -1
  292. package/dist/es/commands/DeleteAppCommand.js.map +0 -1
  293. package/dist/es/commands/DeleteBackendEnvironmentCommand.js.map +0 -1
  294. package/dist/es/commands/DeleteBranchCommand.js.map +0 -1
  295. package/dist/es/commands/DeleteDomainAssociationCommand.js.map +0 -1
  296. package/dist/es/commands/DeleteJobCommand.js.map +0 -1
  297. package/dist/es/commands/DeleteWebhookCommand.js.map +0 -1
  298. package/dist/es/commands/GenerateAccessLogsCommand.js.map +0 -1
  299. package/dist/es/commands/GetAppCommand.js.map +0 -1
  300. package/dist/es/commands/GetArtifactUrlCommand.js.map +0 -1
  301. package/dist/es/commands/GetBackendEnvironmentCommand.js.map +0 -1
  302. package/dist/es/commands/GetBranchCommand.js.map +0 -1
  303. package/dist/es/commands/GetDomainAssociationCommand.js.map +0 -1
  304. package/dist/es/commands/GetJobCommand.js.map +0 -1
  305. package/dist/es/commands/GetWebhookCommand.js.map +0 -1
  306. package/dist/es/commands/ListAppsCommand.js.map +0 -1
  307. package/dist/es/commands/ListArtifactsCommand.js.map +0 -1
  308. package/dist/es/commands/ListBackendEnvironmentsCommand.js.map +0 -1
  309. package/dist/es/commands/ListBranchesCommand.js.map +0 -1
  310. package/dist/es/commands/ListDomainAssociationsCommand.js.map +0 -1
  311. package/dist/es/commands/ListJobsCommand.js.map +0 -1
  312. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  313. package/dist/es/commands/ListWebhooksCommand.js.map +0 -1
  314. package/dist/es/commands/StartDeploymentCommand.js.map +0 -1
  315. package/dist/es/commands/StartJobCommand.js.map +0 -1
  316. package/dist/es/commands/StopJobCommand.js.map +0 -1
  317. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  318. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  319. package/dist/es/commands/UpdateAppCommand.js.map +0 -1
  320. package/dist/es/commands/UpdateBranchCommand.js.map +0 -1
  321. package/dist/es/commands/UpdateDomainAssociationCommand.js.map +0 -1
  322. package/dist/es/commands/UpdateWebhookCommand.js.map +0 -1
  323. package/dist/es/endpoints.js.map +0 -1
  324. package/dist/es/index.js +0 -41
  325. package/dist/es/index.js.map +0 -1
  326. package/dist/es/models/index.js +0 -2
  327. package/dist/es/models/index.js.map +0 -1
  328. package/dist/es/models/models_0.js.map +0 -1
  329. package/dist/es/package.json +0 -91
  330. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  331. package/dist/es/runtimeConfig.browser.js.map +0 -1
  332. package/dist/es/runtimeConfig.js.map +0 -1
  333. package/dist/es/runtimeConfig.native.js.map +0 -1
  334. package/dist/es/runtimeConfig.shared.js.map +0 -1
  335. package/dist/types/ts3.4/commands/CreateAppCommand.d.ts +0 -35
  336. package/dist/types/ts3.4/commands/CreateBranchCommand.d.ts +0 -35
  337. package/dist/types/ts3.4/commands/CreateDeploymentCommand.d.ts +0 -36
  338. package/dist/types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +0 -36
  339. package/dist/types/ts3.4/commands/CreateWebhookCommand.d.ts +0 -35
  340. package/dist/types/ts3.4/commands/DeleteAppCommand.d.ts +0 -35
  341. package/dist/types/ts3.4/commands/DeleteBranchCommand.d.ts +0 -35
  342. package/dist/types/ts3.4/commands/DeleteJobCommand.d.ts +0 -35
  343. package/dist/types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +0 -36
  344. package/dist/types/ts3.4/commands/GetAppCommand.d.ts +0 -35
  345. package/dist/types/ts3.4/commands/GetArtifactUrlCommand.d.ts +0 -35
  346. package/dist/types/ts3.4/commands/GetBranchCommand.d.ts +0 -35
  347. package/dist/types/ts3.4/commands/GetJobCommand.d.ts +0 -35
  348. package/dist/types/ts3.4/commands/GetWebhookCommand.d.ts +0 -35
  349. package/dist/types/ts3.4/commands/ListAppsCommand.d.ts +0 -35
  350. package/dist/types/ts3.4/commands/ListArtifactsCommand.d.ts +0 -35
  351. package/dist/types/ts3.4/commands/ListBranchesCommand.d.ts +0 -35
  352. package/dist/types/ts3.4/commands/ListJobsCommand.d.ts +0 -35
  353. package/dist/types/ts3.4/commands/ListWebhooksCommand.d.ts +0 -35
  354. package/dist/types/ts3.4/commands/StartDeploymentCommand.d.ts +0 -36
  355. package/dist/types/ts3.4/commands/StartJobCommand.d.ts +0 -35
  356. package/dist/types/ts3.4/commands/StopJobCommand.d.ts +0 -35
  357. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  358. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  359. package/dist/types/ts3.4/commands/UpdateAppCommand.d.ts +0 -35
  360. package/dist/types/ts3.4/commands/UpdateBranchCommand.d.ts +0 -35
  361. package/dist/types/ts3.4/models/models_0.d.ts +0 -2553
  362. package/endpoints.ts +0 -57
  363. package/jest.config.js +0 -4
  364. package/models/models_0.ts +0 -3182
  365. package/protocols/Aws_restJson1.ts +0 -5505
  366. package/runtimeConfig.browser.ts +0 -40
  367. package/runtimeConfig.native.ts +0 -16
  368. package/runtimeConfig.shared.ts +0 -16
  369. package/runtimeConfig.ts +0 -45
  370. package/tsconfig.es.json +0 -10
  371. package/tsconfig.json +0 -31
  372. package/tsconfig.types.json +0 -8
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { GetDomainAssociationRequest, GetDomainAssociationResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetDomainAssociationCommand,
5
- serializeAws_restJson1GetDomainAssociationCommand,
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 GetDomainAssociationCommandInput extends GetDomainAssociationRequest {}
21
- export interface GetDomainAssociationCommandOutput extends GetDomainAssociationResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns the domain information for an Amplify app. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, GetDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, GetDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new GetDomainAssociationCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetDomainAssociationCommandInput} for command's `input` shape.
36
- * @see {@link GetDomainAssociationCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetDomainAssociationCommand extends $Command<
41
- GetDomainAssociationCommandInput,
42
- GetDomainAssociationCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetDomainAssociationCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetDomainAssociationCommandInput, GetDomainAssociationCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "GetDomainAssociationCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetDomainAssociationRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetDomainAssociationResult.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: GetDomainAssociationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetDomainAssociationCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDomainAssociationCommandOutput> {
89
- return deserializeAws_restJson1GetDomainAssociationCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,87 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { GetJobRequest, GetJobResult } from "../models/models_0";
3
- import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetJobCommandInput extends GetJobRequest {}
18
- export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {}
19
-
20
- /**
21
- * <p> Returns a job for a branch of an Amplify app. </p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { AmplifyClient, GetJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
26
- * // const { AmplifyClient, GetJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
27
- * const client = new AmplifyClient(config);
28
- * const command = new GetJobCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetJobCommandInput} for command's `input` shape.
33
- * @see {@link GetJobCommandOutput} for command's `response` shape.
34
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetJobCommand extends $Command<GetJobCommandInput, GetJobCommandOutput, AmplifyClientResolvedConfig> {
38
- // Start section: command_properties
39
- // End section: command_properties
40
-
41
- constructor(readonly input: GetJobCommandInput) {
42
- // Start section: command_constructor
43
- super();
44
- // End section: command_constructor
45
- }
46
-
47
- /**
48
- * @internal
49
- */
50
- resolveMiddleware(
51
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
52
- configuration: AmplifyClientResolvedConfig,
53
- options?: __HttpHandlerOptions
54
- ): Handler<GetJobCommandInput, GetJobCommandOutput> {
55
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
56
-
57
- const stack = clientStack.concat(this.middlewareStack);
58
-
59
- const { logger } = configuration;
60
- const clientName = "AmplifyClient";
61
- const commandName = "GetJobCommand";
62
- const handlerExecutionContext: HandlerExecutionContext = {
63
- logger,
64
- clientName,
65
- commandName,
66
- inputFilterSensitiveLog: GetJobRequest.filterSensitiveLog,
67
- outputFilterSensitiveLog: GetJobResult.filterSensitiveLog,
68
- };
69
- const { requestHandler } = configuration;
70
- return stack.resolve(
71
- (request: FinalizeHandlerArguments<any>) =>
72
- requestHandler.handle(request.request as __HttpRequest, options || {}),
73
- handlerExecutionContext
74
- );
75
- }
76
-
77
- private serialize(input: GetJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
78
- return serializeAws_restJson1GetJobCommand(input, context);
79
- }
80
-
81
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetJobCommandOutput> {
82
- return deserializeAws_restJson1GetJobCommand(output, context);
83
- }
84
-
85
- // Start section: command_body_extra
86
- // End section: command_body_extra
87
- }
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { GetWebhookRequest, GetWebhookResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetWebhookCommand,
5
- serializeAws_restJson1GetWebhookCommand,
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 GetWebhookCommandInput extends GetWebhookRequest {}
21
- export interface GetWebhookCommandOutput extends GetWebhookResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns the webhook information that corresponds to a specified webhook ID. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, GetWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, GetWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new GetWebhookCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetWebhookCommandInput} for command's `input` shape.
36
- * @see {@link GetWebhookCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetWebhookCommand extends $Command<
41
- GetWebhookCommandInput,
42
- GetWebhookCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetWebhookCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetWebhookCommandInput, GetWebhookCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "GetWebhookCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetWebhookRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetWebhookResult.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: GetWebhookCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetWebhookCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetWebhookCommandOutput> {
89
- return deserializeAws_restJson1GetWebhookCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { ListAppsRequest, ListAppsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListAppsCommand,
5
- serializeAws_restJson1ListAppsCommand,
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 ListAppsCommandInput extends ListAppsRequest {}
21
- export interface ListAppsCommandOutput extends ListAppsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns a list of the existing Amplify apps. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, ListAppsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, ListAppsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new ListAppsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListAppsCommandInput} for command's `input` shape.
36
- * @see {@link ListAppsCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListAppsCommand extends $Command<
41
- ListAppsCommandInput,
42
- ListAppsCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListAppsCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListAppsCommandInput, ListAppsCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "ListAppsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListAppsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListAppsResult.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: ListAppsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListAppsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAppsCommandOutput> {
89
- return deserializeAws_restJson1ListAppsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { ListArtifactsRequest, ListArtifactsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListArtifactsCommand,
5
- serializeAws_restJson1ListArtifactsCommand,
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 ListArtifactsCommandInput extends ListArtifactsRequest {}
21
- export interface ListArtifactsCommandOutput extends ListArtifactsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns a list of artifacts for a specified app, branch, and job. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, ListArtifactsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, ListArtifactsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new ListArtifactsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListArtifactsCommandInput} for command's `input` shape.
36
- * @see {@link ListArtifactsCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListArtifactsCommand extends $Command<
41
- ListArtifactsCommandInput,
42
- ListArtifactsCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListArtifactsCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListArtifactsCommandInput, ListArtifactsCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "ListArtifactsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListArtifactsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListArtifactsResult.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: ListArtifactsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListArtifactsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListArtifactsCommandOutput> {
89
- return deserializeAws_restJson1ListArtifactsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { ListBackendEnvironmentsRequest, ListBackendEnvironmentsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListBackendEnvironmentsCommand,
5
- serializeAws_restJson1ListBackendEnvironmentsCommand,
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 ListBackendEnvironmentsCommandInput extends ListBackendEnvironmentsRequest {}
21
- export interface ListBackendEnvironmentsCommandOutput extends ListBackendEnvironmentsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Lists the backend environments for an Amplify app. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, ListBackendEnvironmentsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, ListBackendEnvironmentsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new ListBackendEnvironmentsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListBackendEnvironmentsCommandInput} for command's `input` shape.
36
- * @see {@link ListBackendEnvironmentsCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListBackendEnvironmentsCommand extends $Command<
41
- ListBackendEnvironmentsCommandInput,
42
- ListBackendEnvironmentsCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListBackendEnvironmentsCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListBackendEnvironmentsCommandInput, ListBackendEnvironmentsCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "ListBackendEnvironmentsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListBackendEnvironmentsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListBackendEnvironmentsResult.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: ListBackendEnvironmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListBackendEnvironmentsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListBackendEnvironmentsCommandOutput> {
89
- return deserializeAws_restJson1ListBackendEnvironmentsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { ListBranchesRequest, ListBranchesResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListBranchesCommand,
5
- serializeAws_restJson1ListBranchesCommand,
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 ListBranchesCommandInput extends ListBranchesRequest {}
21
- export interface ListBranchesCommandOutput extends ListBranchesResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Lists the branches of an Amplify app. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, ListBranchesCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, ListBranchesCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new ListBranchesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListBranchesCommandInput} for command's `input` shape.
36
- * @see {@link ListBranchesCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListBranchesCommand extends $Command<
41
- ListBranchesCommandInput,
42
- ListBranchesCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListBranchesCommandInput) {
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: AmplifyClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListBranchesCommandInput, ListBranchesCommandOutput> {
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 = "AmplifyClient";
68
- const commandName = "ListBranchesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListBranchesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListBranchesResult.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: ListBranchesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1ListBranchesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListBranchesCommandOutput> {
89
- return deserializeAws_restJson1ListBranchesCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }