@aws-sdk/client-codeartifact 3.337.0 → 3.341.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 (165) hide show
  1. package/dist-cjs/CodeartifactClient.js +2 -1
  2. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +2 -1
  3. package/dist-cjs/commands/CopyPackageVersionsCommand.js +2 -1
  4. package/dist-cjs/commands/CreateDomainCommand.js +2 -1
  5. package/dist-cjs/commands/CreateRepositoryCommand.js +2 -1
  6. package/dist-cjs/commands/DeleteDomainCommand.js +2 -1
  7. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +2 -1
  8. package/dist-cjs/commands/DeletePackageCommand.js +2 -1
  9. package/dist-cjs/commands/DeletePackageVersionsCommand.js +2 -1
  10. package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -1
  11. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +2 -1
  12. package/dist-cjs/commands/DescribeDomainCommand.js +2 -1
  13. package/dist-cjs/commands/DescribePackageCommand.js +2 -1
  14. package/dist-cjs/commands/DescribePackageVersionCommand.js +2 -1
  15. package/dist-cjs/commands/DescribeRepositoryCommand.js +2 -1
  16. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +2 -1
  17. package/dist-cjs/commands/DisposePackageVersionsCommand.js +2 -1
  18. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +2 -1
  19. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +2 -1
  20. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +2 -1
  21. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +2 -1
  22. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +2 -1
  23. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +2 -1
  24. package/dist-cjs/commands/ListDomainsCommand.js +2 -1
  25. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +2 -1
  26. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +2 -1
  27. package/dist-cjs/commands/ListPackageVersionsCommand.js +2 -1
  28. package/dist-cjs/commands/ListPackagesCommand.js +2 -1
  29. package/dist-cjs/commands/ListRepositoriesCommand.js +2 -1
  30. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +2 -1
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  32. package/dist-cjs/commands/PublishPackageVersionCommand.js +2 -1
  33. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +2 -1
  34. package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +2 -1
  35. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +2 -1
  36. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  37. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  38. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +2 -1
  39. package/dist-cjs/commands/UpdateRepositoryCommand.js +2 -1
  40. package/dist-cjs/index.js +2 -2
  41. package/dist-cjs/models/CodeartifactServiceException.js +2 -1
  42. package/dist-es/CodeartifactClient.js +1 -0
  43. package/dist-es/commands/AssociateExternalConnectionCommand.js +1 -0
  44. package/dist-es/commands/CopyPackageVersionsCommand.js +1 -0
  45. package/dist-es/commands/CreateDomainCommand.js +1 -0
  46. package/dist-es/commands/CreateRepositoryCommand.js +1 -0
  47. package/dist-es/commands/DeleteDomainCommand.js +1 -0
  48. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +1 -0
  49. package/dist-es/commands/DeletePackageCommand.js +1 -0
  50. package/dist-es/commands/DeletePackageVersionsCommand.js +1 -0
  51. package/dist-es/commands/DeleteRepositoryCommand.js +1 -0
  52. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +1 -0
  53. package/dist-es/commands/DescribeDomainCommand.js +1 -0
  54. package/dist-es/commands/DescribePackageCommand.js +1 -0
  55. package/dist-es/commands/DescribePackageVersionCommand.js +1 -0
  56. package/dist-es/commands/DescribeRepositoryCommand.js +1 -0
  57. package/dist-es/commands/DisassociateExternalConnectionCommand.js +1 -0
  58. package/dist-es/commands/DisposePackageVersionsCommand.js +1 -0
  59. package/dist-es/commands/GetAuthorizationTokenCommand.js +1 -0
  60. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +1 -0
  61. package/dist-es/commands/GetPackageVersionAssetCommand.js +1 -0
  62. package/dist-es/commands/GetPackageVersionReadmeCommand.js +1 -0
  63. package/dist-es/commands/GetRepositoryEndpointCommand.js +1 -0
  64. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +1 -0
  65. package/dist-es/commands/ListDomainsCommand.js +1 -0
  66. package/dist-es/commands/ListPackageVersionAssetsCommand.js +1 -0
  67. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +1 -0
  68. package/dist-es/commands/ListPackageVersionsCommand.js +1 -0
  69. package/dist-es/commands/ListPackagesCommand.js +1 -0
  70. package/dist-es/commands/ListRepositoriesCommand.js +1 -0
  71. package/dist-es/commands/ListRepositoriesInDomainCommand.js +1 -0
  72. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  73. package/dist-es/commands/PublishPackageVersionCommand.js +1 -0
  74. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +1 -0
  75. package/dist-es/commands/PutPackageOriginConfigurationCommand.js +1 -0
  76. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +1 -0
  77. package/dist-es/commands/TagResourceCommand.js +1 -0
  78. package/dist-es/commands/UntagResourceCommand.js +1 -0
  79. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +1 -0
  80. package/dist-es/commands/UpdateRepositoryCommand.js +1 -0
  81. package/dist-es/index.js +2 -2
  82. package/dist-es/models/CodeartifactServiceException.js +1 -0
  83. package/dist-types/CodeartifactClient.d.ts +3 -3
  84. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +4 -0
  85. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +4 -0
  86. package/dist-types/commands/CreateDomainCommand.d.ts +4 -0
  87. package/dist-types/commands/CreateRepositoryCommand.d.ts +4 -0
  88. package/dist-types/commands/DeleteDomainCommand.d.ts +4 -0
  89. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +4 -0
  90. package/dist-types/commands/DeletePackageCommand.d.ts +4 -0
  91. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +4 -0
  92. package/dist-types/commands/DeleteRepositoryCommand.d.ts +4 -0
  93. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +4 -0
  94. package/dist-types/commands/DescribeDomainCommand.d.ts +4 -0
  95. package/dist-types/commands/DescribePackageCommand.d.ts +4 -0
  96. package/dist-types/commands/DescribePackageVersionCommand.d.ts +4 -0
  97. package/dist-types/commands/DescribeRepositoryCommand.d.ts +4 -0
  98. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +4 -0
  99. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +4 -0
  100. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +4 -0
  101. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +4 -0
  102. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +4 -0
  103. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +4 -0
  104. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +4 -0
  105. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +4 -0
  106. package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
  107. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +4 -0
  108. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +4 -0
  109. package/dist-types/commands/ListPackageVersionsCommand.d.ts +4 -0
  110. package/dist-types/commands/ListPackagesCommand.d.ts +4 -0
  111. package/dist-types/commands/ListRepositoriesCommand.d.ts +4 -0
  112. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +4 -0
  113. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  114. package/dist-types/commands/PublishPackageVersionCommand.d.ts +4 -0
  115. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +4 -0
  116. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +4 -0
  117. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +4 -0
  118. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  119. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  120. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +4 -0
  121. package/dist-types/commands/UpdateRepositoryCommand.d.ts +4 -0
  122. package/dist-types/index.d.ts +280 -2
  123. package/dist-types/models/CodeartifactServiceException.d.ts +1 -0
  124. package/dist-types/ts3.4/CodeartifactClient.d.ts +3 -3
  125. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +1 -0
  126. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +1 -0
  127. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +1 -0
  128. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +1 -0
  129. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +1 -0
  130. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +1 -0
  131. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +1 -0
  132. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +1 -0
  133. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +1 -0
  134. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -0
  135. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -0
  136. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +1 -0
  137. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +1 -0
  138. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +1 -0
  139. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +1 -0
  140. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +1 -0
  141. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +1 -0
  142. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -0
  143. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +1 -0
  144. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +1 -0
  145. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +1 -0
  146. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +1 -0
  147. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -0
  148. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +1 -0
  149. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +1 -0
  150. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +1 -0
  151. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +1 -0
  152. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +1 -0
  153. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +1 -0
  154. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  155. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +1 -0
  156. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +1 -0
  157. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +1 -0
  158. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +1 -0
  159. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  161. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +1 -0
  162. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +1 -0
  163. package/dist-types/ts3.4/index.d.ts +2 -2
  164. package/dist-types/ts3.4/models/CodeartifactServiceException.d.ts +1 -0
  165. package/package.json +30 -30
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListDomainsRequest, ListDomainsResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListPackageVersionAssetsRequest, ListPackageVersionAssetsResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListPackageVersionDependenciesRequest, ListPackageVersionDependenciesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListPackageVersionsRequest, ListPackageVersionsResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListPackagesRequest, ListPackagesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListRepositoriesRequest, ListRepositoriesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListRepositoriesInDomainRequest, ListRepositoriesInDomainResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -4,6 +4,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
5
5
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
6
6
  import { PublishPackageVersionRequest, PublishPackageVersionResult } from "../models/models_0";
7
+ /**
8
+ * @public
9
+ */
10
+ export { __MetadataBearer, $Command };
7
11
  /**
8
12
  * @public
9
13
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { PutDomainPermissionsPolicyRequest, PutDomainPermissionsPolicyResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { PutPackageOriginConfigurationRequest, PutPackageOriginConfigurationResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { PutRepositoryPermissionsPolicyRequest, PutRepositoryPermissionsPolicyResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { TagResourceRequest, TagResourceResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { UpdatePackageVersionsStatusRequest, UpdatePackageVersionsStatusResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
5
  import { UpdateRepositoryRequest, UpdateRepositoryResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,284 @@
1
- export * from "./Codeartifact";
1
+ /**
2
+ * <p> CodeArtifact is a fully managed artifact repository compatible with language-native
3
+ * package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
4
+ * share packages with development teams and pull packages. Packages can be pulled from both
5
+ * public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
6
+ * repository and another repository, which effectively merges their contents from the point of
7
+ * view of a package manager client. </p>
8
+ * <p>
9
+ * <b>CodeArtifact Components</b>
10
+ * </p>
11
+ * <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>
15
+ * <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
16
+ * versions</a>, each of which maps to a set of assets, or files. Repositories are
17
+ * polyglot, so a single repository can contain packages of any supported type. Each
18
+ * repository exposes endpoints for fetching and publishing packages using tools like the
19
+ * <b>
20
+ * <code>npm</code>
21
+ * </b> CLI, the Maven CLI (<b>
22
+ * <code>mvn</code>
23
+ * </b>), Python CLIs (<b>
24
+ * <code>pip</code>
25
+ * </b> and <code>twine</code>), and NuGet CLIs (<code>nuget</code> and <code>dotnet</code>).</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>
29
+ * <b>Domain</b>: Repositories are aggregated into a higher-level entity known as a
30
+ * <i>domain</i>. All package assets and metadata are stored in the domain,
31
+ * but are consumed through repositories. A given package asset, such as a Maven JAR file, is
32
+ * stored once per domain, no matter how many repositories it's present in. All of the assets
33
+ * and metadata in a domain are encrypted with the same customer master key (CMK) stored in
34
+ * Key Management Service (KMS).</p>
35
+ * <p>Each repository is a member of a single domain and can't be moved to a
36
+ * different domain.</p>
37
+ * <p>The domain allows organizational policy to be applied across multiple
38
+ * repositories, such as which accounts can access repositories in the domain, and
39
+ * which public repositories can be used as sources of packages.</p>
40
+ * <p>Although an organization can have multiple domains, we recommend a single production
41
+ * domain that contains all published artifacts so that teams can find and share packages
42
+ * across their organization.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
47
+ * resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a> package formats.</p>
48
+ * <p>In CodeArtifact, a package consists of:</p>
49
+ * <ul>
50
+ * <li>
51
+ * <p>A <i>name</i> (for example, <code>webpack</code> is the name of a
52
+ * popular npm package)</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>An optional namespace (for example, <code>@types</code> in <code>@types/node</code>)</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>A set of versions (for example, <code>1.0.0</code>, <code>1.0.1</code>,
59
+ * <code>1.0.2</code>, etc.)</p>
60
+ * </li>
61
+ * <li>
62
+ * <p> Package-level metadata (for example, npm tags)</p>
63
+ * </li>
64
+ * </ul>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
69
+ * format and semantics vary for different package formats. For example, npm package versions
70
+ * must conform to the <a href="https://semver.org/">Semantic Versioning
71
+ * specification</a>. In CodeArtifact, a package version consists of the version identifier,
72
+ * metadata at the package version level, and a set of assets.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <b>Upstream repository</b>: One repository is <i>upstream</i> of another when the package versions in
77
+ * it can be accessed from the repository endpoint of the downstream repository, effectively
78
+ * merging the contents of the two repositories from the point of view of a client. CodeArtifact
79
+ * allows creating an upstream relationship between two repositories.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>
83
+ * <b>Asset</b>: An individual file stored in CodeArtifact associated with a package version, such as an npm
84
+ * <code>.tgz</code> file or Maven POM and JAR files.</p>
85
+ * </li>
86
+ * </ul>
87
+ * <p>CodeArtifact supports these operations:</p>
88
+ * <ul>
89
+ * <li>
90
+ * <p>
91
+ * <code>AssociateExternalConnection</code>: Adds an existing external
92
+ * connection to a repository.
93
+ * </p>
94
+ * </li>
95
+ * <li>
96
+ * <p>
97
+ * <code>CopyPackageVersions</code>: Copies package versions from one
98
+ * repository to another repository in the same domain.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>
102
+ * <code>CreateDomain</code>: Creates a domain</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>CreateRepository</code>: Creates a CodeArtifact repository in a domain. </p>
107
+ * </li>
108
+ * <li>
109
+ * <p>
110
+ * <code>DeleteDomain</code>: Deletes a domain. You cannot delete a domain that contains
111
+ * repositories. </p>
112
+ * </li>
113
+ * <li>
114
+ * <p>
115
+ * <code>DeleteDomainPermissionsPolicy</code>: Deletes the resource policy that is set on a domain.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>
119
+ * <code>DeletePackage</code>: Deletes a package and all associated package versions.</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>
123
+ * <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
124
+ * been deleted, it can be republished, but its assets and metadata cannot be restored
125
+ * because they have been permanently removed from storage.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>
129
+ * <code>DeleteRepository</code>: Deletes a repository.
130
+ * </p>
131
+ * </li>
132
+ * <li>
133
+ * <p>
134
+ * <code>DeleteRepositoryPermissionsPolicy</code>: Deletes the resource policy that is set on a repository.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>
138
+ * <code>DescribeDomain</code>: Returns a <code>DomainDescription</code> object that
139
+ * contains information about the requested domain.</p>
140
+ * </li>
141
+ * <li>
142
+ * <p>
143
+ * <code>DescribePackage</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
144
+ * object that contains details about a package. </p>
145
+ * </li>
146
+ * <li>
147
+ * <p>
148
+ * <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
149
+ * object that contains details about a package version. </p>
150
+ * </li>
151
+ * <li>
152
+ * <p>
153
+ * <code>DescribeRepository</code>: Returns a <code>RepositoryDescription</code> object
154
+ * that contains detailed information about the requested repository. </p>
155
+ * </li>
156
+ * <li>
157
+ * <p>
158
+ * <code>DisposePackageVersions</code>: Disposes versions of a package. A package version
159
+ * with the status <code>Disposed</code> cannot be restored because they have been
160
+ * permanently removed from storage.</p>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <code>DisassociateExternalConnection</code>: Removes an existing external connection from a repository.
165
+ * </p>
166
+ * </li>
167
+ * <li>
168
+ * <p>
169
+ * <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
170
+ * The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <code>GetDomainPermissionsPolicy</code>: Returns the policy of a resource
175
+ * that is attached to the specified domain. </p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <code>GetPackageVersionAsset</code>: Returns the contents of an asset that is in a package version. </p>
180
+ * </li>
181
+ * <li>
182
+ * <p>
183
+ * <code>GetPackageVersionReadme</code>: Gets the readme file or descriptive text for a package version.</p>
184
+ * </li>
185
+ * <li>
186
+ * <p>
187
+ * <code>GetRepositoryEndpoint</code>: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
188
+ * package format:
189
+ * </p>
190
+ * <ul>
191
+ * <li>
192
+ * <p>
193
+ * <code>maven</code>
194
+ * </p>
195
+ * </li>
196
+ * <li>
197
+ * <p>
198
+ * <code>npm</code>
199
+ * </p>
200
+ * </li>
201
+ * <li>
202
+ * <p>
203
+ * <code>nuget</code>
204
+ * </p>
205
+ * </li>
206
+ * <li>
207
+ * <p>
208
+ * <code>pypi</code>
209
+ * </p>
210
+ * </li>
211
+ * </ul>
212
+ * </li>
213
+ * <li>
214
+ * <p>
215
+ * <code>GetRepositoryPermissionsPolicy</code>: Returns the resource policy that is set on a repository.
216
+ * </p>
217
+ * </li>
218
+ * <li>
219
+ * <p>
220
+ * <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
221
+ * returned <code>DomainSummary</code> object contains information about a domain.</p>
222
+ * </li>
223
+ * <li>
224
+ * <p>
225
+ * <code>ListPackages</code>: Lists the packages in a repository.</p>
226
+ * </li>
227
+ * <li>
228
+ * <p>
229
+ * <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
230
+ * </li>
231
+ * <li>
232
+ * <p>
233
+ * <code>ListPackageVersionDependencies</code>: Returns a list of the direct dependencies for a
234
+ * package version. </p>
235
+ * </li>
236
+ * <li>
237
+ * <p>
238
+ * <code>ListPackageVersions</code>: Returns a list of package versions for a specified
239
+ * package in a repository.</p>
240
+ * </li>
241
+ * <li>
242
+ * <p>
243
+ * <code>ListRepositories</code>: Returns a list of repositories owned by the Amazon Web Services account that called this method.</p>
244
+ * </li>
245
+ * <li>
246
+ * <p>
247
+ * <code>ListRepositoriesInDomain</code>: Returns a list of the repositories in a domain.</p>
248
+ * </li>
249
+ * <li>
250
+ * <p>
251
+ * <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
252
+ * </li>
253
+ * <li>
254
+ * <p>
255
+ * <code>PutDomainPermissionsPolicy</code>: Attaches a resource policy to a domain.</p>
256
+ * </li>
257
+ * <li>
258
+ * <p>
259
+ * <code>PutPackageOriginConfiguration</code>: Sets the package origin configuration for a package, which determine
260
+ * how new versions of the package can be added to a specific repository.</p>
261
+ * </li>
262
+ * <li>
263
+ * <p>
264
+ * <code>PutRepositoryPermissionsPolicy</code>: Sets the resource policy on a repository
265
+ * that specifies permissions to access it. </p>
266
+ * </li>
267
+ * <li>
268
+ * <p>
269
+ * <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
270
+ * </li>
271
+ * <li>
272
+ * <p>
273
+ * <code>UpdateRepository</code>: Updates the properties of a repository.</p>
274
+ * </li>
275
+ * </ul>
276
+ *
277
+ * @packageDocumentation
278
+ */
2
279
  export * from "./CodeartifactClient";
280
+ export * from "./Codeartifact";
3
281
  export * from "./commands";
4
- export * from "./models";
5
282
  export * from "./pagination";
283
+ export * from "./models";
6
284
  export { CodeartifactServiceException } from "./models/CodeartifactServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -204,6 +204,7 @@ import {
204
204
  ClientResolvedEndpointParameters,
205
205
  EndpointParameters,
206
206
  } from "./endpoint/EndpointParameters";
207
+ export { __Client };
207
208
  export type ServiceInputTypes =
208
209
  | AssociateExternalConnectionCommandInput
209
210
  | CopyPackageVersionsCommandInput
@@ -307,7 +308,7 @@ export interface ClientDefaults
307
308
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
308
309
  sdkStreamMixin?: __SdkStreamMixinInjector;
309
310
  }
310
- type CodeartifactClientConfigType = Partial<
311
+ export type CodeartifactClientConfigType = Partial<
311
312
  __SmithyConfiguration<__HttpHandlerOptions>
312
313
  > &
313
314
  ClientDefaults &
@@ -320,7 +321,7 @@ type CodeartifactClientConfigType = Partial<
320
321
  ClientInputEndpointParameters;
321
322
  export interface CodeartifactClientConfig
322
323
  extends CodeartifactClientConfigType {}
323
- type CodeartifactClientResolvedConfigType =
324
+ export type CodeartifactClientResolvedConfigType =
324
325
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
325
326
  Required<ClientDefaults> &
326
327
  RegionResolvedConfig &
@@ -342,4 +343,3 @@ export declare class CodeartifactClient extends __Client<
342
343
  constructor(configuration: CodeartifactClientConfig);
343
344
  destroy(): void;
344
345
  }
345
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  AssociateExternalConnectionRequest,
16
16
  AssociateExternalConnectionResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface AssociateExternalConnectionCommandInput
19
20
  extends AssociateExternalConnectionRequest {}
20
21
  export interface AssociateExternalConnectionCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  CopyPackageVersionsRequest,
16
16
  CopyPackageVersionsResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CopyPackageVersionsCommandInput
19
20
  extends CopyPackageVersionsRequest {}
20
21
  export interface CopyPackageVersionsCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CodeartifactClient";
14
14
  import { CreateDomainRequest, CreateDomainResult } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface CreateDomainCommandInput extends CreateDomainRequest {}
16
17
  export interface CreateDomainCommandOutput
17
18
  extends CreateDomainResult,
@@ -15,6 +15,7 @@ import {
15
15
  CreateRepositoryRequest,
16
16
  CreateRepositoryResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {}
19
20
  export interface CreateRepositoryCommandOutput
20
21
  extends CreateRepositoryResult,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CodeartifactClient";
14
14
  import { DeleteDomainRequest, DeleteDomainResult } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeleteDomainCommandInput extends DeleteDomainRequest {}
16
17
  export interface DeleteDomainCommandOutput
17
18
  extends DeleteDomainResult,
@@ -15,6 +15,7 @@ import {
15
15
  DeleteDomainPermissionsPolicyRequest,
16
16
  DeleteDomainPermissionsPolicyResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteDomainPermissionsPolicyCommandInput
19
20
  extends DeleteDomainPermissionsPolicyRequest {}
20
21
  export interface DeleteDomainPermissionsPolicyCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../CodeartifactClient";
14
14
  import { DeletePackageRequest, DeletePackageResult } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeletePackageCommandInput extends DeletePackageRequest {}
16
17
  export interface DeletePackageCommandOutput
17
18
  extends DeletePackageResult,
@@ -15,6 +15,7 @@ import {
15
15
  DeletePackageVersionsRequest,
16
16
  DeletePackageVersionsResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeletePackageVersionsCommandInput
19
20
  extends DeletePackageVersionsRequest {}
20
21
  export interface DeletePackageVersionsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteRepositoryRequest,
16
16
  DeleteRepositoryResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteRepositoryCommandInput extends DeleteRepositoryRequest {}
19
20
  export interface DeleteRepositoryCommandOutput
20
21
  extends DeleteRepositoryResult,
@@ -15,6 +15,7 @@ import {
15
15
  DeleteRepositoryPermissionsPolicyRequest,
16
16
  DeleteRepositoryPermissionsPolicyResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteRepositoryPermissionsPolicyCommandInput
19
20
  extends DeleteRepositoryPermissionsPolicyRequest {}
20
21
  export interface DeleteRepositoryPermissionsPolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DescribeDomainRequest,
16
16
  DescribeDomainResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeDomainCommandInput extends DescribeDomainRequest {}
19
20
  export interface DescribeDomainCommandOutput
20
21
  extends DescribeDomainResult,
@@ -15,6 +15,7 @@ import {
15
15
  DescribePackageRequest,
16
16
  DescribePackageResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribePackageCommandInput extends DescribePackageRequest {}
19
20
  export interface DescribePackageCommandOutput
20
21
  extends DescribePackageResult,
@@ -15,6 +15,7 @@ import {
15
15
  DescribePackageVersionRequest,
16
16
  DescribePackageVersionResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribePackageVersionCommandInput
19
20
  extends DescribePackageVersionRequest {}
20
21
  export interface DescribePackageVersionCommandOutput