@aws-sdk/client-codeartifact 3.100.0 → 3.109.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/CHANGELOG.md +27 -0
- package/README.md +15 -10
- package/dist-cjs/CodeartifactClient.js +2 -0
- package/dist-es/CodeartifactClient.js +2 -0
- package/dist-types/Codeartifact.d.ts +36 -25
- package/dist-types/CodeartifactClient.d.ts +15 -10
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +1 -3
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +7 -2
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +107 -589
- package/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/package.json +29 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
package/README.md
CHANGED
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>
|
|
13
|
-
package managers and build tools such as npm, Apache Maven, and
|
|
12
|
+
<p> CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
13
|
+
package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
|
|
14
14
|
share packages with development teams and pull packages. Packages can be pulled from both
|
|
15
15
|
public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
|
|
16
16
|
repository and another repository, which effectively merges their contents from the point of
|
|
17
17
|
view of a package manager client. </p>
|
|
18
18
|
|
|
19
19
|
<p>
|
|
20
|
-
<b>
|
|
20
|
+
<b>CodeArtifact Components</b>
|
|
21
21
|
</p>
|
|
22
22
|
<p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
23
23
|
|
|
@@ -32,9 +32,9 @@ repository exposes endpoints for fetching and publishing packages using tools li
|
|
|
32
32
|
<code>npm</code>
|
|
33
33
|
</b> CLI, the Maven CLI (<b>
|
|
34
34
|
<code>mvn</code>
|
|
35
|
-
</b>),
|
|
35
|
+
</b>), Python CLIs (<b>
|
|
36
36
|
<code>pip</code>
|
|
37
|
-
</b
|
|
37
|
+
</b> and <code>twine</code>), and NuGet CLIs (<code>nuget</code> and <code>dotnet</code>).</p>
|
|
38
38
|
</li>
|
|
39
39
|
<li>
|
|
40
40
|
<p>
|
|
@@ -43,7 +43,7 @@ repository exposes endpoints for fetching and publishing packages using tools li
|
|
|
43
43
|
but are consumed through repositories. A given package asset, such as a Maven JAR file, is
|
|
44
44
|
stored once per domain, no matter how many repositories it's present in. All of the assets
|
|
45
45
|
and metadata in a domain are encrypted with the same customer master key (CMK) stored in
|
|
46
|
-
|
|
46
|
+
Key Management Service (KMS).</p>
|
|
47
47
|
<p>Each repository is a member of a single domain and can't be moved to a
|
|
48
48
|
different domain.</p>
|
|
49
49
|
<p>The domain allows organizational policy to be applied across multiple
|
|
@@ -56,7 +56,7 @@ across their organization.</p>
|
|
|
56
56
|
<li>
|
|
57
57
|
<p>
|
|
58
58
|
<b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
59
|
-
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>,
|
|
59
|
+
resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a> package formats.</p>
|
|
60
60
|
<p>In CodeArtifact, a package consists of:</p>
|
|
61
61
|
<ul>
|
|
62
62
|
<li>
|
|
@@ -194,17 +194,22 @@ package format:
|
|
|
194
194
|
<ul>
|
|
195
195
|
<li>
|
|
196
196
|
<p>
|
|
197
|
+
<code>maven</code>
|
|
198
|
+
</p>
|
|
199
|
+
</li>
|
|
200
|
+
<li>
|
|
201
|
+
<p>
|
|
197
202
|
<code>npm</code>
|
|
198
203
|
</p>
|
|
199
204
|
</li>
|
|
200
205
|
<li>
|
|
201
206
|
<p>
|
|
202
|
-
<code>
|
|
207
|
+
<code>nuget</code>
|
|
203
208
|
</p>
|
|
204
209
|
</li>
|
|
205
210
|
<li>
|
|
206
211
|
<p>
|
|
207
|
-
<code>
|
|
212
|
+
<code>pypi</code>
|
|
208
213
|
</p>
|
|
209
214
|
</li>
|
|
210
215
|
</ul>
|
|
@@ -239,7 +244,7 @@ package in a repository.</p>
|
|
|
239
244
|
</li>
|
|
240
245
|
<li>
|
|
241
246
|
<p>
|
|
242
|
-
<code>ListRepositories</code>: Returns a list of repositories owned by the
|
|
247
|
+
<code>ListRepositories</code>: Returns a list of repositories owned by the Amazon Web Services account that called this method.</p>
|
|
243
248
|
</li>
|
|
244
249
|
<li>
|
|
245
250
|
<p>
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class CodeartifactClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var CodeartifactClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -35,15 +35,15 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
35
35
|
import { UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput } from "./commands/UpdatePackageVersionsStatusCommand";
|
|
36
36
|
import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./commands/UpdateRepositoryCommand";
|
|
37
37
|
/**
|
|
38
|
-
* <p>
|
|
39
|
-
* package managers and build tools such as npm, Apache Maven, and
|
|
38
|
+
* <p> CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
39
|
+
* package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
|
|
40
40
|
* share packages with development teams and pull packages. Packages can be pulled from both
|
|
41
41
|
* public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
|
|
42
42
|
* repository and another repository, which effectively merges their contents from the point of
|
|
43
43
|
* view of a package manager client. </p>
|
|
44
44
|
*
|
|
45
45
|
* <p>
|
|
46
|
-
* <b>
|
|
46
|
+
* <b>CodeArtifact Components</b>
|
|
47
47
|
* </p>
|
|
48
48
|
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
49
49
|
*
|
|
@@ -58,9 +58,9 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
58
58
|
* <code>npm</code>
|
|
59
59
|
* </b> CLI, the Maven CLI (<b>
|
|
60
60
|
* <code>mvn</code>
|
|
61
|
-
* </b>),
|
|
61
|
+
* </b>), Python CLIs (<b>
|
|
62
62
|
* <code>pip</code>
|
|
63
|
-
* </b
|
|
63
|
+
* </b> and <code>twine</code>), and NuGet CLIs (<code>nuget</code> and <code>dotnet</code>).</p>
|
|
64
64
|
* </li>
|
|
65
65
|
* <li>
|
|
66
66
|
* <p>
|
|
@@ -69,7 +69,7 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
69
69
|
* but are consumed through repositories. A given package asset, such as a Maven JAR file, is
|
|
70
70
|
* stored once per domain, no matter how many repositories it's present in. All of the assets
|
|
71
71
|
* and metadata in a domain are encrypted with the same customer master key (CMK) stored in
|
|
72
|
-
*
|
|
72
|
+
* Key Management Service (KMS).</p>
|
|
73
73
|
* <p>Each repository is a member of a single domain and can't be moved to a
|
|
74
74
|
* different domain.</p>
|
|
75
75
|
* <p>The domain allows organizational policy to be applied across multiple
|
|
@@ -82,7 +82,7 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
82
82
|
* <li>
|
|
83
83
|
* <p>
|
|
84
84
|
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
85
|
-
* 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>,
|
|
85
|
+
* resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a> package formats.</p>
|
|
86
86
|
* <p>In CodeArtifact, a package consists of:</p>
|
|
87
87
|
* <ul>
|
|
88
88
|
* <li>
|
|
@@ -220,17 +220,22 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
220
220
|
* <ul>
|
|
221
221
|
* <li>
|
|
222
222
|
* <p>
|
|
223
|
+
* <code>maven</code>
|
|
224
|
+
* </p>
|
|
225
|
+
* </li>
|
|
226
|
+
* <li>
|
|
227
|
+
* <p>
|
|
223
228
|
* <code>npm</code>
|
|
224
229
|
* </p>
|
|
225
230
|
* </li>
|
|
226
231
|
* <li>
|
|
227
232
|
* <p>
|
|
228
|
-
* <code>
|
|
233
|
+
* <code>nuget</code>
|
|
229
234
|
* </p>
|
|
230
235
|
* </li>
|
|
231
236
|
* <li>
|
|
232
237
|
* <p>
|
|
233
|
-
* <code>
|
|
238
|
+
* <code>pypi</code>
|
|
234
239
|
* </p>
|
|
235
240
|
* </li>
|
|
236
241
|
* </ul>
|
|
@@ -265,7 +270,7 @@ import { UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput } from "./c
|
|
|
265
270
|
* </li>
|
|
266
271
|
* <li>
|
|
267
272
|
* <p>
|
|
268
|
-
* <code>ListRepositories</code>: Returns a list of repositories owned by the
|
|
273
|
+
* <code>ListRepositories</code>: Returns a list of repositories owned by the Amazon Web Services account that called this method.</p>
|
|
269
274
|
* </li>
|
|
270
275
|
* <li>
|
|
271
276
|
* <p>
|
|
@@ -318,7 +323,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
318
323
|
* <p>
|
|
319
324
|
* Creates a domain. CodeArtifact <i>domains</i> make it easier to manage multiple repositories across an
|
|
320
325
|
* organization. You can use a domain to apply permissions across many
|
|
321
|
-
* repositories owned by different
|
|
326
|
+
* repositories owned by different Amazon Web Services accounts. An asset is stored only once
|
|
322
327
|
* in a domain, even if it's in multiple repositories.
|
|
323
328
|
* </p>
|
|
324
329
|
*
|
|
@@ -380,7 +385,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
380
385
|
* </p>
|
|
381
386
|
* <important>
|
|
382
387
|
* <p>
|
|
383
|
-
* Use <code>DeleteRepositoryPermissionsPolicy</code> with caution. After a policy is deleted,
|
|
388
|
+
* Use <code>DeleteRepositoryPermissionsPolicy</code> with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform
|
|
384
389
|
* the repository actions granted by the deleted policy.
|
|
385
390
|
* </p>
|
|
386
391
|
* </important>
|
|
@@ -449,7 +454,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
449
454
|
* Generates a temporary authorization token for accessing repositories in the domain.
|
|
450
455
|
* This API requires the <code>codeartifact:GetAuthorizationToken</code> and <code>sts:GetServiceBearerToken</code> permissions.
|
|
451
456
|
* For more information about authorization tokens, see
|
|
452
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html">
|
|
457
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html">CodeArtifact authentication and tokens</a>.
|
|
453
458
|
* </p>
|
|
454
459
|
* <note>
|
|
455
460
|
* <p>CodeArtifact authorization tokens are valid for a period of 12 hours when created with the <code>login</code> command.
|
|
@@ -478,7 +483,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
478
483
|
* <p>
|
|
479
484
|
* The policy is a resource-based policy, not an identity-based policy. For more information, see
|
|
480
485
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based policies
|
|
481
|
-
* and resource-based policies </a> in the <i>
|
|
486
|
+
* and resource-based policies </a> in the <i>IAM User Guide</i>.
|
|
482
487
|
* </p>
|
|
483
488
|
* </note>
|
|
484
489
|
*/
|
|
@@ -497,9 +502,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
497
502
|
getPackageVersionAsset(args: GetPackageVersionAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPackageVersionAssetCommandOutput) => void): void;
|
|
498
503
|
/**
|
|
499
504
|
* <p>
|
|
500
|
-
* Gets the readme file or descriptive text for a package version.
|
|
501
|
-
* extracts a description from a metadata file. For example, from the <code><description></code> element in the
|
|
502
|
-
* <code>pom.xml</code> file of a Maven package.
|
|
505
|
+
* Gets the readme file or descriptive text for a package version.
|
|
503
506
|
* </p>
|
|
504
507
|
* <p>
|
|
505
508
|
* The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
|
@@ -516,17 +519,22 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
516
519
|
* <ul>
|
|
517
520
|
* <li>
|
|
518
521
|
* <p>
|
|
522
|
+
* <code>maven</code>
|
|
523
|
+
* </p>
|
|
524
|
+
* </li>
|
|
525
|
+
* <li>
|
|
526
|
+
* <p>
|
|
519
527
|
* <code>npm</code>
|
|
520
528
|
* </p>
|
|
521
529
|
* </li>
|
|
522
530
|
* <li>
|
|
523
531
|
* <p>
|
|
524
|
-
* <code>
|
|
532
|
+
* <code>nuget</code>
|
|
525
533
|
* </p>
|
|
526
534
|
* </li>
|
|
527
535
|
* <li>
|
|
528
536
|
* <p>
|
|
529
|
-
* <code>
|
|
537
|
+
* <code>pypi</code>
|
|
530
538
|
* </p>
|
|
531
539
|
* </li>
|
|
532
540
|
* </ul>
|
|
@@ -543,7 +551,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
543
551
|
getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
544
552
|
getRepositoryPermissionsPolicy(args: GetRepositoryPermissionsPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
545
553
|
/**
|
|
546
|
-
* <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the
|
|
554
|
+
* <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the Amazon Web Services account that makes
|
|
547
555
|
* this call. Each returned <code>DomainSummary</code> object contains information about a
|
|
548
556
|
* domain. </p>
|
|
549
557
|
*/
|
|
@@ -596,7 +604,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
596
604
|
* <p>
|
|
597
605
|
* Returns a list of
|
|
598
606
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
599
|
-
* objects. Each <code>RepositorySummary</code> contains information about a repository in the specified
|
|
607
|
+
* objects. Each <code>RepositorySummary</code> contains information about a repository in the specified Amazon Web Services account and that matches the input
|
|
600
608
|
* parameters.
|
|
601
609
|
* </p>
|
|
602
610
|
*/
|
|
@@ -615,7 +623,7 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
615
623
|
listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
|
|
616
624
|
listRepositoriesInDomain(args: ListRepositoriesInDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesInDomainCommandOutput) => void): void;
|
|
617
625
|
/**
|
|
618
|
-
* <p>Gets information about
|
|
626
|
+
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.</p>
|
|
619
627
|
*/
|
|
620
628
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
621
629
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
@@ -647,20 +655,23 @@ export declare class Codeartifact extends CodeartifactClient {
|
|
|
647
655
|
putRepositoryPermissionsPolicy(args: PutRepositoryPermissionsPolicyCommandInput, cb: (err: any, data?: PutRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
648
656
|
putRepositoryPermissionsPolicy(args: PutRepositoryPermissionsPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRepositoryPermissionsPolicyCommandOutput) => void): void;
|
|
649
657
|
/**
|
|
650
|
-
* <p>Adds or updates tags for a resource in
|
|
658
|
+
* <p>Adds or updates tags for a resource in CodeArtifact.</p>
|
|
651
659
|
*/
|
|
652
660
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
653
661
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
654
662
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
655
663
|
/**
|
|
656
|
-
* <p>Removes tags from a resource in
|
|
664
|
+
* <p>Removes tags from a resource in CodeArtifact.</p>
|
|
657
665
|
*/
|
|
658
666
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
659
667
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
660
668
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
661
669
|
/**
|
|
662
670
|
* <p>
|
|
663
|
-
* Updates the status of one or more versions of a package.
|
|
671
|
+
* Updates the status of one or more versions of a package. Using <code>UpdatePackageVersionsStatus</code>,
|
|
672
|
+
* you can update the status of package versions to <code>Archived</code>, <code>Published</code>, or <code>Unlisted</code>.
|
|
673
|
+
* To set the status of a package version to <code>Disposed</code>, use
|
|
674
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html">DisposePackageVersions</a>.
|
|
664
675
|
* </p>
|
|
665
676
|
*/
|
|
666
677
|
updatePackageVersionsStatus(args: UpdatePackageVersionsStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageVersionsStatusCommandOutput>;
|
|
@@ -160,15 +160,15 @@ declare type CodeartifactClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
160
160
|
export interface CodeartifactClientResolvedConfig extends CodeartifactClientResolvedConfigType {
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* <p>
|
|
164
|
-
* package managers and build tools such as npm, Apache Maven, and
|
|
163
|
+
* <p> CodeArtifact is a fully managed artifact repository compatible with language-native
|
|
164
|
+
* package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to
|
|
165
165
|
* share packages with development teams and pull packages. Packages can be pulled from both
|
|
166
166
|
* public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact
|
|
167
167
|
* repository and another repository, which effectively merges their contents from the point of
|
|
168
168
|
* view of a package manager client. </p>
|
|
169
169
|
*
|
|
170
170
|
* <p>
|
|
171
|
-
* <b>
|
|
171
|
+
* <b>CodeArtifact Components</b>
|
|
172
172
|
* </p>
|
|
173
173
|
* <p>Use the information in this guide to help you work with the following CodeArtifact components:</p>
|
|
174
174
|
*
|
|
@@ -183,9 +183,9 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
183
183
|
* <code>npm</code>
|
|
184
184
|
* </b> CLI, the Maven CLI (<b>
|
|
185
185
|
* <code>mvn</code>
|
|
186
|
-
* </b>),
|
|
186
|
+
* </b>), Python CLIs (<b>
|
|
187
187
|
* <code>pip</code>
|
|
188
|
-
* </b
|
|
188
|
+
* </b> and <code>twine</code>), and NuGet CLIs (<code>nuget</code> and <code>dotnet</code>).</p>
|
|
189
189
|
* </li>
|
|
190
190
|
* <li>
|
|
191
191
|
* <p>
|
|
@@ -194,7 +194,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
194
194
|
* but are consumed through repositories. A given package asset, such as a Maven JAR file, is
|
|
195
195
|
* stored once per domain, no matter how many repositories it's present in. All of the assets
|
|
196
196
|
* and metadata in a domain are encrypted with the same customer master key (CMK) stored in
|
|
197
|
-
*
|
|
197
|
+
* Key Management Service (KMS).</p>
|
|
198
198
|
* <p>Each repository is a member of a single domain and can't be moved to a
|
|
199
199
|
* different domain.</p>
|
|
200
200
|
* <p>The domain allows organizational policy to be applied across multiple
|
|
@@ -207,7 +207,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
207
207
|
* <li>
|
|
208
208
|
* <p>
|
|
209
209
|
* <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
|
|
210
|
-
* 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>,
|
|
210
|
+
* resolve dependencies and install the software. CodeArtifact supports <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html">npm</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html">PyPI</a>, <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven">Maven</a>, and <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget">NuGet</a> package formats.</p>
|
|
211
211
|
* <p>In CodeArtifact, a package consists of:</p>
|
|
212
212
|
* <ul>
|
|
213
213
|
* <li>
|
|
@@ -345,17 +345,22 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
345
345
|
* <ul>
|
|
346
346
|
* <li>
|
|
347
347
|
* <p>
|
|
348
|
+
* <code>maven</code>
|
|
349
|
+
* </p>
|
|
350
|
+
* </li>
|
|
351
|
+
* <li>
|
|
352
|
+
* <p>
|
|
348
353
|
* <code>npm</code>
|
|
349
354
|
* </p>
|
|
350
355
|
* </li>
|
|
351
356
|
* <li>
|
|
352
357
|
* <p>
|
|
353
|
-
* <code>
|
|
358
|
+
* <code>nuget</code>
|
|
354
359
|
* </p>
|
|
355
360
|
* </li>
|
|
356
361
|
* <li>
|
|
357
362
|
* <p>
|
|
358
|
-
* <code>
|
|
363
|
+
* <code>pypi</code>
|
|
359
364
|
* </p>
|
|
360
365
|
* </li>
|
|
361
366
|
* </ul>
|
|
@@ -390,7 +395,7 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
|
|
|
390
395
|
* </li>
|
|
391
396
|
* <li>
|
|
392
397
|
* <p>
|
|
393
|
-
* <code>ListRepositories</code>: Returns a list of repositories owned by the
|
|
398
|
+
* <code>ListRepositories</code>: Returns a list of repositories owned by the Amazon Web Services account that called this method.</p>
|
|
394
399
|
* </li>
|
|
395
400
|
* <li>
|
|
396
401
|
* <p>
|
|
@@ -10,7 +10,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
|
|
|
10
10
|
* <p>
|
|
11
11
|
* Creates a domain. CodeArtifact <i>domains</i> make it easier to manage multiple repositories across an
|
|
12
12
|
* organization. You can use a domain to apply permissions across many
|
|
13
|
-
* repositories owned by different
|
|
13
|
+
* repositories owned by different Amazon Web Services accounts. An asset is stored only once
|
|
14
14
|
* in a domain, even if it's in multiple repositories.
|
|
15
15
|
* </p>
|
|
16
16
|
*
|
|
@@ -13,7 +13,7 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
|
|
|
13
13
|
* </p>
|
|
14
14
|
* <important>
|
|
15
15
|
* <p>
|
|
16
|
-
* Use <code>DeleteRepositoryPermissionsPolicy</code> with caution. After a policy is deleted,
|
|
16
|
+
* Use <code>DeleteRepositoryPermissionsPolicy</code> with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform
|
|
17
17
|
* the repository actions granted by the deleted policy.
|
|
18
18
|
* </p>
|
|
19
19
|
* </important>
|
|
@@ -11,7 +11,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
11
11
|
* Generates a temporary authorization token for accessing repositories in the domain.
|
|
12
12
|
* This API requires the <code>codeartifact:GetAuthorizationToken</code> and <code>sts:GetServiceBearerToken</code> permissions.
|
|
13
13
|
* For more information about authorization tokens, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html">
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html">CodeArtifact authentication and tokens</a>.
|
|
15
15
|
* </p>
|
|
16
16
|
* <note>
|
|
17
17
|
* <p>CodeArtifact authorization tokens are valid for a period of 12 hours when created with the <code>login</code> command.
|
|
@@ -14,7 +14,7 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
|
|
|
14
14
|
* <p>
|
|
15
15
|
* The policy is a resource-based policy, not an identity-based policy. For more information, see
|
|
16
16
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based policies
|
|
17
|
-
* and resource-based policies </a> in the <i>
|
|
17
|
+
* and resource-based policies </a> in the <i>IAM User Guide</i>.
|
|
18
18
|
* </p>
|
|
19
19
|
* </note>
|
|
20
20
|
* @example
|
|
@@ -8,9 +8,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>
|
|
11
|
-
* Gets the readme file or descriptive text for a package version.
|
|
12
|
-
* extracts a description from a metadata file. For example, from the <code><description></code> element in the
|
|
13
|
-
* <code>pom.xml</code> file of a Maven package.
|
|
11
|
+
* Gets the readme file or descriptive text for a package version.
|
|
14
12
|
* </p>
|
|
15
13
|
* <p>
|
|
16
14
|
* The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
|
@@ -14,17 +14,22 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
|
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
16
|
* <p>
|
|
17
|
+
* <code>maven</code>
|
|
18
|
+
* </p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
17
22
|
* <code>npm</code>
|
|
18
23
|
* </p>
|
|
19
24
|
* </li>
|
|
20
25
|
* <li>
|
|
21
26
|
* <p>
|
|
22
|
-
* <code>
|
|
27
|
+
* <code>nuget</code>
|
|
23
28
|
* </p>
|
|
24
29
|
* </li>
|
|
25
30
|
* <li>
|
|
26
31
|
* <p>
|
|
27
|
-
* <code>
|
|
32
|
+
* <code>pypi</code>
|
|
28
33
|
* </p>
|
|
29
34
|
* </li>
|
|
30
35
|
* </ul>
|
|
@@ -7,7 +7,7 @@ export interface ListDomainsCommandInput extends ListDomainsRequest {
|
|
|
7
7
|
export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the
|
|
10
|
+
* <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the Amazon Web Services account that makes
|
|
11
11
|
* this call. Each returned <code>DomainSummary</code> object contains information about a
|
|
12
12
|
* domain. </p>
|
|
13
13
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
|
|
|
10
10
|
* <p>
|
|
11
11
|
* Returns a list of
|
|
12
12
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
13
|
-
* objects. Each <code>RepositorySummary</code> contains information about a repository in the specified
|
|
13
|
+
* objects. Each <code>RepositorySummary</code> contains information about a repository in the specified Amazon Web Services account and that matches the input
|
|
14
14
|
* parameters.
|
|
15
15
|
* </p>
|
|
16
16
|
* @example
|
|
@@ -7,7 +7,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
7
7
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets information about
|
|
10
|
+
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
7
7
|
export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Adds or updates tags for a resource in
|
|
10
|
+
* <p>Adds or updates tags for a resource in CodeArtifact.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
7
7
|
export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Removes tags from a resource in
|
|
10
|
+
* <p>Removes tags from a resource in CodeArtifact.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -8,7 +8,10 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>
|
|
11
|
-
* Updates the status of one or more versions of a package.
|
|
11
|
+
* Updates the status of one or more versions of a package. Using <code>UpdatePackageVersionsStatus</code>,
|
|
12
|
+
* you can update the status of package versions to <code>Archived</code>, <code>Published</code>, or <code>Unlisted</code>.
|
|
13
|
+
* To set the status of a package version to <code>Disposed</code>, use
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html">DisposePackageVersions</a>.
|
|
12
15
|
* </p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|