@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,115 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { GetRepositoryEndpointRequest, GetRepositoryEndpointResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetRepositoryEndpointCommand,
18
- serializeAws_restJson1GetRepositoryEndpointCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetRepositoryEndpointCommandInput extends GetRepositoryEndpointRequest {}
22
- export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpointResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>
26
- * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
27
- * package format:
28
- * </p>
29
- * <ul>
30
- * <li>
31
- * <p>
32
- * <code>npm</code>
33
- * </p>
34
- * </li>
35
- * <li>
36
- * <p>
37
- * <code>pypi</code>
38
- * </p>
39
- * </li>
40
- * <li>
41
- * <p>
42
- * <code>maven</code>
43
- * </p>
44
- * </li>
45
- * </ul>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { CodeartifactClient, GetRepositoryEndpointCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
50
- * // const { CodeartifactClient, GetRepositoryEndpointCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
51
- * const client = new CodeartifactClient(config);
52
- * const command = new GetRepositoryEndpointCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link GetRepositoryEndpointCommandInput} for command's `input` shape.
57
- * @see {@link GetRepositoryEndpointCommandOutput} for command's `response` shape.
58
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
61
- export class GetRepositoryEndpointCommand extends $Command<
62
- GetRepositoryEndpointCommandInput,
63
- GetRepositoryEndpointCommandOutput,
64
- CodeartifactClientResolvedConfig
65
- > {
66
- // Start section: command_properties
67
- // End section: command_properties
68
-
69
- constructor(readonly input: GetRepositoryEndpointCommandInput) {
70
- // Start section: command_constructor
71
- super();
72
- // End section: command_constructor
73
- }
74
-
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(
79
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
80
- configuration: CodeartifactClientResolvedConfig,
81
- options?: __HttpHandlerOptions
82
- ): Handler<GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput> {
83
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
84
-
85
- const stack = clientStack.concat(this.middlewareStack);
86
-
87
- const { logger } = configuration;
88
- const clientName = "CodeartifactClient";
89
- const commandName = "GetRepositoryEndpointCommand";
90
- const handlerExecutionContext: HandlerExecutionContext = {
91
- logger,
92
- clientName,
93
- commandName,
94
- inputFilterSensitiveLog: GetRepositoryEndpointRequest.filterSensitiveLog,
95
- outputFilterSensitiveLog: GetRepositoryEndpointResult.filterSensitiveLog,
96
- };
97
- const { requestHandler } = configuration;
98
- return stack.resolve(
99
- (request: FinalizeHandlerArguments<any>) =>
100
- requestHandler.handle(request.request as __HttpRequest, options || {}),
101
- handlerExecutionContext
102
- );
103
- }
104
-
105
- private serialize(input: GetRepositoryEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
106
- return serializeAws_restJson1GetRepositoryEndpointCommand(input, context);
107
- }
108
-
109
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRepositoryEndpointCommandOutput> {
110
- return deserializeAws_restJson1GetRepositoryEndpointCommand(output, context);
111
- }
112
-
113
- // Start section: command_body_extra
114
- // End section: command_body_extra
115
- }
@@ -1,105 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { GetRepositoryPermissionsPolicyRequest, GetRepositoryPermissionsPolicyResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand,
18
- serializeAws_restJson1GetRepositoryPermissionsPolicyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetRepositoryPermissionsPolicyCommandInput extends GetRepositoryPermissionsPolicyRequest {}
22
- export interface GetRepositoryPermissionsPolicyCommandOutput
23
- extends GetRepositoryPermissionsPolicyResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>
28
- * Returns the resource policy that is set on a repository.
29
- * </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
- * // const { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
- * const client = new CodeartifactClient(config);
36
- * const command = new GetRepositoryPermissionsPolicyCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetRepositoryPermissionsPolicyCommandInput} for command's `input` shape.
41
- * @see {@link GetRepositoryPermissionsPolicyCommandOutput} for command's `response` shape.
42
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetRepositoryPermissionsPolicyCommand extends $Command<
46
- GetRepositoryPermissionsPolicyCommandInput,
47
- GetRepositoryPermissionsPolicyCommandOutput,
48
- CodeartifactClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetRepositoryPermissionsPolicyCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: CodeartifactClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "CodeartifactClient";
73
- const commandName = "GetRepositoryPermissionsPolicyCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetRepositoryPermissionsPolicyRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: GetRepositoryPermissionsPolicyResult.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(
90
- input: GetRepositoryPermissionsPolicyCommandInput,
91
- context: __SerdeContext
92
- ): Promise<__HttpRequest> {
93
- return serializeAws_restJson1GetRepositoryPermissionsPolicyCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<GetRepositoryPermissionsPolicyCommandOutput> {
100
- return deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { ListDomainsRequest, ListDomainsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListDomainsCommand,
18
- serializeAws_restJson1ListDomainsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListDomainsCommandInput extends ListDomainsRequest {}
22
- export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the AWS account that makes
26
- * this call. Each returned <code>DomainSummary</code> object contains information about a
27
- * domain. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { CodeartifactClient, ListDomainsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
- * // const { CodeartifactClient, ListDomainsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
- * const client = new CodeartifactClient(config);
34
- * const command = new ListDomainsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListDomainsCommandInput} for command's `input` shape.
39
- * @see {@link ListDomainsCommandOutput} for command's `response` shape.
40
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListDomainsCommand extends $Command<
44
- ListDomainsCommandInput,
45
- ListDomainsCommandOutput,
46
- CodeartifactClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListDomainsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: CodeartifactClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<ListDomainsCommandInput, ListDomainsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "CodeartifactClient";
71
- const commandName = "ListDomainsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListDomainsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListDomainsResult.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: ListDomainsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1ListDomainsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainsCommandOutput> {
92
- return deserializeAws_restJson1ListDomainsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { ListPackageVersionAssetsRequest, ListPackageVersionAssetsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListPackageVersionAssetsCommand,
18
- serializeAws_restJson1ListPackageVersionAssetsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListPackageVersionAssetsCommandInput extends ListPackageVersionAssetsRequest {}
22
- export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersionAssetsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>
26
- * Returns a list of
27
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a>
28
- * objects for assets in a package version.
29
- * </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CodeartifactClient, ListPackageVersionAssetsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
- * // const { CodeartifactClient, ListPackageVersionAssetsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
- * const client = new CodeartifactClient(config);
36
- * const command = new ListPackageVersionAssetsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListPackageVersionAssetsCommandInput} for command's `input` shape.
41
- * @see {@link ListPackageVersionAssetsCommandOutput} for command's `response` shape.
42
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListPackageVersionAssetsCommand extends $Command<
46
- ListPackageVersionAssetsCommandInput,
47
- ListPackageVersionAssetsCommandOutput,
48
- CodeartifactClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListPackageVersionAssetsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: CodeartifactClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "CodeartifactClient";
73
- const commandName = "ListPackageVersionAssetsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListPackageVersionAssetsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListPackageVersionAssetsResult.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListPackageVersionAssetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListPackageVersionAssetsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPackageVersionAssetsCommandOutput> {
94
- return deserializeAws_restJson1ListPackageVersionAssetsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,109 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { ListPackageVersionDependenciesRequest, ListPackageVersionDependenciesResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListPackageVersionDependenciesCommand,
18
- serializeAws_restJson1ListPackageVersionDependenciesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListPackageVersionDependenciesCommandInput extends ListPackageVersionDependenciesRequest {}
22
- export interface ListPackageVersionDependenciesCommandOutput
23
- extends ListPackageVersionDependenciesResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>
28
- * Returns the direct dependencies for a package version. The dependencies are returned as
29
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html">PackageDependency</a>
30
- * objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package
31
- * format (for example, the <code>package.json</code> file for npm packages and the <code>pom.xml</code> file
32
- * for Maven). Any package version dependencies that are not listed in the configuration file are not returned.
33
- * </p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { CodeartifactClient, ListPackageVersionDependenciesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
38
- * // const { CodeartifactClient, ListPackageVersionDependenciesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
39
- * const client = new CodeartifactClient(config);
40
- * const command = new ListPackageVersionDependenciesCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link ListPackageVersionDependenciesCommandInput} for command's `input` shape.
45
- * @see {@link ListPackageVersionDependenciesCommandOutput} for command's `response` shape.
46
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class ListPackageVersionDependenciesCommand extends $Command<
50
- ListPackageVersionDependenciesCommandInput,
51
- ListPackageVersionDependenciesCommandOutput,
52
- CodeartifactClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: ListPackageVersionDependenciesCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: CodeartifactClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "CodeartifactClient";
77
- const commandName = "ListPackageVersionDependenciesCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: ListPackageVersionDependenciesRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: ListPackageVersionDependenciesResult.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(
94
- input: ListPackageVersionDependenciesCommandInput,
95
- context: __SerdeContext
96
- ): Promise<__HttpRequest> {
97
- return serializeAws_restJson1ListPackageVersionDependenciesCommand(input, context);
98
- }
99
-
100
- private deserialize(
101
- output: __HttpResponse,
102
- context: __SerdeContext
103
- ): Promise<ListPackageVersionDependenciesCommandOutput> {
104
- return deserializeAws_restJson1ListPackageVersionDependenciesCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
15
- import { ListPackageVersionsRequest, ListPackageVersionsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListPackageVersionsCommand,
18
- serializeAws_restJson1ListPackageVersionsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListPackageVersionsCommandInput extends ListPackageVersionsRequest {}
22
- export interface ListPackageVersionsCommandOutput extends ListPackageVersionsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>
26
- * Returns a list of
27
- * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html">PackageVersionSummary</a>
28
- * objects for package versions in a repository that match the request parameters.
29
- * </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CodeartifactClient, ListPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
- * // const { CodeartifactClient, ListPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
- * const client = new CodeartifactClient(config);
36
- * const command = new ListPackageVersionsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListPackageVersionsCommandInput} for command's `input` shape.
41
- * @see {@link ListPackageVersionsCommandOutput} for command's `response` shape.
42
- * @see {@link CodeartifactClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListPackageVersionsCommand extends $Command<
46
- ListPackageVersionsCommandInput,
47
- ListPackageVersionsCommandOutput,
48
- CodeartifactClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListPackageVersionsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: CodeartifactClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "CodeartifactClient";
73
- const commandName = "ListPackageVersionsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListPackageVersionsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListPackageVersionsResult.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListPackageVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListPackageVersionsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPackageVersionsCommandOutput> {
94
- return deserializeAws_restJson1ListPackageVersionsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }