@aws-sdk/client-codeartifact 3.533.0 → 3.539.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 (140) hide show
  1. package/README.md +149 -6
  2. package/dist-cjs/index.js +609 -2
  3. package/dist-es/Codeartifact.js +20 -0
  4. package/dist-es/commands/CreatePackageGroupCommand.js +24 -0
  5. package/dist-es/commands/DeletePackageGroupCommand.js +24 -0
  6. package/dist-es/commands/DescribePackageGroupCommand.js +24 -0
  7. package/dist-es/commands/GetAssociatedPackageGroupCommand.js +24 -0
  8. package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -1
  9. package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +24 -0
  10. package/dist-es/commands/ListAssociatedPackagesCommand.js +24 -0
  11. package/dist-es/commands/ListPackageGroupsCommand.js +24 -0
  12. package/dist-es/commands/ListSubPackageGroupsCommand.js +24 -0
  13. package/dist-es/commands/UpdatePackageGroupCommand.js +24 -0
  14. package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +24 -0
  15. package/dist-es/commands/index.js +10 -0
  16. package/dist-es/models/models_0.js +22 -0
  17. package/dist-es/pagination/ListAllowedRepositoriesForGroupPaginator.js +4 -0
  18. package/dist-es/pagination/ListAssociatedPackagesPaginator.js +4 -0
  19. package/dist-es/pagination/ListPackageGroupsPaginator.js +4 -0
  20. package/dist-es/pagination/ListSubPackageGroupsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +4 -0
  22. package/dist-es/protocols/Aws_restJson1.js +347 -0
  23. package/dist-types/Codeartifact.d.ts +142 -7
  24. package/dist-types/CodeartifactClient.d.ts +82 -9
  25. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +2 -1
  26. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
  28. package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
  29. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteDomainCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -1
  32. package/dist-types/commands/DeletePackageCommand.d.ts +3 -2
  33. package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
  34. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -1
  35. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeDomainCommand.d.ts +2 -1
  38. package/dist-types/commands/DescribePackageCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
  40. package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -1
  41. package/dist-types/commands/DescribeRepositoryCommand.d.ts +2 -1
  42. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +2 -1
  43. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +2 -1
  44. package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
  45. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
  46. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -1
  47. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +2 -1
  48. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -1
  49. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +12 -1
  50. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -1
  51. package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
  52. package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
  53. package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
  54. package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
  55. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -1
  56. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -1
  57. package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -1
  58. package/dist-types/commands/ListPackagesCommand.d.ts +2 -1
  59. package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
  60. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +2 -1
  61. package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  63. package/dist-types/commands/PublishPackageVersionCommand.d.ts +5 -4
  64. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -1
  65. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -1
  66. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -1
  67. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  68. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  69. package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
  70. package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
  71. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -1
  72. package/dist-types/commands/UpdateRepositoryCommand.d.ts +2 -1
  73. package/dist-types/commands/index.d.ts +10 -0
  74. package/dist-types/index.d.ts +69 -6
  75. package/dist-types/models/models_0.d.ts +1658 -559
  76. package/dist-types/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +7 -0
  77. package/dist-types/pagination/ListAssociatedPackagesPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListPackageGroupsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListSubPackageGroupsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +4 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  82. package/dist-types/ts3.4/Codeartifact.d.ts +178 -0
  83. package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
  84. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +9 -0
  91. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
  95. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +9 -0
  96. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +9 -0
  97. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +9 -0
  98. package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +9 -0
  100. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +9 -0
  101. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +9 -0
  103. package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -0
  104. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +9 -0
  106. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/ListAllowedRepositoriesForGroupCommand.d.ts +39 -0
  111. package/dist-types/ts3.4/commands/ListAssociatedPackagesCommand.d.ts +39 -0
  112. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +9 -0
  113. package/dist-types/ts3.4/commands/ListPackageGroupsCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +9 -0
  115. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +9 -0
  118. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
  119. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +9 -0
  120. package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  122. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +9 -0
  123. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +9 -0
  124. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +9 -0
  125. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +9 -0
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  128. package/dist-types/ts3.4/commands/UpdatePackageGroupCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +9 -0
  131. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +9 -0
  132. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  133. package/dist-types/ts3.4/models/models_0.d.ts +196 -6
  134. package/dist-types/ts3.4/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListAssociatedPackagesPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/ListPackageGroupsPaginator.d.ts +11 -0
  137. package/dist-types/ts3.4/pagination/ListSubPackageGroupsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  139. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  140. package/package.json +41 -41
@@ -23,19 +23,19 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
23
23
  }
24
24
  declare const PublishPackageVersionCommand_base: {
25
25
  new (input: PublishPackageVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PublishPackageVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>Creates a new package version containing one or more assets (or files).</p>
31
31
  * <p>The <code>unfinished</code> flag can be used to keep the package version in the
32
- * <code>Unfinished</code> state until all of its assets have been uploaded (see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact user guide</i>). To set
32
+ * <code>Unfinished</code> state until all of its assets have been uploaded (see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact user guide</i>). To set
33
33
  * the package version’s status to <code>Published</code>, omit the <code>unfinished</code> flag
34
34
  * when uploading the final asset, or set the status using <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html">UpdatePackageVersionStatus</a>. Once a package version’s status is set to
35
- * <code>Published</code>, it cannot change back to <code>Unfinished</code>.</p>
35
+ * <code>Published</code>, it cannot change back to <code>Unfinished</code>.</p>
36
36
  * <note>
37
37
  * <p>Only generic packages can be published using this API. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html">Using generic
38
- * packages</a> in the <i>CodeArtifact User Guide</i>.</p>
38
+ * packages</a> in the <i>CodeArtifact User Guide</i>.</p>
39
39
  * </note>
40
40
  * @example
41
41
  * Use a bare-bones client and the command you need to make an API call.
@@ -118,6 +118,7 @@ declare const PublishPackageVersionCommand_base: {
118
118
  * @throws {@link CodeartifactServiceException}
119
119
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
120
120
  *
121
+ * @public
121
122
  */
122
123
  export declare class PublishPackageVersionCommand extends PublishPackageVersionCommand_base {
123
124
  }
@@ -22,10 +22,10 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
22
22
  }
23
23
  declare const PutDomainPermissionsPolicyCommand_base: {
24
24
  new (input: PutDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * Sets a resource policy on a domain that specifies permissions to access it.
31
31
  * </p>
@@ -100,6 +100,7 @@ declare const PutDomainPermissionsPolicyCommand_base: {
100
100
  * @throws {@link CodeartifactServiceException}
101
101
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
102
102
  *
103
+ * @public
103
104
  */
104
105
  export declare class PutDomainPermissionsPolicyCommand extends PutDomainPermissionsPolicyCommand_base {
105
106
  }
@@ -22,10 +22,10 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
22
22
  }
23
23
  declare const PutPackageOriginConfigurationCommand_base: {
24
24
  new (input: PutPackageOriginConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutPackageOriginConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Sets the package origin configuration for a package.</p>
30
30
  * <p>The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct
31
31
  * publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source.
@@ -98,6 +98,7 @@ declare const PutPackageOriginConfigurationCommand_base: {
98
98
  * @throws {@link CodeartifactServiceException}
99
99
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
100
100
  *
101
+ * @public
101
102
  */
102
103
  export declare class PutPackageOriginConfigurationCommand extends PutPackageOriginConfigurationCommand_base {
103
104
  }
@@ -22,10 +22,10 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
22
22
  }
23
23
  declare const PutRepositoryPermissionsPolicyCommand_base: {
24
24
  new (input: PutRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * Sets the resource policy on a repository that specifies permissions to access it.
31
31
  * </p>
@@ -101,6 +101,7 @@ declare const PutRepositoryPermissionsPolicyCommand_base: {
101
101
  * @throws {@link CodeartifactServiceException}
102
102
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
103
103
  *
104
+ * @public
104
105
  */
105
106
  export declare class PutRepositoryPermissionsPolicyCommand extends PutRepositoryPermissionsPolicyCommand_base {
106
107
  }
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
22
22
  }
23
23
  declare const TagResourceCommand_base: {
24
24
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Adds or updates tags for a resource in CodeArtifact.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -82,6 +82,7 @@ declare const TagResourceCommand_base: {
82
82
  * @throws {@link CodeartifactServiceException}
83
83
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
84
84
  *
85
+ * @public
85
86
  */
86
87
  export declare class TagResourceCommand extends TagResourceCommand_base {
87
88
  }
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
22
22
  }
23
23
  declare const UntagResourceCommand_base: {
24
24
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Removes tags from a resource in CodeArtifact.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -74,6 +74,7 @@ declare const UntagResourceCommand_base: {
74
74
  * @throws {@link CodeartifactServiceException}
75
75
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
76
76
  *
77
+ * @public
77
78
  */
78
79
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
79
80
  }
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
4
+ import { UpdatePackageGroupRequest, UpdatePackageGroupResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdatePackageGroupCommand}.
13
+ */
14
+ export interface UpdatePackageGroupCommandInput extends UpdatePackageGroupRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdatePackageGroupCommand}.
20
+ */
21
+ export interface UpdatePackageGroupCommandOutput extends UpdatePackageGroupResult, __MetadataBearer {
22
+ }
23
+ declare const UpdatePackageGroupCommand_base: {
24
+ new (input: UpdatePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageGroupCommandInput, UpdatePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdatePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageGroupCommandInput, UpdatePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a
30
+ * package group's origin configuration, use <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageGroupOriginConfiguration.html">UpdatePackageGroupOriginConfiguration</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeartifactClient, UpdatePackageGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
35
+ * // const { CodeartifactClient, UpdatePackageGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
36
+ * const client = new CodeartifactClient(config);
37
+ * const input = { // UpdatePackageGroupRequest
38
+ * domain: "STRING_VALUE", // required
39
+ * domainOwner: "STRING_VALUE",
40
+ * packageGroup: "STRING_VALUE", // required
41
+ * contactInfo: "STRING_VALUE",
42
+ * description: "STRING_VALUE",
43
+ * };
44
+ * const command = new UpdatePackageGroupCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // UpdatePackageGroupResult
47
+ * // packageGroup: { // PackageGroupDescription
48
+ * // arn: "STRING_VALUE",
49
+ * // pattern: "STRING_VALUE",
50
+ * // domainName: "STRING_VALUE",
51
+ * // domainOwner: "STRING_VALUE",
52
+ * // createdTime: new Date("TIMESTAMP"),
53
+ * // contactInfo: "STRING_VALUE",
54
+ * // description: "STRING_VALUE",
55
+ * // originConfiguration: { // PackageGroupOriginConfiguration
56
+ * // restrictions: { // PackageGroupOriginRestrictions
57
+ * // "<keys>": { // PackageGroupOriginRestriction
58
+ * // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
59
+ * // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
60
+ * // inheritedFrom: { // PackageGroupReference
61
+ * // arn: "STRING_VALUE",
62
+ * // pattern: "STRING_VALUE",
63
+ * // },
64
+ * // repositoriesCount: Number("long"),
65
+ * // },
66
+ * // },
67
+ * // },
68
+ * // parent: {
69
+ * // arn: "STRING_VALUE",
70
+ * // pattern: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param UpdatePackageGroupCommandInput - {@link UpdatePackageGroupCommandInput}
78
+ * @returns {@link UpdatePackageGroupCommandOutput}
79
+ * @see {@link UpdatePackageGroupCommandInput} for command's `input` shape.
80
+ * @see {@link UpdatePackageGroupCommandOutput} for command's `response` shape.
81
+ * @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>
85
+ * The operation did not succeed because of an unauthorized access attempt.
86
+ * </p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>
93
+ * The operation did not succeed because the resource requested is not found in the service.
94
+ * </p>
95
+ *
96
+ * @throws {@link ServiceQuotaExceededException} (client fault)
97
+ * <p>
98
+ * The operation did not succeed because it would have exceeded a service limit for your account.
99
+ * </p>
100
+ *
101
+ * @throws {@link ThrottlingException} (client fault)
102
+ * <p>
103
+ * The operation did not succeed because too many requests are sent to the service.
104
+ * </p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>
108
+ * The operation did not succeed because a parameter in the request was sent with an invalid value.
109
+ * </p>
110
+ *
111
+ * @throws {@link CodeartifactServiceException}
112
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
113
+ *
114
+ * @public
115
+ */
116
+ export declare class UpdatePackageGroupCommand extends UpdatePackageGroupCommand_base {
117
+ }
@@ -0,0 +1,141 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
4
+ import { UpdatePackageGroupOriginConfigurationRequest, UpdatePackageGroupOriginConfigurationResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdatePackageGroupOriginConfigurationCommand}.
13
+ */
14
+ export interface UpdatePackageGroupOriginConfigurationCommandInput extends UpdatePackageGroupOriginConfigurationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdatePackageGroupOriginConfigurationCommand}.
20
+ */
21
+ export interface UpdatePackageGroupOriginConfigurationCommandOutput extends UpdatePackageGroupOriginConfigurationResult, __MetadataBearer {
22
+ }
23
+ declare const UpdatePackageGroupOriginConfigurationCommand_base: {
24
+ new (input: UpdatePackageGroupOriginConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageGroupOriginConfigurationCommandInput, UpdatePackageGroupOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdatePackageGroupOriginConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageGroupOriginConfigurationCommandInput, UpdatePackageGroupOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Updates the package origin configuration for a package group.</p>
30
+ * <p>The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct
31
+ * publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source.
32
+ * For more information about package group origin controls and configuration, see
33
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-origin-controls.html">Package group origin controls</a>
34
+ * in the <i>CodeArtifact User Guide</i>.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { CodeartifactClient, UpdatePackageGroupOriginConfigurationCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
39
+ * // const { CodeartifactClient, UpdatePackageGroupOriginConfigurationCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
40
+ * const client = new CodeartifactClient(config);
41
+ * const input = { // UpdatePackageGroupOriginConfigurationRequest
42
+ * domain: "STRING_VALUE", // required
43
+ * domainOwner: "STRING_VALUE",
44
+ * packageGroup: "STRING_VALUE", // required
45
+ * restrictions: { // OriginRestrictions
46
+ * "<keys>": "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
47
+ * },
48
+ * addAllowedRepositories: [ // PackageGroupAllowedRepositoryList
49
+ * { // PackageGroupAllowedRepository
50
+ * repositoryName: "STRING_VALUE",
51
+ * originRestrictionType: "EXTERNAL_UPSTREAM" || "INTERNAL_UPSTREAM" || "PUBLISH",
52
+ * },
53
+ * ],
54
+ * removeAllowedRepositories: [
55
+ * {
56
+ * repositoryName: "STRING_VALUE",
57
+ * originRestrictionType: "EXTERNAL_UPSTREAM" || "INTERNAL_UPSTREAM" || "PUBLISH",
58
+ * },
59
+ * ],
60
+ * };
61
+ * const command = new UpdatePackageGroupOriginConfigurationCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // UpdatePackageGroupOriginConfigurationResult
64
+ * // packageGroup: { // PackageGroupDescription
65
+ * // arn: "STRING_VALUE",
66
+ * // pattern: "STRING_VALUE",
67
+ * // domainName: "STRING_VALUE",
68
+ * // domainOwner: "STRING_VALUE",
69
+ * // createdTime: new Date("TIMESTAMP"),
70
+ * // contactInfo: "STRING_VALUE",
71
+ * // description: "STRING_VALUE",
72
+ * // originConfiguration: { // PackageGroupOriginConfiguration
73
+ * // restrictions: { // PackageGroupOriginRestrictions
74
+ * // "<keys>": { // PackageGroupOriginRestriction
75
+ * // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
76
+ * // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
77
+ * // inheritedFrom: { // PackageGroupReference
78
+ * // arn: "STRING_VALUE",
79
+ * // pattern: "STRING_VALUE",
80
+ * // },
81
+ * // repositoriesCount: Number("long"),
82
+ * // },
83
+ * // },
84
+ * // },
85
+ * // parent: {
86
+ * // arn: "STRING_VALUE",
87
+ * // pattern: "STRING_VALUE",
88
+ * // },
89
+ * // },
90
+ * // allowedRepositoryUpdates: { // PackageGroupAllowedRepositoryUpdates
91
+ * // "<keys>": { // PackageGroupAllowedRepositoryUpdate
92
+ * // "<keys>": [ // RepositoryNameList
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
96
+ * // },
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param UpdatePackageGroupOriginConfigurationCommandInput - {@link UpdatePackageGroupOriginConfigurationCommandInput}
102
+ * @returns {@link UpdatePackageGroupOriginConfigurationCommandOutput}
103
+ * @see {@link UpdatePackageGroupOriginConfigurationCommandInput} for command's `input` shape.
104
+ * @see {@link UpdatePackageGroupOriginConfigurationCommandOutput} for command's `response` shape.
105
+ * @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
106
+ *
107
+ * @throws {@link AccessDeniedException} (client fault)
108
+ * <p>
109
+ * The operation did not succeed because of an unauthorized access attempt.
110
+ * </p>
111
+ *
112
+ * @throws {@link InternalServerException} (server fault)
113
+ * <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
114
+ *
115
+ * @throws {@link ResourceNotFoundException} (client fault)
116
+ * <p>
117
+ * The operation did not succeed because the resource requested is not found in the service.
118
+ * </p>
119
+ *
120
+ * @throws {@link ServiceQuotaExceededException} (client fault)
121
+ * <p>
122
+ * The operation did not succeed because it would have exceeded a service limit for your account.
123
+ * </p>
124
+ *
125
+ * @throws {@link ThrottlingException} (client fault)
126
+ * <p>
127
+ * The operation did not succeed because too many requests are sent to the service.
128
+ * </p>
129
+ *
130
+ * @throws {@link ValidationException} (client fault)
131
+ * <p>
132
+ * The operation did not succeed because a parameter in the request was sent with an invalid value.
133
+ * </p>
134
+ *
135
+ * @throws {@link CodeartifactServiceException}
136
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
137
+ *
138
+ * @public
139
+ */
140
+ export declare class UpdatePackageGroupOriginConfigurationCommand extends UpdatePackageGroupOriginConfigurationCommand_base {
141
+ }
@@ -22,10 +22,10 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
22
22
  }
23
23
  declare const UpdatePackageVersionsStatusCommand_base: {
24
24
  new (input: UpdatePackageVersionsStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdatePackageVersionsStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * Updates the status of one or more versions of a package. Using <code>UpdatePackageVersionsStatus</code>,
31
31
  * you can update the status of package versions to <code>Archived</code>, <code>Published</code>, or <code>Unlisted</code>.
@@ -110,6 +110,7 @@ declare const UpdatePackageVersionsStatusCommand_base: {
110
110
  * @throws {@link CodeartifactServiceException}
111
111
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
112
112
  *
113
+ * @public
113
114
  */
114
115
  export declare class UpdatePackageVersionsStatusCommand extends UpdatePackageVersionsStatusCommand_base {
115
116
  }
@@ -22,10 +22,10 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
22
22
  }
23
23
  declare const UpdateRepositoryCommand_base: {
24
24
  new (input: UpdateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * Update the properties of a repository.
31
31
  * </p>
@@ -116,6 +116,7 @@ declare const UpdateRepositoryCommand_base: {
116
116
  * @throws {@link CodeartifactServiceException}
117
117
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
118
118
  *
119
+ * @public
119
120
  */
120
121
  export declare class UpdateRepositoryCommand extends UpdateRepositoryCommand_base {
121
122
  }
@@ -1,32 +1,40 @@
1
1
  export * from "./AssociateExternalConnectionCommand";
2
2
  export * from "./CopyPackageVersionsCommand";
3
3
  export * from "./CreateDomainCommand";
4
+ export * from "./CreatePackageGroupCommand";
4
5
  export * from "./CreateRepositoryCommand";
5
6
  export * from "./DeleteDomainCommand";
6
7
  export * from "./DeleteDomainPermissionsPolicyCommand";
7
8
  export * from "./DeletePackageCommand";
9
+ export * from "./DeletePackageGroupCommand";
8
10
  export * from "./DeletePackageVersionsCommand";
9
11
  export * from "./DeleteRepositoryCommand";
10
12
  export * from "./DeleteRepositoryPermissionsPolicyCommand";
11
13
  export * from "./DescribeDomainCommand";
12
14
  export * from "./DescribePackageCommand";
15
+ export * from "./DescribePackageGroupCommand";
13
16
  export * from "./DescribePackageVersionCommand";
14
17
  export * from "./DescribeRepositoryCommand";
15
18
  export * from "./DisassociateExternalConnectionCommand";
16
19
  export * from "./DisposePackageVersionsCommand";
20
+ export * from "./GetAssociatedPackageGroupCommand";
17
21
  export * from "./GetAuthorizationTokenCommand";
18
22
  export * from "./GetDomainPermissionsPolicyCommand";
19
23
  export * from "./GetPackageVersionAssetCommand";
20
24
  export * from "./GetPackageVersionReadmeCommand";
21
25
  export * from "./GetRepositoryEndpointCommand";
22
26
  export * from "./GetRepositoryPermissionsPolicyCommand";
27
+ export * from "./ListAllowedRepositoriesForGroupCommand";
28
+ export * from "./ListAssociatedPackagesCommand";
23
29
  export * from "./ListDomainsCommand";
30
+ export * from "./ListPackageGroupsCommand";
24
31
  export * from "./ListPackageVersionAssetsCommand";
25
32
  export * from "./ListPackageVersionDependenciesCommand";
26
33
  export * from "./ListPackageVersionsCommand";
27
34
  export * from "./ListPackagesCommand";
28
35
  export * from "./ListRepositoriesCommand";
29
36
  export * from "./ListRepositoriesInDomainCommand";
37
+ export * from "./ListSubPackageGroupsCommand";
30
38
  export * from "./ListTagsForResourceCommand";
31
39
  export * from "./PublishPackageVersionCommand";
32
40
  export * from "./PutDomainPermissionsPolicyCommand";
@@ -34,5 +42,7 @@ export * from "./PutPackageOriginConfigurationCommand";
34
42
  export * from "./PutRepositoryPermissionsPolicyCommand";
35
43
  export * from "./TagResourceCommand";
36
44
  export * from "./UntagResourceCommand";
45
+ export * from "./UpdatePackageGroupCommand";
46
+ export * from "./UpdatePackageGroupOriginConfigurationCommand";
37
47
  export * from "./UpdatePackageVersionsStatusCommand";
38
48
  export * from "./UpdateRepositoryCommand";