@aws-sdk/client-codeartifact 3.325.0 → 3.326.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 +26 -0
  2. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +17 -0
  3. package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateRepositoryCommand.d.ts +26 -0
  5. package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
  6. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +10 -0
  7. package/dist-types/commands/DeletePackageCommand.d.ts +16 -0
  8. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +17 -0
  9. package/dist-types/commands/DeleteRepositoryCommand.d.ts +26 -0
  10. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +10 -0
  11. package/dist-types/commands/DescribeDomainCommand.d.ts +16 -0
  12. package/dist-types/commands/DescribePackageCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribePackageVersionCommand.d.ts +31 -0
  14. package/dist-types/commands/DescribeRepositoryCommand.d.ts +26 -0
  15. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +26 -0
  16. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +17 -0
  17. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +7 -0
  18. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +10 -0
  19. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +9 -0
  20. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +11 -0
  21. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +6 -0
  22. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +10 -0
  23. package/dist-types/commands/ListDomainsCommand.d.ts +16 -0
  24. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +20 -0
  25. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +19 -0
  26. package/dist-types/commands/ListPackageVersionsCommand.d.ts +24 -0
  27. package/dist-types/commands/ListPackagesCommand.d.ts +19 -0
  28. package/dist-types/commands/ListRepositoriesCommand.d.ts +17 -0
  29. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +17 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  31. package/dist-types/commands/PublishPackageVersionCommand.d.ts +18 -0
  32. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +10 -0
  33. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +11 -0
  34. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +10 -0
  35. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  36. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  37. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +17 -0
  38. package/dist-types/commands/UpdateRepositoryCommand.d.ts +26 -0
  39. package/package.json +3 -3
@@ -38,6 +38,30 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
38
38
  * };
39
39
  * const command = new AssociateExternalConnectionCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // AssociateExternalConnectionResult
42
+ * // repository: { // RepositoryDescription
43
+ * // name: "STRING_VALUE",
44
+ * // administratorAccount: "STRING_VALUE",
45
+ * // domainName: "STRING_VALUE",
46
+ * // domainOwner: "STRING_VALUE",
47
+ * // arn: "STRING_VALUE",
48
+ * // description: "STRING_VALUE",
49
+ * // upstreams: [ // UpstreamRepositoryInfoList
50
+ * // { // UpstreamRepositoryInfo
51
+ * // repositoryName: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
55
+ * // { // RepositoryExternalConnectionInfo
56
+ * // externalConnectionName: "STRING_VALUE",
57
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
58
+ * // status: "Available",
59
+ * // },
60
+ * // ],
61
+ * // createdTime: new Date("TIMESTAMP"),
62
+ * // },
63
+ * // };
64
+ *
41
65
  * ```
42
66
  *
43
67
  * @param AssociateExternalConnectionCommandInput - {@link AssociateExternalConnectionCommandInput}
@@ -79,6 +103,8 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
79
103
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
80
104
  * </p>
81
105
  *
106
+ * @throws {@link CodeartifactServiceException}
107
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
82
108
  *
83
109
  */
84
110
  export declare class AssociateExternalConnectionCommand extends $Command<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig> {
@@ -52,6 +52,21 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
52
52
  * };
53
53
  * const command = new CopyPackageVersionsCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // CopyPackageVersionsResult
56
+ * // successfulVersions: { // SuccessfulPackageVersionInfoMap
57
+ * // "<keys>": { // SuccessfulPackageVersionInfo
58
+ * // revision: "STRING_VALUE",
59
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
60
+ * // },
61
+ * // },
62
+ * // failedVersions: { // PackageVersionErrorMap
63
+ * // "<keys>": { // PackageVersionError
64
+ * // errorCode: "ALREADY_EXISTS" || "MISMATCHED_REVISION" || "MISMATCHED_STATUS" || "NOT_ALLOWED" || "NOT_FOUND" || "SKIPPED",
65
+ * // errorMessage: "STRING_VALUE",
66
+ * // },
67
+ * // },
68
+ * // };
69
+ *
55
70
  * ```
56
71
  *
57
72
  * @param CopyPackageVersionsCommandInput - {@link CopyPackageVersionsCommandInput}
@@ -93,6 +108,8 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
93
108
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
94
109
  * </p>
95
110
  *
111
+ * @throws {@link CodeartifactServiceException}
112
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
96
113
  *
97
114
  */
98
115
  export declare class CopyPackageVersionsCommand extends $Command<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -47,6 +47,20 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
47
47
  * };
48
48
  * const command = new CreateDomainCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateDomainResult
51
+ * // domain: { // DomainDescription
52
+ * // name: "STRING_VALUE",
53
+ * // owner: "STRING_VALUE",
54
+ * // arn: "STRING_VALUE",
55
+ * // status: "Active" || "Deleted",
56
+ * // createdTime: new Date("TIMESTAMP"),
57
+ * // encryptionKey: "STRING_VALUE",
58
+ * // repositoryCount: Number("int"),
59
+ * // assetSizeBytes: Number("long"),
60
+ * // s3BucketArn: "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
50
64
  * ```
51
65
  *
52
66
  * @param CreateDomainCommandInput - {@link CreateDomainCommandInput}
@@ -88,6 +102,8 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
88
102
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
89
103
  * </p>
90
104
  *
105
+ * @throws {@link CodeartifactServiceException}
106
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
91
107
  *
92
108
  */
93
109
  export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, CodeartifactClientResolvedConfig> {
@@ -47,6 +47,30 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
47
47
  * };
48
48
  * const command = new CreateRepositoryCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateRepositoryResult
51
+ * // repository: { // RepositoryDescription
52
+ * // name: "STRING_VALUE",
53
+ * // administratorAccount: "STRING_VALUE",
54
+ * // domainName: "STRING_VALUE",
55
+ * // domainOwner: "STRING_VALUE",
56
+ * // arn: "STRING_VALUE",
57
+ * // description: "STRING_VALUE",
58
+ * // upstreams: [ // UpstreamRepositoryInfoList
59
+ * // { // UpstreamRepositoryInfo
60
+ * // repositoryName: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
64
+ * // { // RepositoryExternalConnectionInfo
65
+ * // externalConnectionName: "STRING_VALUE",
66
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
67
+ * // status: "Available",
68
+ * // },
69
+ * // ],
70
+ * // createdTime: new Date("TIMESTAMP"),
71
+ * // },
72
+ * // };
73
+ *
50
74
  * ```
51
75
  *
52
76
  * @param CreateRepositoryCommandInput - {@link CreateRepositoryCommandInput}
@@ -88,6 +112,8 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
88
112
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
89
113
  * </p>
90
114
  *
115
+ * @throws {@link CodeartifactServiceException}
116
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
91
117
  *
92
118
  */
93
119
  export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
@@ -35,6 +35,20 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
35
35
  * };
36
36
  * const command = new DeleteDomainCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DeleteDomainResult
39
+ * // domain: { // DomainDescription
40
+ * // name: "STRING_VALUE",
41
+ * // owner: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // status: "Active" || "Deleted",
44
+ * // createdTime: new Date("TIMESTAMP"),
45
+ * // encryptionKey: "STRING_VALUE",
46
+ * // repositoryCount: Number("int"),
47
+ * // assetSizeBytes: Number("long"),
48
+ * // s3BucketArn: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
38
52
  * ```
39
53
  *
40
54
  * @param DeleteDomainCommandInput - {@link DeleteDomainCommandInput}
@@ -66,6 +80,8 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
66
80
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
67
81
  * </p>
68
82
  *
83
+ * @throws {@link CodeartifactServiceException}
84
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
69
85
  *
70
86
  */
71
87
  export declare class DeleteDomainCommand extends $Command<DeleteDomainCommandInput, DeleteDomainCommandOutput, CodeartifactClientResolvedConfig> {
@@ -35,6 +35,14 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
35
35
  * };
36
36
  * const command = new DeleteDomainPermissionsPolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DeleteDomainPermissionsPolicyResult
39
+ * // policy: { // ResourcePolicy
40
+ * // resourceArn: "STRING_VALUE",
41
+ * // revision: "STRING_VALUE",
42
+ * // document: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
38
46
  * ```
39
47
  *
40
48
  * @param DeleteDomainPermissionsPolicyCommandInput - {@link DeleteDomainPermissionsPolicyCommandInput}
@@ -71,6 +79,8 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
71
79
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
72
80
  * </p>
73
81
  *
82
+ * @throws {@link CodeartifactServiceException}
83
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
74
84
  *
75
85
  */
76
86
  export declare class DeleteDomainPermissionsPolicyCommand extends $Command<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -37,6 +37,20 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
37
37
  * };
38
38
  * const command = new DeletePackageCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // DeletePackageResult
41
+ * // deletedPackage: { // PackageSummary
42
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
43
+ * // namespace: "STRING_VALUE",
44
+ * // package: "STRING_VALUE",
45
+ * // originConfiguration: { // PackageOriginConfiguration
46
+ * // restrictions: { // PackageOriginRestrictions
47
+ * // publish: "ALLOW" || "BLOCK", // required
48
+ * // upstream: "ALLOW" || "BLOCK", // required
49
+ * // },
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
40
54
  * ```
41
55
  *
42
56
  * @param DeletePackageCommandInput - {@link DeletePackageCommandInput}
@@ -73,6 +87,8 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
73
87
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
74
88
  * </p>
75
89
  *
90
+ * @throws {@link CodeartifactServiceException}
91
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
76
92
  *
77
93
  */
78
94
  export declare class DeletePackageCommand extends $Command<DeletePackageCommandInput, DeletePackageCommandOutput, CodeartifactClientResolvedConfig> {
@@ -44,6 +44,21 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
44
44
  * };
45
45
  * const command = new DeletePackageVersionsCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // DeletePackageVersionsResult
48
+ * // successfulVersions: { // SuccessfulPackageVersionInfoMap
49
+ * // "<keys>": { // SuccessfulPackageVersionInfo
50
+ * // revision: "STRING_VALUE",
51
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
52
+ * // },
53
+ * // },
54
+ * // failedVersions: { // PackageVersionErrorMap
55
+ * // "<keys>": { // PackageVersionError
56
+ * // errorCode: "ALREADY_EXISTS" || "MISMATCHED_REVISION" || "MISMATCHED_STATUS" || "NOT_ALLOWED" || "NOT_FOUND" || "SKIPPED",
57
+ * // errorMessage: "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // };
61
+ *
47
62
  * ```
48
63
  *
49
64
  * @param DeletePackageVersionsCommandInput - {@link DeletePackageVersionsCommandInput}
@@ -80,6 +95,8 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
80
95
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
81
96
  * </p>
82
97
  *
98
+ * @throws {@link CodeartifactServiceException}
99
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
83
100
  *
84
101
  */
85
102
  export declare class DeletePackageVersionsCommand extends $Command<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -35,6 +35,30 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
35
35
  * };
36
36
  * const command = new DeleteRepositoryCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DeleteRepositoryResult
39
+ * // repository: { // RepositoryDescription
40
+ * // name: "STRING_VALUE",
41
+ * // administratorAccount: "STRING_VALUE",
42
+ * // domainName: "STRING_VALUE",
43
+ * // domainOwner: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // description: "STRING_VALUE",
46
+ * // upstreams: [ // UpstreamRepositoryInfoList
47
+ * // { // UpstreamRepositoryInfo
48
+ * // repositoryName: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
52
+ * // { // RepositoryExternalConnectionInfo
53
+ * // externalConnectionName: "STRING_VALUE",
54
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
55
+ * // status: "Available",
56
+ * // },
57
+ * // ],
58
+ * // createdTime: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // };
61
+ *
38
62
  * ```
39
63
  *
40
64
  * @param DeleteRepositoryCommandInput - {@link DeleteRepositoryCommandInput}
@@ -71,6 +95,8 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
71
95
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
72
96
  * </p>
73
97
  *
98
+ * @throws {@link CodeartifactServiceException}
99
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
74
100
  *
75
101
  */
76
102
  export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
@@ -43,6 +43,14 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
43
43
  * };
44
44
  * const command = new DeleteRepositoryPermissionsPolicyCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // DeleteRepositoryPermissionsPolicyResult
47
+ * // policy: { // ResourcePolicy
48
+ * // resourceArn: "STRING_VALUE",
49
+ * // revision: "STRING_VALUE",
50
+ * // document: "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
46
54
  * ```
47
55
  *
48
56
  * @param DeleteRepositoryPermissionsPolicyCommandInput - {@link DeleteRepositoryPermissionsPolicyCommandInput}
@@ -79,6 +87,8 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
79
87
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
80
88
  * </p>
81
89
  *
90
+ * @throws {@link CodeartifactServiceException}
91
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
82
92
  *
83
93
  */
84
94
  export declare class DeleteRepositoryPermissionsPolicyCommand extends $Command<DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -36,6 +36,20 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResult, __Met
36
36
  * };
37
37
  * const command = new DescribeDomainCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DescribeDomainResult
40
+ * // domain: { // DomainDescription
41
+ * // name: "STRING_VALUE",
42
+ * // owner: "STRING_VALUE",
43
+ * // arn: "STRING_VALUE",
44
+ * // status: "Active" || "Deleted",
45
+ * // createdTime: new Date("TIMESTAMP"),
46
+ * // encryptionKey: "STRING_VALUE",
47
+ * // repositoryCount: Number("int"),
48
+ * // assetSizeBytes: Number("long"),
49
+ * // s3BucketArn: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
39
53
  * ```
40
54
  *
41
55
  * @param DescribeDomainCommandInput - {@link DescribeDomainCommandInput}
@@ -67,6 +81,8 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResult, __Met
67
81
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
68
82
  * </p>
69
83
  *
84
+ * @throws {@link CodeartifactServiceException}
85
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
70
86
  *
71
87
  */
72
88
  export declare class DescribeDomainCommand extends $Command<DescribeDomainCommandInput, DescribeDomainCommandOutput, CodeartifactClientResolvedConfig> {
@@ -38,6 +38,20 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
38
38
  * };
39
39
  * const command = new DescribePackageCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // DescribePackageResult
42
+ * // package: { // PackageDescription
43
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
44
+ * // namespace: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // originConfiguration: { // PackageOriginConfiguration
47
+ * // restrictions: { // PackageOriginRestrictions
48
+ * // publish: "ALLOW" || "BLOCK", // required
49
+ * // upstream: "ALLOW" || "BLOCK", // required
50
+ * // },
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
41
55
  * ```
42
56
  *
43
57
  * @param DescribePackageCommandInput - {@link DescribePackageCommandInput}
@@ -69,6 +83,8 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
69
83
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
70
84
  * </p>
71
85
  *
86
+ * @throws {@link CodeartifactServiceException}
87
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
72
88
  *
73
89
  */
74
90
  export declare class DescribePackageCommand extends $Command<DescribePackageCommandInput, DescribePackageCommandOutput, CodeartifactClientResolvedConfig> {
@@ -41,6 +41,35 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
41
41
  * };
42
42
  * const command = new DescribePackageVersionCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // DescribePackageVersionResult
45
+ * // packageVersion: { // PackageVersionDescription
46
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
47
+ * // namespace: "STRING_VALUE",
48
+ * // packageName: "STRING_VALUE",
49
+ * // displayName: "STRING_VALUE",
50
+ * // version: "STRING_VALUE",
51
+ * // summary: "STRING_VALUE",
52
+ * // homePage: "STRING_VALUE",
53
+ * // sourceCodeRepository: "STRING_VALUE",
54
+ * // publishedTime: new Date("TIMESTAMP"),
55
+ * // licenses: [ // LicenseInfoList
56
+ * // { // LicenseInfo
57
+ * // name: "STRING_VALUE",
58
+ * // url: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // revision: "STRING_VALUE",
62
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
63
+ * // origin: { // PackageVersionOrigin
64
+ * // domainEntryPoint: { // DomainEntryPoint
65
+ * // repositoryName: "STRING_VALUE",
66
+ * // externalConnectionName: "STRING_VALUE",
67
+ * // },
68
+ * // originType: "INTERNAL" || "EXTERNAL" || "UNKNOWN",
69
+ * // },
70
+ * // },
71
+ * // };
72
+ *
44
73
  * ```
45
74
  *
46
75
  * @param DescribePackageVersionCommandInput - {@link DescribePackageVersionCommandInput}
@@ -77,6 +106,8 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
77
106
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
78
107
  * </p>
79
108
  *
109
+ * @throws {@link CodeartifactServiceException}
110
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
80
111
  *
81
112
  */
82
113
  export declare class DescribePackageVersionCommand extends $Command<DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput, CodeartifactClientResolvedConfig> {
@@ -36,6 +36,30 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
36
36
  * };
37
37
  * const command = new DescribeRepositoryCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DescribeRepositoryResult
40
+ * // repository: { // RepositoryDescription
41
+ * // name: "STRING_VALUE",
42
+ * // administratorAccount: "STRING_VALUE",
43
+ * // domainName: "STRING_VALUE",
44
+ * // domainOwner: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // description: "STRING_VALUE",
47
+ * // upstreams: [ // UpstreamRepositoryInfoList
48
+ * // { // UpstreamRepositoryInfo
49
+ * // repositoryName: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
53
+ * // { // RepositoryExternalConnectionInfo
54
+ * // externalConnectionName: "STRING_VALUE",
55
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
56
+ * // status: "Available",
57
+ * // },
58
+ * // ],
59
+ * // createdTime: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // };
62
+ *
39
63
  * ```
40
64
  *
41
65
  * @param DescribeRepositoryCommandInput - {@link DescribeRepositoryCommandInput}
@@ -67,6 +91,8 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
67
91
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
68
92
  * </p>
69
93
  *
94
+ * @throws {@link CodeartifactServiceException}
95
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
70
96
  *
71
97
  */
72
98
  export declare class DescribeRepositoryCommand extends $Command<DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
@@ -36,6 +36,30 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
36
36
  * };
37
37
  * const command = new DisassociateExternalConnectionCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DisassociateExternalConnectionResult
40
+ * // repository: { // RepositoryDescription
41
+ * // name: "STRING_VALUE",
42
+ * // administratorAccount: "STRING_VALUE",
43
+ * // domainName: "STRING_VALUE",
44
+ * // domainOwner: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // description: "STRING_VALUE",
47
+ * // upstreams: [ // UpstreamRepositoryInfoList
48
+ * // { // UpstreamRepositoryInfo
49
+ * // repositoryName: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
53
+ * // { // RepositoryExternalConnectionInfo
54
+ * // externalConnectionName: "STRING_VALUE",
55
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
56
+ * // status: "Available",
57
+ * // },
58
+ * // ],
59
+ * // createdTime: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // };
62
+ *
39
63
  * ```
40
64
  *
41
65
  * @param DisassociateExternalConnectionCommandInput - {@link DisassociateExternalConnectionCommandInput}
@@ -77,6 +101,8 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
77
101
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
78
102
  * </p>
79
103
  *
104
+ * @throws {@link CodeartifactServiceException}
105
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
80
106
  *
81
107
  */
82
108
  export declare class DisassociateExternalConnectionCommand extends $Command<DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig> {
@@ -54,6 +54,21 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
54
54
  * };
55
55
  * const command = new DisposePackageVersionsCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // DisposePackageVersionsResult
58
+ * // successfulVersions: { // SuccessfulPackageVersionInfoMap
59
+ * // "<keys>": { // SuccessfulPackageVersionInfo
60
+ * // revision: "STRING_VALUE",
61
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
62
+ * // },
63
+ * // },
64
+ * // failedVersions: { // PackageVersionErrorMap
65
+ * // "<keys>": { // PackageVersionError
66
+ * // errorCode: "ALREADY_EXISTS" || "MISMATCHED_REVISION" || "MISMATCHED_STATUS" || "NOT_ALLOWED" || "NOT_FOUND" || "SKIPPED",
67
+ * // errorMessage: "STRING_VALUE",
68
+ * // },
69
+ * // },
70
+ * // };
71
+ *
57
72
  * ```
58
73
  *
59
74
  * @param DisposePackageVersionsCommandInput - {@link DisposePackageVersionsCommandInput}
@@ -90,6 +105,8 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
90
105
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
91
106
  * </p>
92
107
  *
108
+ * @throws {@link CodeartifactServiceException}
109
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
93
110
  *
94
111
  */
95
112
  export declare class DisposePackageVersionsCommand extends $Command<DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -53,6 +53,11 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
53
53
  * };
54
54
  * const command = new GetAuthorizationTokenCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // GetAuthorizationTokenResult
57
+ * // authorizationToken: "STRING_VALUE",
58
+ * // expiration: new Date("TIMESTAMP"),
59
+ * // };
60
+ *
56
61
  * ```
57
62
  *
58
63
  * @param GetAuthorizationTokenCommandInput - {@link GetAuthorizationTokenCommandInput}
@@ -84,6 +89,8 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
84
89
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
85
90
  * </p>
86
91
  *
92
+ * @throws {@link CodeartifactServiceException}
93
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
87
94
  *
88
95
  */
89
96
  export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, CodeartifactClientResolvedConfig> {
@@ -41,6 +41,14 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
41
41
  * };
42
42
  * const command = new GetDomainPermissionsPolicyCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // GetDomainPermissionsPolicyResult
45
+ * // policy: { // ResourcePolicy
46
+ * // resourceArn: "STRING_VALUE",
47
+ * // revision: "STRING_VALUE",
48
+ * // document: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
44
52
  * ```
45
53
  *
46
54
  * @param GetDomainPermissionsPolicyCommandInput - {@link GetDomainPermissionsPolicyCommandInput}
@@ -72,6 +80,8 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
72
80
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
73
81
  * </p>
74
82
  *
83
+ * @throws {@link CodeartifactServiceException}
84
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
75
85
  *
76
86
  */
77
87
  export declare class GetDomainPermissionsPolicyCommand extends $Command<GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -43,6 +43,13 @@ export interface GetPackageVersionAssetCommandOutput extends __WithSdkStreamMixi
43
43
  * };
44
44
  * const command = new GetPackageVersionAssetCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // GetPackageVersionAssetResult
47
+ * // asset: "STREAMING_BLOB_VALUE",
48
+ * // assetName: "STRING_VALUE",
49
+ * // packageVersion: "STRING_VALUE",
50
+ * // packageVersionRevision: "STRING_VALUE",
51
+ * // };
52
+ *
46
53
  * ```
47
54
  *
48
55
  * @param GetPackageVersionAssetCommandInput - {@link GetPackageVersionAssetCommandInput}
@@ -79,6 +86,8 @@ export interface GetPackageVersionAssetCommandOutput extends __WithSdkStreamMixi
79
86
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
80
87
  * </p>
81
88
  *
89
+ * @throws {@link CodeartifactServiceException}
90
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
82
91
  *
83
92
  */
84
93
  export declare class GetPackageVersionAssetCommand extends $Command<GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput, CodeartifactClientResolvedConfig> {
@@ -42,6 +42,15 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
42
42
  * };
43
43
  * const command = new GetPackageVersionReadmeCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // GetPackageVersionReadmeResult
46
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
47
+ * // namespace: "STRING_VALUE",
48
+ * // package: "STRING_VALUE",
49
+ * // version: "STRING_VALUE",
50
+ * // versionRevision: "STRING_VALUE",
51
+ * // readme: "STRING_VALUE",
52
+ * // };
53
+ *
45
54
  * ```
46
55
  *
47
56
  * @param GetPackageVersionReadmeCommandInput - {@link GetPackageVersionReadmeCommandInput}
@@ -73,6 +82,8 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
73
82
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
74
83
  * </p>
75
84
  *
85
+ * @throws {@link CodeartifactServiceException}
86
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
76
87
  *
77
88
  */
78
89
  export declare class GetPackageVersionReadmeCommand extends $Command<GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput, CodeartifactClientResolvedConfig> {
@@ -59,6 +59,10 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
59
59
  * };
60
60
  * const command = new GetRepositoryEndpointCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // GetRepositoryEndpointResult
63
+ * // repositoryEndpoint: "STRING_VALUE",
64
+ * // };
65
+ *
62
66
  * ```
63
67
  *
64
68
  * @param GetRepositoryEndpointCommandInput - {@link GetRepositoryEndpointCommandInput}
@@ -90,6 +94,8 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
90
94
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
91
95
  * </p>
92
96
  *
97
+ * @throws {@link CodeartifactServiceException}
98
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
93
99
  *
94
100
  */
95
101
  export declare class GetRepositoryEndpointCommand extends $Command<GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput, CodeartifactClientResolvedConfig> {
@@ -35,6 +35,14 @@ export interface GetRepositoryPermissionsPolicyCommandOutput extends GetReposito
35
35
  * };
36
36
  * const command = new GetRepositoryPermissionsPolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetRepositoryPermissionsPolicyResult
39
+ * // policy: { // ResourcePolicy
40
+ * // resourceArn: "STRING_VALUE",
41
+ * // revision: "STRING_VALUE",
42
+ * // document: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
38
46
  * ```
39
47
  *
40
48
  * @param GetRepositoryPermissionsPolicyCommandInput - {@link GetRepositoryPermissionsPolicyCommandInput}
@@ -66,6 +74,8 @@ export interface GetRepositoryPermissionsPolicyCommandOutput extends GetReposito
66
74
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
67
75
  * </p>
68
76
  *
77
+ * @throws {@link CodeartifactServiceException}
78
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
69
79
  *
70
80
  */
71
81
  export declare class GetRepositoryPermissionsPolicyCommand extends $Command<GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -34,6 +34,20 @@ export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataB
34
34
  * };
35
35
  * const command = new ListDomainsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListDomainsResult
38
+ * // domains: [ // DomainSummaryList
39
+ * // { // DomainSummary
40
+ * // name: "STRING_VALUE",
41
+ * // owner: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // status: "Active" || "Deleted",
44
+ * // createdTime: new Date("TIMESTAMP"),
45
+ * // encryptionKey: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // nextToken: "STRING_VALUE",
49
+ * // };
50
+ *
37
51
  * ```
38
52
  *
39
53
  * @param ListDomainsCommandInput - {@link ListDomainsCommandInput}
@@ -60,6 +74,8 @@ export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataB
60
74
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
61
75
  * </p>
62
76
  *
77
+ * @throws {@link CodeartifactServiceException}
78
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
63
79
  *
64
80
  */
65
81
  export declare class ListDomainsCommand extends $Command<ListDomainsCommandInput, ListDomainsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -43,6 +43,24 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
43
43
  * };
44
44
  * const command = new ListPackageVersionAssetsCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListPackageVersionAssetsResult
47
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
48
+ * // namespace: "STRING_VALUE",
49
+ * // package: "STRING_VALUE",
50
+ * // version: "STRING_VALUE",
51
+ * // versionRevision: "STRING_VALUE",
52
+ * // nextToken: "STRING_VALUE",
53
+ * // assets: [ // AssetSummaryList
54
+ * // { // AssetSummary
55
+ * // name: "STRING_VALUE", // required
56
+ * // size: Number("long"),
57
+ * // hashes: { // AssetHashes
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
46
64
  * ```
47
65
  *
48
66
  * @param ListPackageVersionAssetsCommandInput - {@link ListPackageVersionAssetsCommandInput}
@@ -74,6 +92,8 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
74
92
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
75
93
  * </p>
76
94
  *
95
+ * @throws {@link CodeartifactServiceException}
96
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
77
97
  *
78
98
  */
79
99
  export declare class ListPackageVersionAssetsCommand extends $Command<ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -44,6 +44,23 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
44
44
  * };
45
45
  * const command = new ListPackageVersionDependenciesCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ListPackageVersionDependenciesResult
48
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
49
+ * // namespace: "STRING_VALUE",
50
+ * // package: "STRING_VALUE",
51
+ * // version: "STRING_VALUE",
52
+ * // versionRevision: "STRING_VALUE",
53
+ * // nextToken: "STRING_VALUE",
54
+ * // dependencies: [ // PackageDependencyList
55
+ * // { // PackageDependency
56
+ * // namespace: "STRING_VALUE",
57
+ * // package: "STRING_VALUE",
58
+ * // dependencyType: "STRING_VALUE",
59
+ * // versionRequirement: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
47
64
  * ```
48
65
  *
49
66
  * @param ListPackageVersionDependenciesCommandInput - {@link ListPackageVersionDependenciesCommandInput}
@@ -75,6 +92,8 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
75
92
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
76
93
  * </p>
77
94
  *
95
+ * @throws {@link CodeartifactServiceException}
96
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
78
97
  *
79
98
  */
80
99
  export declare class ListPackageVersionDependenciesCommand extends $Command<ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput, CodeartifactClientResolvedConfig> {
@@ -45,6 +45,28 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
45
45
  * };
46
46
  * const command = new ListPackageVersionsCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // ListPackageVersionsResult
49
+ * // defaultDisplayVersion: "STRING_VALUE",
50
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
51
+ * // namespace: "STRING_VALUE",
52
+ * // package: "STRING_VALUE",
53
+ * // versions: [ // PackageVersionSummaryList
54
+ * // { // PackageVersionSummary
55
+ * // version: "STRING_VALUE", // required
56
+ * // revision: "STRING_VALUE",
57
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted", // required
58
+ * // origin: { // PackageVersionOrigin
59
+ * // domainEntryPoint: { // DomainEntryPoint
60
+ * // repositoryName: "STRING_VALUE",
61
+ * // externalConnectionName: "STRING_VALUE",
62
+ * // },
63
+ * // originType: "INTERNAL" || "EXTERNAL" || "UNKNOWN",
64
+ * // },
65
+ * // },
66
+ * // ],
67
+ * // nextToken: "STRING_VALUE",
68
+ * // };
69
+ *
48
70
  * ```
49
71
  *
50
72
  * @param ListPackageVersionsCommandInput - {@link ListPackageVersionsCommandInput}
@@ -76,6 +98,8 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
76
98
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
77
99
  * </p>
78
100
  *
101
+ * @throws {@link CodeartifactServiceException}
102
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
79
103
  *
80
104
  */
81
105
  export declare class ListPackageVersionsCommand extends $Command<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
@@ -44,6 +44,23 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
44
44
  * };
45
45
  * const command = new ListPackagesCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ListPackagesResult
48
+ * // packages: [ // PackageSummaryList
49
+ * // { // PackageSummary
50
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
51
+ * // namespace: "STRING_VALUE",
52
+ * // package: "STRING_VALUE",
53
+ * // originConfiguration: { // PackageOriginConfiguration
54
+ * // restrictions: { // PackageOriginRestrictions
55
+ * // publish: "ALLOW" || "BLOCK", // required
56
+ * // upstream: "ALLOW" || "BLOCK", // required
57
+ * // },
58
+ * // },
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
47
64
  * ```
48
65
  *
49
66
  * @param ListPackagesCommandInput - {@link ListPackagesCommandInput}
@@ -75,6 +92,8 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
75
92
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
76
93
  * </p>
77
94
  *
95
+ * @throws {@link CodeartifactServiceException}
96
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
78
97
  *
79
98
  */
80
99
  export declare class ListPackagesCommand extends $Command<ListPackagesCommandInput, ListPackagesCommandOutput, CodeartifactClientResolvedConfig> {
@@ -38,6 +38,21 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
38
38
  * };
39
39
  * const command = new ListRepositoriesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListRepositoriesResult
42
+ * // repositories: [ // RepositorySummaryList
43
+ * // { // RepositorySummary
44
+ * // name: "STRING_VALUE",
45
+ * // administratorAccount: "STRING_VALUE",
46
+ * // domainName: "STRING_VALUE",
47
+ * // domainOwner: "STRING_VALUE",
48
+ * // arn: "STRING_VALUE",
49
+ * // description: "STRING_VALUE",
50
+ * // createdTime: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // ],
53
+ * // nextToken: "STRING_VALUE",
54
+ * // };
55
+ *
41
56
  * ```
42
57
  *
43
58
  * @param ListRepositoriesCommandInput - {@link ListRepositoriesCommandInput}
@@ -64,6 +79,8 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
64
79
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
65
80
  * </p>
66
81
  *
82
+ * @throws {@link CodeartifactServiceException}
83
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
67
84
  *
68
85
  */
69
86
  export declare class ListRepositoriesCommand extends $Command<ListRepositoriesCommandInput, ListRepositoriesCommandOutput, CodeartifactClientResolvedConfig> {
@@ -41,6 +41,21 @@ export interface ListRepositoriesInDomainCommandOutput extends ListRepositoriesI
41
41
  * };
42
42
  * const command = new ListRepositoriesInDomainCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListRepositoriesInDomainResult
45
+ * // repositories: [ // RepositorySummaryList
46
+ * // { // RepositorySummary
47
+ * // name: "STRING_VALUE",
48
+ * // administratorAccount: "STRING_VALUE",
49
+ * // domainName: "STRING_VALUE",
50
+ * // domainOwner: "STRING_VALUE",
51
+ * // arn: "STRING_VALUE",
52
+ * // description: "STRING_VALUE",
53
+ * // createdTime: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
44
59
  * ```
45
60
  *
46
61
  * @param ListRepositoriesInDomainCommandInput - {@link ListRepositoriesInDomainCommandInput}
@@ -72,6 +87,8 @@ export interface ListRepositoriesInDomainCommandOutput extends ListRepositoriesI
72
87
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
73
88
  * </p>
74
89
  *
90
+ * @throws {@link CodeartifactServiceException}
91
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
75
92
  *
76
93
  */
77
94
  export declare class ListRepositoriesInDomainCommand extends $Command<ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput, CodeartifactClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResult
35
+ * // tags: [ // TagList
36
+ * // { // Tag
37
+ * // key: "STRING_VALUE", // required
38
+ * // value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -59,6 +68,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
59
68
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
60
69
  * </p>
61
70
  *
71
+ * @throws {@link CodeartifactServiceException}
72
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
62
73
  *
63
74
  */
64
75
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeartifactClientResolvedConfig> {
@@ -60,6 +60,22 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
60
60
  * };
61
61
  * const command = new PublishPackageVersionCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // PublishPackageVersionResult
64
+ * // format: "npm" || "pypi" || "maven" || "nuget" || "generic",
65
+ * // namespace: "STRING_VALUE",
66
+ * // package: "STRING_VALUE",
67
+ * // version: "STRING_VALUE",
68
+ * // versionRevision: "STRING_VALUE",
69
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
70
+ * // asset: { // AssetSummary
71
+ * // name: "STRING_VALUE", // required
72
+ * // size: Number("long"),
73
+ * // hashes: { // AssetHashes
74
+ * // "<keys>": "STRING_VALUE",
75
+ * // },
76
+ * // },
77
+ * // };
78
+ *
63
79
  * ```
64
80
  *
65
81
  * @param PublishPackageVersionCommandInput - {@link PublishPackageVersionCommandInput}
@@ -101,6 +117,8 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
101
117
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
102
118
  * </p>
103
119
  *
120
+ * @throws {@link CodeartifactServiceException}
121
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
104
122
  *
105
123
  */
106
124
  export declare class PublishPackageVersionCommand extends $Command<PublishPackageVersionCommandInput, PublishPackageVersionCommandOutput, CodeartifactClientResolvedConfig> {
@@ -41,6 +41,14 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
41
41
  * };
42
42
  * const command = new PutDomainPermissionsPolicyCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // PutDomainPermissionsPolicyResult
45
+ * // policy: { // ResourcePolicy
46
+ * // resourceArn: "STRING_VALUE",
47
+ * // revision: "STRING_VALUE",
48
+ * // document: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
44
52
  * ```
45
53
  *
46
54
  * @param PutDomainPermissionsPolicyCommandInput - {@link PutDomainPermissionsPolicyCommandInput}
@@ -82,6 +90,8 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
82
90
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
83
91
  * </p>
84
92
  *
93
+ * @throws {@link CodeartifactServiceException}
94
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
85
95
  *
86
96
  */
87
97
  export declare class PutDomainPermissionsPolicyCommand extends $Command<PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -48,6 +48,15 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
48
48
  * };
49
49
  * const command = new PutPackageOriginConfigurationCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // PutPackageOriginConfigurationResult
52
+ * // originConfiguration: { // PackageOriginConfiguration
53
+ * // restrictions: { // PackageOriginRestrictions
54
+ * // publish: "ALLOW" || "BLOCK", // required
55
+ * // upstream: "ALLOW" || "BLOCK", // required
56
+ * // },
57
+ * // },
58
+ * // };
59
+ *
51
60
  * ```
52
61
  *
53
62
  * @param PutPackageOriginConfigurationCommandInput - {@link PutPackageOriginConfigurationCommandInput}
@@ -79,6 +88,8 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
79
88
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
80
89
  * </p>
81
90
  *
91
+ * @throws {@link CodeartifactServiceException}
92
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
82
93
  *
83
94
  */
84
95
  export declare class PutPackageOriginConfigurationCommand extends $Command<PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput, CodeartifactClientResolvedConfig> {
@@ -42,6 +42,14 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
42
42
  * };
43
43
  * const command = new PutRepositoryPermissionsPolicyCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // PutRepositoryPermissionsPolicyResult
46
+ * // policy: { // ResourcePolicy
47
+ * // resourceArn: "STRING_VALUE",
48
+ * // revision: "STRING_VALUE",
49
+ * // document: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
45
53
  * ```
46
54
  *
47
55
  * @param PutRepositoryPermissionsPolicyCommandInput - {@link PutRepositoryPermissionsPolicyCommandInput}
@@ -83,6 +91,8 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
83
91
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
84
92
  * </p>
85
93
  *
94
+ * @throws {@link CodeartifactServiceException}
95
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
86
96
  *
87
97
  */
88
98
  export declare class PutRepositoryPermissionsPolicyCommand extends $Command<PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -70,6 +72,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
70
72
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
71
73
  * </p>
72
74
  *
75
+ * @throws {@link CodeartifactServiceException}
76
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
73
77
  *
74
78
  */
75
79
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeartifactClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -62,6 +64,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
62
64
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
63
65
  * </p>
64
66
  *
67
+ * @throws {@link CodeartifactServiceException}
68
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
65
69
  *
66
70
  */
67
71
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeartifactClientResolvedConfig> {
@@ -49,6 +49,21 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
49
49
  * };
50
50
  * const command = new UpdatePackageVersionsStatusCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // UpdatePackageVersionsStatusResult
53
+ * // successfulVersions: { // SuccessfulPackageVersionInfoMap
54
+ * // "<keys>": { // SuccessfulPackageVersionInfo
55
+ * // revision: "STRING_VALUE",
56
+ * // status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
57
+ * // },
58
+ * // },
59
+ * // failedVersions: { // PackageVersionErrorMap
60
+ * // "<keys>": { // PackageVersionError
61
+ * // errorCode: "ALREADY_EXISTS" || "MISMATCHED_REVISION" || "MISMATCHED_STATUS" || "NOT_ALLOWED" || "NOT_FOUND" || "SKIPPED",
62
+ * // errorMessage: "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // };
66
+ *
52
67
  * ```
53
68
  *
54
69
  * @param UpdatePackageVersionsStatusCommandInput - {@link UpdatePackageVersionsStatusCommandInput}
@@ -85,6 +100,8 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
85
100
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
86
101
  * </p>
87
102
  *
103
+ * @throws {@link CodeartifactServiceException}
104
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
88
105
  *
89
106
  */
90
107
  export declare class UpdatePackageVersionsStatusCommand extends $Command<UpdatePackageVersionsStatusCommandInput, UpdatePackageVersionsStatusCommandOutput, CodeartifactClientResolvedConfig> {
@@ -41,6 +41,30 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
41
41
  * };
42
42
  * const command = new UpdateRepositoryCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // UpdateRepositoryResult
45
+ * // repository: { // RepositoryDescription
46
+ * // name: "STRING_VALUE",
47
+ * // administratorAccount: "STRING_VALUE",
48
+ * // domainName: "STRING_VALUE",
49
+ * // domainOwner: "STRING_VALUE",
50
+ * // arn: "STRING_VALUE",
51
+ * // description: "STRING_VALUE",
52
+ * // upstreams: [ // UpstreamRepositoryInfoList
53
+ * // { // UpstreamRepositoryInfo
54
+ * // repositoryName: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // externalConnections: [ // RepositoryExternalConnectionInfoList
58
+ * // { // RepositoryExternalConnectionInfo
59
+ * // externalConnectionName: "STRING_VALUE",
60
+ * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic",
61
+ * // status: "Available",
62
+ * // },
63
+ * // ],
64
+ * // createdTime: new Date("TIMESTAMP"),
65
+ * // },
66
+ * // };
67
+ *
44
68
  * ```
45
69
  *
46
70
  * @param UpdateRepositoryCommandInput - {@link UpdateRepositoryCommandInput}
@@ -82,6 +106,8 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
82
106
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
83
107
  * </p>
84
108
  *
109
+ * @throws {@link CodeartifactServiceException}
110
+ * <p>Base exception class for all service exceptions from Codeartifact service.</p>
85
111
  *
86
112
  */
87
113
  export declare class UpdateRepositoryCommand extends $Command<UpdateRepositoryCommandInput, UpdateRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",