@aws-sdk/client-codeartifact 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Codeartifact.js +0 -257
  3. package/dist-cjs/CodeartifactClient.js +0 -262
  4. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +0 -29
  5. package/dist-cjs/commands/CopyPackageVersionsCommand.js +0 -32
  6. package/dist-cjs/commands/CreateDomainCommand.js +0 -35
  7. package/dist-cjs/commands/CreateRepositoryCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteDomainCommand.js +0 -28
  9. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +0 -27
  10. package/dist-cjs/commands/DeletePackageVersionsCommand.js +0 -29
  11. package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
  12. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +0 -34
  13. package/dist-cjs/commands/DescribeDomainCommand.js +0 -29
  14. package/dist-cjs/commands/DescribePackageVersionCommand.js +0 -29
  15. package/dist-cjs/commands/DescribeRepositoryCommand.js +0 -28
  16. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +0 -27
  17. package/dist-cjs/commands/DisposePackageVersionsCommand.js +0 -38
  18. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -45
  19. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +0 -34
  20. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +0 -29
  21. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +0 -32
  22. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +0 -45
  23. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +0 -27
  24. package/dist-cjs/commands/ListDomainsCommand.js +0 -27
  25. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +0 -29
  26. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +0 -31
  27. package/dist-cjs/commands/ListPackageVersionsCommand.js +0 -29
  28. package/dist-cjs/commands/ListPackagesCommand.js +0 -29
  29. package/dist-cjs/commands/ListRepositoriesCommand.js +0 -30
  30. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +0 -30
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  32. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +0 -32
  33. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +0 -32
  34. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  35. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  36. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +0 -27
  37. package/dist-cjs/commands/UpdateRepositoryCommand.js +0 -27
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +1 -2
  40. package/dist-cjs/index.js +4 -44
  41. package/dist-cjs/models/index.js +0 -1
  42. package/dist-cjs/models/models_0.js +0 -277
  43. package/dist-cjs/pagination/Interfaces.js +0 -1
  44. package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
  45. package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js +0 -11
  46. package/dist-cjs/pagination/ListPackageVersionsPaginator.js +0 -11
  47. package/dist-cjs/pagination/ListPackagesPaginator.js +0 -11
  48. package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js +0 -11
  49. package/dist-cjs/pagination/ListRepositoriesPaginator.js +0 -11
  50. package/dist-cjs/pagination/index.js +10 -0
  51. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  52. package/dist-cjs/runtimeConfig.browser.js +1 -6
  53. package/dist-cjs/runtimeConfig.js +2 -7
  54. package/dist-cjs/runtimeConfig.native.js +0 -4
  55. package/dist-cjs/runtimeConfig.shared.js +0 -4
  56. package/dist-es/Codeartifact.js +0 -1
  57. package/dist-es/CodeartifactClient.js +0 -1
  58. package/dist-es/commands/AssociateExternalConnectionCommand.js +0 -1
  59. package/dist-es/commands/CopyPackageVersionsCommand.js +0 -1
  60. package/dist-es/commands/CreateDomainCommand.js +0 -1
  61. package/dist-es/commands/CreateRepositoryCommand.js +0 -1
  62. package/dist-es/commands/DeleteDomainCommand.js +0 -1
  63. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +0 -1
  64. package/dist-es/commands/DeletePackageVersionsCommand.js +0 -1
  65. package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
  66. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +0 -1
  67. package/dist-es/commands/DescribeDomainCommand.js +0 -1
  68. package/dist-es/commands/DescribePackageVersionCommand.js +0 -1
  69. package/dist-es/commands/DescribeRepositoryCommand.js +0 -1
  70. package/dist-es/commands/DisassociateExternalConnectionCommand.js +0 -1
  71. package/dist-es/commands/DisposePackageVersionsCommand.js +0 -1
  72. package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
  73. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +0 -1
  74. package/dist-es/commands/GetPackageVersionAssetCommand.js +0 -1
  75. package/dist-es/commands/GetPackageVersionReadmeCommand.js +0 -1
  76. package/dist-es/commands/GetRepositoryEndpointCommand.js +0 -1
  77. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +0 -1
  78. package/dist-es/commands/ListDomainsCommand.js +0 -1
  79. package/dist-es/commands/ListPackageVersionAssetsCommand.js +0 -1
  80. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +0 -1
  81. package/dist-es/commands/ListPackageVersionsCommand.js +0 -1
  82. package/dist-es/commands/ListPackagesCommand.js +0 -1
  83. package/dist-es/commands/ListRepositoriesCommand.js +0 -1
  84. package/dist-es/commands/ListRepositoriesInDomainCommand.js +0 -1
  85. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  86. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +0 -1
  87. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +0 -1
  88. package/dist-es/commands/TagResourceCommand.js +0 -1
  89. package/dist-es/commands/UntagResourceCommand.js +0 -1
  90. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +0 -1
  91. package/dist-es/commands/UpdateRepositoryCommand.js +0 -1
  92. package/dist-es/commands/index.js +34 -0
  93. package/dist-es/endpoints.js +1 -2
  94. package/dist-es/index.js +4 -44
  95. package/dist-es/models/index.js +0 -1
  96. package/dist-es/models/models_0.js +0 -1
  97. package/dist-es/pagination/Interfaces.js +0 -1
  98. package/dist-es/pagination/ListDomainsPaginator.js +0 -1
  99. package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +0 -1
  100. package/dist-es/pagination/ListPackageVersionsPaginator.js +0 -1
  101. package/dist-es/pagination/ListPackagesPaginator.js +0 -1
  102. package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +0 -1
  103. package/dist-es/pagination/ListRepositoriesPaginator.js +0 -1
  104. package/dist-es/pagination/index.js +7 -0
  105. package/dist-es/protocols/Aws_restJson1.js +0 -1
  106. package/dist-es/runtimeConfig.browser.js +1 -2
  107. package/dist-es/runtimeConfig.js +2 -3
  108. package/dist-es/runtimeConfig.native.js +0 -1
  109. package/dist-es/runtimeConfig.shared.js +0 -1
  110. package/dist-types/commands/index.d.ts +34 -0
  111. package/dist-types/index.d.ts +4 -43
  112. package/dist-types/pagination/index.d.ts +7 -0
  113. package/dist-types/ts3.4/Codeartifact.d.ts +35 -537
  114. package/dist-types/ts3.4/CodeartifactClient.d.ts +24 -342
  115. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +2 -24
  116. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +2 -27
  117. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +2 -30
  118. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -22
  119. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +2 -23
  120. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -22
  121. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +2 -24
  122. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -29
  124. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +2 -24
  126. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +2 -22
  128. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +2 -33
  129. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -40
  130. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -29
  131. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +2 -27
  133. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +2 -40
  134. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -22
  135. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +2 -24
  137. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +2 -26
  138. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +2 -24
  139. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +2 -24
  140. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +2 -25
  141. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +2 -25
  142. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -27
  145. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -22
  148. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +2 -22
  149. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  150. package/dist-types/ts3.4/index.d.ts +4 -43
  151. package/dist-types/ts3.4/models/models_0.d.ts +433 -3000
  152. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  153. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  154. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  155. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  156. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  157. package/package.json +33 -30
  158. package/dist-cjs/Codeartifact.js.map +0 -1
  159. package/dist-cjs/CodeartifactClient.js.map +0 -1
  160. package/dist-cjs/commands/AssociateExternalConnectionCommand.js.map +0 -1
  161. package/dist-cjs/commands/CopyPackageVersionsCommand.js.map +0 -1
  162. package/dist-cjs/commands/CreateDomainCommand.js.map +0 -1
  163. package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
  164. package/dist-cjs/commands/DeleteDomainCommand.js.map +0 -1
  165. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js.map +0 -1
  166. package/dist-cjs/commands/DeletePackageVersionsCommand.js.map +0 -1
  167. package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
  168. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js.map +0 -1
  169. package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
  170. package/dist-cjs/commands/DescribePackageVersionCommand.js.map +0 -1
  171. package/dist-cjs/commands/DescribeRepositoryCommand.js.map +0 -1
  172. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js.map +0 -1
  173. package/dist-cjs/commands/DisposePackageVersionsCommand.js.map +0 -1
  174. package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
  175. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js.map +0 -1
  176. package/dist-cjs/commands/GetPackageVersionAssetCommand.js.map +0 -1
  177. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js.map +0 -1
  178. package/dist-cjs/commands/GetRepositoryEndpointCommand.js.map +0 -1
  179. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js.map +0 -1
  180. package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
  181. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js.map +0 -1
  182. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js.map +0 -1
  183. package/dist-cjs/commands/ListPackageVersionsCommand.js.map +0 -1
  184. package/dist-cjs/commands/ListPackagesCommand.js.map +0 -1
  185. package/dist-cjs/commands/ListRepositoriesCommand.js.map +0 -1
  186. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js.map +0 -1
  187. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  188. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js.map +0 -1
  189. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js.map +0 -1
  190. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  191. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  192. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js.map +0 -1
  193. package/dist-cjs/commands/UpdateRepositoryCommand.js.map +0 -1
  194. package/dist-cjs/endpoints.js.map +0 -1
  195. package/dist-cjs/index.js.map +0 -1
  196. package/dist-cjs/models/index.js.map +0 -1
  197. package/dist-cjs/models/models_0.js.map +0 -1
  198. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  199. package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
  200. package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js.map +0 -1
  201. package/dist-cjs/pagination/ListPackageVersionsPaginator.js.map +0 -1
  202. package/dist-cjs/pagination/ListPackagesPaginator.js.map +0 -1
  203. package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js.map +0 -1
  204. package/dist-cjs/pagination/ListRepositoriesPaginator.js.map +0 -1
  205. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  206. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  207. package/dist-cjs/runtimeConfig.js.map +0 -1
  208. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  209. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  210. package/dist-es/Codeartifact.js.map +0 -1
  211. package/dist-es/CodeartifactClient.js.map +0 -1
  212. package/dist-es/commands/AssociateExternalConnectionCommand.js.map +0 -1
  213. package/dist-es/commands/CopyPackageVersionsCommand.js.map +0 -1
  214. package/dist-es/commands/CreateDomainCommand.js.map +0 -1
  215. package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
  216. package/dist-es/commands/DeleteDomainCommand.js.map +0 -1
  217. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js.map +0 -1
  218. package/dist-es/commands/DeletePackageVersionsCommand.js.map +0 -1
  219. package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
  220. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js.map +0 -1
  221. package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
  222. package/dist-es/commands/DescribePackageVersionCommand.js.map +0 -1
  223. package/dist-es/commands/DescribeRepositoryCommand.js.map +0 -1
  224. package/dist-es/commands/DisassociateExternalConnectionCommand.js.map +0 -1
  225. package/dist-es/commands/DisposePackageVersionsCommand.js.map +0 -1
  226. package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
  227. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js.map +0 -1
  228. package/dist-es/commands/GetPackageVersionAssetCommand.js.map +0 -1
  229. package/dist-es/commands/GetPackageVersionReadmeCommand.js.map +0 -1
  230. package/dist-es/commands/GetRepositoryEndpointCommand.js.map +0 -1
  231. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js.map +0 -1
  232. package/dist-es/commands/ListDomainsCommand.js.map +0 -1
  233. package/dist-es/commands/ListPackageVersionAssetsCommand.js.map +0 -1
  234. package/dist-es/commands/ListPackageVersionDependenciesCommand.js.map +0 -1
  235. package/dist-es/commands/ListPackageVersionsCommand.js.map +0 -1
  236. package/dist-es/commands/ListPackagesCommand.js.map +0 -1
  237. package/dist-es/commands/ListRepositoriesCommand.js.map +0 -1
  238. package/dist-es/commands/ListRepositoriesInDomainCommand.js.map +0 -1
  239. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  240. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js.map +0 -1
  241. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js.map +0 -1
  242. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  243. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  244. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js.map +0 -1
  245. package/dist-es/commands/UpdateRepositoryCommand.js.map +0 -1
  246. package/dist-es/endpoints.js.map +0 -1
  247. package/dist-es/index.js.map +0 -1
  248. package/dist-es/models/index.js.map +0 -1
  249. package/dist-es/models/models_0.js.map +0 -1
  250. package/dist-es/pagination/Interfaces.js.map +0 -1
  251. package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
  252. package/dist-es/pagination/ListPackageVersionAssetsPaginator.js.map +0 -1
  253. package/dist-es/pagination/ListPackageVersionsPaginator.js.map +0 -1
  254. package/dist-es/pagination/ListPackagesPaginator.js.map +0 -1
  255. package/dist-es/pagination/ListRepositoriesInDomainPaginator.js.map +0 -1
  256. package/dist-es/pagination/ListRepositoriesPaginator.js.map +0 -1
  257. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  258. package/dist-es/runtimeConfig.browser.js.map +0 -1
  259. package/dist-es/runtimeConfig.js.map +0 -1
  260. package/dist-es/runtimeConfig.native.js.map +0 -1
  261. package/dist-es/runtimeConfig.shared.js.map +0 -1
  262. package/jest.config.js +0 -4
  263. package/src/Codeartifact.ts +0 -1669
  264. package/src/CodeartifactClient.ts +0 -657
  265. package/src/commands/AssociateExternalConnectionCommand.ts +0 -102
  266. package/src/commands/CopyPackageVersionsCommand.ts +0 -102
  267. package/src/commands/CreateDomainCommand.ts +0 -105
  268. package/src/commands/CreateRepositoryCommand.ts +0 -97
  269. package/src/commands/DeleteDomainCommand.ts +0 -98
  270. package/src/commands/DeleteDomainPermissionsPolicyCommand.ts +0 -102
  271. package/src/commands/DeletePackageVersionsCommand.ts +0 -99
  272. package/src/commands/DeleteRepositoryCommand.ts +0 -97
  273. package/src/commands/DeleteRepositoryPermissionsPolicyCommand.ts +0 -112
  274. package/src/commands/DescribeDomainCommand.ts +0 -99
  275. package/src/commands/DescribePackageVersionCommand.ts +0 -99
  276. package/src/commands/DescribeRepositoryCommand.ts +0 -98
  277. package/src/commands/DisassociateExternalConnectionCommand.ts +0 -105
  278. package/src/commands/DisposePackageVersionsCommand.ts +0 -108
  279. package/src/commands/GetAuthorizationTokenCommand.ts +0 -115
  280. package/src/commands/GetDomainPermissionsPolicyCommand.ts +0 -107
  281. package/src/commands/GetPackageVersionAssetCommand.ts +0 -99
  282. package/src/commands/GetPackageVersionReadmeCommand.ts +0 -102
  283. package/src/commands/GetRepositoryEndpointCommand.ts +0 -115
  284. package/src/commands/GetRepositoryPermissionsPolicyCommand.ts +0 -105
  285. package/src/commands/ListDomainsCommand.ts +0 -97
  286. package/src/commands/ListPackageVersionAssetsCommand.ts +0 -99
  287. package/src/commands/ListPackageVersionDependenciesCommand.ts +0 -109
  288. package/src/commands/ListPackageVersionsCommand.ts +0 -99
  289. package/src/commands/ListPackagesCommand.ts +0 -99
  290. package/src/commands/ListRepositoriesCommand.ts +0 -100
  291. package/src/commands/ListRepositoriesInDomainCommand.ts +0 -100
  292. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  293. package/src/commands/PutDomainPermissionsPolicyCommand.ts +0 -105
  294. package/src/commands/PutRepositoryPermissionsPolicyCommand.ts +0 -110
  295. package/src/commands/TagResourceCommand.ts +0 -95
  296. package/src/commands/UntagResourceCommand.ts +0 -95
  297. package/src/commands/UpdatePackageVersionsStatusCommand.ts +0 -100
  298. package/src/commands/UpdateRepositoryCommand.ts +0 -97
  299. package/src/endpoints.ts +0 -57
  300. package/src/index.ts +0 -44
  301. package/src/models/index.ts +0 -1
  302. package/src/models/models_0.ts +0 -4453
  303. package/src/pagination/Interfaces.ts +0 -8
  304. package/src/pagination/ListDomainsPaginator.ts +0 -55
  305. package/src/pagination/ListPackageVersionAssetsPaginator.ts +0 -59
  306. package/src/pagination/ListPackageVersionsPaginator.ts +0 -59
  307. package/src/pagination/ListPackagesPaginator.ts +0 -59
  308. package/src/pagination/ListRepositoriesInDomainPaginator.ts +0 -59
  309. package/src/pagination/ListRepositoriesPaginator.ts +0 -59
  310. package/src/protocols/Aws_restJson1.ts +0 -5056
  311. package/src/runtimeConfig.browser.ts +0 -41
  312. package/src/runtimeConfig.native.ts +0 -17
  313. package/src/runtimeConfig.shared.ts +0 -17
  314. package/src/runtimeConfig.ts +0 -46
  315. package/tsconfig.es.json +0 -10
  316. package/tsconfig.json +0 -33
  317. package/tsconfig.types.json +0 -9
@@ -1,657 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- AssociateExternalConnectionCommandInput,
54
- AssociateExternalConnectionCommandOutput,
55
- } from "./commands/AssociateExternalConnectionCommand";
56
- import {
57
- CopyPackageVersionsCommandInput,
58
- CopyPackageVersionsCommandOutput,
59
- } from "./commands/CopyPackageVersionsCommand";
60
- import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
61
- import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
62
- import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
63
- import {
64
- DeleteDomainPermissionsPolicyCommandInput,
65
- DeleteDomainPermissionsPolicyCommandOutput,
66
- } from "./commands/DeleteDomainPermissionsPolicyCommand";
67
- import {
68
- DeletePackageVersionsCommandInput,
69
- DeletePackageVersionsCommandOutput,
70
- } from "./commands/DeletePackageVersionsCommand";
71
- import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
72
- import {
73
- DeleteRepositoryPermissionsPolicyCommandInput,
74
- DeleteRepositoryPermissionsPolicyCommandOutput,
75
- } from "./commands/DeleteRepositoryPermissionsPolicyCommand";
76
- import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
77
- import {
78
- DescribePackageVersionCommandInput,
79
- DescribePackageVersionCommandOutput,
80
- } from "./commands/DescribePackageVersionCommand";
81
- import { DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput } from "./commands/DescribeRepositoryCommand";
82
- import {
83
- DisassociateExternalConnectionCommandInput,
84
- DisassociateExternalConnectionCommandOutput,
85
- } from "./commands/DisassociateExternalConnectionCommand";
86
- import {
87
- DisposePackageVersionsCommandInput,
88
- DisposePackageVersionsCommandOutput,
89
- } from "./commands/DisposePackageVersionsCommand";
90
- import {
91
- GetAuthorizationTokenCommandInput,
92
- GetAuthorizationTokenCommandOutput,
93
- } from "./commands/GetAuthorizationTokenCommand";
94
- import {
95
- GetDomainPermissionsPolicyCommandInput,
96
- GetDomainPermissionsPolicyCommandOutput,
97
- } from "./commands/GetDomainPermissionsPolicyCommand";
98
- import {
99
- GetPackageVersionAssetCommandInput,
100
- GetPackageVersionAssetCommandOutput,
101
- } from "./commands/GetPackageVersionAssetCommand";
102
- import {
103
- GetPackageVersionReadmeCommandInput,
104
- GetPackageVersionReadmeCommandOutput,
105
- } from "./commands/GetPackageVersionReadmeCommand";
106
- import {
107
- GetRepositoryEndpointCommandInput,
108
- GetRepositoryEndpointCommandOutput,
109
- } from "./commands/GetRepositoryEndpointCommand";
110
- import {
111
- GetRepositoryPermissionsPolicyCommandInput,
112
- GetRepositoryPermissionsPolicyCommandOutput,
113
- } from "./commands/GetRepositoryPermissionsPolicyCommand";
114
- import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
115
- import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
116
- import {
117
- ListPackageVersionAssetsCommandInput,
118
- ListPackageVersionAssetsCommandOutput,
119
- } from "./commands/ListPackageVersionAssetsCommand";
120
- import {
121
- ListPackageVersionDependenciesCommandInput,
122
- ListPackageVersionDependenciesCommandOutput,
123
- } from "./commands/ListPackageVersionDependenciesCommand";
124
- import {
125
- ListPackageVersionsCommandInput,
126
- ListPackageVersionsCommandOutput,
127
- } from "./commands/ListPackageVersionsCommand";
128
- import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
129
- import {
130
- ListRepositoriesInDomainCommandInput,
131
- ListRepositoriesInDomainCommandOutput,
132
- } from "./commands/ListRepositoriesInDomainCommand";
133
- import {
134
- ListTagsForResourceCommandInput,
135
- ListTagsForResourceCommandOutput,
136
- } from "./commands/ListTagsForResourceCommand";
137
- import {
138
- PutDomainPermissionsPolicyCommandInput,
139
- PutDomainPermissionsPolicyCommandOutput,
140
- } from "./commands/PutDomainPermissionsPolicyCommand";
141
- import {
142
- PutRepositoryPermissionsPolicyCommandInput,
143
- PutRepositoryPermissionsPolicyCommandOutput,
144
- } from "./commands/PutRepositoryPermissionsPolicyCommand";
145
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
146
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
147
- import {
148
- UpdatePackageVersionsStatusCommandInput,
149
- UpdatePackageVersionsStatusCommandOutput,
150
- } from "./commands/UpdatePackageVersionsStatusCommand";
151
- import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
152
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
153
-
154
- export type ServiceInputTypes =
155
- | AssociateExternalConnectionCommandInput
156
- | CopyPackageVersionsCommandInput
157
- | CreateDomainCommandInput
158
- | CreateRepositoryCommandInput
159
- | DeleteDomainCommandInput
160
- | DeleteDomainPermissionsPolicyCommandInput
161
- | DeletePackageVersionsCommandInput
162
- | DeleteRepositoryCommandInput
163
- | DeleteRepositoryPermissionsPolicyCommandInput
164
- | DescribeDomainCommandInput
165
- | DescribePackageVersionCommandInput
166
- | DescribeRepositoryCommandInput
167
- | DisassociateExternalConnectionCommandInput
168
- | DisposePackageVersionsCommandInput
169
- | GetAuthorizationTokenCommandInput
170
- | GetDomainPermissionsPolicyCommandInput
171
- | GetPackageVersionAssetCommandInput
172
- | GetPackageVersionReadmeCommandInput
173
- | GetRepositoryEndpointCommandInput
174
- | GetRepositoryPermissionsPolicyCommandInput
175
- | ListDomainsCommandInput
176
- | ListPackageVersionAssetsCommandInput
177
- | ListPackageVersionDependenciesCommandInput
178
- | ListPackageVersionsCommandInput
179
- | ListPackagesCommandInput
180
- | ListRepositoriesCommandInput
181
- | ListRepositoriesInDomainCommandInput
182
- | ListTagsForResourceCommandInput
183
- | PutDomainPermissionsPolicyCommandInput
184
- | PutRepositoryPermissionsPolicyCommandInput
185
- | TagResourceCommandInput
186
- | UntagResourceCommandInput
187
- | UpdatePackageVersionsStatusCommandInput
188
- | UpdateRepositoryCommandInput;
189
-
190
- export type ServiceOutputTypes =
191
- | AssociateExternalConnectionCommandOutput
192
- | CopyPackageVersionsCommandOutput
193
- | CreateDomainCommandOutput
194
- | CreateRepositoryCommandOutput
195
- | DeleteDomainCommandOutput
196
- | DeleteDomainPermissionsPolicyCommandOutput
197
- | DeletePackageVersionsCommandOutput
198
- | DeleteRepositoryCommandOutput
199
- | DeleteRepositoryPermissionsPolicyCommandOutput
200
- | DescribeDomainCommandOutput
201
- | DescribePackageVersionCommandOutput
202
- | DescribeRepositoryCommandOutput
203
- | DisassociateExternalConnectionCommandOutput
204
- | DisposePackageVersionsCommandOutput
205
- | GetAuthorizationTokenCommandOutput
206
- | GetDomainPermissionsPolicyCommandOutput
207
- | GetPackageVersionAssetCommandOutput
208
- | GetPackageVersionReadmeCommandOutput
209
- | GetRepositoryEndpointCommandOutput
210
- | GetRepositoryPermissionsPolicyCommandOutput
211
- | ListDomainsCommandOutput
212
- | ListPackageVersionAssetsCommandOutput
213
- | ListPackageVersionDependenciesCommandOutput
214
- | ListPackageVersionsCommandOutput
215
- | ListPackagesCommandOutput
216
- | ListRepositoriesCommandOutput
217
- | ListRepositoriesInDomainCommandOutput
218
- | ListTagsForResourceCommandOutput
219
- | PutDomainPermissionsPolicyCommandOutput
220
- | PutRepositoryPermissionsPolicyCommandOutput
221
- | TagResourceCommandOutput
222
- | UntagResourceCommandOutput
223
- | UpdatePackageVersionsStatusCommandOutput
224
- | UpdateRepositoryCommandOutput;
225
-
226
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
227
- /**
228
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
229
- */
230
- requestHandler?: __HttpHandler;
231
-
232
- /**
233
- * A constructor for a class implementing the {@link __Hash} interface
234
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
235
- * @internal
236
- */
237
- sha256?: __HashConstructor;
238
-
239
- /**
240
- * The function that will be used to convert strings into HTTP endpoints.
241
- * @internal
242
- */
243
- urlParser?: __UrlParser;
244
-
245
- /**
246
- * A function that can calculate the length of a request body.
247
- * @internal
248
- */
249
- bodyLengthChecker?: (body: any) => number | undefined;
250
-
251
- /**
252
- * A function that converts a stream into an array of bytes.
253
- * @internal
254
- */
255
- streamCollector?: __StreamCollector;
256
-
257
- /**
258
- * The function that will be used to convert a base64-encoded string to a byte array.
259
- * @internal
260
- */
261
- base64Decoder?: __Decoder;
262
-
263
- /**
264
- * The function that will be used to convert binary data to a base64-encoded string.
265
- * @internal
266
- */
267
- base64Encoder?: __Encoder;
268
-
269
- /**
270
- * The function that will be used to convert a UTF8-encoded string to a byte array.
271
- * @internal
272
- */
273
- utf8Decoder?: __Decoder;
274
-
275
- /**
276
- * The function that will be used to convert binary data to a UTF-8 encoded string.
277
- * @internal
278
- */
279
- utf8Encoder?: __Encoder;
280
-
281
- /**
282
- * The runtime environment.
283
- * @internal
284
- */
285
- runtime?: string;
286
-
287
- /**
288
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
289
- * trait of an operation.
290
- */
291
- disableHostPrefix?: boolean;
292
-
293
- /**
294
- * Value for how many times a request will be made at most in case of retry.
295
- */
296
- maxAttempts?: number | __Provider<number>;
297
-
298
- /**
299
- * Specifies which retry algorithm to use.
300
- */
301
- retryMode?: string | __Provider<string>;
302
-
303
- /**
304
- * Optional logger for logging debug/info/warn/error.
305
- */
306
- logger?: __Logger;
307
-
308
- /**
309
- * Unique service identifier.
310
- * @internal
311
- */
312
- serviceId?: string;
313
-
314
- /**
315
- * The AWS region to which this client will send requests
316
- */
317
- region?: string | __Provider<string>;
318
-
319
- /**
320
- * Default credentials provider; Not available in browser runtime.
321
- * @internal
322
- */
323
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
324
-
325
- /**
326
- * Fetch related hostname, signing name or signing region with given region.
327
- * @internal
328
- */
329
- regionInfoProvider?: RegionInfoProvider;
330
-
331
- /**
332
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
333
- * @internal
334
- */
335
- defaultUserAgentProvider?: Provider<__UserAgent>;
336
- }
337
-
338
- type CodeartifactClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
339
- ClientDefaults &
340
- RegionInputConfig &
341
- EndpointsInputConfig &
342
- RetryInputConfig &
343
- HostHeaderInputConfig &
344
- AwsAuthInputConfig &
345
- UserAgentInputConfig;
346
- /**
347
- * The configuration interface of CodeartifactClient class constructor that set the region, credentials and other options.
348
- */
349
- export interface CodeartifactClientConfig extends CodeartifactClientConfigType {}
350
-
351
- type CodeartifactClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
352
- Required<ClientDefaults> &
353
- RegionResolvedConfig &
354
- EndpointsResolvedConfig &
355
- RetryResolvedConfig &
356
- HostHeaderResolvedConfig &
357
- AwsAuthResolvedConfig &
358
- UserAgentResolvedConfig;
359
- /**
360
- * The resolved configuration interface of CodeartifactClient class. This is resolved and normalized from the {@link CodeartifactClientConfig | constructor configuration interface}.
361
- */
362
- export interface CodeartifactClientResolvedConfig extends CodeartifactClientResolvedConfigType {}
363
-
364
- /**
365
- * <p> AWS CodeArtifact is a fully managed artifact repository compatible with language-native
366
- * package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to
367
- * share packages with development teams and pull packages. Packages can be pulled from both
368
- * public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
369
- * repository and another repository, which effectively merges their contents from the point of
370
- * view of a package manager client. </p>
371
- *
372
- * <p>
373
- * <b>AWS CodeArtifact Components</b>
374
- * </p>
375
- * <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
376
- *
377
- * <ul>
378
- * <li>
379
- * <p>
380
- * <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
381
- * versions</a>, each of which maps to a set of assets, or files. Repositories are
382
- * polyglot, so a single repository can contain packages of any supported type. Each
383
- * repository exposes endpoints for fetching and publishing packages using tools like the
384
- * <b>
385
- * <code>npm</code>
386
- * </b> CLI, the Maven CLI (<b>
387
- * <code>mvn</code>
388
- * </b>), and <b>
389
- * <code>pip</code>
390
- * </b>.</p>
391
- * </li>
392
- * <li>
393
- * <p>
394
- * <b>Domain</b>: Repositories are aggregated into a higher-level entity known as a
395
- * <i>domain</i>. All package assets and metadata are stored in the domain,
396
- * but are consumed through repositories. A given package asset, such as a Maven JAR file, is
397
- * stored once per domain, no matter how many repositories it's present in. All of the assets
398
- * and metadata in a domain are encrypted with the same customer master key (CMK) stored in
399
- * AWS Key Management Service (AWS KMS).</p>
400
- * <p>Each repository is a member of a single domain and can't be moved to a
401
- * different domain.</p>
402
- * <p>The domain allows organizational policy to be applied across multiple
403
- * repositories, such as which accounts can access repositories in the domain, and
404
- * which public repositories can be used as sources of packages.</p>
405
- * <p>Although an organization can have multiple domains, we recommend a single production
406
- * domain that contains all published artifacts so that teams can find and share packages
407
- * across their organization.</p>
408
- * </li>
409
- * <li>
410
- * <p>
411
- * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
412
- * resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a> package formats.</p>
413
- * <p>In CodeArtifact, a package consists of:</p>
414
- * <ul>
415
- * <li>
416
- * <p>A <i>name</i> (for example, <code>webpack</code> is the name of a
417
- * popular npm package)</p>
418
- * </li>
419
- * <li>
420
- * <p>An optional namespace (for example, <code>@types</code> in <code>@types/node</code>)</p>
421
- * </li>
422
- * <li>
423
- * <p>A set of versions (for example, <code>1.0.0</code>, <code>1.0.1</code>,
424
- * <code>1.0.2</code>, etc.)</p>
425
- * </li>
426
- * <li>
427
- * <p> Package-level metadata (for example, npm tags)</p>
428
- * </li>
429
- * </ul>
430
- * </li>
431
- * <li>
432
- * <p>
433
- * <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
434
- * format and semantics vary for different package formats. For example, npm package versions
435
- * must conform to the <a href="https://semver.org/">Semantic Versioning
436
- * specification</a>. In CodeArtifact, a package version consists of the version identifier,
437
- * metadata at the package version level, and a set of assets.</p>
438
- * </li>
439
- * <li>
440
- * <p>
441
- * <b>Upstream repository</b>: One repository is <i>upstream</i> of another when the package versions in
442
- * it can be accessed from the repository endpoint of the downstream repository, effectively
443
- * merging the contents of the two repositories from the point of view of a client. CodeArtifact
444
- * allows creating an upstream relationship between two repositories.</p>
445
- * </li>
446
- * <li>
447
- * <p>
448
- * <b>Asset</b>: An individual file stored in CodeArtifact associated with a package version, such as an npm
449
- * <code>.tgz</code> file or Maven POM and JAR files.</p>
450
- * </li>
451
- * </ul>
452
- *
453
- * <p>CodeArtifact supports these operations:</p>
454
- * <ul>
455
- * <li>
456
- * <p>
457
- * <code>AssociateExternalConnection</code>: Adds an existing external
458
- * connection to a repository.
459
- * </p>
460
- * </li>
461
- * <li>
462
- * <p>
463
- * <code>CopyPackageVersions</code>: Copies package versions from one
464
- * repository to another repository in the same domain.</p>
465
- * </li>
466
- * <li>
467
- * <p>
468
- * <code>CreateDomain</code>: Creates a domain</p>
469
- * </li>
470
- * <li>
471
- * <p>
472
- * <code>CreateRepository</code>: Creates a CodeArtifact repository in a domain. </p>
473
- * </li>
474
- * <li>
475
- * <p>
476
- * <code>DeleteDomain</code>: Deletes a domain. You cannot delete a domain that contains
477
- * repositories. </p>
478
- * </li>
479
- * <li>
480
- * <p>
481
- * <code>DeleteDomainPermissionsPolicy</code>: Deletes the resource policy that is set on a domain.</p>
482
- * </li>
483
- * <li>
484
- * <p>
485
- * <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
486
- * been deleted, it can be republished, but its assets and metadata cannot be restored
487
- * because they have been permanently removed from storage.</p>
488
- * </li>
489
- * <li>
490
- * <p>
491
- * <code>DeleteRepository</code>: Deletes a repository.
492
- * </p>
493
- * </li>
494
- * <li>
495
- * <p>
496
- * <code>DeleteRepositoryPermissionsPolicy</code>: Deletes the resource policy that is set on a repository.</p>
497
- * </li>
498
- * <li>
499
- * <p>
500
- * <code>DescribeDomain</code>: Returns a <code>DomainDescription</code> object that
501
- * contains information about the requested domain.</p>
502
- * </li>
503
- * <li>
504
- * <p>
505
- * <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
506
- * object that contains details about a package version. </p>
507
- * </li>
508
- * <li>
509
- * <p>
510
- * <code>DescribeRepository</code>: Returns a <code>RepositoryDescription</code> object
511
- * that contains detailed information about the requested repository. </p>
512
- * </li>
513
- * <li>
514
- * <p>
515
- * <code>DisposePackageVersions</code>: Disposes versions of a package. A package version
516
- * with the status <code>Disposed</code> cannot be restored because they have been
517
- * permanently removed from storage.</p>
518
- * </li>
519
- * <li>
520
- * <p>
521
- * <code>DisassociateExternalConnection</code>: Removes an existing external connection from a repository.
522
- * </p>
523
- * </li>
524
- * <li>
525
- * <p>
526
- * <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
527
- * The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
528
- * </li>
529
- * <li>
530
- * <p>
531
- * <code>GetDomainPermissionsPolicy</code>: Returns the policy of a resource
532
- * that is attached to the specified domain. </p>
533
- * </li>
534
- * <li>
535
- * <p>
536
- * <code>GetPackageVersionAsset</code>: Returns the contents of an asset that is in a package version. </p>
537
- * </li>
538
- * <li>
539
- * <p>
540
- * <code>GetPackageVersionReadme</code>: Gets the readme file or descriptive text for a package version.</p>
541
- * </li>
542
- * <li>
543
- * <p>
544
- * <code>GetRepositoryEndpoint</code>: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
545
- * package format:
546
- * </p>
547
- * <ul>
548
- * <li>
549
- * <p>
550
- * <code>npm</code>
551
- * </p>
552
- * </li>
553
- * <li>
554
- * <p>
555
- * <code>pypi</code>
556
- * </p>
557
- * </li>
558
- * <li>
559
- * <p>
560
- * <code>maven</code>
561
- * </p>
562
- * </li>
563
- * </ul>
564
- * </li>
565
- * <li>
566
- * <p>
567
- * <code>GetRepositoryPermissionsPolicy</code>: Returns the resource policy that is set on a repository.
568
- * </p>
569
- * </li>
570
- * <li>
571
- * <p>
572
- * <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
573
- * returned <code>DomainSummary</code> object contains information about a domain.</p>
574
- * </li>
575
- * <li>
576
- * <p>
577
- * <code>ListPackages</code>: Lists the packages in a repository.</p>
578
- * </li>
579
- * <li>
580
- * <p>
581
- * <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
582
- * </li>
583
- * <li>
584
- * <p>
585
- * <code>ListPackageVersionDependencies</code>: Returns a list of the direct dependencies for a
586
- * package version. </p>
587
- * </li>
588
- * <li>
589
- * <p>
590
- * <code>ListPackageVersions</code>: Returns a list of package versions for a specified
591
- * package in a repository.</p>
592
- * </li>
593
- * <li>
594
- * <p>
595
- * <code>ListRepositories</code>: Returns a list of repositories owned by the AWS account that called this method.</p>
596
- * </li>
597
- * <li>
598
- * <p>
599
- * <code>ListRepositoriesInDomain</code>: Returns a list of the repositories in a domain.</p>
600
- * </li>
601
- * <li>
602
- * <p>
603
- * <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
604
- * </li>
605
- * <li>
606
- * <p>
607
- * <code>PutRepositoryPermissionsPolicy</code>: Sets the resource policy on a repository
608
- * that specifies permissions to access it. </p>
609
- * </li>
610
- * <li>
611
- * <p>
612
- * <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
613
- * </li>
614
- * <li>
615
- * <p>
616
- * <code>UpdateRepository</code>: Updates the properties of a repository.</p>
617
- * </li>
618
- * </ul>
619
- */
620
- export class CodeartifactClient extends __Client<
621
- __HttpHandlerOptions,
622
- ServiceInputTypes,
623
- ServiceOutputTypes,
624
- CodeartifactClientResolvedConfig
625
- > {
626
- /**
627
- * The resolved configuration of CodeartifactClient class. This is resolved and normalized from the {@link CodeartifactClientConfig | constructor configuration interface}.
628
- */
629
- readonly config: CodeartifactClientResolvedConfig;
630
-
631
- constructor(configuration: CodeartifactClientConfig) {
632
- const _config_0 = __getRuntimeConfig(configuration);
633
- const _config_1 = resolveRegionConfig(_config_0);
634
- const _config_2 = resolveEndpointsConfig(_config_1);
635
- const _config_3 = resolveRetryConfig(_config_2);
636
- const _config_4 = resolveHostHeaderConfig(_config_3);
637
- const _config_5 = resolveAwsAuthConfig(_config_4);
638
- const _config_6 = resolveUserAgentConfig(_config_5);
639
- super(_config_6);
640
- this.config = _config_6;
641
- this.middlewareStack.use(getRetryPlugin(this.config));
642
- this.middlewareStack.use(getContentLengthPlugin(this.config));
643
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
644
- this.middlewareStack.use(getLoggerPlugin(this.config));
645
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
646
- this.middlewareStack.use(getUserAgentPlugin(this.config));
647
- }
648
-
649
- /**
650
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
651
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
652
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
653
- */
654
- destroy(): void {
655
- super.destroy();
656
- }
657
- }