@aws-sdk/client-codeartifact 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +66 -78
- package/dist-es/models/models_0.js +66 -78
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -3
- package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribePackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +3 -3
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +126 -66
- package/dist-types/ts3.4/models/models_0.d.ts +84 -66
- package/package.json +36 -36
|
@@ -8,20 +8,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
ALLOW
|
|
13
|
-
BLOCK
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
export declare const AllowPublish: {
|
|
12
|
+
readonly ALLOW: "ALLOW";
|
|
13
|
+
readonly BLOCK: "BLOCK";
|
|
14
|
+
};
|
|
15
|
+
export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
|
|
16
|
+
export declare const AllowUpstream: {
|
|
17
|
+
readonly ALLOW: "ALLOW";
|
|
18
|
+
readonly BLOCK: "BLOCK";
|
|
19
|
+
};
|
|
20
|
+
export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
|
|
21
|
+
export declare const HashAlgorithm: {
|
|
22
|
+
readonly MD5: "MD5";
|
|
23
|
+
readonly SHA1: "SHA-1";
|
|
24
|
+
readonly SHA256: "SHA-256";
|
|
25
|
+
readonly SHA512: "SHA-512";
|
|
26
|
+
};
|
|
27
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
25
28
|
export interface AssetSummary {
|
|
26
29
|
name: string | undefined;
|
|
27
30
|
size?: number;
|
|
@@ -33,16 +36,19 @@ export interface AssociateExternalConnectionRequest {
|
|
|
33
36
|
repository: string | undefined;
|
|
34
37
|
externalConnection: string | undefined;
|
|
35
38
|
}
|
|
36
|
-
export declare
|
|
37
|
-
GENERIC
|
|
38
|
-
MAVEN
|
|
39
|
-
NPM
|
|
40
|
-
NUGET
|
|
41
|
-
PYPI
|
|
42
|
-
}
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
export declare const PackageFormat: {
|
|
40
|
+
readonly GENERIC: "generic";
|
|
41
|
+
readonly MAVEN: "maven";
|
|
42
|
+
readonly NPM: "npm";
|
|
43
|
+
readonly NUGET: "nuget";
|
|
44
|
+
readonly PYPI: "pypi";
|
|
45
|
+
};
|
|
46
|
+
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
47
|
+
export declare const ExternalConnectionStatus: {
|
|
48
|
+
readonly AVAILABLE: "Available";
|
|
49
|
+
};
|
|
50
|
+
export type ExternalConnectionStatus =
|
|
51
|
+
(typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
|
|
46
52
|
export interface RepositoryExternalConnectionInfo {
|
|
47
53
|
externalConnectionName?: string;
|
|
48
54
|
packageFormat?: PackageFormat | string;
|
|
@@ -65,13 +71,14 @@ export interface RepositoryDescription {
|
|
|
65
71
|
export interface AssociateExternalConnectionResult {
|
|
66
72
|
repository?: RepositoryDescription;
|
|
67
73
|
}
|
|
68
|
-
export declare
|
|
69
|
-
ASSET
|
|
70
|
-
DOMAIN
|
|
71
|
-
PACKAGE
|
|
72
|
-
PACKAGE_VERSION
|
|
73
|
-
REPOSITORY
|
|
74
|
-
}
|
|
74
|
+
export declare const ResourceType: {
|
|
75
|
+
readonly ASSET: "asset";
|
|
76
|
+
readonly DOMAIN: "domain";
|
|
77
|
+
readonly PACKAGE: "package";
|
|
78
|
+
readonly PACKAGE_VERSION: "package-version";
|
|
79
|
+
readonly REPOSITORY: "repository";
|
|
80
|
+
};
|
|
81
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
75
82
|
export declare class ConflictException extends __BaseException {
|
|
76
83
|
readonly name: "ConflictException";
|
|
77
84
|
readonly $fault: "client";
|
|
@@ -112,13 +119,15 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
112
119
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
113
120
|
);
|
|
114
121
|
}
|
|
115
|
-
export declare
|
|
116
|
-
CANNOT_PARSE
|
|
117
|
-
ENCRYPTION_KEY_ERROR
|
|
118
|
-
FIELD_VALIDATION_FAILED
|
|
119
|
-
OTHER
|
|
120
|
-
UNKNOWN_OPERATION
|
|
121
|
-
}
|
|
122
|
+
export declare const ValidationExceptionReason: {
|
|
123
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
124
|
+
readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
|
|
125
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
126
|
+
readonly OTHER: "OTHER";
|
|
127
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
128
|
+
};
|
|
129
|
+
export type ValidationExceptionReason =
|
|
130
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
122
131
|
export declare class ValidationException extends __BaseException {
|
|
123
132
|
readonly name: "ValidationException";
|
|
124
133
|
readonly $fault: "client";
|
|
@@ -140,26 +149,30 @@ export interface CopyPackageVersionsRequest {
|
|
|
140
149
|
allowOverwrite?: boolean;
|
|
141
150
|
includeFromUpstream?: boolean;
|
|
142
151
|
}
|
|
143
|
-
export declare
|
|
144
|
-
ALREADY_EXISTS
|
|
145
|
-
MISMATCHED_REVISION
|
|
146
|
-
MISMATCHED_STATUS
|
|
147
|
-
NOT_ALLOWED
|
|
148
|
-
NOT_FOUND
|
|
149
|
-
SKIPPED
|
|
150
|
-
}
|
|
152
|
+
export declare const PackageVersionErrorCode: {
|
|
153
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
154
|
+
readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
|
|
155
|
+
readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
|
|
156
|
+
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
157
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
158
|
+
readonly SKIPPED: "SKIPPED";
|
|
159
|
+
};
|
|
160
|
+
export type PackageVersionErrorCode =
|
|
161
|
+
(typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
|
|
151
162
|
export interface PackageVersionError {
|
|
152
163
|
errorCode?: PackageVersionErrorCode | string;
|
|
153
164
|
errorMessage?: string;
|
|
154
165
|
}
|
|
155
|
-
export declare
|
|
156
|
-
ARCHIVED
|
|
157
|
-
DELETED
|
|
158
|
-
DISPOSED
|
|
159
|
-
PUBLISHED
|
|
160
|
-
UNFINISHED
|
|
161
|
-
UNLISTED
|
|
162
|
-
}
|
|
166
|
+
export declare const PackageVersionStatus: {
|
|
167
|
+
readonly ARCHIVED: "Archived";
|
|
168
|
+
readonly DELETED: "Deleted";
|
|
169
|
+
readonly DISPOSED: "Disposed";
|
|
170
|
+
readonly PUBLISHED: "Published";
|
|
171
|
+
readonly UNFINISHED: "Unfinished";
|
|
172
|
+
readonly UNLISTED: "Unlisted";
|
|
173
|
+
};
|
|
174
|
+
export type PackageVersionStatus =
|
|
175
|
+
(typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
163
176
|
export interface SuccessfulPackageVersionInfo {
|
|
164
177
|
revision?: string;
|
|
165
178
|
status?: PackageVersionStatus | string;
|
|
@@ -177,10 +190,11 @@ export interface CreateDomainRequest {
|
|
|
177
190
|
encryptionKey?: string;
|
|
178
191
|
tags?: Tag[];
|
|
179
192
|
}
|
|
180
|
-
export declare
|
|
181
|
-
ACTIVE
|
|
182
|
-
DELETED
|
|
183
|
-
}
|
|
193
|
+
export declare const DomainStatus: {
|
|
194
|
+
readonly ACTIVE: "Active";
|
|
195
|
+
readonly DELETED: "Deleted";
|
|
196
|
+
};
|
|
197
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
184
198
|
export interface DomainDescription {
|
|
185
199
|
name?: string;
|
|
186
200
|
owner?: string;
|
|
@@ -325,11 +339,13 @@ export interface DomainEntryPoint {
|
|
|
325
339
|
repositoryName?: string;
|
|
326
340
|
externalConnectionName?: string;
|
|
327
341
|
}
|
|
328
|
-
export declare
|
|
329
|
-
EXTERNAL
|
|
330
|
-
INTERNAL
|
|
331
|
-
UNKNOWN
|
|
332
|
-
}
|
|
342
|
+
export declare const PackageVersionOriginType: {
|
|
343
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
344
|
+
readonly INTERNAL: "INTERNAL";
|
|
345
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
346
|
+
};
|
|
347
|
+
export type PackageVersionOriginType =
|
|
348
|
+
(typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
|
|
333
349
|
export interface PackageVersionOrigin {
|
|
334
350
|
domainEntryPoint?: DomainEntryPoint;
|
|
335
351
|
originType?: PackageVersionOriginType | string;
|
|
@@ -528,9 +544,11 @@ export interface ListPackageVersionDependenciesResult {
|
|
|
528
544
|
nextToken?: string;
|
|
529
545
|
dependencies?: PackageDependency[];
|
|
530
546
|
}
|
|
531
|
-
export declare
|
|
532
|
-
PUBLISHED_TIME
|
|
533
|
-
}
|
|
547
|
+
export declare const PackageVersionSortType: {
|
|
548
|
+
readonly PUBLISHED_TIME: "PUBLISHED_TIME";
|
|
549
|
+
};
|
|
550
|
+
export type PackageVersionSortType =
|
|
551
|
+
(typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
|
|
534
552
|
export interface ListPackageVersionsRequest {
|
|
535
553
|
domain: string | undefined;
|
|
536
554
|
domainOwner?: string;
|
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.
|
|
4
|
+
"version": "3.303.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,44 +21,44 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
54
|
-
"@aws-sdk/util-stream-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-stream-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-stream-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
57
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|