@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.
- package/README.md +149 -6
- package/dist-cjs/index.js +609 -2
- package/dist-es/Codeartifact.js +20 -0
- package/dist-es/commands/CreatePackageGroupCommand.js +24 -0
- package/dist-es/commands/DeletePackageGroupCommand.js +24 -0
- package/dist-es/commands/DescribePackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAssociatedPackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -1
- package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +24 -0
- package/dist-es/commands/ListAssociatedPackagesCommand.js +24 -0
- package/dist-es/commands/ListPackageGroupsCommand.js +24 -0
- package/dist-es/commands/ListSubPackageGroupsCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListAllowedRepositoriesForGroupPaginator.js +4 -0
- package/dist-es/pagination/ListAssociatedPackagesPaginator.js +4 -0
- package/dist-es/pagination/ListPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListSubPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +347 -0
- package/dist-types/Codeartifact.d.ts +142 -7
- package/dist-types/CodeartifactClient.d.ts +82 -9
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +2 -1
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
- package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +3 -2
- package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +2 -1
- package/dist-types/commands/DescribePackageCommand.d.ts +2 -1
- package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +2 -1
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +2 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -1
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +12 -1
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
- package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackagesCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +2 -1
- package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +5 -4
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
- package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +69 -6
- package/dist-types/models/models_0.d.ts +1658 -559
- package/dist-types/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedPackagesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +178 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAllowedRepositoriesForGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedPackagesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +196 -6
- package/dist-types/ts3.4/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +41 -41
|
@@ -10,32 +10,40 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
|
|
|
10
10
|
import { AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput } from "./commands/AssociateExternalConnectionCommand";
|
|
11
11
|
import { CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput } from "./commands/CopyPackageVersionsCommand";
|
|
12
12
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
13
|
+
import { CreatePackageGroupCommandInput, CreatePackageGroupCommandOutput } from "./commands/CreatePackageGroupCommand";
|
|
13
14
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
14
15
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
15
16
|
import { DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput } from "./commands/DeleteDomainPermissionsPolicyCommand";
|
|
16
17
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
18
|
+
import { DeletePackageGroupCommandInput, DeletePackageGroupCommandOutput } from "./commands/DeletePackageGroupCommand";
|
|
17
19
|
import { DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput } from "./commands/DeletePackageVersionsCommand";
|
|
18
20
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
19
21
|
import { DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput } from "./commands/DeleteRepositoryPermissionsPolicyCommand";
|
|
20
22
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
21
23
|
import { DescribePackageCommandInput, DescribePackageCommandOutput } from "./commands/DescribePackageCommand";
|
|
24
|
+
import { DescribePackageGroupCommandInput, DescribePackageGroupCommandOutput } from "./commands/DescribePackageGroupCommand";
|
|
22
25
|
import { DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput } from "./commands/DescribePackageVersionCommand";
|
|
23
26
|
import { DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput } from "./commands/DescribeRepositoryCommand";
|
|
24
27
|
import { DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput } from "./commands/DisassociateExternalConnectionCommand";
|
|
25
28
|
import { DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput } from "./commands/DisposePackageVersionsCommand";
|
|
29
|
+
import { GetAssociatedPackageGroupCommandInput, GetAssociatedPackageGroupCommandOutput } from "./commands/GetAssociatedPackageGroupCommand";
|
|
26
30
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
27
31
|
import { GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput } from "./commands/GetDomainPermissionsPolicyCommand";
|
|
28
32
|
import { GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput } from "./commands/GetPackageVersionAssetCommand";
|
|
29
33
|
import { GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput } from "./commands/GetPackageVersionReadmeCommand";
|
|
30
34
|
import { GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput } from "./commands/GetRepositoryEndpointCommand";
|
|
31
35
|
import { GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput } from "./commands/GetRepositoryPermissionsPolicyCommand";
|
|
36
|
+
import { ListAllowedRepositoriesForGroupCommandInput, ListAllowedRepositoriesForGroupCommandOutput } from "./commands/ListAllowedRepositoriesForGroupCommand";
|
|
37
|
+
import { ListAssociatedPackagesCommandInput, ListAssociatedPackagesCommandOutput } from "./commands/ListAssociatedPackagesCommand";
|
|
32
38
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
39
|
+
import { ListPackageGroupsCommandInput, ListPackageGroupsCommandOutput } from "./commands/ListPackageGroupsCommand";
|
|
33
40
|
import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
|
|
34
41
|
import { ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput } from "./commands/ListPackageVersionAssetsCommand";
|
|
35
42
|
import { ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput } from "./commands/ListPackageVersionDependenciesCommand";
|
|
36
43
|
import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } from "./commands/ListPackageVersionsCommand";
|
|
37
44
|
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
|
|
38
45
|
import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "./commands/ListRepositoriesInDomainCommand";
|
|
46
|
+
import { ListSubPackageGroupsCommandInput, ListSubPackageGroupsCommandOutput } from "./commands/ListSubPackageGroupsCommand";
|
|
39
47
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
48
|
import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "./commands/PublishPackageVersionCommand";
|
|
41
49
|
import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "./commands/PutDomainPermissionsPolicyCommand";
|
|
@@ -43,6 +51,8 @@ import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfiguratio
|
|
|
43
51
|
import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "./commands/PutRepositoryPermissionsPolicyCommand";
|
|
44
52
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
45
53
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
54
|
+
import { UpdatePackageGroupCommandInput, UpdatePackageGroupCommandOutput } from "./commands/UpdatePackageGroupCommand";
|
|
55
|
+
import { UpdatePackageGroupOriginConfigurationCommandInput, UpdatePackageGroupOriginConfigurationCommandOutput } from "./commands/UpdatePackageGroupOriginConfigurationCommand";
|
|
46
56
|
import { UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput } from "./commands/UpdatePackageVersionsStatusCommand";
|
|
47
57
|
import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
|
|
48
58
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -51,11 +61,11 @@ export { __Client };
|
|
|
51
61
|
/**
|
|
52
62
|
* @public
|
|
53
63
|
*/
|
|
54
|
-
export type ServiceInputTypes = AssociateExternalConnectionCommandInput | CopyPackageVersionsCommandInput | CreateDomainCommandInput | CreateRepositoryCommandInput | DeleteDomainCommandInput | DeleteDomainPermissionsPolicyCommandInput | DeletePackageCommandInput | DeletePackageVersionsCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPermissionsPolicyCommandInput | DescribeDomainCommandInput | DescribePackageCommandInput | DescribePackageVersionCommandInput | DescribeRepositoryCommandInput | DisassociateExternalConnectionCommandInput | DisposePackageVersionsCommandInput | GetAuthorizationTokenCommandInput | GetDomainPermissionsPolicyCommandInput | GetPackageVersionAssetCommandInput | GetPackageVersionReadmeCommandInput | GetRepositoryEndpointCommandInput | GetRepositoryPermissionsPolicyCommandInput | ListDomainsCommandInput | ListPackageVersionAssetsCommandInput | ListPackageVersionDependenciesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListRepositoriesCommandInput | ListRepositoriesInDomainCommandInput | ListTagsForResourceCommandInput | PublishPackageVersionCommandInput | PutDomainPermissionsPolicyCommandInput | PutPackageOriginConfigurationCommandInput | PutRepositoryPermissionsPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePackageVersionsStatusCommandInput | UpdateRepositoryCommandInput;
|
|
64
|
+
export type ServiceInputTypes = AssociateExternalConnectionCommandInput | CopyPackageVersionsCommandInput | CreateDomainCommandInput | CreatePackageGroupCommandInput | CreateRepositoryCommandInput | DeleteDomainCommandInput | DeleteDomainPermissionsPolicyCommandInput | DeletePackageCommandInput | DeletePackageGroupCommandInput | DeletePackageVersionsCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPermissionsPolicyCommandInput | DescribeDomainCommandInput | DescribePackageCommandInput | DescribePackageGroupCommandInput | DescribePackageVersionCommandInput | DescribeRepositoryCommandInput | DisassociateExternalConnectionCommandInput | DisposePackageVersionsCommandInput | GetAssociatedPackageGroupCommandInput | GetAuthorizationTokenCommandInput | GetDomainPermissionsPolicyCommandInput | GetPackageVersionAssetCommandInput | GetPackageVersionReadmeCommandInput | GetRepositoryEndpointCommandInput | GetRepositoryPermissionsPolicyCommandInput | ListAllowedRepositoriesForGroupCommandInput | ListAssociatedPackagesCommandInput | ListDomainsCommandInput | ListPackageGroupsCommandInput | ListPackageVersionAssetsCommandInput | ListPackageVersionDependenciesCommandInput | ListPackageVersionsCommandInput | ListPackagesCommandInput | ListRepositoriesCommandInput | ListRepositoriesInDomainCommandInput | ListSubPackageGroupsCommandInput | ListTagsForResourceCommandInput | PublishPackageVersionCommandInput | PutDomainPermissionsPolicyCommandInput | PutPackageOriginConfigurationCommandInput | PutRepositoryPermissionsPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePackageGroupCommandInput | UpdatePackageGroupOriginConfigurationCommandInput | UpdatePackageVersionsStatusCommandInput | UpdateRepositoryCommandInput;
|
|
55
65
|
/**
|
|
56
66
|
* @public
|
|
57
67
|
*/
|
|
58
|
-
export type ServiceOutputTypes = AssociateExternalConnectionCommandOutput | CopyPackageVersionsCommandOutput | CreateDomainCommandOutput | CreateRepositoryCommandOutput | DeleteDomainCommandOutput | DeleteDomainPermissionsPolicyCommandOutput | DeletePackageCommandOutput | DeletePackageVersionsCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPermissionsPolicyCommandOutput | DescribeDomainCommandOutput | DescribePackageCommandOutput | DescribePackageVersionCommandOutput | DescribeRepositoryCommandOutput | DisassociateExternalConnectionCommandOutput | DisposePackageVersionsCommandOutput | GetAuthorizationTokenCommandOutput | GetDomainPermissionsPolicyCommandOutput | GetPackageVersionAssetCommandOutput | GetPackageVersionReadmeCommandOutput | GetRepositoryEndpointCommandOutput | GetRepositoryPermissionsPolicyCommandOutput | ListDomainsCommandOutput | ListPackageVersionAssetsCommandOutput | ListPackageVersionDependenciesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesInDomainCommandOutput | ListTagsForResourceCommandOutput | PublishPackageVersionCommandOutput | PutDomainPermissionsPolicyCommandOutput | PutPackageOriginConfigurationCommandOutput | PutRepositoryPermissionsPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePackageVersionsStatusCommandOutput | UpdateRepositoryCommandOutput;
|
|
68
|
+
export type ServiceOutputTypes = AssociateExternalConnectionCommandOutput | CopyPackageVersionsCommandOutput | CreateDomainCommandOutput | CreatePackageGroupCommandOutput | CreateRepositoryCommandOutput | DeleteDomainCommandOutput | DeleteDomainPermissionsPolicyCommandOutput | DeletePackageCommandOutput | DeletePackageGroupCommandOutput | DeletePackageVersionsCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPermissionsPolicyCommandOutput | DescribeDomainCommandOutput | DescribePackageCommandOutput | DescribePackageGroupCommandOutput | DescribePackageVersionCommandOutput | DescribeRepositoryCommandOutput | DisassociateExternalConnectionCommandOutput | DisposePackageVersionsCommandOutput | GetAssociatedPackageGroupCommandOutput | GetAuthorizationTokenCommandOutput | GetDomainPermissionsPolicyCommandOutput | GetPackageVersionAssetCommandOutput | GetPackageVersionReadmeCommandOutput | GetRepositoryEndpointCommandOutput | GetRepositoryPermissionsPolicyCommandOutput | ListAllowedRepositoriesForGroupCommandOutput | ListAssociatedPackagesCommandOutput | ListDomainsCommandOutput | ListPackageGroupsCommandOutput | ListPackageVersionAssetsCommandOutput | ListPackageVersionDependenciesCommandOutput | ListPackageVersionsCommandOutput | ListPackagesCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesInDomainCommandOutput | ListSubPackageGroupsCommandOutput | ListTagsForResourceCommandOutput | PublishPackageVersionCommandOutput | PutDomainPermissionsPolicyCommandOutput | PutPackageOriginConfigurationCommandOutput | PutRepositoryPermissionsPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePackageGroupCommandOutput | UpdatePackageGroupOriginConfigurationCommandOutput | UpdatePackageVersionsStatusCommandOutput | UpdateRepositoryCommandOutput;
|
|
59
69
|
/**
|
|
60
70
|
* @public
|
|
61
71
|
*/
|
|
@@ -194,7 +204,6 @@ export type CodeartifactClientResolvedConfigType = __SmithyResolvedConfiguration
|
|
|
194
204
|
export interface CodeartifactClientResolvedConfig extends CodeartifactClientResolvedConfigType {
|
|
195
205
|
}
|
|
196
206
|
/**
|
|
197
|
-
* @public
|
|
198
207
|
* <p> CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
199
208
|
* package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
|
|
200
209
|
* share packages with development teams and pull packages. Packages can be pulled from both
|
|
@@ -202,9 +211,8 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
202
211
|
* repository and another repository, which effectively merges their contents from the point of
|
|
203
212
|
* view of a package manager client. </p>
|
|
204
213
|
* <p>
|
|
205
|
-
* <b>CodeArtifact
|
|
214
|
+
* <b>CodeArtifact concepts</b>
|
|
206
215
|
* </p>
|
|
207
|
-
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
208
216
|
* <ul>
|
|
209
217
|
* <li>
|
|
210
218
|
* <p>
|
|
@@ -218,7 +226,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
218
226
|
* <code>mvn</code>
|
|
219
227
|
* </b>), Python CLIs (<b>
|
|
220
228
|
* <code>pip</code>
|
|
221
|
-
* </b> and <code>twine</code>),
|
|
229
|
+
* </b> and <code>twine</code>), NuGet CLIs (<code>nuget</code> and <code>dotnet</code>), and
|
|
230
|
+
* the Swift package manager (<b>
|
|
231
|
+
* <code>swift</code>
|
|
232
|
+
* </b>).</p>
|
|
222
233
|
* </li>
|
|
223
234
|
* <li>
|
|
224
235
|
* <p>
|
|
@@ -240,7 +251,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
240
251
|
* <li>
|
|
241
252
|
* <p>
|
|
242
253
|
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
243
|
-
* 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>,
|
|
254
|
+
* 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>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-swift">Swift</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic">generic</a> package formats.</p>
|
|
244
255
|
* <p>In CodeArtifact, a package consists of:</p>
|
|
245
256
|
* <ul>
|
|
246
257
|
* <li>
|
|
@@ -261,6 +272,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
261
272
|
* </li>
|
|
262
273
|
* <li>
|
|
263
274
|
* <p>
|
|
275
|
+
* <b>Package group</b>: A group of packages that match a specified definition. Package
|
|
276
|
+
* groups can be used to apply configuration to multiple packages that match a defined pattern using
|
|
277
|
+
* package format, package namespace, and package name. You can use package groups to more conveniently
|
|
278
|
+
* configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing
|
|
279
|
+
* of new package versions, which protects users from malicious actions known as dependency substitution attacks.</p>
|
|
280
|
+
* </li>
|
|
281
|
+
* <li>
|
|
282
|
+
* <p>
|
|
264
283
|
* <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
|
|
265
284
|
* format and semantics vary for different package formats. For example, npm package versions
|
|
266
285
|
* must conform to the <a href="https://semver.org/">Semantic Versioning
|
|
@@ -280,7 +299,9 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
280
299
|
* <code>.tgz</code> file or Maven POM and JAR files.</p>
|
|
281
300
|
* </li>
|
|
282
301
|
* </ul>
|
|
283
|
-
* <p>
|
|
302
|
+
* <p>
|
|
303
|
+
* <b>CodeArtifact supported API operations</b>
|
|
304
|
+
* </p>
|
|
284
305
|
* <ul>
|
|
285
306
|
* <li>
|
|
286
307
|
* <p>
|
|
@@ -295,7 +316,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
295
316
|
* </li>
|
|
296
317
|
* <li>
|
|
297
318
|
* <p>
|
|
298
|
-
* <code>CreateDomain</code>: Creates a domain
|
|
319
|
+
* <code>CreateDomain</code>: Creates a domain.</p>
|
|
320
|
+
* </li>
|
|
321
|
+
* <li>
|
|
322
|
+
* <p>
|
|
323
|
+
* <code>CreatePackageGroup</code>: Creates a package group.</p>
|
|
299
324
|
* </li>
|
|
300
325
|
* <li>
|
|
301
326
|
* <p>
|
|
@@ -316,6 +341,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
316
341
|
* </li>
|
|
317
342
|
* <li>
|
|
318
343
|
* <p>
|
|
344
|
+
* <code>DeletePackageGroup</code>: Deletes a package group. Does not delete packages or package versions that are associated with a package group.</p>
|
|
345
|
+
* </li>
|
|
346
|
+
* <li>
|
|
347
|
+
* <p>
|
|
319
348
|
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
320
349
|
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
321
350
|
* because they have been permanently removed from storage.</p>
|
|
@@ -341,6 +370,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
341
370
|
* </li>
|
|
342
371
|
* <li>
|
|
343
372
|
* <p>
|
|
373
|
+
* <code>DescribePackageGroup</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroup.html">PackageGroup</a>
|
|
374
|
+
* object that contains details about a package group. </p>
|
|
375
|
+
* </li>
|
|
376
|
+
* <li>
|
|
377
|
+
* <p>
|
|
344
378
|
* <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
345
379
|
* object that contains details about a package version. </p>
|
|
346
380
|
* </li>
|
|
@@ -362,6 +396,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
362
396
|
* </li>
|
|
363
397
|
* <li>
|
|
364
398
|
* <p>
|
|
399
|
+
* <code>GetAssociatedPackageGroup</code>: Returns the most closely associated package group to the specified package.</p>
|
|
400
|
+
* </li>
|
|
401
|
+
* <li>
|
|
402
|
+
* <p>
|
|
365
403
|
* <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
|
|
366
404
|
* The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
|
|
367
405
|
* </li>
|
|
@@ -386,6 +424,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
386
424
|
* <ul>
|
|
387
425
|
* <li>
|
|
388
426
|
* <p>
|
|
427
|
+
* <code>generic</code>
|
|
428
|
+
* </p>
|
|
429
|
+
* </li>
|
|
430
|
+
* <li>
|
|
431
|
+
* <p>
|
|
389
432
|
* <code>maven</code>
|
|
390
433
|
* </p>
|
|
391
434
|
* </li>
|
|
@@ -404,6 +447,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
404
447
|
* <code>pypi</code>
|
|
405
448
|
* </p>
|
|
406
449
|
* </li>
|
|
450
|
+
* <li>
|
|
451
|
+
* <p>
|
|
452
|
+
* <code>swift</code>
|
|
453
|
+
* </p>
|
|
454
|
+
* </li>
|
|
407
455
|
* </ul>
|
|
408
456
|
* </li>
|
|
409
457
|
* <li>
|
|
@@ -413,6 +461,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
413
461
|
* </li>
|
|
414
462
|
* <li>
|
|
415
463
|
* <p>
|
|
464
|
+
* <code>ListAllowedRepositoriesForGroup</code>: Lists the allowed repositories for a package group that has origin configuration set to <code>ALLOW_SPECIFIC_REPOSITORIES</code>.</p>
|
|
465
|
+
* </li>
|
|
466
|
+
* <li>
|
|
467
|
+
* <p>
|
|
468
|
+
* <code>ListAssociatedPackages</code>: Returns a list of packages associated with the requested package group.</p>
|
|
469
|
+
* </li>
|
|
470
|
+
* <li>
|
|
471
|
+
* <p>
|
|
416
472
|
* <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
|
|
417
473
|
* returned <code>DomainSummary</code> object contains information about a domain.</p>
|
|
418
474
|
* </li>
|
|
@@ -422,6 +478,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
422
478
|
* </li>
|
|
423
479
|
* <li>
|
|
424
480
|
* <p>
|
|
481
|
+
* <code>ListPackageGroups</code>: Returns a list of package groups in the requested domain.</p>
|
|
482
|
+
* </li>
|
|
483
|
+
* <li>
|
|
484
|
+
* <p>
|
|
425
485
|
* <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
|
|
426
486
|
* </li>
|
|
427
487
|
* <li>
|
|
@@ -444,6 +504,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
444
504
|
* </li>
|
|
445
505
|
* <li>
|
|
446
506
|
* <p>
|
|
507
|
+
* <code>ListSubPackageGroups</code>: Returns a list of direct children of the specified package group.</p>
|
|
508
|
+
* </li>
|
|
509
|
+
* <li>
|
|
510
|
+
* <p>
|
|
447
511
|
* <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
|
|
448
512
|
* </li>
|
|
449
513
|
* <li>
|
|
@@ -462,6 +526,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
462
526
|
* </li>
|
|
463
527
|
* <li>
|
|
464
528
|
* <p>
|
|
529
|
+
* <code>UpdatePackageGroup</code>: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.</p>
|
|
530
|
+
* </li>
|
|
531
|
+
* <li>
|
|
532
|
+
* <p>
|
|
533
|
+
* <code>UpdatePackageGroupOriginConfiguration</code>: Updates the package origin configuration for a package group.</p>
|
|
534
|
+
* </li>
|
|
535
|
+
* <li>
|
|
536
|
+
* <p>
|
|
465
537
|
* <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
|
|
466
538
|
* </li>
|
|
467
539
|
* <li>
|
|
@@ -469,6 +541,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
469
541
|
* <code>UpdateRepository</code>: Updates the properties of a repository.</p>
|
|
470
542
|
* </li>
|
|
471
543
|
* </ul>
|
|
544
|
+
* @public
|
|
472
545
|
*/
|
|
473
546
|
export declare class CodeartifactClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeartifactClientResolvedConfig> {
|
|
474
547
|
/**
|
|
@@ -22,10 +22,10 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
|
|
|
22
22
|
}
|
|
23
23
|
declare const AssociateExternalConnectionCommand_base: {
|
|
24
24
|
new (input: AssociateExternalConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: AssociateExternalConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Adds an existing external connection to a repository. One external connection is allowed
|
|
30
30
|
* per repository.</p>
|
|
31
31
|
* <note>
|
|
@@ -113,6 +113,7 @@ declare const AssociateExternalConnectionCommand_base: {
|
|
|
113
113
|
* @throws {@link CodeartifactServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
115
115
|
*
|
|
116
|
+
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class AssociateExternalConnectionCommand extends AssociateExternalConnectionCommand_base {
|
|
118
119
|
}
|
|
@@ -22,10 +22,10 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const CopyPackageVersionsCommand_base: {
|
|
24
24
|
new (input: CopyPackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CopyPackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Copies package versions from one repository to another repository in the same domain.
|
|
31
31
|
* </p>
|
|
@@ -118,6 +118,7 @@ declare const CopyPackageVersionsCommand_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 CopyPackageVersionsCommand extends CopyPackageVersionsCommand_base {
|
|
123
124
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateDomainCommand_base: {
|
|
24
24
|
new (input: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Creates a domain. CodeArtifact <i>domains</i> make it easier to manage multiple repositories across an
|
|
31
31
|
* organization. You can use a domain to apply permissions across many
|
|
@@ -112,6 +112,7 @@ declare const CreateDomainCommand_base: {
|
|
|
112
112
|
* @throws {@link CodeartifactServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
114
114
|
*
|
|
115
|
+
* @public
|
|
115
116
|
*/
|
|
116
117
|
export declare class CreateDomainCommand extends CreateDomainCommand_base {
|
|
117
118
|
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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 { CreatePackageGroupRequest, CreatePackageGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreatePackageGroupCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreatePackageGroupCommandInput extends CreatePackageGroupRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreatePackageGroupCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreatePackageGroupCommandOutput extends CreatePackageGroupResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreatePackageGroupCommand_base: {
|
|
24
|
+
new (input: CreatePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePackageGroupCommandInput, CreatePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreatePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePackageGroupCommandInput, CreatePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>
|
|
30
|
+
* Creates a package group. For more information about creating package groups, including example CLI commands, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/create-package-group.html">Create a package group</a> in the <i>CodeArtifact User Guide</i>.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeartifactClient, CreatePackageGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
36
|
+
* // const { CodeartifactClient, CreatePackageGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
37
|
+
* const client = new CodeartifactClient(config);
|
|
38
|
+
* const input = { // CreatePackageGroupRequest
|
|
39
|
+
* domain: "STRING_VALUE", // required
|
|
40
|
+
* domainOwner: "STRING_VALUE",
|
|
41
|
+
* packageGroup: "STRING_VALUE", // required
|
|
42
|
+
* contactInfo: "STRING_VALUE",
|
|
43
|
+
* description: "STRING_VALUE",
|
|
44
|
+
* tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
|
+
* key: "STRING_VALUE", // required
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
51
|
+
* const command = new CreatePackageGroupCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // CreatePackageGroupResult
|
|
54
|
+
* // packageGroup: { // PackageGroupDescription
|
|
55
|
+
* // arn: "STRING_VALUE",
|
|
56
|
+
* // pattern: "STRING_VALUE",
|
|
57
|
+
* // domainName: "STRING_VALUE",
|
|
58
|
+
* // domainOwner: "STRING_VALUE",
|
|
59
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // contactInfo: "STRING_VALUE",
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
63
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
64
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
65
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
66
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
67
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
68
|
+
* // arn: "STRING_VALUE",
|
|
69
|
+
* // pattern: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // repositoriesCount: Number("long"),
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // parent: {
|
|
76
|
+
* // arn: "STRING_VALUE",
|
|
77
|
+
* // pattern: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param CreatePackageGroupCommandInput - {@link CreatePackageGroupCommandInput}
|
|
85
|
+
* @returns {@link CreatePackageGroupCommandOutput}
|
|
86
|
+
* @see {@link CreatePackageGroupCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link CreatePackageGroupCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>
|
|
92
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
93
|
+
* </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConflictException} (client fault)
|
|
96
|
+
* <p>
|
|
97
|
+
* The operation did not succeed because prerequisites are not met.
|
|
98
|
+
* </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InternalServerException} (server fault)
|
|
101
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
104
|
+
* <p>
|
|
105
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
106
|
+
* </p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
109
|
+
* <p>
|
|
110
|
+
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
111
|
+
* </p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* <p>
|
|
115
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
116
|
+
* </p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ValidationException} (client fault)
|
|
119
|
+
* <p>
|
|
120
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
121
|
+
* </p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link CodeartifactServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class CreatePackageGroupCommand extends CreatePackageGroupCommand_base {
|
|
129
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateRepositoryCommand_base: {
|
|
24
24
|
new (input: CreateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Creates a repository.
|
|
31
31
|
* </p>
|
|
@@ -122,6 +122,7 @@ declare const CreateRepositoryCommand_base: {
|
|
|
122
122
|
* @throws {@link CodeartifactServiceException}
|
|
123
123
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
124
124
|
*
|
|
125
|
+
* @public
|
|
125
126
|
*/
|
|
126
127
|
export declare class CreateRepositoryCommand extends CreateRepositoryCommand_base {
|
|
127
128
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteDomainCommand_base: {
|
|
24
24
|
new (input: DeleteDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain
|
|
31
31
|
* with repositories, first delete its repositories.
|
|
@@ -90,6 +90,7 @@ declare const DeleteDomainCommand_base: {
|
|
|
90
90
|
* @throws {@link CodeartifactServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
92
92
|
*
|
|
93
|
+
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class DeleteDomainCommand extends DeleteDomainCommand_base {
|
|
95
96
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteDomainPermissionsPolicyCommand_base: {
|
|
24
24
|
new (input: DeleteDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Deletes the resource policy set on a domain.
|
|
31
31
|
* </p>
|
|
@@ -89,6 +89,7 @@ declare const DeleteDomainPermissionsPolicyCommand_base: {
|
|
|
89
89
|
* @throws {@link CodeartifactServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
91
91
|
*
|
|
92
|
+
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class DeleteDomainPermissionsPolicyCommand extends DeleteDomainPermissionsPolicyCommand_base {
|
|
94
95
|
}
|
|
@@ -22,12 +22,12 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeletePackageCommand_base: {
|
|
24
24
|
new (input: DeletePackageCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageCommandInput, DeletePackageCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePackageCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageCommandInput, DeletePackageCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the
|
|
30
|
-
*
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DeletePackageVersions.html">DeletePackageVersions</a> API.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -97,6 +97,7 @@ declare const DeletePackageCommand_base: {
|
|
|
97
97
|
* @throws {@link CodeartifactServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
99
99
|
*
|
|
100
|
+
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class DeletePackageCommand extends DeletePackageCommand_base {
|
|
102
103
|
}
|