@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,2553 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p> A request contains unexpected data. </p>
4
- */
5
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
6
- name: "BadRequestException";
7
- $fault: "client";
8
- message?: string;
9
- }
10
- export declare namespace BadRequestException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: BadRequestException) => any;
15
- }
16
- export declare enum Stage {
17
- BETA = "BETA",
18
- DEVELOPMENT = "DEVELOPMENT",
19
- EXPERIMENTAL = "EXPERIMENTAL",
20
- PRODUCTION = "PRODUCTION",
21
- PULL_REQUEST = "PULL_REQUEST"
22
- }
23
- /**
24
- * <p> Describes the automated branch creation configuration. </p>
25
- */
26
- export interface AutoBranchCreationConfig {
27
- /**
28
- * <p> Describes the current stage for the autocreated branch. </p>
29
- */
30
- stage?: Stage | string;
31
- /**
32
- * <p> The framework for the autocreated branch. </p>
33
- */
34
- framework?: string;
35
- /**
36
- * <p> Enables auto building for the autocreated branch. </p>
37
- */
38
- enableAutoBuild?: boolean;
39
- /**
40
- * <p> The environment variables for the autocreated branch. </p>
41
- */
42
- environmentVariables?: {
43
- [key: string]: string;
44
- };
45
- /**
46
- * <p> The basic authorization credentials for the autocreated branch. </p>
47
- */
48
- basicAuthCredentials?: string;
49
- /**
50
- * <p> Enables basic authorization for the autocreated branch. </p>
51
- */
52
- enableBasicAuth?: boolean;
53
- /**
54
- * <p>Enables performance mode for the branch.</p>
55
- * <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
56
- */
57
- enablePerformanceMode?: boolean;
58
- /**
59
- * <p> The build specification (build spec) for the autocreated branch. </p>
60
- */
61
- buildSpec?: string;
62
- /**
63
- * <p> Enables pull request previews for the autocreated branch. </p>
64
- */
65
- enablePullRequestPreview?: boolean;
66
- /**
67
- * <p> The Amplify environment name for the pull request. </p>
68
- */
69
- pullRequestEnvironmentName?: string;
70
- }
71
- export declare namespace AutoBranchCreationConfig {
72
- /**
73
- * @internal
74
- */
75
- const filterSensitiveLog: (obj: AutoBranchCreationConfig) => any;
76
- }
77
- /**
78
- * <p> Describes a custom rewrite or redirect rule. </p>
79
- */
80
- export interface CustomRule {
81
- /**
82
- * <p> The source pattern for a URL rewrite or redirect rule. </p>
83
- */
84
- source: string | undefined;
85
- /**
86
- * <p> The target pattern for a URL rewrite or redirect rule. </p>
87
- */
88
- target: string | undefined;
89
- /**
90
- * <p> The status code for a URL rewrite or redirect rule. </p>
91
- *
92
- * <dl>
93
- * <dt>200</dt>
94
- * <dd>
95
- * <p>Represents a 200 rewrite rule.</p>
96
- * </dd>
97
- * <dt>301</dt>
98
- * <dd>
99
- * <p>Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. </p>
100
- * </dd>
101
- * <dt>302</dt>
102
- * <dd>
103
- * <p>Represents a 302 temporary redirect rule.</p>
104
- * </dd>
105
- * <dt>404</dt>
106
- * <dd>
107
- * <p>Represents a 404 redirect rule.</p>
108
- * </dd>
109
- * <dt>404-200</dt>
110
- * <dd>
111
- * <p>Represents a 404 rewrite rule.</p>
112
- * </dd>
113
- * </dl>
114
- */
115
- status?: string;
116
- /**
117
- * <p> The condition for a URL rewrite or redirect rule, such as a country code. </p>
118
- */
119
- condition?: string;
120
- }
121
- export declare namespace CustomRule {
122
- /**
123
- * @internal
124
- */
125
- const filterSensitiveLog: (obj: CustomRule) => any;
126
- }
127
- export declare enum Platform {
128
- WEB = "WEB"
129
- }
130
- /**
131
- * <p> The request structure used to create apps in Amplify. </p>
132
- */
133
- export interface CreateAppRequest {
134
- /**
135
- * <p> The name for an Amplify app. </p>
136
- */
137
- name: string | undefined;
138
- /**
139
- * <p> The description for an Amplify app. </p>
140
- */
141
- description?: string;
142
- /**
143
- * <p> The repository for an Amplify app. </p>
144
- */
145
- repository?: string;
146
- /**
147
- * <p> The platform or framework for an Amplify app. </p>
148
- */
149
- platform?: Platform | string;
150
- /**
151
- * <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
152
- */
153
- iamServiceRoleArn?: string;
154
- /**
155
- * <p> The OAuth token for a third-party source control system for an Amplify app. The OAuth
156
- * token is used to create a webhook and a read-only deploy key. The OAuth token is not
157
- * stored. </p>
158
- */
159
- oauthToken?: string;
160
- /**
161
- * <p> The personal access token for a third-party source control system for an Amplify app.
162
- * The personal access token is used to create a webhook and a read-only deploy key. The
163
- * token is not stored. </p>
164
- */
165
- accessToken?: string;
166
- /**
167
- * <p> The environment variables map for an Amplify app. </p>
168
- */
169
- environmentVariables?: {
170
- [key: string]: string;
171
- };
172
- /**
173
- * <p> Enables the auto building of branches for an Amplify app. </p>
174
- */
175
- enableBranchAutoBuild?: boolean;
176
- /**
177
- * <p> Automatically disconnects a branch in the Amplify Console when you delete a branch
178
- * from your Git repository. </p>
179
- */
180
- enableBranchAutoDeletion?: boolean;
181
- /**
182
- * <p> Enables basic authorization for an Amplify app. This will apply to all branches that
183
- * are part of this app. </p>
184
- */
185
- enableBasicAuth?: boolean;
186
- /**
187
- * <p> The credentials for basic authorization for an Amplify app. </p>
188
- */
189
- basicAuthCredentials?: string;
190
- /**
191
- * <p> The custom rewrite and redirect rules for an Amplify app. </p>
192
- */
193
- customRules?: CustomRule[];
194
- /**
195
- * <p> The tag for an Amplify app. </p>
196
- */
197
- tags?: {
198
- [key: string]: string;
199
- };
200
- /**
201
- * <p> The build specification (build spec) for an Amplify app. </p>
202
- */
203
- buildSpec?: string;
204
- /**
205
- * <p>The custom HTTP headers for an Amplify app.</p>
206
- */
207
- customHeaders?: string;
208
- /**
209
- * <p> Enables automated branch creation for an Amplify app. </p>
210
- */
211
- enableAutoBranchCreation?: boolean;
212
- /**
213
- * <p> The automated branch creation glob patterns for an Amplify app. </p>
214
- */
215
- autoBranchCreationPatterns?: string[];
216
- /**
217
- * <p> The automated branch creation configuration for an Amplify app. </p>
218
- */
219
- autoBranchCreationConfig?: AutoBranchCreationConfig;
220
- }
221
- export declare namespace CreateAppRequest {
222
- /**
223
- * @internal
224
- */
225
- const filterSensitiveLog: (obj: CreateAppRequest) => any;
226
- }
227
- /**
228
- * <p> Describes the information about a production branch for an Amplify app. </p>
229
- */
230
- export interface ProductionBranch {
231
- /**
232
- * <p> The last deploy time of the production branch. </p>
233
- */
234
- lastDeployTime?: Date;
235
- /**
236
- * <p> The status of the production branch. </p>
237
- */
238
- status?: string;
239
- /**
240
- * <p> The thumbnail URL for the production branch. </p>
241
- */
242
- thumbnailUrl?: string;
243
- /**
244
- * <p> The branch name for the production branch. </p>
245
- */
246
- branchName?: string;
247
- }
248
- export declare namespace ProductionBranch {
249
- /**
250
- * @internal
251
- */
252
- const filterSensitiveLog: (obj: ProductionBranch) => any;
253
- }
254
- /**
255
- * <p> Represents the different branches of a repository for building, deploying, and
256
- * hosting an Amplify app. </p>
257
- */
258
- export interface App {
259
- /**
260
- * <p> The unique ID of the Amplify app. </p>
261
- */
262
- appId: string | undefined;
263
- /**
264
- * <p> The Amazon Resource Name (ARN) of the Amplify app. </p>
265
- */
266
- appArn: string | undefined;
267
- /**
268
- * <p> The name for the Amplify app. </p>
269
- */
270
- name: string | undefined;
271
- /**
272
- * <p> The tag for the Amplify app. </p>
273
- */
274
- tags?: {
275
- [key: string]: string;
276
- };
277
- /**
278
- * <p> The description for the Amplify app. </p>
279
- */
280
- description: string | undefined;
281
- /**
282
- * <p> The repository for the Amplify app. </p>
283
- */
284
- repository: string | undefined;
285
- /**
286
- * <p> The platform for the Amplify app. </p>
287
- */
288
- platform: Platform | string | undefined;
289
- /**
290
- * <p> Creates a date and time for the Amplify app. </p>
291
- */
292
- createTime: Date | undefined;
293
- /**
294
- * <p> Updates the date and time for the Amplify app. </p>
295
- */
296
- updateTime: Date | undefined;
297
- /**
298
- * <p> The AWS Identity and Access Management (IAM) service role for the Amazon Resource
299
- * Name (ARN) of the Amplify app. </p>
300
- */
301
- iamServiceRoleArn?: string;
302
- /**
303
- * <p> The environment variables for the Amplify app. </p>
304
- */
305
- environmentVariables: {
306
- [key: string]: string;
307
- } | undefined;
308
- /**
309
- * <p> The default domain for the Amplify app. </p>
310
- */
311
- defaultDomain: string | undefined;
312
- /**
313
- * <p> Enables the auto-building of branches for the Amplify app. </p>
314
- */
315
- enableBranchAutoBuild: boolean | undefined;
316
- /**
317
- * <p> Automatically disconnect a branch in the Amplify Console when you delete a branch
318
- * from your Git repository. </p>
319
- */
320
- enableBranchAutoDeletion?: boolean;
321
- /**
322
- * <p> Enables basic authorization for the Amplify app's branches. </p>
323
- */
324
- enableBasicAuth: boolean | undefined;
325
- /**
326
- * <p> The basic authorization credentials for branches for the Amplify app. </p>
327
- */
328
- basicAuthCredentials?: string;
329
- /**
330
- * <p> Describes the custom redirect and rewrite rules for the Amplify app. </p>
331
- */
332
- customRules?: CustomRule[];
333
- /**
334
- * <p> Describes the information about a production branch of the Amplify app. </p>
335
- */
336
- productionBranch?: ProductionBranch;
337
- /**
338
- * <p> Describes the content of the build specification (build spec) for the Amplify app.
339
- * </p>
340
- */
341
- buildSpec?: string;
342
- /**
343
- * <p>Describes the custom HTTP headers for the Amplify app.</p>
344
- */
345
- customHeaders?: string;
346
- /**
347
- * <p> Enables automated branch creation for the Amplify app. </p>
348
- */
349
- enableAutoBranchCreation?: boolean;
350
- /**
351
- * <p> Describes the automated branch creation glob patterns for the Amplify app. </p>
352
- */
353
- autoBranchCreationPatterns?: string[];
354
- /**
355
- * <p> Describes the automated branch creation configuration for the Amplify app. </p>
356
- */
357
- autoBranchCreationConfig?: AutoBranchCreationConfig;
358
- }
359
- export declare namespace App {
360
- /**
361
- * @internal
362
- */
363
- const filterSensitiveLog: (obj: App) => any;
364
- }
365
- export interface CreateAppResult {
366
- /**
367
- * <p> Represents the different branches of a repository for building, deploying, and
368
- * hosting an Amplify app. </p>
369
- */
370
- app: App | undefined;
371
- }
372
- export declare namespace CreateAppResult {
373
- /**
374
- * @internal
375
- */
376
- const filterSensitiveLog: (obj: CreateAppResult) => any;
377
- }
378
- /**
379
- * <p> An operation failed because a dependent service threw an exception. </p>
380
- */
381
- export interface DependentServiceFailureException extends __SmithyException, $MetadataBearer {
382
- name: "DependentServiceFailureException";
383
- $fault: "server";
384
- message?: string;
385
- }
386
- export declare namespace DependentServiceFailureException {
387
- /**
388
- * @internal
389
- */
390
- const filterSensitiveLog: (obj: DependentServiceFailureException) => any;
391
- }
392
- /**
393
- * <p> The service failed to perform an operation due to an internal issue. </p>
394
- */
395
- export interface InternalFailureException extends __SmithyException, $MetadataBearer {
396
- name: "InternalFailureException";
397
- $fault: "server";
398
- message?: string;
399
- }
400
- export declare namespace InternalFailureException {
401
- /**
402
- * @internal
403
- */
404
- const filterSensitiveLog: (obj: InternalFailureException) => any;
405
- }
406
- /**
407
- * <p> A resource could not be created because service quotas were exceeded. </p>
408
- */
409
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
410
- name: "LimitExceededException";
411
- $fault: "client";
412
- message?: string;
413
- }
414
- export declare namespace LimitExceededException {
415
- /**
416
- * @internal
417
- */
418
- const filterSensitiveLog: (obj: LimitExceededException) => any;
419
- }
420
- /**
421
- * <p> An operation failed due to a lack of access. </p>
422
- */
423
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
424
- name: "UnauthorizedException";
425
- $fault: "client";
426
- message?: string;
427
- }
428
- export declare namespace UnauthorizedException {
429
- /**
430
- * @internal
431
- */
432
- const filterSensitiveLog: (obj: UnauthorizedException) => any;
433
- }
434
- /**
435
- * <p> The request structure for the backend environment create request. </p>
436
- */
437
- export interface CreateBackendEnvironmentRequest {
438
- /**
439
- * <p> The unique ID for an Amplify app. </p>
440
- */
441
- appId: string | undefined;
442
- /**
443
- * <p> The name for the backend environment. </p>
444
- */
445
- environmentName: string | undefined;
446
- /**
447
- * <p> The AWS CloudFormation stack name of a backend environment. </p>
448
- */
449
- stackName?: string;
450
- /**
451
- * <p> The name of deployment artifacts. </p>
452
- */
453
- deploymentArtifacts?: string;
454
- }
455
- export declare namespace CreateBackendEnvironmentRequest {
456
- /**
457
- * @internal
458
- */
459
- const filterSensitiveLog: (obj: CreateBackendEnvironmentRequest) => any;
460
- }
461
- /**
462
- * <p> Describes the backend environment for an Amplify app. </p>
463
- */
464
- export interface BackendEnvironment {
465
- /**
466
- * <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
467
- * app. </p>
468
- */
469
- backendEnvironmentArn: string | undefined;
470
- /**
471
- * <p> The name for a backend environment that is part of an Amplify app. </p>
472
- */
473
- environmentName: string | undefined;
474
- /**
475
- * <p> The AWS CloudFormation stack name of a backend environment. </p>
476
- */
477
- stackName?: string;
478
- /**
479
- * <p> The name of deployment artifacts. </p>
480
- */
481
- deploymentArtifacts?: string;
482
- /**
483
- * <p> The creation date and time for a backend environment that is part of an Amplify app.
484
- * </p>
485
- */
486
- createTime: Date | undefined;
487
- /**
488
- * <p> The last updated date and time for a backend environment that is part of an Amplify
489
- * app. </p>
490
- */
491
- updateTime: Date | undefined;
492
- }
493
- export declare namespace BackendEnvironment {
494
- /**
495
- * @internal
496
- */
497
- const filterSensitiveLog: (obj: BackendEnvironment) => any;
498
- }
499
- /**
500
- * <p> The result structure for the create backend environment request. </p>
501
- */
502
- export interface CreateBackendEnvironmentResult {
503
- /**
504
- * <p> Describes the backend environment for an Amplify app. </p>
505
- */
506
- backendEnvironment: BackendEnvironment | undefined;
507
- }
508
- export declare namespace CreateBackendEnvironmentResult {
509
- /**
510
- * @internal
511
- */
512
- const filterSensitiveLog: (obj: CreateBackendEnvironmentResult) => any;
513
- }
514
- /**
515
- * <p> An entity was not found during an operation. </p>
516
- */
517
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
518
- name: "NotFoundException";
519
- $fault: "client";
520
- message?: string;
521
- }
522
- export declare namespace NotFoundException {
523
- /**
524
- * @internal
525
- */
526
- const filterSensitiveLog: (obj: NotFoundException) => any;
527
- }
528
- /**
529
- * <p> The request structure for the create branch request. </p>
530
- */
531
- export interface CreateBranchRequest {
532
- /**
533
- * <p> The unique ID for an Amplify app. </p>
534
- */
535
- appId: string | undefined;
536
- /**
537
- * <p> The name for the branch. </p>
538
- */
539
- branchName: string | undefined;
540
- /**
541
- * <p> The description for the branch. </p>
542
- */
543
- description?: string;
544
- /**
545
- * <p> Describes the current stage for the branch. </p>
546
- */
547
- stage?: Stage | string;
548
- /**
549
- * <p> The framework for the branch. </p>
550
- */
551
- framework?: string;
552
- /**
553
- * <p> Enables notifications for the branch. </p>
554
- */
555
- enableNotification?: boolean;
556
- /**
557
- * <p> Enables auto building for the branch. </p>
558
- */
559
- enableAutoBuild?: boolean;
560
- /**
561
- * <p> The environment variables for the branch. </p>
562
- */
563
- environmentVariables?: {
564
- [key: string]: string;
565
- };
566
- /**
567
- * <p> The basic authorization credentials for the branch. </p>
568
- */
569
- basicAuthCredentials?: string;
570
- /**
571
- * <p> Enables basic authorization for the branch. </p>
572
- */
573
- enableBasicAuth?: boolean;
574
- /**
575
- * <p>Enables performance mode for the branch.</p>
576
- * <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
577
- */
578
- enablePerformanceMode?: boolean;
579
- /**
580
- * <p> The tag for the branch. </p>
581
- */
582
- tags?: {
583
- [key: string]: string;
584
- };
585
- /**
586
- * <p> The build specification (build spec) for the branch. </p>
587
- */
588
- buildSpec?: string;
589
- /**
590
- * <p> The content Time To Live (TTL) for the website in seconds. </p>
591
- */
592
- ttl?: string;
593
- /**
594
- * <p> The display name for a branch. This is used as the default domain prefix. </p>
595
- */
596
- displayName?: string;
597
- /**
598
- * <p> Enables pull request previews for this branch. </p>
599
- */
600
- enablePullRequestPreview?: boolean;
601
- /**
602
- * <p> The Amplify environment name for the pull request. </p>
603
- */
604
- pullRequestEnvironmentName?: string;
605
- /**
606
- * <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
607
- * app. </p>
608
- */
609
- backendEnvironmentArn?: string;
610
- }
611
- export declare namespace CreateBranchRequest {
612
- /**
613
- * @internal
614
- */
615
- const filterSensitiveLog: (obj: CreateBranchRequest) => any;
616
- }
617
- /**
618
- * <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
619
- */
620
- export interface Branch {
621
- /**
622
- * <p> The Amazon Resource Name (ARN) for a branch that is part of an Amplify app. </p>
623
- */
624
- branchArn: string | undefined;
625
- /**
626
- * <p> The name for the branch that is part of an Amplify app. </p>
627
- */
628
- branchName: string | undefined;
629
- /**
630
- * <p> The description for the branch that is part of an Amplify app. </p>
631
- */
632
- description: string | undefined;
633
- /**
634
- * <p> The tag for the branch of an Amplify app. </p>
635
- */
636
- tags?: {
637
- [key: string]: string;
638
- };
639
- /**
640
- * <p> The current stage for the branch that is part of an Amplify app. </p>
641
- */
642
- stage: Stage | string | undefined;
643
- /**
644
- * <p> The display name for the branch. This is used as the default domain prefix. </p>
645
- */
646
- displayName: string | undefined;
647
- /**
648
- * <p> Enables notifications for a branch that is part of an Amplify app. </p>
649
- */
650
- enableNotification: boolean | undefined;
651
- /**
652
- * <p> The creation date and time for a branch that is part of an Amplify app. </p>
653
- */
654
- createTime: Date | undefined;
655
- /**
656
- * <p> The last updated date and time for a branch that is part of an Amplify app. </p>
657
- */
658
- updateTime: Date | undefined;
659
- /**
660
- * <p> The environment variables specific to a branch of an Amplify app. </p>
661
- */
662
- environmentVariables: {
663
- [key: string]: string;
664
- } | undefined;
665
- /**
666
- * <p> Enables auto-building on push for a branch of an Amplify app. </p>
667
- */
668
- enableAutoBuild: boolean | undefined;
669
- /**
670
- * <p> The custom domains for a branch of an Amplify app. </p>
671
- */
672
- customDomains: string[] | undefined;
673
- /**
674
- * <p> The framework for a branch of an Amplify app. </p>
675
- */
676
- framework: string | undefined;
677
- /**
678
- * <p> The ID of the active job for a branch of an Amplify app. </p>
679
- */
680
- activeJobId: string | undefined;
681
- /**
682
- * <p> The total number of jobs that are part of an Amplify app. </p>
683
- */
684
- totalNumberOfJobs: string | undefined;
685
- /**
686
- * <p> Enables basic authorization for a branch of an Amplify app. </p>
687
- */
688
- enableBasicAuth: boolean | undefined;
689
- /**
690
- * <p>Enables performance mode for the branch.</p>
691
- * <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
692
- */
693
- enablePerformanceMode?: boolean;
694
- /**
695
- * <p> The thumbnail URL for the branch of an Amplify app. </p>
696
- */
697
- thumbnailUrl?: string;
698
- /**
699
- * <p> The basic authorization credentials for a branch of an Amplify app. </p>
700
- */
701
- basicAuthCredentials?: string;
702
- /**
703
- * <p> The build specification (build spec) content for the branch of an Amplify app.
704
- * </p>
705
- */
706
- buildSpec?: string;
707
- /**
708
- * <p> The content Time to Live (TTL) for the website in seconds. </p>
709
- */
710
- ttl: string | undefined;
711
- /**
712
- * <p> A list of custom resources that are linked to this branch. </p>
713
- */
714
- associatedResources?: string[];
715
- /**
716
- * <p> Enables pull request previews for the branch. </p>
717
- */
718
- enablePullRequestPreview: boolean | undefined;
719
- /**
720
- * <p> The Amplify environment name for the pull request. </p>
721
- */
722
- pullRequestEnvironmentName?: string;
723
- /**
724
- * <p> The destination branch if the branch is a pull request branch. </p>
725
- */
726
- destinationBranch?: string;
727
- /**
728
- * <p> The source branch if the branch is a pull request branch. </p>
729
- */
730
- sourceBranch?: string;
731
- /**
732
- * <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
733
- * app. </p>
734
- */
735
- backendEnvironmentArn?: string;
736
- }
737
- export declare namespace Branch {
738
- /**
739
- * @internal
740
- */
741
- const filterSensitiveLog: (obj: Branch) => any;
742
- }
743
- /**
744
- * <p> The result structure for create branch request. </p>
745
- */
746
- export interface CreateBranchResult {
747
- /**
748
- * <p> Describes the branch for an Amplify app, which maps to a third-party repository
749
- * branch. </p>
750
- */
751
- branch: Branch | undefined;
752
- }
753
- export declare namespace CreateBranchResult {
754
- /**
755
- * @internal
756
- */
757
- const filterSensitiveLog: (obj: CreateBranchResult) => any;
758
- }
759
- /**
760
- * <p> The request structure for the create a new deployment request. </p>
761
- */
762
- export interface CreateDeploymentRequest {
763
- /**
764
- * <p> The unique ID for an Amplify app. </p>
765
- */
766
- appId: string | undefined;
767
- /**
768
- * <p> The name for the branch, for the job. </p>
769
- */
770
- branchName: string | undefined;
771
- /**
772
- * <p> An optional file map that contains the file name as the key and the file content md5
773
- * hash as the value. If this argument is provided, the service will generate a unique
774
- * upload URL per file. Otherwise, the service will only generate a single upload URL for
775
- * the zipped files. </p>
776
- */
777
- fileMap?: {
778
- [key: string]: string;
779
- };
780
- }
781
- export declare namespace CreateDeploymentRequest {
782
- /**
783
- * @internal
784
- */
785
- const filterSensitiveLog: (obj: CreateDeploymentRequest) => any;
786
- }
787
- /**
788
- * <p> The result structure for the create a new deployment request. </p>
789
- */
790
- export interface CreateDeploymentResult {
791
- /**
792
- * <p> The job ID for this deployment. will supply to start deployment api. </p>
793
- */
794
- jobId?: string;
795
- /**
796
- * <p> When the <code>fileMap</code> argument is provided in the request,
797
- * <code>fileUploadUrls</code> will contain a map of file names to upload URLs. </p>
798
- */
799
- fileUploadUrls: {
800
- [key: string]: string;
801
- } | undefined;
802
- /**
803
- * <p> When the <code>fileMap</code> argument is not provided in the request, this
804
- * <code>zipUploadUrl</code> is returned. </p>
805
- */
806
- zipUploadUrl: string | undefined;
807
- }
808
- export declare namespace CreateDeploymentResult {
809
- /**
810
- * @internal
811
- */
812
- const filterSensitiveLog: (obj: CreateDeploymentResult) => any;
813
- }
814
- /**
815
- * <p> Describes the settings for the subdomain. </p>
816
- */
817
- export interface SubDomainSetting {
818
- /**
819
- * <p> The prefix setting for the subdomain. </p>
820
- */
821
- prefix: string | undefined;
822
- /**
823
- * <p> The branch name setting for the subdomain. </p>
824
- */
825
- branchName: string | undefined;
826
- }
827
- export declare namespace SubDomainSetting {
828
- /**
829
- * @internal
830
- */
831
- const filterSensitiveLog: (obj: SubDomainSetting) => any;
832
- }
833
- /**
834
- * <p> The request structure for the create domain association request. </p>
835
- */
836
- export interface CreateDomainAssociationRequest {
837
- /**
838
- * <p> The unique ID for an Amplify app. </p>
839
- */
840
- appId: string | undefined;
841
- /**
842
- * <p> The domain name for the domain association. </p>
843
- */
844
- domainName: string | undefined;
845
- /**
846
- * <p> Enables the automated creation of subdomains for branches. </p>
847
- */
848
- enableAutoSubDomain?: boolean;
849
- /**
850
- * <p> The setting for the subdomain. </p>
851
- */
852
- subDomainSettings: SubDomainSetting[] | undefined;
853
- /**
854
- * <p> Sets the branch patterns for automatic subdomain creation. </p>
855
- */
856
- autoSubDomainCreationPatterns?: string[];
857
- /**
858
- * <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
859
- * Resource Name (ARN) for automatically creating subdomains. </p>
860
- */
861
- autoSubDomainIAMRole?: string;
862
- }
863
- export declare namespace CreateDomainAssociationRequest {
864
- /**
865
- * @internal
866
- */
867
- const filterSensitiveLog: (obj: CreateDomainAssociationRequest) => any;
868
- }
869
- export declare enum DomainStatus {
870
- AVAILABLE = "AVAILABLE",
871
- CREATING = "CREATING",
872
- FAILED = "FAILED",
873
- IN_PROGRESS = "IN_PROGRESS",
874
- PENDING_DEPLOYMENT = "PENDING_DEPLOYMENT",
875
- PENDING_VERIFICATION = "PENDING_VERIFICATION",
876
- REQUESTING_CERTIFICATE = "REQUESTING_CERTIFICATE",
877
- UPDATING = "UPDATING"
878
- }
879
- /**
880
- * <p> The subdomain for the domain association. </p>
881
- */
882
- export interface SubDomain {
883
- /**
884
- * <p> Describes the settings for the subdomain. </p>
885
- */
886
- subDomainSetting: SubDomainSetting | undefined;
887
- /**
888
- * <p> The verified status of the subdomain </p>
889
- */
890
- verified: boolean | undefined;
891
- /**
892
- * <p> The DNS record for the subdomain. </p>
893
- */
894
- dnsRecord: string | undefined;
895
- }
896
- export declare namespace SubDomain {
897
- /**
898
- * @internal
899
- */
900
- const filterSensitiveLog: (obj: SubDomain) => any;
901
- }
902
- /**
903
- * <p> Describes a domain association that associates a custom domain with an Amplify app.
904
- * </p>
905
- */
906
- export interface DomainAssociation {
907
- /**
908
- * <p> The Amazon Resource Name (ARN) for the domain association. </p>
909
- */
910
- domainAssociationArn: string | undefined;
911
- /**
912
- * <p> The name of the domain. </p>
913
- */
914
- domainName: string | undefined;
915
- /**
916
- * <p> Enables the automated creation of subdomains for branches. </p>
917
- */
918
- enableAutoSubDomain: boolean | undefined;
919
- /**
920
- * <p> Sets branch patterns for automatic subdomain creation. </p>
921
- */
922
- autoSubDomainCreationPatterns?: string[];
923
- /**
924
- * <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
925
- * Resource Name (ARN) for automatically creating subdomains. </p>
926
- */
927
- autoSubDomainIAMRole?: string;
928
- /**
929
- * <p> The current status of the domain association. </p>
930
- */
931
- domainStatus: DomainStatus | string | undefined;
932
- /**
933
- * <p> The reason for the current status of the domain association. </p>
934
- */
935
- statusReason: string | undefined;
936
- /**
937
- * <p> The DNS record for certificate verification. </p>
938
- */
939
- certificateVerificationDNSRecord?: string;
940
- /**
941
- * <p> The subdomains for the domain association. </p>
942
- */
943
- subDomains: SubDomain[] | undefined;
944
- }
945
- export declare namespace DomainAssociation {
946
- /**
947
- * @internal
948
- */
949
- const filterSensitiveLog: (obj: DomainAssociation) => any;
950
- }
951
- /**
952
- * <p> The result structure for the create domain association request. </p>
953
- */
954
- export interface CreateDomainAssociationResult {
955
- /**
956
- * <p> Describes the structure of a domain association, which associates a custom domain
957
- * with an Amplify app. </p>
958
- */
959
- domainAssociation: DomainAssociation | undefined;
960
- }
961
- export declare namespace CreateDomainAssociationResult {
962
- /**
963
- * @internal
964
- */
965
- const filterSensitiveLog: (obj: CreateDomainAssociationResult) => any;
966
- }
967
- /**
968
- * <p> The request structure for the create webhook request. </p>
969
- */
970
- export interface CreateWebhookRequest {
971
- /**
972
- * <p> The unique ID for an Amplify app. </p>
973
- */
974
- appId: string | undefined;
975
- /**
976
- * <p> The name for a branch that is part of an Amplify app. </p>
977
- */
978
- branchName: string | undefined;
979
- /**
980
- * <p> The description for a webhook. </p>
981
- */
982
- description?: string;
983
- }
984
- export declare namespace CreateWebhookRequest {
985
- /**
986
- * @internal
987
- */
988
- const filterSensitiveLog: (obj: CreateWebhookRequest) => any;
989
- }
990
- /**
991
- * <p> Describes a webhook that connects repository events to an Amplify app. </p>
992
- */
993
- export interface Webhook {
994
- /**
995
- * <p> The Amazon Resource Name (ARN) for the webhook. </p>
996
- */
997
- webhookArn: string | undefined;
998
- /**
999
- * <p> The ID of the webhook. </p>
1000
- */
1001
- webhookId: string | undefined;
1002
- /**
1003
- * <p> The URL of the webhook. </p>
1004
- */
1005
- webhookUrl: string | undefined;
1006
- /**
1007
- * <p> The name for a branch that is part of an Amplify app. </p>
1008
- */
1009
- branchName: string | undefined;
1010
- /**
1011
- * <p> The description for a webhook. </p>
1012
- */
1013
- description: string | undefined;
1014
- /**
1015
- * <p> The create date and time for a webhook. </p>
1016
- */
1017
- createTime: Date | undefined;
1018
- /**
1019
- * <p> Updates the date and time for a webhook. </p>
1020
- */
1021
- updateTime: Date | undefined;
1022
- }
1023
- export declare namespace Webhook {
1024
- /**
1025
- * @internal
1026
- */
1027
- const filterSensitiveLog: (obj: Webhook) => any;
1028
- }
1029
- /**
1030
- * <p> The result structure for the create webhook request. </p>
1031
- */
1032
- export interface CreateWebhookResult {
1033
- /**
1034
- * <p> Describes a webhook that connects repository events to an Amplify app. </p>
1035
- */
1036
- webhook: Webhook | undefined;
1037
- }
1038
- export declare namespace CreateWebhookResult {
1039
- /**
1040
- * @internal
1041
- */
1042
- const filterSensitiveLog: (obj: CreateWebhookResult) => any;
1043
- }
1044
- /**
1045
- * <p> Describes the request structure for the delete app request. </p>
1046
- */
1047
- export interface DeleteAppRequest {
1048
- /**
1049
- * <p> The unique ID for an Amplify app. </p>
1050
- */
1051
- appId: string | undefined;
1052
- }
1053
- export declare namespace DeleteAppRequest {
1054
- /**
1055
- * @internal
1056
- */
1057
- const filterSensitiveLog: (obj: DeleteAppRequest) => any;
1058
- }
1059
- /**
1060
- * <p> The result structure for the delete app request. </p>
1061
- */
1062
- export interface DeleteAppResult {
1063
- /**
1064
- * <p> Represents the different branches of a repository for building, deploying, and
1065
- * hosting an Amplify app. </p>
1066
- */
1067
- app: App | undefined;
1068
- }
1069
- export declare namespace DeleteAppResult {
1070
- /**
1071
- * @internal
1072
- */
1073
- const filterSensitiveLog: (obj: DeleteAppResult) => any;
1074
- }
1075
- /**
1076
- * <p> The request structure for the delete backend environment request. </p>
1077
- */
1078
- export interface DeleteBackendEnvironmentRequest {
1079
- /**
1080
- * <p> The unique ID of an Amplify app. </p>
1081
- */
1082
- appId: string | undefined;
1083
- /**
1084
- * <p> The name of a backend environment of an Amplify app. </p>
1085
- */
1086
- environmentName: string | undefined;
1087
- }
1088
- export declare namespace DeleteBackendEnvironmentRequest {
1089
- /**
1090
- * @internal
1091
- */
1092
- const filterSensitiveLog: (obj: DeleteBackendEnvironmentRequest) => any;
1093
- }
1094
- /**
1095
- * <p> The result structure of the delete backend environment result. </p>
1096
- */
1097
- export interface DeleteBackendEnvironmentResult {
1098
- /**
1099
- * <p> Describes the backend environment for an Amplify app. </p>
1100
- */
1101
- backendEnvironment: BackendEnvironment | undefined;
1102
- }
1103
- export declare namespace DeleteBackendEnvironmentResult {
1104
- /**
1105
- * @internal
1106
- */
1107
- const filterSensitiveLog: (obj: DeleteBackendEnvironmentResult) => any;
1108
- }
1109
- /**
1110
- * <p> The request structure for the delete branch request. </p>
1111
- */
1112
- export interface DeleteBranchRequest {
1113
- /**
1114
- * <p> The unique ID for an Amplify app. </p>
1115
- */
1116
- appId: string | undefined;
1117
- /**
1118
- * <p> The name for the branch. </p>
1119
- */
1120
- branchName: string | undefined;
1121
- }
1122
- export declare namespace DeleteBranchRequest {
1123
- /**
1124
- * @internal
1125
- */
1126
- const filterSensitiveLog: (obj: DeleteBranchRequest) => any;
1127
- }
1128
- /**
1129
- * <p> The result structure for the delete branch request. </p>
1130
- */
1131
- export interface DeleteBranchResult {
1132
- /**
1133
- * <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
1134
- */
1135
- branch: Branch | undefined;
1136
- }
1137
- export declare namespace DeleteBranchResult {
1138
- /**
1139
- * @internal
1140
- */
1141
- const filterSensitiveLog: (obj: DeleteBranchResult) => any;
1142
- }
1143
- /**
1144
- * <p> The request structure for the delete domain association request. </p>
1145
- */
1146
- export interface DeleteDomainAssociationRequest {
1147
- /**
1148
- * <p> The unique id for an Amplify app. </p>
1149
- */
1150
- appId: string | undefined;
1151
- /**
1152
- * <p> The name of the domain. </p>
1153
- */
1154
- domainName: string | undefined;
1155
- }
1156
- export declare namespace DeleteDomainAssociationRequest {
1157
- /**
1158
- * @internal
1159
- */
1160
- const filterSensitiveLog: (obj: DeleteDomainAssociationRequest) => any;
1161
- }
1162
- export interface DeleteDomainAssociationResult {
1163
- /**
1164
- * <p> Describes a domain association that associates a custom domain with an Amplify app.
1165
- * </p>
1166
- */
1167
- domainAssociation: DomainAssociation | undefined;
1168
- }
1169
- export declare namespace DeleteDomainAssociationResult {
1170
- /**
1171
- * @internal
1172
- */
1173
- const filterSensitiveLog: (obj: DeleteDomainAssociationResult) => any;
1174
- }
1175
- /**
1176
- * <p> The request structure for the delete job request. </p>
1177
- */
1178
- export interface DeleteJobRequest {
1179
- /**
1180
- * <p> The unique ID for an Amplify app. </p>
1181
- */
1182
- appId: string | undefined;
1183
- /**
1184
- * <p> The name for the branch, for the job. </p>
1185
- */
1186
- branchName: string | undefined;
1187
- /**
1188
- * <p> The unique ID for the job. </p>
1189
- */
1190
- jobId: string | undefined;
1191
- }
1192
- export declare namespace DeleteJobRequest {
1193
- /**
1194
- * @internal
1195
- */
1196
- const filterSensitiveLog: (obj: DeleteJobRequest) => any;
1197
- }
1198
- export declare enum JobType {
1199
- MANUAL = "MANUAL",
1200
- RELEASE = "RELEASE",
1201
- RETRY = "RETRY",
1202
- WEB_HOOK = "WEB_HOOK"
1203
- }
1204
- export declare enum JobStatus {
1205
- CANCELLED = "CANCELLED",
1206
- CANCELLING = "CANCELLING",
1207
- FAILED = "FAILED",
1208
- PENDING = "PENDING",
1209
- PROVISIONING = "PROVISIONING",
1210
- RUNNING = "RUNNING",
1211
- SUCCEED = "SUCCEED"
1212
- }
1213
- /**
1214
- * <p> Describes the summary for an execution job for an Amplify app. </p>
1215
- */
1216
- export interface JobSummary {
1217
- /**
1218
- * <p> The Amazon Resource Name (ARN) for the job. </p>
1219
- */
1220
- jobArn: string | undefined;
1221
- /**
1222
- * <p> The unique ID for the job. </p>
1223
- */
1224
- jobId: string | undefined;
1225
- /**
1226
- * <p> The commit ID from a third-party repository provider for the job. </p>
1227
- */
1228
- commitId: string | undefined;
1229
- /**
1230
- * <p> The commit message from a third-party repository provider for the job. </p>
1231
- */
1232
- commitMessage: string | undefined;
1233
- /**
1234
- * <p> The commit date and time for the job. </p>
1235
- */
1236
- commitTime: Date | undefined;
1237
- /**
1238
- * <p> The start date and time for the job. </p>
1239
- */
1240
- startTime: Date | undefined;
1241
- /**
1242
- * <p> The current status for the job. </p>
1243
- */
1244
- status: JobStatus | string | undefined;
1245
- /**
1246
- * <p> The end date and time for the job. </p>
1247
- */
1248
- endTime?: Date;
1249
- /**
1250
- * <p> The type for the job. If the value is <code>RELEASE</code>, the job was manually
1251
- * released from its source by using the <code>StartJob</code> API. If the value is
1252
- * <code>RETRY</code>, the job was manually retried using the <code>StartJob</code>
1253
- * API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by
1254
- * webhooks. </p>
1255
- */
1256
- jobType: JobType | string | undefined;
1257
- }
1258
- export declare namespace JobSummary {
1259
- /**
1260
- * @internal
1261
- */
1262
- const filterSensitiveLog: (obj: JobSummary) => any;
1263
- }
1264
- /**
1265
- * <p> The result structure for the delete job request. </p>
1266
- */
1267
- export interface DeleteJobResult {
1268
- /**
1269
- * <p> Describes the summary for an execution job for an Amplify app. </p>
1270
- */
1271
- jobSummary: JobSummary | undefined;
1272
- }
1273
- export declare namespace DeleteJobResult {
1274
- /**
1275
- * @internal
1276
- */
1277
- const filterSensitiveLog: (obj: DeleteJobResult) => any;
1278
- }
1279
- /**
1280
- * <p> The request structure for the delete webhook request. </p>
1281
- */
1282
- export interface DeleteWebhookRequest {
1283
- /**
1284
- * <p> The unique ID for a webhook. </p>
1285
- */
1286
- webhookId: string | undefined;
1287
- }
1288
- export declare namespace DeleteWebhookRequest {
1289
- /**
1290
- * @internal
1291
- */
1292
- const filterSensitiveLog: (obj: DeleteWebhookRequest) => any;
1293
- }
1294
- /**
1295
- * <p> The result structure for the delete webhook request. </p>
1296
- */
1297
- export interface DeleteWebhookResult {
1298
- /**
1299
- * <p> Describes a webhook that connects repository events to an Amplify app. </p>
1300
- */
1301
- webhook: Webhook | undefined;
1302
- }
1303
- export declare namespace DeleteWebhookResult {
1304
- /**
1305
- * @internal
1306
- */
1307
- const filterSensitiveLog: (obj: DeleteWebhookResult) => any;
1308
- }
1309
- /**
1310
- * <p> The request structure for the generate access logs request. </p>
1311
- */
1312
- export interface GenerateAccessLogsRequest {
1313
- /**
1314
- * <p> The time at which the logs should start. The time range specified is inclusive of the
1315
- * start time. </p>
1316
- */
1317
- startTime?: Date;
1318
- /**
1319
- * <p> The time at which the logs should end. The time range specified is inclusive of the
1320
- * end time. </p>
1321
- */
1322
- endTime?: Date;
1323
- /**
1324
- * <p> The name of the domain. </p>
1325
- */
1326
- domainName: string | undefined;
1327
- /**
1328
- * <p> The unique ID for an Amplify app. </p>
1329
- */
1330
- appId: string | undefined;
1331
- }
1332
- export declare namespace GenerateAccessLogsRequest {
1333
- /**
1334
- * @internal
1335
- */
1336
- const filterSensitiveLog: (obj: GenerateAccessLogsRequest) => any;
1337
- }
1338
- /**
1339
- * <p> The result structure for the generate access logs request. </p>
1340
- */
1341
- export interface GenerateAccessLogsResult {
1342
- /**
1343
- * <p> The pre-signed URL for the requested access logs. </p>
1344
- */
1345
- logUrl?: string;
1346
- }
1347
- export declare namespace GenerateAccessLogsResult {
1348
- /**
1349
- * @internal
1350
- */
1351
- const filterSensitiveLog: (obj: GenerateAccessLogsResult) => any;
1352
- }
1353
- /**
1354
- * <p> The request structure for the get app request. </p>
1355
- */
1356
- export interface GetAppRequest {
1357
- /**
1358
- * <p> The unique ID for an Amplify app. </p>
1359
- */
1360
- appId: string | undefined;
1361
- }
1362
- export declare namespace GetAppRequest {
1363
- /**
1364
- * @internal
1365
- */
1366
- const filterSensitiveLog: (obj: GetAppRequest) => any;
1367
- }
1368
- export interface GetAppResult {
1369
- /**
1370
- * <p> Represents the different branches of a repository for building, deploying, and
1371
- * hosting an Amplify app. </p>
1372
- */
1373
- app: App | undefined;
1374
- }
1375
- export declare namespace GetAppResult {
1376
- /**
1377
- * @internal
1378
- */
1379
- const filterSensitiveLog: (obj: GetAppResult) => any;
1380
- }
1381
- /**
1382
- * <p> Returns the request structure for the get artifact request. </p>
1383
- */
1384
- export interface GetArtifactUrlRequest {
1385
- /**
1386
- * <p> The unique ID for an artifact. </p>
1387
- */
1388
- artifactId: string | undefined;
1389
- }
1390
- export declare namespace GetArtifactUrlRequest {
1391
- /**
1392
- * @internal
1393
- */
1394
- const filterSensitiveLog: (obj: GetArtifactUrlRequest) => any;
1395
- }
1396
- /**
1397
- * <p> Returns the result structure for the get artifact request. </p>
1398
- */
1399
- export interface GetArtifactUrlResult {
1400
- /**
1401
- * <p> The unique ID for an artifact. </p>
1402
- */
1403
- artifactId: string | undefined;
1404
- /**
1405
- * <p> The presigned URL for the artifact. </p>
1406
- */
1407
- artifactUrl: string | undefined;
1408
- }
1409
- export declare namespace GetArtifactUrlResult {
1410
- /**
1411
- * @internal
1412
- */
1413
- const filterSensitiveLog: (obj: GetArtifactUrlResult) => any;
1414
- }
1415
- /**
1416
- * <p> The request structure for the get backend environment request. </p>
1417
- */
1418
- export interface GetBackendEnvironmentRequest {
1419
- /**
1420
- * <p> The unique id for an Amplify app. </p>
1421
- */
1422
- appId: string | undefined;
1423
- /**
1424
- * <p> The name for the backend environment. </p>
1425
- */
1426
- environmentName: string | undefined;
1427
- }
1428
- export declare namespace GetBackendEnvironmentRequest {
1429
- /**
1430
- * @internal
1431
- */
1432
- const filterSensitiveLog: (obj: GetBackendEnvironmentRequest) => any;
1433
- }
1434
- /**
1435
- * <p> The result structure for the get backend environment result. </p>
1436
- */
1437
- export interface GetBackendEnvironmentResult {
1438
- /**
1439
- * <p> Describes the backend environment for an Amplify app. </p>
1440
- */
1441
- backendEnvironment: BackendEnvironment | undefined;
1442
- }
1443
- export declare namespace GetBackendEnvironmentResult {
1444
- /**
1445
- * @internal
1446
- */
1447
- const filterSensitiveLog: (obj: GetBackendEnvironmentResult) => any;
1448
- }
1449
- /**
1450
- * <p> The request structure for the get branch request. </p>
1451
- */
1452
- export interface GetBranchRequest {
1453
- /**
1454
- * <p> The unique ID for an Amplify app. </p>
1455
- */
1456
- appId: string | undefined;
1457
- /**
1458
- * <p> The name for the branch. </p>
1459
- */
1460
- branchName: string | undefined;
1461
- }
1462
- export declare namespace GetBranchRequest {
1463
- /**
1464
- * @internal
1465
- */
1466
- const filterSensitiveLog: (obj: GetBranchRequest) => any;
1467
- }
1468
- export interface GetBranchResult {
1469
- /**
1470
- * <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
1471
- */
1472
- branch: Branch | undefined;
1473
- }
1474
- export declare namespace GetBranchResult {
1475
- /**
1476
- * @internal
1477
- */
1478
- const filterSensitiveLog: (obj: GetBranchResult) => any;
1479
- }
1480
- /**
1481
- * <p> The request structure for the get domain association request. </p>
1482
- */
1483
- export interface GetDomainAssociationRequest {
1484
- /**
1485
- * <p> The unique id for an Amplify app. </p>
1486
- */
1487
- appId: string | undefined;
1488
- /**
1489
- * <p> The name of the domain. </p>
1490
- */
1491
- domainName: string | undefined;
1492
- }
1493
- export declare namespace GetDomainAssociationRequest {
1494
- /**
1495
- * @internal
1496
- */
1497
- const filterSensitiveLog: (obj: GetDomainAssociationRequest) => any;
1498
- }
1499
- /**
1500
- * <p> The result structure for the get domain association request. </p>
1501
- */
1502
- export interface GetDomainAssociationResult {
1503
- /**
1504
- * <p> Describes the structure of a domain association, which associates a custom domain
1505
- * with an Amplify app. </p>
1506
- */
1507
- domainAssociation: DomainAssociation | undefined;
1508
- }
1509
- export declare namespace GetDomainAssociationResult {
1510
- /**
1511
- * @internal
1512
- */
1513
- const filterSensitiveLog: (obj: GetDomainAssociationResult) => any;
1514
- }
1515
- /**
1516
- * <p> The request structure for the get job request. </p>
1517
- */
1518
- export interface GetJobRequest {
1519
- /**
1520
- * <p> The unique ID for an Amplify app. </p>
1521
- */
1522
- appId: string | undefined;
1523
- /**
1524
- * <p> The branch name for the job. </p>
1525
- */
1526
- branchName: string | undefined;
1527
- /**
1528
- * <p> The unique ID for the job. </p>
1529
- */
1530
- jobId: string | undefined;
1531
- }
1532
- export declare namespace GetJobRequest {
1533
- /**
1534
- * @internal
1535
- */
1536
- const filterSensitiveLog: (obj: GetJobRequest) => any;
1537
- }
1538
- /**
1539
- * <p> Describes an execution step, for an execution job, for an Amplify app. </p>
1540
- */
1541
- export interface Step {
1542
- /**
1543
- * <p> The name of the execution step. </p>
1544
- */
1545
- stepName: string | undefined;
1546
- /**
1547
- * <p> The start date and time of the execution step. </p>
1548
- */
1549
- startTime: Date | undefined;
1550
- /**
1551
- * <p> The status of the execution step. </p>
1552
- */
1553
- status: JobStatus | string | undefined;
1554
- /**
1555
- * <p> The end date and time of the execution step. </p>
1556
- */
1557
- endTime: Date | undefined;
1558
- /**
1559
- * <p> The URL to the logs for the execution step. </p>
1560
- */
1561
- logUrl?: string;
1562
- /**
1563
- * <p> The URL to the artifact for the execution step. </p>
1564
- */
1565
- artifactsUrl?: string;
1566
- /**
1567
- * <p> The URL to the test artifact for the execution step. </p>
1568
- */
1569
- testArtifactsUrl?: string;
1570
- /**
1571
- * <p> The URL to the test configuration for the execution step. </p>
1572
- */
1573
- testConfigUrl?: string;
1574
- /**
1575
- * <p> The list of screenshot URLs for the execution step, if relevant. </p>
1576
- */
1577
- screenshots?: {
1578
- [key: string]: string;
1579
- };
1580
- /**
1581
- * <p> The reason for the current step status. </p>
1582
- */
1583
- statusReason?: string;
1584
- /**
1585
- * <p> The context for the current step. Includes a build image if the step is build.
1586
- * </p>
1587
- */
1588
- context?: string;
1589
- }
1590
- export declare namespace Step {
1591
- /**
1592
- * @internal
1593
- */
1594
- const filterSensitiveLog: (obj: Step) => any;
1595
- }
1596
- /**
1597
- * <p> Describes an execution job for an Amplify app. </p>
1598
- */
1599
- export interface Job {
1600
- /**
1601
- * <p> Describes the summary for an execution job for an Amplify app. </p>
1602
- */
1603
- summary: JobSummary | undefined;
1604
- /**
1605
- * <p> The execution steps for an execution job, for an Amplify app. </p>
1606
- */
1607
- steps: Step[] | undefined;
1608
- }
1609
- export declare namespace Job {
1610
- /**
1611
- * @internal
1612
- */
1613
- const filterSensitiveLog: (obj: Job) => any;
1614
- }
1615
- export interface GetJobResult {
1616
- /**
1617
- * <p> Describes an execution job for an Amplify app. </p>
1618
- */
1619
- job: Job | undefined;
1620
- }
1621
- export declare namespace GetJobResult {
1622
- /**
1623
- * @internal
1624
- */
1625
- const filterSensitiveLog: (obj: GetJobResult) => any;
1626
- }
1627
- /**
1628
- * <p> The request structure for the get webhook request. </p>
1629
- */
1630
- export interface GetWebhookRequest {
1631
- /**
1632
- * <p> The unique ID for a webhook. </p>
1633
- */
1634
- webhookId: string | undefined;
1635
- }
1636
- export declare namespace GetWebhookRequest {
1637
- /**
1638
- * @internal
1639
- */
1640
- const filterSensitiveLog: (obj: GetWebhookRequest) => any;
1641
- }
1642
- /**
1643
- * <p> The result structure for the get webhook request. </p>
1644
- */
1645
- export interface GetWebhookResult {
1646
- /**
1647
- * <p> Describes the structure of a webhook. </p>
1648
- */
1649
- webhook: Webhook | undefined;
1650
- }
1651
- export declare namespace GetWebhookResult {
1652
- /**
1653
- * @internal
1654
- */
1655
- const filterSensitiveLog: (obj: GetWebhookResult) => any;
1656
- }
1657
- /**
1658
- * <p> The request structure for the list apps request. </p>
1659
- */
1660
- export interface ListAppsRequest {
1661
- /**
1662
- * <p> A pagination token. If non-null, the pagination token is returned in a result. Pass
1663
- * its value in another request to retrieve more entries. </p>
1664
- */
1665
- nextToken?: string;
1666
- /**
1667
- * <p> The maximum number of records to list in a single response. </p>
1668
- */
1669
- maxResults?: number;
1670
- }
1671
- export declare namespace ListAppsRequest {
1672
- /**
1673
- * @internal
1674
- */
1675
- const filterSensitiveLog: (obj: ListAppsRequest) => any;
1676
- }
1677
- /**
1678
- * <p> The result structure for an Amplify app list request. </p>
1679
- */
1680
- export interface ListAppsResult {
1681
- /**
1682
- * <p> A list of Amplify apps. </p>
1683
- */
1684
- apps: App[] | undefined;
1685
- /**
1686
- * <p> A pagination token. Set to null to start listing apps from start. If non-null, the
1687
- * pagination token is returned in a result. Pass its value in here to list more projects.
1688
- * </p>
1689
- */
1690
- nextToken?: string;
1691
- }
1692
- export declare namespace ListAppsResult {
1693
- /**
1694
- * @internal
1695
- */
1696
- const filterSensitiveLog: (obj: ListAppsResult) => any;
1697
- }
1698
- /**
1699
- * <p> Describes the request structure for the list artifacts request. </p>
1700
- */
1701
- export interface ListArtifactsRequest {
1702
- /**
1703
- * <p> The unique ID for an Amplify app. </p>
1704
- */
1705
- appId: string | undefined;
1706
- /**
1707
- * <p> The name of a branch that is part of an Amplify app. </p>
1708
- */
1709
- branchName: string | undefined;
1710
- /**
1711
- * <p> The unique ID for a job. </p>
1712
- */
1713
- jobId: string | undefined;
1714
- /**
1715
- * <p> A pagination token. Set to null to start listing artifacts from start. If a non-null
1716
- * pagination token is returned in a result, pass its value in here to list more artifacts.
1717
- * </p>
1718
- */
1719
- nextToken?: string;
1720
- /**
1721
- * <p> The maximum number of records to list in a single response. </p>
1722
- */
1723
- maxResults?: number;
1724
- }
1725
- export declare namespace ListArtifactsRequest {
1726
- /**
1727
- * @internal
1728
- */
1729
- const filterSensitiveLog: (obj: ListArtifactsRequest) => any;
1730
- }
1731
- /**
1732
- * <p> Describes an artifact. </p>
1733
- */
1734
- export interface Artifact {
1735
- /**
1736
- * <p> The file name for the artifact. </p>
1737
- */
1738
- artifactFileName: string | undefined;
1739
- /**
1740
- * <p> The unique ID for the artifact. </p>
1741
- */
1742
- artifactId: string | undefined;
1743
- }
1744
- export declare namespace Artifact {
1745
- /**
1746
- * @internal
1747
- */
1748
- const filterSensitiveLog: (obj: Artifact) => any;
1749
- }
1750
- /**
1751
- * <p> The result structure for the list artifacts request. </p>
1752
- */
1753
- export interface ListArtifactsResult {
1754
- /**
1755
- * <p> A list of artifacts. </p>
1756
- */
1757
- artifacts: Artifact[] | undefined;
1758
- /**
1759
- * <p> A pagination token. If a non-null pagination token is returned in a result, pass its
1760
- * value in another request to retrieve more entries. </p>
1761
- */
1762
- nextToken?: string;
1763
- }
1764
- export declare namespace ListArtifactsResult {
1765
- /**
1766
- * @internal
1767
- */
1768
- const filterSensitiveLog: (obj: ListArtifactsResult) => any;
1769
- }
1770
- /**
1771
- * <p> The request structure for the list backend environments request. </p>
1772
- */
1773
- export interface ListBackendEnvironmentsRequest {
1774
- /**
1775
- * <p> The unique ID for an Amplify app. </p>
1776
- */
1777
- appId: string | undefined;
1778
- /**
1779
- * <p> The name of the backend environment </p>
1780
- */
1781
- environmentName?: string;
1782
- /**
1783
- * <p> A pagination token. Set to null to start listing backend environments from the start.
1784
- * If a non-null pagination token is returned in a result, pass its value in here to list
1785
- * more backend environments. </p>
1786
- */
1787
- nextToken?: string;
1788
- /**
1789
- * <p> The maximum number of records to list in a single response. </p>
1790
- */
1791
- maxResults?: number;
1792
- }
1793
- export declare namespace ListBackendEnvironmentsRequest {
1794
- /**
1795
- * @internal
1796
- */
1797
- const filterSensitiveLog: (obj: ListBackendEnvironmentsRequest) => any;
1798
- }
1799
- /**
1800
- * <p> The result structure for the list backend environments result. </p>
1801
- */
1802
- export interface ListBackendEnvironmentsResult {
1803
- /**
1804
- * <p> The list of backend environments for an Amplify app. </p>
1805
- */
1806
- backendEnvironments: BackendEnvironment[] | undefined;
1807
- /**
1808
- * <p> A pagination token. If a non-null pagination token is returned in a result, pass its
1809
- * value in another request to retrieve more entries. </p>
1810
- */
1811
- nextToken?: string;
1812
- }
1813
- export declare namespace ListBackendEnvironmentsResult {
1814
- /**
1815
- * @internal
1816
- */
1817
- const filterSensitiveLog: (obj: ListBackendEnvironmentsResult) => any;
1818
- }
1819
- /**
1820
- * <p> The request structure for the list branches request. </p>
1821
- */
1822
- export interface ListBranchesRequest {
1823
- /**
1824
- * <p> The unique ID for an Amplify app. </p>
1825
- */
1826
- appId: string | undefined;
1827
- /**
1828
- * <p> A pagination token. Set to null to start listing branches from the start. If a
1829
- * non-null pagination token is returned in a result, pass its value in here to list more
1830
- * branches. </p>
1831
- */
1832
- nextToken?: string;
1833
- /**
1834
- * <p> The maximum number of records to list in a single response. </p>
1835
- */
1836
- maxResults?: number;
1837
- }
1838
- export declare namespace ListBranchesRequest {
1839
- /**
1840
- * @internal
1841
- */
1842
- const filterSensitiveLog: (obj: ListBranchesRequest) => any;
1843
- }
1844
- /**
1845
- * <p> The result structure for the list branches request. </p>
1846
- */
1847
- export interface ListBranchesResult {
1848
- /**
1849
- * <p> A list of branches for an Amplify app. </p>
1850
- */
1851
- branches: Branch[] | undefined;
1852
- /**
1853
- * <p> A pagination token. If a non-null pagination token is returned in a result, pass its
1854
- * value in another request to retrieve more entries. </p>
1855
- */
1856
- nextToken?: string;
1857
- }
1858
- export declare namespace ListBranchesResult {
1859
- /**
1860
- * @internal
1861
- */
1862
- const filterSensitiveLog: (obj: ListBranchesResult) => any;
1863
- }
1864
- /**
1865
- * <p> The request structure for the list domain associations request. </p>
1866
- */
1867
- export interface ListDomainAssociationsRequest {
1868
- /**
1869
- * <p> The unique ID for an Amplify app. </p>
1870
- */
1871
- appId: string | undefined;
1872
- /**
1873
- * <p> A pagination token. Set to null to start listing apps from the start. If non-null, a
1874
- * pagination token is returned in a result. Pass its value in here to list more projects.
1875
- * </p>
1876
- */
1877
- nextToken?: string;
1878
- /**
1879
- * <p> The maximum number of records to list in a single response. </p>
1880
- */
1881
- maxResults?: number;
1882
- }
1883
- export declare namespace ListDomainAssociationsRequest {
1884
- /**
1885
- * @internal
1886
- */
1887
- const filterSensitiveLog: (obj: ListDomainAssociationsRequest) => any;
1888
- }
1889
- /**
1890
- * <p> The result structure for the list domain association request. </p>
1891
- */
1892
- export interface ListDomainAssociationsResult {
1893
- /**
1894
- * <p> A list of domain associations. </p>
1895
- */
1896
- domainAssociations: DomainAssociation[] | undefined;
1897
- /**
1898
- * <p> A pagination token. If non-null, a pagination token is returned in a result. Pass its
1899
- * value in another request to retrieve more entries. </p>
1900
- */
1901
- nextToken?: string;
1902
- }
1903
- export declare namespace ListDomainAssociationsResult {
1904
- /**
1905
- * @internal
1906
- */
1907
- const filterSensitiveLog: (obj: ListDomainAssociationsResult) => any;
1908
- }
1909
- /**
1910
- * <p> The request structure for the list jobs request. </p>
1911
- */
1912
- export interface ListJobsRequest {
1913
- /**
1914
- * <p> The unique ID for an Amplify app. </p>
1915
- */
1916
- appId: string | undefined;
1917
- /**
1918
- * <p> The name for a branch. </p>
1919
- */
1920
- branchName: string | undefined;
1921
- /**
1922
- * <p> A pagination token. Set to null to start listing steps from the start. If a non-null
1923
- * pagination token is returned in a result, pass its value in here to list more steps.
1924
- * </p>
1925
- */
1926
- nextToken?: string;
1927
- /**
1928
- * <p> The maximum number of records to list in a single response. </p>
1929
- */
1930
- maxResults?: number;
1931
- }
1932
- export declare namespace ListJobsRequest {
1933
- /**
1934
- * @internal
1935
- */
1936
- const filterSensitiveLog: (obj: ListJobsRequest) => any;
1937
- }
1938
- /**
1939
- * <p> The maximum number of records to list in a single response. </p>
1940
- */
1941
- export interface ListJobsResult {
1942
- /**
1943
- * <p> The result structure for the list job result request. </p>
1944
- */
1945
- jobSummaries: JobSummary[] | undefined;
1946
- /**
1947
- * <p> A pagination token. If non-null the pagination token is returned in a result. Pass
1948
- * its value in another request to retrieve more entries. </p>
1949
- */
1950
- nextToken?: string;
1951
- }
1952
- export declare namespace ListJobsResult {
1953
- /**
1954
- * @internal
1955
- */
1956
- const filterSensitiveLog: (obj: ListJobsResult) => any;
1957
- }
1958
- /**
1959
- * <p> The request structure to use to list tags for a resource. </p>
1960
- */
1961
- export interface ListTagsForResourceRequest {
1962
- /**
1963
- * <p> The Amazon Resource Name (ARN) to use to list tags. </p>
1964
- */
1965
- resourceArn: string | undefined;
1966
- }
1967
- export declare namespace ListTagsForResourceRequest {
1968
- /**
1969
- * @internal
1970
- */
1971
- const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1972
- }
1973
- /**
1974
- * <p> The response for the list tags for resource request. </p>
1975
- */
1976
- export interface ListTagsForResourceResponse {
1977
- /**
1978
- * <p> A list of tags for the specified The Amazon Resource Name (ARN). </p>
1979
- */
1980
- tags?: {
1981
- [key: string]: string;
1982
- };
1983
- }
1984
- export declare namespace ListTagsForResourceResponse {
1985
- /**
1986
- * @internal
1987
- */
1988
- const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1989
- }
1990
- /**
1991
- * <p> An operation failed due to a non-existent resource. </p>
1992
- */
1993
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
1994
- name: "ResourceNotFoundException";
1995
- $fault: "client";
1996
- code: string | undefined;
1997
- message: string | undefined;
1998
- }
1999
- export declare namespace ResourceNotFoundException {
2000
- /**
2001
- * @internal
2002
- */
2003
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
2004
- }
2005
- /**
2006
- * <p> The request structure for the list webhooks request. </p>
2007
- */
2008
- export interface ListWebhooksRequest {
2009
- /**
2010
- * <p> The unique ID for an Amplify app. </p>
2011
- */
2012
- appId: string | undefined;
2013
- /**
2014
- * <p> A pagination token. Set to null to start listing webhooks from the start. If
2015
- * non-null,the pagination token is returned in a result. Pass its value in here to list
2016
- * more webhooks. </p>
2017
- */
2018
- nextToken?: string;
2019
- /**
2020
- * <p> The maximum number of records to list in a single response. </p>
2021
- */
2022
- maxResults?: number;
2023
- }
2024
- export declare namespace ListWebhooksRequest {
2025
- /**
2026
- * @internal
2027
- */
2028
- const filterSensitiveLog: (obj: ListWebhooksRequest) => any;
2029
- }
2030
- /**
2031
- * <p> The result structure for the list webhooks request. </p>
2032
- */
2033
- export interface ListWebhooksResult {
2034
- /**
2035
- * <p> A list of webhooks. </p>
2036
- */
2037
- webhooks: Webhook[] | undefined;
2038
- /**
2039
- * <p> A pagination token. If non-null, the pagination token is returned in a result. Pass
2040
- * its value in another request to retrieve more entries. </p>
2041
- */
2042
- nextToken?: string;
2043
- }
2044
- export declare namespace ListWebhooksResult {
2045
- /**
2046
- * @internal
2047
- */
2048
- const filterSensitiveLog: (obj: ListWebhooksResult) => any;
2049
- }
2050
- /**
2051
- * <p> The request structure for the start a deployment request. </p>
2052
- */
2053
- export interface StartDeploymentRequest {
2054
- /**
2055
- * <p> The unique ID for an Amplify app. </p>
2056
- */
2057
- appId: string | undefined;
2058
- /**
2059
- * <p> The name for the branch, for the job. </p>
2060
- */
2061
- branchName: string | undefined;
2062
- /**
2063
- * <p> The job ID for this deployment, generated by the create deployment request. </p>
2064
- */
2065
- jobId?: string;
2066
- /**
2067
- * <p> The source URL for this deployment, used when calling start deployment without create
2068
- * deployment. The source URL can be any HTTP GET URL that is publicly accessible and
2069
- * downloads a single .zip file. </p>
2070
- */
2071
- sourceUrl?: string;
2072
- }
2073
- export declare namespace StartDeploymentRequest {
2074
- /**
2075
- * @internal
2076
- */
2077
- const filterSensitiveLog: (obj: StartDeploymentRequest) => any;
2078
- }
2079
- /**
2080
- * <p> The result structure for the start a deployment request. </p>
2081
- */
2082
- export interface StartDeploymentResult {
2083
- /**
2084
- * <p> The summary for the job. </p>
2085
- */
2086
- jobSummary: JobSummary | undefined;
2087
- }
2088
- export declare namespace StartDeploymentResult {
2089
- /**
2090
- * @internal
2091
- */
2092
- const filterSensitiveLog: (obj: StartDeploymentResult) => any;
2093
- }
2094
- /**
2095
- * <p> The request structure for the start job request. </p>
2096
- */
2097
- export interface StartJobRequest {
2098
- /**
2099
- * <p> The unique ID for an Amplify app. </p>
2100
- */
2101
- appId: string | undefined;
2102
- /**
2103
- * <p> The branch name for the job. </p>
2104
- */
2105
- branchName: string | undefined;
2106
- /**
2107
- * <p> The unique ID for an existing job. This is required if the value of
2108
- * <code>jobType</code> is <code>RETRY</code>. </p>
2109
- */
2110
- jobId?: string;
2111
- /**
2112
- * <p> Describes the type for the job. The job type <code>RELEASE</code> starts a new job
2113
- * with the latest change from the specified branch. This value is available only for apps
2114
- * that are connected to a repository. The job type <code>RETRY</code> retries an existing
2115
- * job. If the job type value is <code>RETRY</code>, the <code>jobId</code> is also
2116
- * required. </p>
2117
- */
2118
- jobType: JobType | string | undefined;
2119
- /**
2120
- * <p> A descriptive reason for starting this job. </p>
2121
- */
2122
- jobReason?: string;
2123
- /**
2124
- * <p> The commit ID from a third-party repository provider for the job. </p>
2125
- */
2126
- commitId?: string;
2127
- /**
2128
- * <p> The commit message from a third-party repository provider for the job. </p>
2129
- */
2130
- commitMessage?: string;
2131
- /**
2132
- * <p> The commit date and time for the job. </p>
2133
- */
2134
- commitTime?: Date;
2135
- }
2136
- export declare namespace StartJobRequest {
2137
- /**
2138
- * @internal
2139
- */
2140
- const filterSensitiveLog: (obj: StartJobRequest) => any;
2141
- }
2142
- /**
2143
- * <p> The result structure for the run job request. </p>
2144
- */
2145
- export interface StartJobResult {
2146
- /**
2147
- * <p> The summary for the job. </p>
2148
- */
2149
- jobSummary: JobSummary | undefined;
2150
- }
2151
- export declare namespace StartJobResult {
2152
- /**
2153
- * @internal
2154
- */
2155
- const filterSensitiveLog: (obj: StartJobResult) => any;
2156
- }
2157
- /**
2158
- * <p> The request structure for the stop job request. </p>
2159
- */
2160
- export interface StopJobRequest {
2161
- /**
2162
- * <p> The unique ID for an Amplify app. </p>
2163
- */
2164
- appId: string | undefined;
2165
- /**
2166
- * <p> The name for the branch, for the job. </p>
2167
- */
2168
- branchName: string | undefined;
2169
- /**
2170
- * <p> The unique id for the job. </p>
2171
- */
2172
- jobId: string | undefined;
2173
- }
2174
- export declare namespace StopJobRequest {
2175
- /**
2176
- * @internal
2177
- */
2178
- const filterSensitiveLog: (obj: StopJobRequest) => any;
2179
- }
2180
- /**
2181
- * <p> The result structure for the stop job request. </p>
2182
- */
2183
- export interface StopJobResult {
2184
- /**
2185
- * <p> The summary for the job. </p>
2186
- */
2187
- jobSummary: JobSummary | undefined;
2188
- }
2189
- export declare namespace StopJobResult {
2190
- /**
2191
- * @internal
2192
- */
2193
- const filterSensitiveLog: (obj: StopJobResult) => any;
2194
- }
2195
- /**
2196
- * <p> The request structure to tag a resource with a tag key and value. </p>
2197
- */
2198
- export interface TagResourceRequest {
2199
- /**
2200
- * <p> The Amazon Resource Name (ARN) to use to tag a resource. </p>
2201
- */
2202
- resourceArn: string | undefined;
2203
- /**
2204
- * <p> The tags used to tag the resource. </p>
2205
- */
2206
- tags: {
2207
- [key: string]: string;
2208
- } | undefined;
2209
- }
2210
- export declare namespace TagResourceRequest {
2211
- /**
2212
- * @internal
2213
- */
2214
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
2215
- }
2216
- /**
2217
- * <p> The response for the tag resource request. </p>
2218
- */
2219
- export interface TagResourceResponse {
2220
- }
2221
- export declare namespace TagResourceResponse {
2222
- /**
2223
- * @internal
2224
- */
2225
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
2226
- }
2227
- /**
2228
- * <p> The request structure for the untag resource request. </p>
2229
- */
2230
- export interface UntagResourceRequest {
2231
- /**
2232
- * <p> The Amazon Resource Name (ARN) to use to untag a resource. </p>
2233
- */
2234
- resourceArn: string | undefined;
2235
- /**
2236
- * <p> The tag keys to use to untag a resource. </p>
2237
- */
2238
- tagKeys: string[] | undefined;
2239
- }
2240
- export declare namespace UntagResourceRequest {
2241
- /**
2242
- * @internal
2243
- */
2244
- const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2245
- }
2246
- /**
2247
- * <p> The response for the untag resource request. </p>
2248
- */
2249
- export interface UntagResourceResponse {
2250
- }
2251
- export declare namespace UntagResourceResponse {
2252
- /**
2253
- * @internal
2254
- */
2255
- const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2256
- }
2257
- /**
2258
- * <p> The request structure for the update app request. </p>
2259
- */
2260
- export interface UpdateAppRequest {
2261
- /**
2262
- * <p> The unique ID for an Amplify app. </p>
2263
- */
2264
- appId: string | undefined;
2265
- /**
2266
- * <p> The name for an Amplify app. </p>
2267
- */
2268
- name?: string;
2269
- /**
2270
- * <p> The description for an Amplify app. </p>
2271
- */
2272
- description?: string;
2273
- /**
2274
- * <p> The platform for an Amplify app. </p>
2275
- */
2276
- platform?: Platform | string;
2277
- /**
2278
- * <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
2279
- */
2280
- iamServiceRoleArn?: string;
2281
- /**
2282
- * <p> The environment variables for an Amplify app. </p>
2283
- */
2284
- environmentVariables?: {
2285
- [key: string]: string;
2286
- };
2287
- /**
2288
- * <p> Enables branch auto-building for an Amplify app. </p>
2289
- */
2290
- enableBranchAutoBuild?: boolean;
2291
- /**
2292
- * <p> Automatically disconnects a branch in the Amplify Console when you delete a branch
2293
- * from your Git repository. </p>
2294
- */
2295
- enableBranchAutoDeletion?: boolean;
2296
- /**
2297
- * <p> Enables basic authorization for an Amplify app. </p>
2298
- */
2299
- enableBasicAuth?: boolean;
2300
- /**
2301
- * <p> The basic authorization credentials for an Amplify app. </p>
2302
- */
2303
- basicAuthCredentials?: string;
2304
- /**
2305
- * <p> The custom redirect and rewrite rules for an Amplify app. </p>
2306
- */
2307
- customRules?: CustomRule[];
2308
- /**
2309
- * <p> The build specification (build spec) for an Amplify app. </p>
2310
- */
2311
- buildSpec?: string;
2312
- /**
2313
- * <p>The custom HTTP headers for an Amplify app.</p>
2314
- */
2315
- customHeaders?: string;
2316
- /**
2317
- * <p> Enables automated branch creation for an Amplify app. </p>
2318
- */
2319
- enableAutoBranchCreation?: boolean;
2320
- /**
2321
- * <p> Describes the automated branch creation glob patterns for an Amplify app. </p>
2322
- */
2323
- autoBranchCreationPatterns?: string[];
2324
- /**
2325
- * <p> The automated branch creation configuration for an Amplify app. </p>
2326
- */
2327
- autoBranchCreationConfig?: AutoBranchCreationConfig;
2328
- /**
2329
- * <p> The name of the repository for an Amplify app </p>
2330
- */
2331
- repository?: string;
2332
- /**
2333
- * <p> The OAuth token for a third-party source control system for an Amplify app. The token
2334
- * is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
2335
- * </p>
2336
- */
2337
- oauthToken?: string;
2338
- /**
2339
- * <p> The personal access token for a third-party source control system for an Amplify app.
2340
- * The token is used to create webhook and a read-only deploy key. The token is not stored.
2341
- * </p>
2342
- */
2343
- accessToken?: string;
2344
- }
2345
- export declare namespace UpdateAppRequest {
2346
- /**
2347
- * @internal
2348
- */
2349
- const filterSensitiveLog: (obj: UpdateAppRequest) => any;
2350
- }
2351
- /**
2352
- * <p> The result structure for an Amplify app update request. </p>
2353
- */
2354
- export interface UpdateAppResult {
2355
- /**
2356
- * <p> Represents the updated Amplify app. </p>
2357
- */
2358
- app: App | undefined;
2359
- }
2360
- export declare namespace UpdateAppResult {
2361
- /**
2362
- * @internal
2363
- */
2364
- const filterSensitiveLog: (obj: UpdateAppResult) => any;
2365
- }
2366
- /**
2367
- * <p> The request structure for the update branch request. </p>
2368
- */
2369
- export interface UpdateBranchRequest {
2370
- /**
2371
- * <p> The unique ID for an Amplify app. </p>
2372
- */
2373
- appId: string | undefined;
2374
- /**
2375
- * <p> The name for the branch. </p>
2376
- */
2377
- branchName: string | undefined;
2378
- /**
2379
- * <p> The description for the branch. </p>
2380
- */
2381
- description?: string;
2382
- /**
2383
- * <p> The framework for the branch. </p>
2384
- */
2385
- framework?: string;
2386
- /**
2387
- * <p> Describes the current stage for the branch. </p>
2388
- */
2389
- stage?: Stage | string;
2390
- /**
2391
- * <p> Enables notifications for the branch. </p>
2392
- */
2393
- enableNotification?: boolean;
2394
- /**
2395
- * <p> Enables auto building for the branch. </p>
2396
- */
2397
- enableAutoBuild?: boolean;
2398
- /**
2399
- * <p> The environment variables for the branch. </p>
2400
- */
2401
- environmentVariables?: {
2402
- [key: string]: string;
2403
- };
2404
- /**
2405
- * <p> The basic authorization credentials for the branch. </p>
2406
- */
2407
- basicAuthCredentials?: string;
2408
- /**
2409
- * <p> Enables basic authorization for the branch. </p>
2410
- */
2411
- enableBasicAuth?: boolean;
2412
- /**
2413
- * <p>Enables performance mode for the branch.</p>
2414
- * <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
2415
- */
2416
- enablePerformanceMode?: boolean;
2417
- /**
2418
- * <p> The build specification (build spec) for the branch. </p>
2419
- */
2420
- buildSpec?: string;
2421
- /**
2422
- * <p> The content Time to Live (TTL) for the website in seconds. </p>
2423
- */
2424
- ttl?: string;
2425
- /**
2426
- * <p> The display name for a branch. This is used as the default domain prefix. </p>
2427
- */
2428
- displayName?: string;
2429
- /**
2430
- * <p> Enables pull request previews for this branch. </p>
2431
- */
2432
- enablePullRequestPreview?: boolean;
2433
- /**
2434
- * <p> The Amplify environment name for the pull request. </p>
2435
- */
2436
- pullRequestEnvironmentName?: string;
2437
- /**
2438
- * <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
2439
- * app. </p>
2440
- */
2441
- backendEnvironmentArn?: string;
2442
- }
2443
- export declare namespace UpdateBranchRequest {
2444
- /**
2445
- * @internal
2446
- */
2447
- const filterSensitiveLog: (obj: UpdateBranchRequest) => any;
2448
- }
2449
- /**
2450
- * <p> The result structure for the update branch request. </p>
2451
- */
2452
- export interface UpdateBranchResult {
2453
- /**
2454
- * <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
2455
- */
2456
- branch: Branch | undefined;
2457
- }
2458
- export declare namespace UpdateBranchResult {
2459
- /**
2460
- * @internal
2461
- */
2462
- const filterSensitiveLog: (obj: UpdateBranchResult) => any;
2463
- }
2464
- /**
2465
- * <p> The request structure for the update domain association request. </p>
2466
- */
2467
- export interface UpdateDomainAssociationRequest {
2468
- /**
2469
- * <p> The unique ID for an Amplify app. </p>
2470
- */
2471
- appId: string | undefined;
2472
- /**
2473
- * <p> The name of the domain. </p>
2474
- */
2475
- domainName: string | undefined;
2476
- /**
2477
- * <p> Enables the automated creation of subdomains for branches. </p>
2478
- */
2479
- enableAutoSubDomain?: boolean;
2480
- /**
2481
- * <p> Describes the settings for the subdomain. </p>
2482
- */
2483
- subDomainSettings: SubDomainSetting[] | undefined;
2484
- /**
2485
- * <p> Sets the branch patterns for automatic subdomain creation. </p>
2486
- */
2487
- autoSubDomainCreationPatterns?: string[];
2488
- /**
2489
- * <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
2490
- * Resource Name (ARN) for automatically creating subdomains. </p>
2491
- */
2492
- autoSubDomainIAMRole?: string;
2493
- }
2494
- export declare namespace UpdateDomainAssociationRequest {
2495
- /**
2496
- * @internal
2497
- */
2498
- const filterSensitiveLog: (obj: UpdateDomainAssociationRequest) => any;
2499
- }
2500
- /**
2501
- * <p> The result structure for the update domain association request. </p>
2502
- */
2503
- export interface UpdateDomainAssociationResult {
2504
- /**
2505
- * <p> Describes a domain association, which associates a custom domain with an Amplify app.
2506
- * </p>
2507
- */
2508
- domainAssociation: DomainAssociation | undefined;
2509
- }
2510
- export declare namespace UpdateDomainAssociationResult {
2511
- /**
2512
- * @internal
2513
- */
2514
- const filterSensitiveLog: (obj: UpdateDomainAssociationResult) => any;
2515
- }
2516
- /**
2517
- * <p> The request structure for the update webhook request. </p>
2518
- */
2519
- export interface UpdateWebhookRequest {
2520
- /**
2521
- * <p> The unique ID for a webhook. </p>
2522
- */
2523
- webhookId: string | undefined;
2524
- /**
2525
- * <p> The name for a branch that is part of an Amplify app. </p>
2526
- */
2527
- branchName?: string;
2528
- /**
2529
- * <p> The description for a webhook. </p>
2530
- */
2531
- description?: string;
2532
- }
2533
- export declare namespace UpdateWebhookRequest {
2534
- /**
2535
- * @internal
2536
- */
2537
- const filterSensitiveLog: (obj: UpdateWebhookRequest) => any;
2538
- }
2539
- /**
2540
- * <p> The result structure for the update webhook request. </p>
2541
- */
2542
- export interface UpdateWebhookResult {
2543
- /**
2544
- * <p> Describes a webhook that connects repository events to an Amplify app. </p>
2545
- */
2546
- webhook: Webhook | undefined;
2547
- }
2548
- export declare namespace UpdateWebhookResult {
2549
- /**
2550
- * @internal
2551
- */
2552
- const filterSensitiveLog: (obj: UpdateWebhookResult) => any;
2553
- }