@aws-sdk/client-codeartifact 3.299.0 → 3.301.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 (39) hide show
  1. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +6 -0
  2. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +17 -0
  3. package/dist-types/commands/CreateDomainCommand.d.ts +10 -0
  4. package/dist-types/commands/CreateRepositoryCommand.d.ts +17 -0
  5. package/dist-types/commands/DeleteDomainCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +5 -0
  7. package/dist-types/commands/DeletePackageCommand.d.ts +8 -0
  8. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +12 -0
  9. package/dist-types/commands/DeleteRepositoryCommand.d.ts +5 -0
  10. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +6 -0
  11. package/dist-types/commands/DescribeDomainCommand.d.ts +4 -0
  12. package/dist-types/commands/DescribePackageCommand.d.ts +8 -0
  13. package/dist-types/commands/DescribePackageVersionCommand.d.ts +9 -0
  14. package/dist-types/commands/DescribeRepositoryCommand.d.ts +5 -0
  15. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +6 -0
  16. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +15 -0
  17. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +5 -0
  18. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +4 -0
  19. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +11 -0
  20. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
  21. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +6 -0
  22. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +5 -0
  23. package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
  24. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +11 -0
  25. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +10 -0
  26. package/dist-types/commands/ListPackageVersionsCommand.d.ts +13 -0
  27. package/dist-types/commands/ListPackagesCommand.d.ts +12 -0
  28. package/dist-types/commands/ListRepositoriesCommand.d.ts +5 -0
  29. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +8 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  31. package/dist-types/commands/PublishPackageVersionCommand.d.ts +13 -0
  32. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +6 -0
  33. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +12 -0
  34. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +7 -0
  35. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  36. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  37. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +16 -0
  38. package/dist-types/commands/UpdateRepositoryCommand.d.ts +11 -0
  39. package/package.json +8 -8
@@ -30,6 +30,12 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
30
30
  * import { CodeartifactClient, AssociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, AssociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // AssociateExternalConnectionRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * externalConnection: "STRING_VALUE", // required
38
+ * };
33
39
  * const command = new AssociateExternalConnectionCommand(input);
34
40
  * const response = await client.send(command);
35
41
  * ```
@@ -33,6 +33,23 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
33
33
  * import { CodeartifactClient, CopyPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, CopyPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
+ * const input = { // CopyPackageVersionsRequest
37
+ * domain: "STRING_VALUE", // required
38
+ * domainOwner: "STRING_VALUE",
39
+ * sourceRepository: "STRING_VALUE", // required
40
+ * destinationRepository: "STRING_VALUE", // required
41
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
42
+ * namespace: "STRING_VALUE",
43
+ * package: "STRING_VALUE", // required
44
+ * versions: [ // PackageVersionList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * versionRevisions: { // PackageVersionRevisionMap
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * allowOverwrite: true || false,
51
+ * includeFromUpstream: true || false,
52
+ * };
36
53
  * const command = new CopyPackageVersionsCommand(input);
37
54
  * const response = await client.send(command);
38
55
  * ```
@@ -35,6 +35,16 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
35
35
  * import { CodeartifactClient, CreateDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, CreateDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
+ * const input = { // CreateDomainRequest
39
+ * domain: "STRING_VALUE", // required
40
+ * encryptionKey: "STRING_VALUE",
41
+ * tags: [ // TagList
42
+ * { // Tag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
38
48
  * const command = new CreateDomainCommand(input);
39
49
  * const response = await client.send(command);
40
50
  * ```
@@ -28,6 +28,23 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
28
28
  * import { CodeartifactClient, CreateRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, CreateRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // CreateRepositoryRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * upstreams: [ // UpstreamRepositoryList
37
+ * { // UpstreamRepository
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * },
40
+ * ],
41
+ * tags: [ // TagList
42
+ * { // Tag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
31
48
  * const command = new CreateRepositoryCommand(input);
32
49
  * const response = await client.send(command);
33
50
  * ```
@@ -29,6 +29,10 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
29
29
  * import { CodeartifactClient, DeleteDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
30
30
  * // const { CodeartifactClient, DeleteDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
31
31
  * const client = new CodeartifactClient(config);
32
+ * const input = { // DeleteDomainRequest
33
+ * domain: "STRING_VALUE", // required
34
+ * domainOwner: "STRING_VALUE",
35
+ * };
32
36
  * const command = new DeleteDomainCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -28,6 +28,11 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
28
28
  * import { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // DeleteDomainPermissionsPolicyRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * policyRevision: "STRING_VALUE",
35
+ * };
31
36
  * const command = new DeleteDomainPermissionsPolicyCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,14 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
27
27
  * import { CodeartifactClient, DeletePackageCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
28
28
  * // const { CodeartifactClient, DeletePackageCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
29
29
  * const client = new CodeartifactClient(config);
30
+ * const input = { // DeletePackageRequest
31
+ * domain: "STRING_VALUE", // required
32
+ * domainOwner: "STRING_VALUE",
33
+ * repository: "STRING_VALUE", // required
34
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
35
+ * namespace: "STRING_VALUE",
36
+ * package: "STRING_VALUE", // required
37
+ * };
30
38
  * const command = new DeletePackageCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -30,6 +30,18 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
30
30
  * import { CodeartifactClient, DeletePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DeletePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // DeletePackageVersionsRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
+ * namespace: "STRING_VALUE",
39
+ * package: "STRING_VALUE", // required
40
+ * versions: [ // PackageVersionList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
44
+ * };
33
45
  * const command = new DeletePackageVersionsCommand(input);
34
46
  * const response = await client.send(command);
35
47
  * ```
@@ -28,6 +28,11 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
28
28
  * import { CodeartifactClient, DeleteRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DeleteRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // DeleteRepositoryRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new DeleteRepositoryCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -35,6 +35,12 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
35
35
  * import { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
+ * const input = { // DeleteRepositoryPermissionsPolicyRequest
39
+ * domain: "STRING_VALUE", // required
40
+ * domainOwner: "STRING_VALUE",
41
+ * repository: "STRING_VALUE", // required
42
+ * policyRevision: "STRING_VALUE",
43
+ * };
38
44
  * const command = new DeleteRepositoryPermissionsPolicyCommand(input);
39
45
  * const response = await client.send(command);
40
46
  * ```
@@ -30,6 +30,10 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResult, __Met
30
30
  * import { CodeartifactClient, DescribeDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DescribeDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // DescribeDomainRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * };
33
37
  * const command = new DescribeDomainCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -28,6 +28,14 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
28
28
  * import { CodeartifactClient, DescribePackageCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DescribePackageCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // DescribePackageRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
36
+ * namespace: "STRING_VALUE",
37
+ * package: "STRING_VALUE", // required
38
+ * };
31
39
  * const command = new DescribePackageCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -30,6 +30,15 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
30
30
  * import { CodeartifactClient, DescribePackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DescribePackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // DescribePackageVersionRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
+ * namespace: "STRING_VALUE",
39
+ * package: "STRING_VALUE", // required
40
+ * packageVersion: "STRING_VALUE", // required
41
+ * };
33
42
  * const command = new DescribePackageVersionCommand(input);
34
43
  * const response = await client.send(command);
35
44
  * ```
@@ -29,6 +29,11 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
29
29
  * import { CodeartifactClient, DescribeRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
30
30
  * // const { CodeartifactClient, DescribeRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
31
31
  * const client = new CodeartifactClient(config);
32
+ * const input = { // DescribeRepositoryRequest
33
+ * domain: "STRING_VALUE", // required
34
+ * domainOwner: "STRING_VALUE",
35
+ * repository: "STRING_VALUE", // required
36
+ * };
32
37
  * const command = new DescribeRepositoryCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -28,6 +28,12 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
28
28
  * import { CodeartifactClient, DisassociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DisassociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // DisassociateExternalConnectionRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * externalConnection: "STRING_VALUE", // required
36
+ * };
31
37
  * const command = new DisassociateExternalConnectionCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -37,6 +37,21 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
37
37
  * import { CodeartifactClient, DisposePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
38
38
  * // const { CodeartifactClient, DisposePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
39
39
  * const client = new CodeartifactClient(config);
40
+ * const input = { // DisposePackageVersionsRequest
41
+ * domain: "STRING_VALUE", // required
42
+ * domainOwner: "STRING_VALUE",
43
+ * repository: "STRING_VALUE", // required
44
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
45
+ * namespace: "STRING_VALUE",
46
+ * package: "STRING_VALUE", // required
47
+ * versions: [ // PackageVersionList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * versionRevisions: { // PackageVersionRevisionMap
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
54
+ * };
40
55
  * const command = new DisposePackageVersionsCommand(input);
41
56
  * const response = await client.send(command);
42
57
  * ```
@@ -46,6 +46,11 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
46
46
  * import { CodeartifactClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
47
47
  * // const { CodeartifactClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
48
48
  * const client = new CodeartifactClient(config);
49
+ * const input = { // GetAuthorizationTokenRequest
50
+ * domain: "STRING_VALUE", // required
51
+ * domainOwner: "STRING_VALUE",
52
+ * durationSeconds: Number("long"),
53
+ * };
49
54
  * const command = new GetAuthorizationTokenCommand(input);
50
55
  * const response = await client.send(command);
51
56
  * ```
@@ -35,6 +35,10 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
35
35
  * import { CodeartifactClient, GetDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, GetDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
+ * const input = { // GetDomainPermissionsPolicyRequest
39
+ * domain: "STRING_VALUE", // required
40
+ * domainOwner: "STRING_VALUE",
41
+ * };
38
42
  * const command = new GetDomainPermissionsPolicyCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -30,6 +30,17 @@ export interface GetPackageVersionAssetCommandOutput extends __WithSdkStreamMixi
30
30
  * import { CodeartifactClient, GetPackageVersionAssetCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, GetPackageVersionAssetCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // GetPackageVersionAssetRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
+ * namespace: "STRING_VALUE",
39
+ * package: "STRING_VALUE", // required
40
+ * packageVersion: "STRING_VALUE", // required
41
+ * asset: "STRING_VALUE", // required
42
+ * packageVersionRevision: "STRING_VALUE",
43
+ * };
33
44
  * const command = new GetPackageVersionAssetCommand(input);
34
45
  * const response = await client.send(command);
35
46
  * ```
@@ -31,6 +31,15 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
31
31
  * import { CodeartifactClient, GetPackageVersionReadmeCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, GetPackageVersionReadmeCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
+ * const input = { // GetPackageVersionReadmeRequest
35
+ * domain: "STRING_VALUE", // required
36
+ * domainOwner: "STRING_VALUE",
37
+ * repository: "STRING_VALUE", // required
38
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
39
+ * namespace: "STRING_VALUE",
40
+ * package: "STRING_VALUE", // required
41
+ * packageVersion: "STRING_VALUE", // required
42
+ * };
34
43
  * const command = new GetPackageVersionReadmeCommand(input);
35
44
  * const response = await client.send(command);
36
45
  * ```
@@ -51,6 +51,12 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
51
51
  * import { CodeartifactClient, GetRepositoryEndpointCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
52
52
  * // const { CodeartifactClient, GetRepositoryEndpointCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
53
53
  * const client = new CodeartifactClient(config);
54
+ * const input = { // GetRepositoryEndpointRequest
55
+ * domain: "STRING_VALUE", // required
56
+ * domainOwner: "STRING_VALUE",
57
+ * repository: "STRING_VALUE", // required
58
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
59
+ * };
54
60
  * const command = new GetRepositoryEndpointCommand(input);
55
61
  * const response = await client.send(command);
56
62
  * ```
@@ -28,6 +28,11 @@ export interface GetRepositoryPermissionsPolicyCommandOutput extends GetReposito
28
28
  * import { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // GetRepositoryPermissionsPolicyRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new GetRepositoryPermissionsPolicyCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,10 @@ export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataB
28
28
  * import { CodeartifactClient, ListDomainsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, ListDomainsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // ListDomainsRequest
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
31
35
  * const command = new ListDomainsCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -30,6 +30,17 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
30
30
  * import { CodeartifactClient, ListPackageVersionAssetsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackageVersionAssetsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // ListPackageVersionAssetsRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
+ * namespace: "STRING_VALUE",
39
+ * package: "STRING_VALUE", // required
40
+ * packageVersion: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
33
44
  * const command = new ListPackageVersionAssetsCommand(input);
34
45
  * const response = await client.send(command);
35
46
  * ```
@@ -32,6 +32,16 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
32
32
  * import { CodeartifactClient, ListPackageVersionDependenciesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
33
33
  * // const { CodeartifactClient, ListPackageVersionDependenciesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
34
34
  * const client = new CodeartifactClient(config);
35
+ * const input = { // ListPackageVersionDependenciesRequest
36
+ * domain: "STRING_VALUE", // required
37
+ * domainOwner: "STRING_VALUE",
38
+ * repository: "STRING_VALUE", // required
39
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
40
+ * namespace: "STRING_VALUE",
41
+ * package: "STRING_VALUE", // required
42
+ * packageVersion: "STRING_VALUE", // required
43
+ * nextToken: "STRING_VALUE",
44
+ * };
35
45
  * const command = new ListPackageVersionDependenciesCommand(input);
36
46
  * const response = await client.send(command);
37
47
  * ```
@@ -30,6 +30,19 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
30
30
  * import { CodeartifactClient, ListPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // ListPackageVersionsRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
+ * namespace: "STRING_VALUE",
39
+ * package: "STRING_VALUE", // required
40
+ * status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
41
+ * sortBy: "PUBLISHED_TIME",
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * originType: "INTERNAL" || "EXTERNAL" || "UNKNOWN",
45
+ * };
33
46
  * const command = new ListPackageVersionsCommand(input);
34
47
  * const response = await client.send(command);
35
48
  * ```
@@ -30,6 +30,18 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
30
30
  * import { CodeartifactClient, ListPackagesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackagesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
+ * const input = { // ListPackagesRequest
34
+ * domain: "STRING_VALUE", // required
35
+ * domainOwner: "STRING_VALUE",
36
+ * repository: "STRING_VALUE", // required
37
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic",
38
+ * namespace: "STRING_VALUE",
39
+ * packagePrefix: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * publish: "ALLOW" || "BLOCK",
43
+ * upstream: "ALLOW" || "BLOCK",
44
+ * };
33
45
  * const command = new ListPackagesCommand(input);
34
46
  * const response = await client.send(command);
35
47
  * ```
@@ -31,6 +31,11 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
31
31
  * import { CodeartifactClient, ListRepositoriesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, ListRepositoriesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
+ * const input = { // ListRepositoriesRequest
35
+ * repositoryPrefix: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
34
39
  * const command = new ListRepositoriesCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -31,6 +31,14 @@ export interface ListRepositoriesInDomainCommandOutput extends ListRepositoriesI
31
31
  * import { CodeartifactClient, ListRepositoriesInDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, ListRepositoriesInDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
+ * const input = { // ListRepositoriesInDomainRequest
35
+ * domain: "STRING_VALUE", // required
36
+ * domainOwner: "STRING_VALUE",
37
+ * administratorAccount: "STRING_VALUE",
38
+ * repositoryPrefix: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
34
42
  * const command = new ListRepositoriesInDomainCommand(input);
35
43
  * const response = await client.send(command);
36
44
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { CodeartifactClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -45,6 +45,19 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
45
45
  * import { CodeartifactClient, PublishPackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
46
46
  * // const { CodeartifactClient, PublishPackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
47
47
  * const client = new CodeartifactClient(config);
48
+ * const input = { // PublishPackageVersionRequest
49
+ * domain: "STRING_VALUE", // required
50
+ * domainOwner: "STRING_VALUE",
51
+ * repository: "STRING_VALUE", // required
52
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
53
+ * namespace: "STRING_VALUE",
54
+ * package: "STRING_VALUE", // required
55
+ * packageVersion: "STRING_VALUE", // required
56
+ * assetContent: "STREAMING_BLOB_VALUE", // required
57
+ * assetName: "STRING_VALUE", // required
58
+ * assetSHA256: "STRING_VALUE", // required
59
+ * unfinished: true || false,
60
+ * };
48
61
  * const command = new PublishPackageVersionCommand(input);
49
62
  * const response = await client.send(command);
50
63
  * ```
@@ -33,6 +33,12 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
33
33
  * import { CodeartifactClient, PutDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, PutDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
+ * const input = { // PutDomainPermissionsPolicyRequest
37
+ * domain: "STRING_VALUE", // required
38
+ * domainOwner: "STRING_VALUE",
39
+ * policyRevision: "STRING_VALUE",
40
+ * policyDocument: "STRING_VALUE", // required
41
+ * };
36
42
  * const command = new PutDomainPermissionsPolicyCommand(input);
37
43
  * const response = await client.send(command);
38
44
  * ```
@@ -34,6 +34,18 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
34
34
  * import { CodeartifactClient, PutPackageOriginConfigurationCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
35
35
  * // const { CodeartifactClient, PutPackageOriginConfigurationCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
36
36
  * const client = new CodeartifactClient(config);
37
+ * const input = { // PutPackageOriginConfigurationRequest
38
+ * domain: "STRING_VALUE", // required
39
+ * domainOwner: "STRING_VALUE",
40
+ * repository: "STRING_VALUE", // required
41
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
42
+ * namespace: "STRING_VALUE",
43
+ * package: "STRING_VALUE", // required
44
+ * restrictions: { // PackageOriginRestrictions
45
+ * publish: "ALLOW" || "BLOCK", // required
46
+ * upstream: "ALLOW" || "BLOCK", // required
47
+ * },
48
+ * };
37
49
  * const command = new PutPackageOriginConfigurationCommand(input);
38
50
  * const response = await client.send(command);
39
51
  * ```
@@ -33,6 +33,13 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
33
33
  * import { CodeartifactClient, PutRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, PutRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
+ * const input = { // PutRepositoryPermissionsPolicyRequest
37
+ * domain: "STRING_VALUE", // required
38
+ * domainOwner: "STRING_VALUE",
39
+ * repository: "STRING_VALUE", // required
40
+ * policyRevision: "STRING_VALUE",
41
+ * policyDocument: "STRING_VALUE", // required
42
+ * };
36
43
  * const command = new PutRepositoryPermissionsPolicyCommand(input);
37
44
  * const response = await client.send(command);
38
45
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
26
26
  * import { CodeartifactClient, TagResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, TagResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: [ // TagList // required
32
+ * { // Tag
33
+ * key: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
26
26
  * import { CodeartifactClient, UntagResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, UntagResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -31,6 +31,22 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
31
31
  * import { CodeartifactClient, UpdatePackageVersionsStatusCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, UpdatePackageVersionsStatusCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
+ * const input = { // UpdatePackageVersionsStatusRequest
35
+ * domain: "STRING_VALUE", // required
36
+ * domainOwner: "STRING_VALUE",
37
+ * repository: "STRING_VALUE", // required
38
+ * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
39
+ * namespace: "STRING_VALUE",
40
+ * package: "STRING_VALUE", // required
41
+ * versions: [ // PackageVersionList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * versionRevisions: { // PackageVersionRevisionMap
45
+ * "<keys>": "STRING_VALUE",
46
+ * },
47
+ * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
48
+ * targetStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted", // required
49
+ * };
34
50
  * const command = new UpdatePackageVersionsStatusCommand(input);
35
51
  * const response = await client.send(command);
36
52
  * ```
@@ -28,6 +28,17 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
28
28
  * import { CodeartifactClient, UpdateRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, UpdateRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
+ * const input = { // UpdateRepositoryRequest
32
+ * domain: "STRING_VALUE", // required
33
+ * domainOwner: "STRING_VALUE",
34
+ * repository: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * upstreams: [ // UpstreamRepositoryList
37
+ * { // UpstreamRepository
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * },
40
+ * ],
41
+ * };
31
42
  * const command = new UpdateRepositoryCommand(input);
32
43
  * const response = await client.send(command);
33
44
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,13 +47,13 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-stream-browser": "3.296.0",
54
54
  "@aws-sdk/util-stream-node": "3.296.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.299.0",
56
- "@aws-sdk/util-user-agent-node": "3.299.0",
56
+ "@aws-sdk/util-user-agent-node": "3.300.0",
57
57
  "@aws-sdk/util-utf8": "3.295.0",
58
58
  "tslib": "^2.5.0"
59
59
  },