@aws-sdk/client-codeartifact 3.535.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 +139 -6
- package/dist-types/CodeartifactClient.d.ts +81 -8
- package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
- package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
- package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
- package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +10 -0
- package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
- package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
- package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
- package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
- package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
- 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 +1258 -159
- 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 +176 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -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/ListPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -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/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 +1 -1
|
@@ -3,32 +3,40 @@ import { CodeartifactClient } from "./CodeartifactClient";
|
|
|
3
3
|
import { AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput } from "./commands/AssociateExternalConnectionCommand";
|
|
4
4
|
import { CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput } from "./commands/CopyPackageVersionsCommand";
|
|
5
5
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
6
|
+
import { CreatePackageGroupCommandInput, CreatePackageGroupCommandOutput } from "./commands/CreatePackageGroupCommand";
|
|
6
7
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
7
8
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
8
9
|
import { DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput } from "./commands/DeleteDomainPermissionsPolicyCommand";
|
|
9
10
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
11
|
+
import { DeletePackageGroupCommandInput, DeletePackageGroupCommandOutput } from "./commands/DeletePackageGroupCommand";
|
|
10
12
|
import { DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput } from "./commands/DeletePackageVersionsCommand";
|
|
11
13
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
12
14
|
import { DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput } from "./commands/DeleteRepositoryPermissionsPolicyCommand";
|
|
13
15
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
14
16
|
import { DescribePackageCommandInput, DescribePackageCommandOutput } from "./commands/DescribePackageCommand";
|
|
17
|
+
import { DescribePackageGroupCommandInput, DescribePackageGroupCommandOutput } from "./commands/DescribePackageGroupCommand";
|
|
15
18
|
import { DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput } from "./commands/DescribePackageVersionCommand";
|
|
16
19
|
import { DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput } from "./commands/DescribeRepositoryCommand";
|
|
17
20
|
import { DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput } from "./commands/DisassociateExternalConnectionCommand";
|
|
18
21
|
import { DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput } from "./commands/DisposePackageVersionsCommand";
|
|
22
|
+
import { GetAssociatedPackageGroupCommandInput, GetAssociatedPackageGroupCommandOutput } from "./commands/GetAssociatedPackageGroupCommand";
|
|
19
23
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
20
24
|
import { GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput } from "./commands/GetDomainPermissionsPolicyCommand";
|
|
21
25
|
import { GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput } from "./commands/GetPackageVersionAssetCommand";
|
|
22
26
|
import { GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput } from "./commands/GetPackageVersionReadmeCommand";
|
|
23
27
|
import { GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput } from "./commands/GetRepositoryEndpointCommand";
|
|
24
28
|
import { GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput } from "./commands/GetRepositoryPermissionsPolicyCommand";
|
|
29
|
+
import { ListAllowedRepositoriesForGroupCommandInput, ListAllowedRepositoriesForGroupCommandOutput } from "./commands/ListAllowedRepositoriesForGroupCommand";
|
|
30
|
+
import { ListAssociatedPackagesCommandInput, ListAssociatedPackagesCommandOutput } from "./commands/ListAssociatedPackagesCommand";
|
|
25
31
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
32
|
+
import { ListPackageGroupsCommandInput, ListPackageGroupsCommandOutput } from "./commands/ListPackageGroupsCommand";
|
|
26
33
|
import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
|
|
27
34
|
import { ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput } from "./commands/ListPackageVersionAssetsCommand";
|
|
28
35
|
import { ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput } from "./commands/ListPackageVersionDependenciesCommand";
|
|
29
36
|
import { ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput } from "./commands/ListPackageVersionsCommand";
|
|
30
37
|
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
|
|
31
38
|
import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "./commands/ListRepositoriesInDomainCommand";
|
|
39
|
+
import { ListSubPackageGroupsCommandInput, ListSubPackageGroupsCommandOutput } from "./commands/ListSubPackageGroupsCommand";
|
|
32
40
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
41
|
import { PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput } from "./commands/PublishPackageVersionCommand";
|
|
34
42
|
import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "./commands/PutDomainPermissionsPolicyCommand";
|
|
@@ -36,6 +44,8 @@ import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfiguratio
|
|
|
36
44
|
import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "./commands/PutRepositoryPermissionsPolicyCommand";
|
|
37
45
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
46
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
47
|
+
import { UpdatePackageGroupCommandInput, UpdatePackageGroupCommandOutput } from "./commands/UpdatePackageGroupCommand";
|
|
48
|
+
import { UpdatePackageGroupOriginConfigurationCommandInput, UpdatePackageGroupOriginConfigurationCommandOutput } from "./commands/UpdatePackageGroupOriginConfigurationCommand";
|
|
39
49
|
import { UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput } from "./commands/UpdatePackageVersionsStatusCommand";
|
|
40
50
|
import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
|
|
41
51
|
export interface Codeartifact {
|
|
@@ -57,6 +67,12 @@ export interface Codeartifact {
|
|
|
57
67
|
createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
|
|
58
68
|
createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
59
69
|
createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link CreatePackageGroupCommand}
|
|
72
|
+
*/
|
|
73
|
+
createPackageGroup(args: CreatePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreatePackageGroupCommandOutput>;
|
|
74
|
+
createPackageGroup(args: CreatePackageGroupCommandInput, cb: (err: any, data?: CreatePackageGroupCommandOutput) => void): void;
|
|
75
|
+
createPackageGroup(args: CreatePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePackageGroupCommandOutput) => void): void;
|
|
60
76
|
/**
|
|
61
77
|
* @see {@link CreateRepositoryCommand}
|
|
62
78
|
*/
|
|
@@ -81,6 +97,12 @@ export interface Codeartifact {
|
|
|
81
97
|
deletePackage(args: DeletePackageCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageCommandOutput>;
|
|
82
98
|
deletePackage(args: DeletePackageCommandInput, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
|
|
83
99
|
deletePackage(args: DeletePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link DeletePackageGroupCommand}
|
|
102
|
+
*/
|
|
103
|
+
deletePackageGroup(args: DeletePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageGroupCommandOutput>;
|
|
104
|
+
deletePackageGroup(args: DeletePackageGroupCommandInput, cb: (err: any, data?: DeletePackageGroupCommandOutput) => void): void;
|
|
105
|
+
deletePackageGroup(args: DeletePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePackageGroupCommandOutput) => void): void;
|
|
84
106
|
/**
|
|
85
107
|
* @see {@link DeletePackageVersionsCommand}
|
|
86
108
|
*/
|
|
@@ -111,6 +133,12 @@ export interface Codeartifact {
|
|
|
111
133
|
describePackage(args: DescribePackageCommandInput, options?: __HttpHandlerOptions): Promise<DescribePackageCommandOutput>;
|
|
112
134
|
describePackage(args: DescribePackageCommandInput, cb: (err: any, data?: DescribePackageCommandOutput) => void): void;
|
|
113
135
|
describePackage(args: DescribePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePackageCommandOutput) => void): void;
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link DescribePackageGroupCommand}
|
|
138
|
+
*/
|
|
139
|
+
describePackageGroup(args: DescribePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribePackageGroupCommandOutput>;
|
|
140
|
+
describePackageGroup(args: DescribePackageGroupCommandInput, cb: (err: any, data?: DescribePackageGroupCommandOutput) => void): void;
|
|
141
|
+
describePackageGroup(args: DescribePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePackageGroupCommandOutput) => void): void;
|
|
114
142
|
/**
|
|
115
143
|
* @see {@link DescribePackageVersionCommand}
|
|
116
144
|
*/
|
|
@@ -135,6 +163,12 @@ export interface Codeartifact {
|
|
|
135
163
|
disposePackageVersions(args: DisposePackageVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DisposePackageVersionsCommandOutput>;
|
|
136
164
|
disposePackageVersions(args: DisposePackageVersionsCommandInput, cb: (err: any, data?: DisposePackageVersionsCommandOutput) => void): void;
|
|
137
165
|
disposePackageVersions(args: DisposePackageVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisposePackageVersionsCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link GetAssociatedPackageGroupCommand}
|
|
168
|
+
*/
|
|
169
|
+
getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetAssociatedPackageGroupCommandOutput>;
|
|
170
|
+
getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, cb: (err: any, data?: GetAssociatedPackageGroupCommandOutput) => void): void;
|
|
171
|
+
getAssociatedPackageGroup(args: GetAssociatedPackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssociatedPackageGroupCommandOutput) => void): void;
|
|
138
172
|
/**
|
|
139
173
|
* @see {@link GetAuthorizationTokenCommand}
|
|
140
174
|
*/
|
|
@@ -171,6 +205,18 @@ export interface Codeartifact {
|
|
|
171
205
|
getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryPermissionsPolicyCommandOutput>;
|
|
172
206
|
getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
173
207
|
getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link ListAllowedRepositoriesForGroupCommand}
|
|
210
|
+
*/
|
|
211
|
+
listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListAllowedRepositoriesForGroupCommandOutput>;
|
|
212
|
+
listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, cb: (err: any, data?: ListAllowedRepositoriesForGroupCommandOutput) => void): void;
|
|
213
|
+
listAllowedRepositoriesForGroup(args: ListAllowedRepositoriesForGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAllowedRepositoriesForGroupCommandOutput) => void): void;
|
|
214
|
+
/**
|
|
215
|
+
* @see {@link ListAssociatedPackagesCommand}
|
|
216
|
+
*/
|
|
217
|
+
listAssociatedPackages(args: ListAssociatedPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedPackagesCommandOutput>;
|
|
218
|
+
listAssociatedPackages(args: ListAssociatedPackagesCommandInput, cb: (err: any, data?: ListAssociatedPackagesCommandOutput) => void): void;
|
|
219
|
+
listAssociatedPackages(args: ListAssociatedPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedPackagesCommandOutput) => void): void;
|
|
174
220
|
/**
|
|
175
221
|
* @see {@link ListDomainsCommand}
|
|
176
222
|
*/
|
|
@@ -178,6 +224,12 @@ export interface Codeartifact {
|
|
|
178
224
|
listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
|
|
179
225
|
listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
180
226
|
listDomains(args: ListDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
227
|
+
/**
|
|
228
|
+
* @see {@link ListPackageGroupsCommand}
|
|
229
|
+
*/
|
|
230
|
+
listPackageGroups(args: ListPackageGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListPackageGroupsCommandOutput>;
|
|
231
|
+
listPackageGroups(args: ListPackageGroupsCommandInput, cb: (err: any, data?: ListPackageGroupsCommandOutput) => void): void;
|
|
232
|
+
listPackageGroups(args: ListPackageGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPackageGroupsCommandOutput) => void): void;
|
|
181
233
|
/**
|
|
182
234
|
* @see {@link ListPackagesCommand}
|
|
183
235
|
*/
|
|
@@ -215,6 +267,12 @@ export interface Codeartifact {
|
|
|
215
267
|
listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesInDomainCommandOutput>;
|
|
216
268
|
listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
|
|
217
269
|
listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
|
|
270
|
+
/**
|
|
271
|
+
* @see {@link ListSubPackageGroupsCommand}
|
|
272
|
+
*/
|
|
273
|
+
listSubPackageGroups(args: ListSubPackageGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubPackageGroupsCommandOutput>;
|
|
274
|
+
listSubPackageGroups(args: ListSubPackageGroupsCommandInput, cb: (err: any, data?: ListSubPackageGroupsCommandOutput) => void): void;
|
|
275
|
+
listSubPackageGroups(args: ListSubPackageGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubPackageGroupsCommandOutput) => void): void;
|
|
218
276
|
/**
|
|
219
277
|
* @see {@link ListTagsForResourceCommand}
|
|
220
278
|
*/
|
|
@@ -257,6 +315,18 @@ export interface Codeartifact {
|
|
|
257
315
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
258
316
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
259
317
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
318
|
+
/**
|
|
319
|
+
* @see {@link UpdatePackageGroupCommand}
|
|
320
|
+
*/
|
|
321
|
+
updatePackageGroup(args: UpdatePackageGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageGroupCommandOutput>;
|
|
322
|
+
updatePackageGroup(args: UpdatePackageGroupCommandInput, cb: (err: any, data?: UpdatePackageGroupCommandOutput) => void): void;
|
|
323
|
+
updatePackageGroup(args: UpdatePackageGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageGroupCommandOutput) => void): void;
|
|
324
|
+
/**
|
|
325
|
+
* @see {@link UpdatePackageGroupOriginConfigurationCommand}
|
|
326
|
+
*/
|
|
327
|
+
updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageGroupOriginConfigurationCommandOutput>;
|
|
328
|
+
updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, cb: (err: any, data?: UpdatePackageGroupOriginConfigurationCommandOutput) => void): void;
|
|
329
|
+
updatePackageGroupOriginConfiguration(args: UpdatePackageGroupOriginConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageGroupOriginConfigurationCommandOutput) => void): void;
|
|
260
330
|
/**
|
|
261
331
|
* @see {@link UpdatePackageVersionsStatusCommand}
|
|
262
332
|
*/
|
|
@@ -278,9 +348,8 @@ export interface Codeartifact {
|
|
|
278
348
|
* repository and another repository, which effectively merges their contents from the point of
|
|
279
349
|
* view of a package manager client. </p>
|
|
280
350
|
* <p>
|
|
281
|
-
* <b>CodeArtifact
|
|
351
|
+
* <b>CodeArtifact concepts</b>
|
|
282
352
|
* </p>
|
|
283
|
-
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
284
353
|
* <ul>
|
|
285
354
|
* <li>
|
|
286
355
|
* <p>
|
|
@@ -294,7 +363,10 @@ export interface Codeartifact {
|
|
|
294
363
|
* <code>mvn</code>
|
|
295
364
|
* </b>), Python CLIs (<b>
|
|
296
365
|
* <code>pip</code>
|
|
297
|
-
* </b> and <code>twine</code>),
|
|
366
|
+
* </b> and <code>twine</code>), NuGet CLIs (<code>nuget</code> and <code>dotnet</code>), and
|
|
367
|
+
* the Swift package manager (<b>
|
|
368
|
+
* <code>swift</code>
|
|
369
|
+
* </b>).</p>
|
|
298
370
|
* </li>
|
|
299
371
|
* <li>
|
|
300
372
|
* <p>
|
|
@@ -316,7 +388,7 @@ export interface Codeartifact {
|
|
|
316
388
|
* <li>
|
|
317
389
|
* <p>
|
|
318
390
|
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
319
|
-
* 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>,
|
|
391
|
+
* 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>
|
|
320
392
|
* <p>In CodeArtifact, a package consists of:</p>
|
|
321
393
|
* <ul>
|
|
322
394
|
* <li>
|
|
@@ -337,6 +409,14 @@ export interface Codeartifact {
|
|
|
337
409
|
* </li>
|
|
338
410
|
* <li>
|
|
339
411
|
* <p>
|
|
412
|
+
* <b>Package group</b>: A group of packages that match a specified definition. Package
|
|
413
|
+
* groups can be used to apply configuration to multiple packages that match a defined pattern using
|
|
414
|
+
* package format, package namespace, and package name. You can use package groups to more conveniently
|
|
415
|
+
* configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing
|
|
416
|
+
* of new package versions, which protects users from malicious actions known as dependency substitution attacks.</p>
|
|
417
|
+
* </li>
|
|
418
|
+
* <li>
|
|
419
|
+
* <p>
|
|
340
420
|
* <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
|
|
341
421
|
* format and semantics vary for different package formats. For example, npm package versions
|
|
342
422
|
* must conform to the <a href="https://semver.org/">Semantic Versioning
|
|
@@ -356,7 +436,9 @@ export interface Codeartifact {
|
|
|
356
436
|
* <code>.tgz</code> file or Maven POM and JAR files.</p>
|
|
357
437
|
* </li>
|
|
358
438
|
* </ul>
|
|
359
|
-
* <p>
|
|
439
|
+
* <p>
|
|
440
|
+
* <b>CodeArtifact supported API operations</b>
|
|
441
|
+
* </p>
|
|
360
442
|
* <ul>
|
|
361
443
|
* <li>
|
|
362
444
|
* <p>
|
|
@@ -371,7 +453,11 @@ export interface Codeartifact {
|
|
|
371
453
|
* </li>
|
|
372
454
|
* <li>
|
|
373
455
|
* <p>
|
|
374
|
-
* <code>CreateDomain</code>: Creates a domain
|
|
456
|
+
* <code>CreateDomain</code>: Creates a domain.</p>
|
|
457
|
+
* </li>
|
|
458
|
+
* <li>
|
|
459
|
+
* <p>
|
|
460
|
+
* <code>CreatePackageGroup</code>: Creates a package group.</p>
|
|
375
461
|
* </li>
|
|
376
462
|
* <li>
|
|
377
463
|
* <p>
|
|
@@ -392,6 +478,10 @@ export interface Codeartifact {
|
|
|
392
478
|
* </li>
|
|
393
479
|
* <li>
|
|
394
480
|
* <p>
|
|
481
|
+
* <code>DeletePackageGroup</code>: Deletes a package group. Does not delete packages or package versions that are associated with a package group.</p>
|
|
482
|
+
* </li>
|
|
483
|
+
* <li>
|
|
484
|
+
* <p>
|
|
395
485
|
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
396
486
|
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
397
487
|
* because they have been permanently removed from storage.</p>
|
|
@@ -417,6 +507,11 @@ export interface Codeartifact {
|
|
|
417
507
|
* </li>
|
|
418
508
|
* <li>
|
|
419
509
|
* <p>
|
|
510
|
+
* <code>DescribePackageGroup</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroup.html">PackageGroup</a>
|
|
511
|
+
* object that contains details about a package group. </p>
|
|
512
|
+
* </li>
|
|
513
|
+
* <li>
|
|
514
|
+
* <p>
|
|
420
515
|
* <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
421
516
|
* object that contains details about a package version. </p>
|
|
422
517
|
* </li>
|
|
@@ -438,6 +533,10 @@ export interface Codeartifact {
|
|
|
438
533
|
* </li>
|
|
439
534
|
* <li>
|
|
440
535
|
* <p>
|
|
536
|
+
* <code>GetAssociatedPackageGroup</code>: Returns the most closely associated package group to the specified package.</p>
|
|
537
|
+
* </li>
|
|
538
|
+
* <li>
|
|
539
|
+
* <p>
|
|
441
540
|
* <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
|
|
442
541
|
* The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
|
|
443
542
|
* </li>
|
|
@@ -462,6 +561,11 @@ export interface Codeartifact {
|
|
|
462
561
|
* <ul>
|
|
463
562
|
* <li>
|
|
464
563
|
* <p>
|
|
564
|
+
* <code>generic</code>
|
|
565
|
+
* </p>
|
|
566
|
+
* </li>
|
|
567
|
+
* <li>
|
|
568
|
+
* <p>
|
|
465
569
|
* <code>maven</code>
|
|
466
570
|
* </p>
|
|
467
571
|
* </li>
|
|
@@ -480,6 +584,11 @@ export interface Codeartifact {
|
|
|
480
584
|
* <code>pypi</code>
|
|
481
585
|
* </p>
|
|
482
586
|
* </li>
|
|
587
|
+
* <li>
|
|
588
|
+
* <p>
|
|
589
|
+
* <code>swift</code>
|
|
590
|
+
* </p>
|
|
591
|
+
* </li>
|
|
483
592
|
* </ul>
|
|
484
593
|
* </li>
|
|
485
594
|
* <li>
|
|
@@ -489,6 +598,14 @@ export interface Codeartifact {
|
|
|
489
598
|
* </li>
|
|
490
599
|
* <li>
|
|
491
600
|
* <p>
|
|
601
|
+
* <code>ListAllowedRepositoriesForGroup</code>: Lists the allowed repositories for a package group that has origin configuration set to <code>ALLOW_SPECIFIC_REPOSITORIES</code>.</p>
|
|
602
|
+
* </li>
|
|
603
|
+
* <li>
|
|
604
|
+
* <p>
|
|
605
|
+
* <code>ListAssociatedPackages</code>: Returns a list of packages associated with the requested package group.</p>
|
|
606
|
+
* </li>
|
|
607
|
+
* <li>
|
|
608
|
+
* <p>
|
|
492
609
|
* <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
|
|
493
610
|
* returned <code>DomainSummary</code> object contains information about a domain.</p>
|
|
494
611
|
* </li>
|
|
@@ -498,6 +615,10 @@ export interface Codeartifact {
|
|
|
498
615
|
* </li>
|
|
499
616
|
* <li>
|
|
500
617
|
* <p>
|
|
618
|
+
* <code>ListPackageGroups</code>: Returns a list of package groups in the requested domain.</p>
|
|
619
|
+
* </li>
|
|
620
|
+
* <li>
|
|
621
|
+
* <p>
|
|
501
622
|
* <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
|
|
502
623
|
* </li>
|
|
503
624
|
* <li>
|
|
@@ -520,6 +641,10 @@ export interface Codeartifact {
|
|
|
520
641
|
* </li>
|
|
521
642
|
* <li>
|
|
522
643
|
* <p>
|
|
644
|
+
* <code>ListSubPackageGroups</code>: Returns a list of direct children of the specified package group.</p>
|
|
645
|
+
* </li>
|
|
646
|
+
* <li>
|
|
647
|
+
* <p>
|
|
523
648
|
* <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
|
|
524
649
|
* </li>
|
|
525
650
|
* <li>
|
|
@@ -538,6 +663,14 @@ export interface Codeartifact {
|
|
|
538
663
|
* </li>
|
|
539
664
|
* <li>
|
|
540
665
|
* <p>
|
|
666
|
+
* <code>UpdatePackageGroup</code>: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.</p>
|
|
667
|
+
* </li>
|
|
668
|
+
* <li>
|
|
669
|
+
* <p>
|
|
670
|
+
* <code>UpdatePackageGroupOriginConfiguration</code>: Updates the package origin configuration for a package group.</p>
|
|
671
|
+
* </li>
|
|
672
|
+
* <li>
|
|
673
|
+
* <p>
|
|
541
674
|
* <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
|
|
542
675
|
* </li>
|
|
543
676
|
* <li>
|
|
@@ -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
|
*/
|
|
@@ -201,9 +211,8 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
201
211
|
* repository and another repository, which effectively merges their contents from the point of
|
|
202
212
|
* view of a package manager client. </p>
|
|
203
213
|
* <p>
|
|
204
|
-
* <b>CodeArtifact
|
|
214
|
+
* <b>CodeArtifact concepts</b>
|
|
205
215
|
* </p>
|
|
206
|
-
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
207
216
|
* <ul>
|
|
208
217
|
* <li>
|
|
209
218
|
* <p>
|
|
@@ -217,7 +226,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
217
226
|
* <code>mvn</code>
|
|
218
227
|
* </b>), Python CLIs (<b>
|
|
219
228
|
* <code>pip</code>
|
|
220
|
-
* </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>
|
|
221
233
|
* </li>
|
|
222
234
|
* <li>
|
|
223
235
|
* <p>
|
|
@@ -239,7 +251,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
239
251
|
* <li>
|
|
240
252
|
* <p>
|
|
241
253
|
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
242
|
-
* 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>
|
|
243
255
|
* <p>In CodeArtifact, a package consists of:</p>
|
|
244
256
|
* <ul>
|
|
245
257
|
* <li>
|
|
@@ -260,6 +272,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
260
272
|
* </li>
|
|
261
273
|
* <li>
|
|
262
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>
|
|
263
283
|
* <b>Package version</b>: A version of a package, such as <code>@types/node 12.6.9</code>. The version number
|
|
264
284
|
* format and semantics vary for different package formats. For example, npm package versions
|
|
265
285
|
* must conform to the <a href="https://semver.org/">Semantic Versioning
|
|
@@ -279,7 +299,9 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
279
299
|
* <code>.tgz</code> file or Maven POM and JAR files.</p>
|
|
280
300
|
* </li>
|
|
281
301
|
* </ul>
|
|
282
|
-
* <p>
|
|
302
|
+
* <p>
|
|
303
|
+
* <b>CodeArtifact supported API operations</b>
|
|
304
|
+
* </p>
|
|
283
305
|
* <ul>
|
|
284
306
|
* <li>
|
|
285
307
|
* <p>
|
|
@@ -294,7 +316,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
294
316
|
* </li>
|
|
295
317
|
* <li>
|
|
296
318
|
* <p>
|
|
297
|
-
* <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>
|
|
298
324
|
* </li>
|
|
299
325
|
* <li>
|
|
300
326
|
* <p>
|
|
@@ -315,6 +341,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
315
341
|
* </li>
|
|
316
342
|
* <li>
|
|
317
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>
|
|
318
348
|
* <code>DeletePackageVersions</code>: Deletes versions of a package. After a package has
|
|
319
349
|
* been deleted, it can be republished, but its assets and metadata cannot be restored
|
|
320
350
|
* because they have been permanently removed from storage.</p>
|
|
@@ -340,6 +370,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
340
370
|
* </li>
|
|
341
371
|
* <li>
|
|
342
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>
|
|
343
378
|
* <code>DescribePackageVersion</code>: Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
344
379
|
* object that contains details about a package version. </p>
|
|
345
380
|
* </li>
|
|
@@ -361,6 +396,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
361
396
|
* </li>
|
|
362
397
|
* <li>
|
|
363
398
|
* <p>
|
|
399
|
+
* <code>GetAssociatedPackageGroup</code>: Returns the most closely associated package group to the specified package.</p>
|
|
400
|
+
* </li>
|
|
401
|
+
* <li>
|
|
402
|
+
* <p>
|
|
364
403
|
* <code>GetAuthorizationToken</code>: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed.
|
|
365
404
|
* The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.</p>
|
|
366
405
|
* </li>
|
|
@@ -385,6 +424,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
385
424
|
* <ul>
|
|
386
425
|
* <li>
|
|
387
426
|
* <p>
|
|
427
|
+
* <code>generic</code>
|
|
428
|
+
* </p>
|
|
429
|
+
* </li>
|
|
430
|
+
* <li>
|
|
431
|
+
* <p>
|
|
388
432
|
* <code>maven</code>
|
|
389
433
|
* </p>
|
|
390
434
|
* </li>
|
|
@@ -403,6 +447,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
403
447
|
* <code>pypi</code>
|
|
404
448
|
* </p>
|
|
405
449
|
* </li>
|
|
450
|
+
* <li>
|
|
451
|
+
* <p>
|
|
452
|
+
* <code>swift</code>
|
|
453
|
+
* </p>
|
|
454
|
+
* </li>
|
|
406
455
|
* </ul>
|
|
407
456
|
* </li>
|
|
408
457
|
* <li>
|
|
@@ -412,6 +461,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
412
461
|
* </li>
|
|
413
462
|
* <li>
|
|
414
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>
|
|
415
472
|
* <code>ListDomains</code>: Returns a list of <code>DomainSummary</code> objects. Each
|
|
416
473
|
* returned <code>DomainSummary</code> object contains information about a domain.</p>
|
|
417
474
|
* </li>
|
|
@@ -421,6 +478,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
421
478
|
* </li>
|
|
422
479
|
* <li>
|
|
423
480
|
* <p>
|
|
481
|
+
* <code>ListPackageGroups</code>: Returns a list of package groups in the requested domain.</p>
|
|
482
|
+
* </li>
|
|
483
|
+
* <li>
|
|
484
|
+
* <p>
|
|
424
485
|
* <code>ListPackageVersionAssets</code>: Lists the assets for a given package version.</p>
|
|
425
486
|
* </li>
|
|
426
487
|
* <li>
|
|
@@ -443,6 +504,10 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
443
504
|
* </li>
|
|
444
505
|
* <li>
|
|
445
506
|
* <p>
|
|
507
|
+
* <code>ListSubPackageGroups</code>: Returns a list of direct children of the specified package group.</p>
|
|
508
|
+
* </li>
|
|
509
|
+
* <li>
|
|
510
|
+
* <p>
|
|
446
511
|
* <code>PublishPackageVersion</code>: Creates a new package version containing one or more assets.</p>
|
|
447
512
|
* </li>
|
|
448
513
|
* <li>
|
|
@@ -461,6 +526,14 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
461
526
|
* </li>
|
|
462
527
|
* <li>
|
|
463
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>
|
|
464
537
|
* <code>UpdatePackageVersionsStatus</code>: Updates the status of one or more versions of a package.</p>
|
|
465
538
|
* </li>
|
|
466
539
|
* <li>
|