@aws-sdk/client-codeartifact 3.564.0 → 3.566.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +12 -10
  2. package/dist-cjs/index.js +1 -0
  3. package/dist-es/models/models_0.js +1 -0
  4. package/dist-types/Codeartifact.d.ts +12 -10
  5. package/dist-types/CodeartifactClient.d.ts +12 -10
  6. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +1 -1
  7. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
  9. package/dist-types/commands/DeletePackageCommand.d.ts +2 -2
  10. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribePackageCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -2
  14. package/dist-types/commands/DescribeRepositoryCommand.d.ts +1 -1
  15. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +1 -1
  16. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +1 -1
  17. package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +1 -1
  18. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +1 -1
  19. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -2
  20. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +6 -1
  21. package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -2
  23. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -2
  24. package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -2
  25. package/dist-types/commands/ListPackagesCommand.d.ts +2 -2
  26. package/dist-types/commands/PublishPackageVersionCommand.d.ts +2 -2
  27. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateRepositoryCommand.d.ts +1 -1
  30. package/dist-types/index.d.ts +12 -10
  31. package/dist-types/models/models_0.d.ts +25 -24
  32. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  33. package/package.json +2 -2
package/README.md CHANGED
@@ -21,17 +21,12 @@ view of a package manager client. </p>
21
21
  <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
22
22
  versions</a>, each of which maps to a set of assets, or files. Repositories are
23
23
  polyglot, so a single repository can contain packages of any supported type. Each
24
- repository exposes endpoints for fetching and publishing packages using tools like the
25
- <b>
24
+ repository exposes endpoints for fetching and publishing packages using tools such as the <b>
26
25
  <code>npm</code>
27
- </b> CLI, the Maven CLI (<b>
26
+ </b> CLI or the Maven CLI (<b>
28
27
  <code>mvn</code>
29
- </b>), Python CLIs (<b>
30
- <code>pip</code>
31
- </b> and <code>twine</code>), NuGet CLIs (<code>nuget</code> and <code>dotnet</code>), and
32
- the Swift package manager (<b>
33
- <code>swift</code>
34
- </b>).</p>
28
+ </b>). For a list of supported package managers, see the
29
+ <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
35
30
  </li>
36
31
  <li>
37
32
  <p>
@@ -53,7 +48,9 @@ across their organization.</p>
53
48
  <li>
54
49
  <p>
55
50
  <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
56
- 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>
51
+ resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats.
52
+ For more information about the supported package formats and how to use CodeArtifact with them, see the
53
+ <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
57
54
  <p>In CodeArtifact, a package consists of:</p>
58
55
  <ul>
59
56
  <li>
@@ -251,6 +248,11 @@ package format:
251
248
  </li>
252
249
  <li>
253
250
  <p>
251
+ <code>ruby</code>
252
+ </p>
253
+ </li>
254
+ <li>
255
+ <p>
254
256
  <code>swift</code>
255
257
  </p>
256
258
  </li>
package/dist-cjs/index.js CHANGED
@@ -325,6 +325,7 @@ var PackageFormat = {
325
325
  NPM: "npm",
326
326
  NUGET: "nuget",
327
327
  PYPI: "pypi",
328
+ RUBY: "ruby",
328
329
  SWIFT: "swift"
329
330
  };
330
331
  var ExternalConnectionStatus = {
@@ -35,6 +35,7 @@ export const PackageFormat = {
35
35
  NPM: "npm",
36
36
  NUGET: "nuget",
37
37
  PYPI: "pypi",
38
+ RUBY: "ruby",
38
39
  SWIFT: "swift",
39
40
  };
40
41
  export const ExternalConnectionStatus = {
@@ -356,17 +356,12 @@ export interface Codeartifact {
356
356
  * <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
357
357
  * versions</a>, each of which maps to a set of assets, or files. Repositories are
358
358
  * polyglot, so a single repository can contain packages of any supported type. Each
359
- * repository exposes endpoints for fetching and publishing packages using tools like the
360
- * <b>
359
+ * repository exposes endpoints for fetching and publishing packages using tools such as the <b>
361
360
  * <code>npm</code>
362
- * </b> CLI, the Maven CLI (<b>
361
+ * </b> CLI or the Maven CLI (<b>
363
362
  * <code>mvn</code>
364
- * </b>), Python CLIs (<b>
365
- * <code>pip</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>
363
+ * </b>). For a list of supported package managers, see the
364
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
370
365
  * </li>
371
366
  * <li>
372
367
  * <p>
@@ -388,7 +383,9 @@ export interface Codeartifact {
388
383
  * <li>
389
384
  * <p>
390
385
  * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
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>
386
+ * resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats.
387
+ * For more information about the supported package formats and how to use CodeArtifact with them, see the
388
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
392
389
  * <p>In CodeArtifact, a package consists of:</p>
393
390
  * <ul>
394
391
  * <li>
@@ -586,6 +583,11 @@ export interface Codeartifact {
586
583
  * </li>
587
584
  * <li>
588
585
  * <p>
586
+ * <code>ruby</code>
587
+ * </p>
588
+ * </li>
589
+ * <li>
590
+ * <p>
589
591
  * <code>swift</code>
590
592
  * </p>
591
593
  * </li>
@@ -219,17 +219,12 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
219
219
  * <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
220
220
  * versions</a>, each of which maps to a set of assets, or files. Repositories are
221
221
  * polyglot, so a single repository can contain packages of any supported type. Each
222
- * repository exposes endpoints for fetching and publishing packages using tools like the
223
- * <b>
222
+ * repository exposes endpoints for fetching and publishing packages using tools such as the <b>
224
223
  * <code>npm</code>
225
- * </b> CLI, the Maven CLI (<b>
224
+ * </b> CLI or the Maven CLI (<b>
226
225
  * <code>mvn</code>
227
- * </b>), Python CLIs (<b>
228
- * <code>pip</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>
226
+ * </b>). For a list of supported package managers, see the
227
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
233
228
  * </li>
234
229
  * <li>
235
230
  * <p>
@@ -251,7 +246,9 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
251
246
  * <li>
252
247
  * <p>
253
248
  * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
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>
249
+ * resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats.
250
+ * For more information about the supported package formats and how to use CodeArtifact with them, see the
251
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
255
252
  * <p>In CodeArtifact, a package consists of:</p>
256
253
  * <ul>
257
254
  * <li>
@@ -449,6 +446,11 @@ export interface CodeartifactClientResolvedConfig extends CodeartifactClientReso
449
446
  * </li>
450
447
  * <li>
451
448
  * <p>
449
+ * <code>ruby</code>
450
+ * </p>
451
+ * </li>
452
+ * <li>
453
+ * <p>
452
454
  * <code>swift</code>
453
455
  * </p>
454
456
  * </li>
@@ -61,7 +61,7 @@ declare const AssociateExternalConnectionCommand_base: {
61
61
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
62
62
  * // { // RepositoryExternalConnectionInfo
63
63
  * // externalConnectionName: "STRING_VALUE",
64
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
64
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
65
65
  * // status: "Available",
66
66
  * // },
67
67
  * // ],
@@ -45,7 +45,7 @@ declare const CopyPackageVersionsCommand_base: {
45
45
  * domainOwner: "STRING_VALUE",
46
46
  * sourceRepository: "STRING_VALUE", // required
47
47
  * destinationRepository: "STRING_VALUE", // required
48
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
48
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
49
49
  * namespace: "STRING_VALUE",
50
50
  * package: "STRING_VALUE", // required
51
51
  * versions: [ // PackageVersionList
@@ -70,7 +70,7 @@ declare const CreateRepositoryCommand_base: {
70
70
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
71
71
  * // { // RepositoryExternalConnectionInfo
72
72
  * // externalConnectionName: "STRING_VALUE",
73
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
73
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
74
74
  * // status: "Available",
75
75
  * // },
76
76
  * // ],
@@ -38,7 +38,7 @@ declare const DeletePackageCommand_base: {
38
38
  * domain: "STRING_VALUE", // required
39
39
  * domainOwner: "STRING_VALUE",
40
40
  * repository: "STRING_VALUE", // required
41
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
41
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
42
42
  * namespace: "STRING_VALUE",
43
43
  * package: "STRING_VALUE", // required
44
44
  * };
@@ -46,7 +46,7 @@ declare const DeletePackageCommand_base: {
46
46
  * const response = await client.send(command);
47
47
  * // { // DeletePackageResult
48
48
  * // deletedPackage: { // PackageSummary
49
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
49
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
50
50
  * // namespace: "STRING_VALUE",
51
51
  * // package: "STRING_VALUE",
52
52
  * // originConfiguration: { // PackageOriginConfiguration
@@ -41,7 +41,7 @@ declare const DeletePackageVersionsCommand_base: {
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
47
  * versions: [ // PackageVersionList // required
@@ -58,7 +58,7 @@ declare const DeleteRepositoryCommand_base: {
58
58
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
59
59
  * // { // RepositoryExternalConnectionInfo
60
60
  * // externalConnectionName: "STRING_VALUE",
61
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
61
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
62
62
  * // status: "Available",
63
63
  * // },
64
64
  * // ],
@@ -39,7 +39,7 @@ declare const DescribePackageCommand_base: {
39
39
  * domain: "STRING_VALUE", // required
40
40
  * domainOwner: "STRING_VALUE",
41
41
  * repository: "STRING_VALUE", // required
42
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
42
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
43
43
  * namespace: "STRING_VALUE",
44
44
  * package: "STRING_VALUE", // required
45
45
  * };
@@ -47,7 +47,7 @@ declare const DescribePackageCommand_base: {
47
47
  * const response = await client.send(command);
48
48
  * // { // DescribePackageResult
49
49
  * // package: { // PackageDescription
50
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
50
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
51
51
  * // namespace: "STRING_VALUE",
52
52
  * // name: "STRING_VALUE",
53
53
  * // originConfiguration: { // PackageOriginConfiguration
@@ -41,7 +41,7 @@ declare const DescribePackageVersionCommand_base: {
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
47
  * packageVersion: "STRING_VALUE", // required
@@ -50,7 +50,7 @@ declare const DescribePackageVersionCommand_base: {
50
50
  * const response = await client.send(command);
51
51
  * // { // DescribePackageVersionResult
52
52
  * // packageVersion: { // PackageVersionDescription
53
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
53
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
54
54
  * // namespace: "STRING_VALUE",
55
55
  * // packageName: "STRING_VALUE",
56
56
  * // displayName: "STRING_VALUE",
@@ -59,7 +59,7 @@ declare const DescribeRepositoryCommand_base: {
59
59
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
60
60
  * // { // RepositoryExternalConnectionInfo
61
61
  * // externalConnectionName: "STRING_VALUE",
62
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
62
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
63
63
  * // status: "Available",
64
64
  * // },
65
65
  * // ],
@@ -59,7 +59,7 @@ declare const DisassociateExternalConnectionCommand_base: {
59
59
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
60
60
  * // { // RepositoryExternalConnectionInfo
61
61
  * // externalConnectionName: "STRING_VALUE",
62
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
62
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
63
63
  * // status: "Available",
64
64
  * // },
65
65
  * // ],
@@ -48,7 +48,7 @@ declare const DisposePackageVersionsCommand_base: {
48
48
  * domain: "STRING_VALUE", // required
49
49
  * domainOwner: "STRING_VALUE",
50
50
  * repository: "STRING_VALUE", // required
51
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
51
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
52
52
  * namespace: "STRING_VALUE",
53
53
  * package: "STRING_VALUE", // required
54
54
  * versions: [ // PackageVersionList // required
@@ -41,7 +41,7 @@ declare const GetAssociatedPackageGroupCommand_base: {
41
41
  * const input = { // GetAssociatedPackageGroupRequest
42
42
  * domain: "STRING_VALUE", // required
43
43
  * domainOwner: "STRING_VALUE",
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
47
  * };
@@ -42,7 +42,7 @@ declare const GetPackageVersionAssetCommand_base: {
42
42
  * domain: "STRING_VALUE", // required
43
43
  * domainOwner: "STRING_VALUE",
44
44
  * repository: "STRING_VALUE", // required
45
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
45
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
46
46
  * namespace: "STRING_VALUE",
47
47
  * package: "STRING_VALUE", // required
48
48
  * packageVersion: "STRING_VALUE", // required
@@ -42,7 +42,7 @@ declare const GetPackageVersionReadmeCommand_base: {
42
42
  * domain: "STRING_VALUE", // required
43
43
  * domainOwner: "STRING_VALUE",
44
44
  * repository: "STRING_VALUE", // required
45
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
45
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
46
46
  * namespace: "STRING_VALUE",
47
47
  * package: "STRING_VALUE", // required
48
48
  * packageVersion: "STRING_VALUE", // required
@@ -50,7 +50,7 @@ declare const GetPackageVersionReadmeCommand_base: {
50
50
  * const command = new GetPackageVersionReadmeCommand(input);
51
51
  * const response = await client.send(command);
52
52
  * // { // GetPackageVersionReadmeResult
53
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
53
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
54
54
  * // namespace: "STRING_VALUE",
55
55
  * // package: "STRING_VALUE",
56
56
  * // version: "STRING_VALUE",
@@ -58,6 +58,11 @@ declare const GetRepositoryEndpointCommand_base: {
58
58
  * </li>
59
59
  * <li>
60
60
  * <p>
61
+ * <code>ruby</code>
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
61
66
  * <code>swift</code>
62
67
  * </p>
63
68
  * </li>
@@ -72,7 +77,7 @@ declare const GetRepositoryEndpointCommand_base: {
72
77
  * domain: "STRING_VALUE", // required
73
78
  * domainOwner: "STRING_VALUE",
74
79
  * repository: "STRING_VALUE", // required
75
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
80
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
76
81
  * };
77
82
  * const command = new GetRepositoryEndpointCommand(input);
78
83
  * const response = await client.send(command);
@@ -48,7 +48,7 @@ declare const ListAssociatedPackagesCommand_base: {
48
48
  * // { // ListAssociatedPackagesResult
49
49
  * // packages: [ // AssociatedPackageList
50
50
  * // { // AssociatedPackage
51
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
51
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
52
52
  * // namespace: "STRING_VALUE",
53
53
  * // package: "STRING_VALUE",
54
54
  * // associationType: "STRONG" || "WEAK",
@@ -41,7 +41,7 @@ declare const ListPackageVersionAssetsCommand_base: {
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
47
  * packageVersion: "STRING_VALUE", // required
@@ -51,7 +51,7 @@ declare const ListPackageVersionAssetsCommand_base: {
51
51
  * const command = new ListPackageVersionAssetsCommand(input);
52
52
  * const response = await client.send(command);
53
53
  * // { // ListPackageVersionAssetsResult
54
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
54
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
55
55
  * // namespace: "STRING_VALUE",
56
56
  * // package: "STRING_VALUE",
57
57
  * // version: "STRING_VALUE",
@@ -43,7 +43,7 @@ declare const ListPackageVersionDependenciesCommand_base: {
43
43
  * domain: "STRING_VALUE", // required
44
44
  * domainOwner: "STRING_VALUE",
45
45
  * repository: "STRING_VALUE", // required
46
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
46
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
47
47
  * namespace: "STRING_VALUE",
48
48
  * package: "STRING_VALUE", // required
49
49
  * packageVersion: "STRING_VALUE", // required
@@ -52,7 +52,7 @@ declare const ListPackageVersionDependenciesCommand_base: {
52
52
  * const command = new ListPackageVersionDependenciesCommand(input);
53
53
  * const response = await client.send(command);
54
54
  * // { // ListPackageVersionDependenciesResult
55
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
55
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
56
56
  * // namespace: "STRING_VALUE",
57
57
  * // package: "STRING_VALUE",
58
58
  * // version: "STRING_VALUE",
@@ -41,7 +41,7 @@ declare const ListPackageVersionsCommand_base: {
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
47
  * status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
@@ -54,7 +54,7 @@ declare const ListPackageVersionsCommand_base: {
54
54
  * const response = await client.send(command);
55
55
  * // { // ListPackageVersionsResult
56
56
  * // defaultDisplayVersion: "STRING_VALUE",
57
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
57
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
58
58
  * // namespace: "STRING_VALUE",
59
59
  * // package: "STRING_VALUE",
60
60
  * // versions: [ // PackageVersionSummaryList
@@ -41,7 +41,7 @@ declare const ListPackagesCommand_base: {
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
45
45
  * namespace: "STRING_VALUE",
46
46
  * packagePrefix: "STRING_VALUE",
47
47
  * maxResults: Number("int"),
@@ -54,7 +54,7 @@ declare const ListPackagesCommand_base: {
54
54
  * // { // ListPackagesResult
55
55
  * // packages: [ // PackageSummaryList
56
56
  * // { // PackageSummary
57
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
57
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
58
58
  * // namespace: "STRING_VALUE",
59
59
  * // package: "STRING_VALUE",
60
60
  * // originConfiguration: { // PackageOriginConfiguration
@@ -47,7 +47,7 @@ declare const PublishPackageVersionCommand_base: {
47
47
  * domain: "STRING_VALUE", // required
48
48
  * domainOwner: "STRING_VALUE",
49
49
  * repository: "STRING_VALUE", // required
50
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
50
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
51
51
  * namespace: "STRING_VALUE",
52
52
  * package: "STRING_VALUE", // required
53
53
  * packageVersion: "STRING_VALUE", // required
@@ -59,7 +59,7 @@ declare const PublishPackageVersionCommand_base: {
59
59
  * const command = new PublishPackageVersionCommand(input);
60
60
  * const response = await client.send(command);
61
61
  * // { // PublishPackageVersionResult
62
- * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
62
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
63
63
  * // namespace: "STRING_VALUE",
64
64
  * // package: "STRING_VALUE",
65
65
  * // version: "STRING_VALUE",
@@ -45,7 +45,7 @@ declare const PutPackageOriginConfigurationCommand_base: {
45
45
  * domain: "STRING_VALUE", // required
46
46
  * domainOwner: "STRING_VALUE",
47
47
  * repository: "STRING_VALUE", // required
48
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
48
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
49
49
  * namespace: "STRING_VALUE",
50
50
  * package: "STRING_VALUE", // required
51
51
  * restrictions: { // PackageOriginRestrictions
@@ -42,7 +42,7 @@ declare const UpdatePackageVersionsStatusCommand_base: {
42
42
  * domain: "STRING_VALUE", // required
43
43
  * domainOwner: "STRING_VALUE",
44
44
  * repository: "STRING_VALUE", // required
45
- * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
45
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift", // required
46
46
  * namespace: "STRING_VALUE",
47
47
  * package: "STRING_VALUE", // required
48
48
  * versions: [ // PackageVersionList // required
@@ -64,7 +64,7 @@ declare const UpdateRepositoryCommand_base: {
64
64
  * // externalConnections: [ // RepositoryExternalConnectionInfoList
65
65
  * // { // RepositoryExternalConnectionInfo
66
66
  * // externalConnectionName: "STRING_VALUE",
67
- * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
67
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "ruby" || "swift",
68
68
  * // status: "Available",
69
69
  * // },
70
70
  * // ],
@@ -14,17 +14,12 @@
14
14
  * <b>Repository</b>: A CodeArtifact repository contains a set of <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version">package
15
15
  * versions</a>, each of which maps to a set of assets, or files. Repositories are
16
16
  * polyglot, so a single repository can contain packages of any supported type. Each
17
- * repository exposes endpoints for fetching and publishing packages using tools like the
18
- * <b>
17
+ * repository exposes endpoints for fetching and publishing packages using tools such as the <b>
19
18
  * <code>npm</code>
20
- * </b> CLI, the Maven CLI (<b>
19
+ * </b> CLI or the Maven CLI (<b>
21
20
  * <code>mvn</code>
22
- * </b>), Python CLIs (<b>
23
- * <code>pip</code>
24
- * </b> and <code>twine</code>), NuGet CLIs (<code>nuget</code> and <code>dotnet</code>), and
25
- * the Swift package manager (<b>
26
- * <code>swift</code>
27
- * </b>).</p>
21
+ * </b>). For a list of supported package managers, see the
22
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
28
23
  * </li>
29
24
  * <li>
30
25
  * <p>
@@ -46,7 +41,9 @@
46
41
  * <li>
47
42
  * <p>
48
43
  * <b>Package</b>: A <i>package</i> is a bundle of software and the metadata required to
49
- * 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>
44
+ * resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, Ruby, and generic package formats.
45
+ * For more information about the supported package formats and how to use CodeArtifact with them, see the
46
+ * <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html">CodeArtifact User Guide</a>.</p>
50
47
  * <p>In CodeArtifact, a package consists of:</p>
51
48
  * <ul>
52
49
  * <li>
@@ -244,6 +241,11 @@
244
241
  * </li>
245
242
  * <li>
246
243
  * <p>
244
+ * <code>ruby</code>
245
+ * </p>
246
+ * </li>
247
+ * <li>
248
+ * <p>
247
249
  * <code>swift</code>
248
250
  * </p>
249
251
  * </li>
@@ -104,6 +104,7 @@ export declare const PackageFormat: {
104
104
  readonly NPM: "npm";
105
105
  readonly NUGET: "nuget";
106
106
  readonly PYPI: "pypi";
107
+ readonly RUBY: "ruby";
107
108
  readonly SWIFT: "swift";
108
109
  };
109
110
  /**
@@ -141,7 +142,7 @@ export interface AssociatedPackage {
141
142
  * </li>
142
143
  * <li>
143
144
  * <p>
144
- * Python and NuGet package versions do not contain a corresponding component, package versions
145
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
145
146
  * of those formats do not have a namespace.
146
147
  * </p>
147
148
  * </li>
@@ -632,7 +633,7 @@ export interface CopyPackageVersionsRequest {
632
633
  * </li>
633
634
  * <li>
634
635
  * <p>
635
- * Python and NuGet package versions do not contain a corresponding component, package versions
636
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
636
637
  * of those formats do not have a namespace.
637
638
  * </p>
638
639
  * </li>
@@ -1432,7 +1433,7 @@ export interface DeletePackageRequest {
1432
1433
  * </li>
1433
1434
  * <li>
1434
1435
  * <p>
1435
- * Python and NuGet package versions do not contain a corresponding component, package versions
1436
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
1436
1437
  * of those formats do not have a namespace.
1437
1438
  * </p>
1438
1439
  * </li>
@@ -1509,7 +1510,7 @@ export interface PackageSummary {
1509
1510
  * </li>
1510
1511
  * <li>
1511
1512
  * <p>
1512
- * Python and NuGet package versions do not contain a corresponding component, package versions
1513
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
1513
1514
  * of those formats do not have a namespace.
1514
1515
  * </p>
1515
1516
  * </li>
@@ -1646,7 +1647,7 @@ export interface DeletePackageVersionsRequest {
1646
1647
  * </li>
1647
1648
  * <li>
1648
1649
  * <p>
1649
- * Python and NuGet package versions do not contain a corresponding component, package versions
1650
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
1650
1651
  * of those formats do not have a namespace.
1651
1652
  * </p>
1652
1653
  * </li>
@@ -1905,7 +1906,7 @@ export interface DescribePackageRequest {
1905
1906
  * </li>
1906
1907
  * <li>
1907
1908
  * <p>
1908
- * Python and NuGet package versions do not contain a corresponding component, package versions
1909
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
1909
1910
  * of those formats do not have a namespace.
1910
1911
  * </p>
1911
1912
  * </li>
@@ -1948,7 +1949,7 @@ export interface PackageDescription {
1948
1949
  * </li>
1949
1950
  * <li>
1950
1951
  * <p>
1951
- * Python and NuGet package versions do not contain a corresponding component, package versions
1952
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
1952
1953
  * of those formats do not have a namespace.
1953
1954
  * </p>
1954
1955
  * </li>
@@ -2078,7 +2079,7 @@ export interface DescribePackageVersionRequest {
2078
2079
  * </li>
2079
2080
  * <li>
2080
2081
  * <p>
2081
- * Python and NuGet package versions do not contain a corresponding component, package versions
2082
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2082
2083
  * of those formats do not have a namespace.
2083
2084
  * </p>
2084
2085
  * </li>
@@ -2207,7 +2208,7 @@ export interface PackageVersionDescription {
2207
2208
  * </li>
2208
2209
  * <li>
2209
2210
  * <p>
2210
- * Python and NuGet package versions do not contain a corresponding component, package versions
2211
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2211
2212
  * of those formats do not have a namespace.
2212
2213
  * </p>
2213
2214
  * </li>
@@ -2455,7 +2456,7 @@ export interface DisposePackageVersionsRequest {
2455
2456
  * </li>
2456
2457
  * <li>
2457
2458
  * <p>
2458
- * Python and NuGet package versions do not contain a corresponding component, package versions
2459
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2459
2460
  * of those formats do not have a namespace.
2460
2461
  * </p>
2461
2462
  * </li>
@@ -2603,7 +2604,7 @@ export interface GetAssociatedPackageGroupRequest {
2603
2604
  * </li>
2604
2605
  * <li>
2605
2606
  * <p>
2606
- * Python and NuGet package versions do not contain a corresponding component, package versions
2607
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2607
2608
  * of those formats do not have a namespace.
2608
2609
  * </p>
2609
2610
  * </li>
@@ -2780,7 +2781,7 @@ export interface GetPackageVersionAssetRequest {
2780
2781
  * </li>
2781
2782
  * <li>
2782
2783
  * <p>
2783
- * Python and NuGet package versions do not contain a corresponding component, package versions
2784
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2784
2785
  * of those formats do not have a namespace.
2785
2786
  * </p>
2786
2787
  * </li>
@@ -2914,7 +2915,7 @@ export interface GetPackageVersionReadmeRequest {
2914
2915
  * </li>
2915
2916
  * <li>
2916
2917
  * <p>
2917
- * Python and NuGet package versions do not contain a corresponding component, package versions
2918
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2918
2919
  * of those formats do not have a namespace.
2919
2920
  * </p>
2920
2921
  * </li>
@@ -2967,7 +2968,7 @@ export interface GetPackageVersionReadmeResult {
2967
2968
  * </li>
2968
2969
  * <li>
2969
2970
  * <p>
2970
- * Python and NuGet package versions do not contain a corresponding component, package versions
2971
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
2971
2972
  * of those formats do not have a namespace.
2972
2973
  * </p>
2973
2974
  * </li>
@@ -3487,7 +3488,7 @@ export interface ListPackagesRequest {
3487
3488
  * </li>
3488
3489
  * <li>
3489
3490
  * <p>
3490
- * Python and NuGet package versions do not contain a corresponding component, package versions
3491
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3491
3492
  * of those formats do not have a namespace.
3492
3493
  * </p>
3493
3494
  * </li>
@@ -3617,7 +3618,7 @@ export interface ListPackageVersionAssetsRequest {
3617
3618
  * </li>
3618
3619
  * <li>
3619
3620
  * <p>
3620
- * Python and NuGet package versions do not contain a corresponding component, package versions
3621
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3621
3622
  * of those formats do not have a namespace.
3622
3623
  * </p>
3623
3624
  * </li>
@@ -3684,7 +3685,7 @@ export interface ListPackageVersionAssetsResult {
3684
3685
  * </li>
3685
3686
  * <li>
3686
3687
  * <p>
3687
- * Python and NuGet package versions do not contain a corresponding component, package versions
3688
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3688
3689
  * of those formats do not have a namespace.
3689
3690
  * </p>
3690
3691
  * </li>
@@ -3794,7 +3795,7 @@ export interface ListPackageVersionDependenciesRequest {
3794
3795
  * </li>
3795
3796
  * <li>
3796
3797
  * <p>
3797
- * Python and NuGet package versions do not contain a corresponding component, package versions
3798
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3798
3799
  * of those formats do not have a namespace.
3799
3800
  * </p>
3800
3801
  * </li>
@@ -3850,7 +3851,7 @@ export interface PackageDependency {
3850
3851
  * </li>
3851
3852
  * <li>
3852
3853
  * <p>
3853
- * Python and NuGet package versions do not contain a corresponding component, package versions
3854
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3854
3855
  * of those formats do not have a namespace.
3855
3856
  * </p>
3856
3857
  * </li>
@@ -3929,7 +3930,7 @@ export interface ListPackageVersionDependenciesResult {
3929
3930
  * </li>
3930
3931
  * <li>
3931
3932
  * <p>
3932
- * Python and NuGet package versions do not contain a corresponding component, package versions
3933
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
3933
3934
  * of those formats do not have a namespace.
3934
3935
  * </p>
3935
3936
  * </li>
@@ -4050,7 +4051,7 @@ export interface ListPackageVersionsRequest {
4050
4051
  * </li>
4051
4052
  * <li>
4052
4053
  * <p>
4053
- * Python and NuGet package versions do not contain a corresponding component, package versions
4054
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
4054
4055
  * of those formats do not have a namespace.
4055
4056
  * </p>
4056
4057
  * </li>
@@ -4187,7 +4188,7 @@ export interface ListPackageVersionsResult {
4187
4188
  * </li>
4188
4189
  * <li>
4189
4190
  * <p>
4190
- * Python and NuGet package versions do not contain a corresponding component, package versions
4191
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
4191
4192
  * of those formats do not have a namespace.
4192
4193
  * </p>
4193
4194
  * </li>
@@ -4668,7 +4669,7 @@ export interface PutPackageOriginConfigurationRequest {
4668
4669
  * </li>
4669
4670
  * <li>
4670
4671
  * <p>
4671
- * Python and NuGet package versions do not contain a corresponding component, package versions
4672
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
4672
4673
  * of those formats do not have a namespace.
4673
4674
  * </p>
4674
4675
  * </li>
@@ -4992,7 +4993,7 @@ export interface UpdatePackageVersionsStatusRequest {
4992
4993
  * </li>
4993
4994
  * <li>
4994
4995
  * <p>
4995
- * Python and NuGet package versions do not contain a corresponding component, package versions
4996
+ * Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions
4996
4997
  * of those formats do not have a namespace.
4997
4998
  * </p>
4998
4999
  * </li>
@@ -42,6 +42,7 @@ export declare const PackageFormat: {
42
42
  readonly NPM: "npm";
43
43
  readonly NUGET: "nuget";
44
44
  readonly PYPI: "pypi";
45
+ readonly RUBY: "ruby";
45
46
  readonly SWIFT: "swift";
46
47
  };
47
48
  export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeartifact",
3
3
  "description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
4
- "version": "3.564.0",
4
+ "version": "3.566.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codeartifact",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/core": "3.556.0",
24
- "@aws-sdk/credential-provider-node": "3.564.0",
24
+ "@aws-sdk/credential-provider-node": "3.565.0",
25
25
  "@aws-sdk/middleware-host-header": "3.535.0",
26
26
  "@aws-sdk/middleware-logger": "3.535.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.535.0",