@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 { DeleteJobRequest, DeleteJobResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteJobCommand,
5
- serializeAws_restJson1DeleteJobCommand,
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 DeleteJobCommandInput extends DeleteJobRequest {}
21
- export interface DeleteJobCommandOutput extends DeleteJobResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Deletes a job for a branch 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, DeleteJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, DeleteJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new DeleteJobCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteJobCommandInput} for command's `input` shape.
36
- * @see {@link DeleteJobCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteJobCommand extends $Command<
41
- DeleteJobCommandInput,
42
- DeleteJobCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteJobCommandInput) {
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<DeleteJobCommandInput, DeleteJobCommandOutput> {
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 = "DeleteJobCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteJobRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteJobResult.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: DeleteJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteJobCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteJobCommandOutput> {
89
- return deserializeAws_restJson1DeleteJobCommand(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 { DeleteWebhookRequest, DeleteWebhookResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteWebhookCommand,
5
- serializeAws_restJson1DeleteWebhookCommand,
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 DeleteWebhookCommandInput extends DeleteWebhookRequest {}
21
- export interface DeleteWebhookCommandOutput extends DeleteWebhookResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Deletes a webhook. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AmplifyClient, DeleteWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, DeleteWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new DeleteWebhookCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteWebhookCommandInput} for command's `input` shape.
36
- * @see {@link DeleteWebhookCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteWebhookCommand extends $Command<
41
- DeleteWebhookCommandInput,
42
- DeleteWebhookCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteWebhookCommandInput) {
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<DeleteWebhookCommandInput, DeleteWebhookCommandOutput> {
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 = "DeleteWebhookCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteWebhookRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteWebhookResult.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: DeleteWebhookCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteWebhookCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteWebhookCommandOutput> {
89
- return deserializeAws_restJson1DeleteWebhookCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { GenerateAccessLogsRequest, GenerateAccessLogsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GenerateAccessLogsCommand,
5
- serializeAws_restJson1GenerateAccessLogsCommand,
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 GenerateAccessLogsCommandInput extends GenerateAccessLogsRequest {}
21
- export interface GenerateAccessLogsCommandOutput extends GenerateAccessLogsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns the website access logs for a specific time range using a presigned URL.
25
- * </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AmplifyClient, GenerateAccessLogsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
30
- * // const { AmplifyClient, GenerateAccessLogsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
31
- * const client = new AmplifyClient(config);
32
- * const command = new GenerateAccessLogsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GenerateAccessLogsCommandInput} for command's `input` shape.
37
- * @see {@link GenerateAccessLogsCommandOutput} for command's `response` shape.
38
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GenerateAccessLogsCommand extends $Command<
42
- GenerateAccessLogsCommandInput,
43
- GenerateAccessLogsCommandOutput,
44
- AmplifyClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GenerateAccessLogsCommandInput) {
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: AmplifyClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GenerateAccessLogsCommandInput, GenerateAccessLogsCommandOutput> {
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 = "AmplifyClient";
69
- const commandName = "GenerateAccessLogsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GenerateAccessLogsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GenerateAccessLogsResult.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: GenerateAccessLogsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GenerateAccessLogsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GenerateAccessLogsCommandOutput> {
90
- return deserializeAws_restJson1GenerateAccessLogsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,87 +0,0 @@
1
- import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
2
- import { GetAppRequest, GetAppResult } from "../models/models_0";
3
- import { deserializeAws_restJson1GetAppCommand, serializeAws_restJson1GetAppCommand } 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 GetAppCommandInput extends GetAppRequest {}
18
- export interface GetAppCommandOutput extends GetAppResult, __MetadataBearer {}
19
-
20
- /**
21
- * <p> Returns an existing Amplify app by appID. </p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { AmplifyClient, GetAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
26
- * // const { AmplifyClient, GetAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
27
- * const client = new AmplifyClient(config);
28
- * const command = new GetAppCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetAppCommandInput} for command's `input` shape.
33
- * @see {@link GetAppCommandOutput} for command's `response` shape.
34
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetAppCommand extends $Command<GetAppCommandInput, GetAppCommandOutput, AmplifyClientResolvedConfig> {
38
- // Start section: command_properties
39
- // End section: command_properties
40
-
41
- constructor(readonly input: GetAppCommandInput) {
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<GetAppCommandInput, GetAppCommandOutput> {
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 = "GetAppCommand";
62
- const handlerExecutionContext: HandlerExecutionContext = {
63
- logger,
64
- clientName,
65
- commandName,
66
- inputFilterSensitiveLog: GetAppRequest.filterSensitiveLog,
67
- outputFilterSensitiveLog: GetAppResult.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: GetAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
78
- return serializeAws_restJson1GetAppCommand(input, context);
79
- }
80
-
81
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAppCommandOutput> {
82
- return deserializeAws_restJson1GetAppCommand(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 { GetArtifactUrlRequest, GetArtifactUrlResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetArtifactUrlCommand,
5
- serializeAws_restJson1GetArtifactUrlCommand,
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 GetArtifactUrlCommandInput extends GetArtifactUrlRequest {}
21
- export interface GetArtifactUrlCommandOutput extends GetArtifactUrlResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns the artifact info that corresponds to an artifact 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, GetArtifactUrlCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, GetArtifactUrlCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new GetArtifactUrlCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetArtifactUrlCommandInput} for command's `input` shape.
36
- * @see {@link GetArtifactUrlCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetArtifactUrlCommand extends $Command<
41
- GetArtifactUrlCommandInput,
42
- GetArtifactUrlCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetArtifactUrlCommandInput) {
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<GetArtifactUrlCommandInput, GetArtifactUrlCommandOutput> {
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 = "GetArtifactUrlCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetArtifactUrlRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetArtifactUrlResult.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: GetArtifactUrlCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetArtifactUrlCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetArtifactUrlCommandOutput> {
89
- return deserializeAws_restJson1GetArtifactUrlCommand(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 { GetBackendEnvironmentRequest, GetBackendEnvironmentResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetBackendEnvironmentCommand,
5
- serializeAws_restJson1GetBackendEnvironmentCommand,
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 GetBackendEnvironmentCommandInput extends GetBackendEnvironmentRequest {}
21
- export interface GetBackendEnvironmentCommandOutput extends GetBackendEnvironmentResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns a backend environment 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, GetBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, GetBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new GetBackendEnvironmentCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetBackendEnvironmentCommandInput} for command's `input` shape.
36
- * @see {@link GetBackendEnvironmentCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetBackendEnvironmentCommand extends $Command<
41
- GetBackendEnvironmentCommandInput,
42
- GetBackendEnvironmentCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetBackendEnvironmentCommandInput) {
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<GetBackendEnvironmentCommandInput, GetBackendEnvironmentCommandOutput> {
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 = "GetBackendEnvironmentCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetBackendEnvironmentRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetBackendEnvironmentResult.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: GetBackendEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetBackendEnvironmentCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBackendEnvironmentCommandOutput> {
89
- return deserializeAws_restJson1GetBackendEnvironmentCommand(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 { GetBranchRequest, GetBranchResult } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetBranchCommand,
5
- serializeAws_restJson1GetBranchCommand,
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 GetBranchCommandInput extends GetBranchRequest {}
21
- export interface GetBranchCommandOutput extends GetBranchResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns a branch 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, GetBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
29
- * // const { AmplifyClient, GetBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
30
- * const client = new AmplifyClient(config);
31
- * const command = new GetBranchCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetBranchCommandInput} for command's `input` shape.
36
- * @see {@link GetBranchCommandOutput} for command's `response` shape.
37
- * @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetBranchCommand extends $Command<
41
- GetBranchCommandInput,
42
- GetBranchCommandOutput,
43
- AmplifyClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetBranchCommandInput) {
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<GetBranchCommandInput, GetBranchCommandOutput> {
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 = "GetBranchCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetBranchRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetBranchResult.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: GetBranchCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetBranchCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBranchCommandOutput> {
89
- return deserializeAws_restJson1GetBranchCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }