@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
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Copies package versions from one repository to another repository in the same domain.
11
- * </p>
12
- * <note>
13
- * <p>
14
- * You must specify <code>versions</code> or <code>versionRevisions</code>. You cannot specify both.
15
- * </p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { CodeartifactClient, CopyPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
21
- * // const { CodeartifactClient, CopyPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
22
- * const client = new CodeartifactClient(config);
23
- * const command = new CopyPackageVersionsCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CopyPackageVersionsCommandInput} for command's `input` shape.
28
- * @see {@link CopyPackageVersionsCommandOutput} for command's `response` shape.
29
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class CopyPackageVersionsCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class CopyPackageVersionsCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.CopyPackageVersionsCommand = CopyPackageVersionsCommand;
68
- //# sourceMappingURL=CopyPackageVersionsCommand.js.map
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Creates a domain. CodeArtifact <i>domains</i> make it easier to manage multiple repositories across an
11
- * organization. You can use a domain to apply permissions across many
12
- * repositories owned by different AWS accounts. An asset is stored only once
13
- * in a domain, even if it's in multiple repositories.
14
- * </p>
15
- *
16
- * <p>Although you can have multiple domains, we recommend a single production domain that contains all
17
- * published artifacts so that your development teams can find and share packages. You can use a second
18
- * pre-production domain to test changes to the production domain configuration.
19
- * </p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CodeartifactClient, CreateDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
24
- * // const { CodeartifactClient, CreateDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
25
- * const client = new CodeartifactClient(config);
26
- * const command = new CreateDomainCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link CreateDomainCommandInput} for command's `input` shape.
31
- * @see {@link CreateDomainCommandOutput} for command's `response` shape.
32
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class CreateDomainCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +34,3 @@ class CreateDomainCommand extends smithy_client_1.Command {
68
34
  }
69
35
  }
70
36
  exports.CreateDomainCommand = CreateDomainCommand;
71
- //# sourceMappingURL=CreateDomainCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Creates a repository.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeartifactClient, CreateRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
16
- * // const { CodeartifactClient, CreateRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
17
- * const client = new CodeartifactClient(config);
18
- * const command = new CreateRepositoryCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateRepositoryCommandInput} for command's `input` shape.
23
- * @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
24
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateRepositoryCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class CreateRepositoryCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CreateRepositoryCommand = CreateRepositoryCommand;
63
- //# sourceMappingURL=CreateRepositoryCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain
11
- * with repositories, first delete its repositories.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CodeartifactClient, DeleteDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
17
- * // const { CodeartifactClient, DeleteDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
18
- * const client = new CodeartifactClient(config);
19
- * const command = new DeleteDomainCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteDomainCommandInput} for command's `input` shape.
24
- * @see {@link DeleteDomainCommandOutput} for command's `response` shape.
25
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeleteDomainCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DeleteDomainCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DeleteDomainCommand = DeleteDomainCommand;
64
- //# sourceMappingURL=DeleteDomainCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Deletes the resource policy set on a domain.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
16
- * // const { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
17
- * const client = new CodeartifactClient(config);
18
- * const command = new DeleteDomainPermissionsPolicyCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteDomainPermissionsPolicyCommandInput} for command's `input` shape.
23
- * @see {@link DeleteDomainPermissionsPolicyCommandOutput} for command's `response` shape.
24
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteDomainPermissionsPolicyCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteDomainPermissionsPolicyCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteDomainPermissionsPolicyCommand = DeleteDomainPermissionsPolicyCommand;
63
- //# sourceMappingURL=DeleteDomainPermissionsPolicyCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p> Deletes one or more versions of a package. A deleted package version cannot be restored
10
- * in your repository. If you want to remove a package version from your repository and be able
11
- * to restore it later, set its status to <code>Archived</code>. Archived packages cannot be
12
- * downloaded from a repository and don't show up with list package APIs (for example,
13
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListackageVersions</a>), but you can restore them using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionsStatus</a>. </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CodeartifactClient, DeletePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
18
- * // const { CodeartifactClient, DeletePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
19
- * const client = new CodeartifactClient(config);
20
- * const command = new DeletePackageVersionsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeletePackageVersionsCommandInput} for command's `input` shape.
25
- * @see {@link DeletePackageVersionsCommandOutput} for command's `response` shape.
26
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DeletePackageVersionsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DeletePackageVersionsCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DeletePackageVersionsCommand = DeletePackageVersionsCommand;
65
- //# sourceMappingURL=DeletePackageVersionsCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Deletes a repository.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeartifactClient, DeleteRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
16
- * // const { CodeartifactClient, DeleteRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
17
- * const client = new CodeartifactClient(config);
18
- * const command = new DeleteRepositoryCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
23
- * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
24
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteRepositoryCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteRepositoryCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
63
- //# sourceMappingURL=DeleteRepositoryCommand.js.map
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Deletes the resource policy that is set on a repository. After a resource policy is deleted, the
11
- * permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.
12
- * </p>
13
- * <important>
14
- * <p>
15
- * Use <code>DeleteRepositoryPermissionsPolicy</code> with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform
16
- * the repository actions granted by the deleted policy.
17
- * </p>
18
- * </important>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
23
- * // const { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
24
- * const client = new CodeartifactClient(config);
25
- * const command = new DeleteRepositoryPermissionsPolicyCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link DeleteRepositoryPermissionsPolicyCommandInput} for command's `input` shape.
30
- * @see {@link DeleteRepositoryPermissionsPolicyCommandOutput} for command's `response` shape.
31
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class DeleteRepositoryPermissionsPolicyCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +34,3 @@ class DeleteRepositoryPermissionsPolicyCommand extends smithy_client_1.Command {
67
34
  }
68
35
  }
69
36
  exports.DeleteRepositoryPermissionsPolicyCommand = DeleteRepositoryPermissionsPolicyCommand;
70
- //# sourceMappingURL=DeleteRepositoryPermissionsPolicyCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Returns a
11
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainDescription.html">DomainDescription</a>
12
- * object that contains information about the requested domain.
13
- * </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CodeartifactClient, DescribeDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
18
- * // const { CodeartifactClient, DescribeDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
19
- * const client = new CodeartifactClient(config);
20
- * const command = new DescribeDomainCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeDomainCommandInput} for command's `input` shape.
25
- * @see {@link DescribeDomainCommandOutput} for command's `response` shape.
26
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DescribeDomainCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DescribeDomainCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DescribeDomainCommand = DescribeDomainCommand;
65
- //# sourceMappingURL=DescribeDomainCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Returns a
11
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
12
- * object that contains information about the requested package version.
13
- * </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CodeartifactClient, DescribePackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
18
- * // const { CodeartifactClient, DescribePackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
19
- * const client = new CodeartifactClient(config);
20
- * const command = new DescribePackageVersionCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribePackageVersionCommandInput} for command's `input` shape.
25
- * @see {@link DescribePackageVersionCommandOutput} for command's `response` shape.
26
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DescribePackageVersionCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DescribePackageVersionCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DescribePackageVersionCommand = DescribePackageVersionCommand;
65
- //# sourceMappingURL=DescribePackageVersionCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Returns a <code>RepositoryDescription</code> object that contains detailed information
11
- * about the requested repository.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CodeartifactClient, DescribeRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
17
- * // const { CodeartifactClient, DescribeRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
18
- * const client = new CodeartifactClient(config);
19
- * const command = new DescribeRepositoryCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeRepositoryCommandInput} for command's `input` shape.
24
- * @see {@link DescribeRepositoryCommandOutput} for command's `response` shape.
25
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeRepositoryCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DescribeRepositoryCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DescribeRepositoryCommand = DescribeRepositoryCommand;
64
- //# sourceMappingURL=DescribeRepositoryCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Removes an existing external connection from a repository.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeartifactClient, DisassociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
16
- * // const { CodeartifactClient, DisassociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
17
- * const client = new CodeartifactClient(config);
18
- * const command = new DisassociateExternalConnectionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DisassociateExternalConnectionCommandInput} for command's `input` shape.
23
- * @see {@link DisassociateExternalConnectionCommandOutput} for command's `response` shape.
24
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DisassociateExternalConnectionCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DisassociateExternalConnectionCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DisassociateExternalConnectionCommand = DisassociateExternalConnectionCommand;
63
- //# sourceMappingURL=DisassociateExternalConnectionCommand.js.map
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Deletes the assets in package versions and sets the package versions' status to <code>Disposed</code>.
11
- * A disposed package version cannot be restored in your repository because its assets are deleted.
12
- * </p>
13
- *
14
- * <p>
15
- * To view all disposed package versions in a repository, use <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a> and set the
16
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html#API_ListPackageVersions_RequestSyntax">status</a> parameter
17
- * to <code>Disposed</code>.
18
- * </p>
19
- *
20
- * <p>
21
- * To view information about a disposed package version, use <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageVersion.html">DescribePackageVersion</a>.
22
- * </p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { CodeartifactClient, DisposePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
- * // const { CodeartifactClient, DisposePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
- * const client = new CodeartifactClient(config);
29
- * const command = new DisposePackageVersionsCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link DisposePackageVersionsCommandInput} for command's `input` shape.
34
- * @see {@link DisposePackageVersionsCommandOutput} for command's `response` shape.
35
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class DisposePackageVersionsCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -71,4 +34,3 @@ class DisposePackageVersionsCommand extends smithy_client_1.Command {
71
34
  }
72
35
  }
73
36
  exports.DisposePackageVersionsCommand = DisposePackageVersionsCommand;
74
- //# sourceMappingURL=DisposePackageVersionsCommand.js.map
@@ -5,55 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>
10
- * Generates a temporary authorization token for accessing repositories in the domain.
11
- * This API requires the <code>codeartifact:GetAuthorizationToken</code> and <code>sts:GetServiceBearerToken</code> permissions.
12
- * For more information about authorization tokens, see
13
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html">AWS CodeArtifact authentication and tokens</a>.
14
- * </p>
15
- * <note>
16
- * <p>CodeArtifact authorization tokens are valid for a period of 12 hours when created with the <code>login</code> command.
17
- * You can call <code>login</code> periodically to refresh the token. When
18
- * you create an authorization token with the <code>GetAuthorizationToken</code> API, you can set a custom authorization period,
19
- * up to a maximum of 12 hours, with the <code>durationSeconds</code> parameter.</p>
20
- * <p>The authorization period begins after <code>login</code>
21
- * or <code>GetAuthorizationToken</code> is called. If <code>login</code> or <code>GetAuthorizationToken</code> is called while
22
- * assuming a role, the token lifetime is independent of the maximum session duration
23
- * of the role. For example, if you call <code>sts assume-role</code> and specify a session duration of 15 minutes, then
24
- * generate a CodeArtifact authorization token, the token will be valid for the full authorization period
25
- * even though this is longer than the 15-minute session duration.</p>
26
- * <p>See
27
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html">Using IAM Roles</a>
28
- * for more information on controlling session duration. </p>
29
- * </note>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CodeartifactClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
- * // const { CodeartifactClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
- * const client = new CodeartifactClient(config);
36
- * const command = new GetAuthorizationTokenCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetAuthorizationTokenCommandInput} for command's `input` shape.
41
- * @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
42
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
8
  class GetAuthorizationTokenCommand extends smithy_client_1.Command {
46
- // Start section: command_properties
47
- // End section: command_properties
48
9
  constructor(input) {
49
- // Start section: command_constructor
50
10
  super();
51
11
  this.input = input;
52
- // End section: command_constructor
53
12
  }
54
- /**
55
- * @internal
56
- */
57
13
  resolveMiddleware(clientStack, configuration, options) {
58
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
59
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -78,4 +34,3 @@ class GetAuthorizationTokenCommand extends smithy_client_1.Command {
78
34
  }
79
35
  }
80
36
  exports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;
81
- //# sourceMappingURL=GetAuthorizationTokenCommand.js.map