@aws-sdk/client-codeartifact 3.686.0 → 3.691.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-types/models/models_0.d.ts +330 -330
- package/dist-types/ts3.4/models/models_0.d.ts +348 -339
- package/package.json +7 -7
|
@@ -27,8 +27,8 @@ export declare const HashAlgorithm: {
|
|
|
27
27
|
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
28
28
|
export interface AssetSummary {
|
|
29
29
|
name: string | undefined;
|
|
30
|
-
size?: number;
|
|
31
|
-
hashes?: Partial<Record<HashAlgorithm, string
|
|
30
|
+
size?: number | undefined;
|
|
31
|
+
hashes?: Partial<Record<HashAlgorithm, string>> | undefined;
|
|
32
32
|
}
|
|
33
33
|
export declare const PackageGroupAssociationType: {
|
|
34
34
|
readonly STRONG: "STRONG";
|
|
@@ -48,14 +48,14 @@ export declare const PackageFormat: {
|
|
|
48
48
|
};
|
|
49
49
|
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
50
50
|
export interface AssociatedPackage {
|
|
51
|
-
format?: PackageFormat;
|
|
52
|
-
namespace?: string;
|
|
53
|
-
package?: string;
|
|
54
|
-
associationType?: PackageGroupAssociationType;
|
|
51
|
+
format?: PackageFormat | undefined;
|
|
52
|
+
namespace?: string | undefined;
|
|
53
|
+
package?: string | undefined;
|
|
54
|
+
associationType?: PackageGroupAssociationType | undefined;
|
|
55
55
|
}
|
|
56
56
|
export interface AssociateExternalConnectionRequest {
|
|
57
57
|
domain: string | undefined;
|
|
58
|
-
domainOwner?: string;
|
|
58
|
+
domainOwner?: string | undefined;
|
|
59
59
|
repository: string | undefined;
|
|
60
60
|
externalConnection: string | undefined;
|
|
61
61
|
}
|
|
@@ -65,26 +65,26 @@ export declare const ExternalConnectionStatus: {
|
|
|
65
65
|
export type ExternalConnectionStatus =
|
|
66
66
|
(typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
|
|
67
67
|
export interface RepositoryExternalConnectionInfo {
|
|
68
|
-
externalConnectionName?: string;
|
|
69
|
-
packageFormat?: PackageFormat;
|
|
70
|
-
status?: ExternalConnectionStatus;
|
|
68
|
+
externalConnectionName?: string | undefined;
|
|
69
|
+
packageFormat?: PackageFormat | undefined;
|
|
70
|
+
status?: ExternalConnectionStatus | undefined;
|
|
71
71
|
}
|
|
72
72
|
export interface UpstreamRepositoryInfo {
|
|
73
|
-
repositoryName?: string;
|
|
73
|
+
repositoryName?: string | undefined;
|
|
74
74
|
}
|
|
75
75
|
export interface RepositoryDescription {
|
|
76
|
-
name?: string;
|
|
77
|
-
administratorAccount?: string;
|
|
78
|
-
domainName?: string;
|
|
79
|
-
domainOwner?: string;
|
|
80
|
-
arn?: string;
|
|
81
|
-
description?: string;
|
|
82
|
-
upstreams?: UpstreamRepositoryInfo[];
|
|
83
|
-
externalConnections?: RepositoryExternalConnectionInfo[];
|
|
84
|
-
createdTime?: Date;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
administratorAccount?: string | undefined;
|
|
78
|
+
domainName?: string | undefined;
|
|
79
|
+
domainOwner?: string | undefined;
|
|
80
|
+
arn?: string | undefined;
|
|
81
|
+
description?: string | undefined;
|
|
82
|
+
upstreams?: UpstreamRepositoryInfo[] | undefined;
|
|
83
|
+
externalConnections?: RepositoryExternalConnectionInfo[] | undefined;
|
|
84
|
+
createdTime?: Date | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface AssociateExternalConnectionResult {
|
|
87
|
-
repository?: RepositoryDescription;
|
|
87
|
+
repository?: RepositoryDescription | undefined;
|
|
88
88
|
}
|
|
89
89
|
export declare const ResourceType: {
|
|
90
90
|
readonly ASSET: "asset";
|
|
@@ -97,8 +97,8 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
97
97
|
export declare class ConflictException extends __BaseException {
|
|
98
98
|
readonly name: "ConflictException";
|
|
99
99
|
readonly $fault: "client";
|
|
100
|
-
resourceId?: string;
|
|
101
|
-
resourceType?: ResourceType;
|
|
100
|
+
resourceId?: string | undefined;
|
|
101
|
+
resourceType?: ResourceType | undefined;
|
|
102
102
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
103
103
|
}
|
|
104
104
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -111,8 +111,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
111
111
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
112
112
|
readonly name: "ResourceNotFoundException";
|
|
113
113
|
readonly $fault: "client";
|
|
114
|
-
resourceId?: string;
|
|
115
|
-
resourceType?: ResourceType;
|
|
114
|
+
resourceId?: string | undefined;
|
|
115
|
+
resourceType?: ResourceType | undefined;
|
|
116
116
|
constructor(
|
|
117
117
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
118
118
|
);
|
|
@@ -120,8 +120,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
120
120
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
121
121
|
readonly name: "ServiceQuotaExceededException";
|
|
122
122
|
readonly $fault: "client";
|
|
123
|
-
resourceId?: string;
|
|
124
|
-
resourceType?: ResourceType;
|
|
123
|
+
resourceId?: string | undefined;
|
|
124
|
+
resourceType?: ResourceType | undefined;
|
|
125
125
|
constructor(
|
|
126
126
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
127
127
|
);
|
|
@@ -129,7 +129,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
129
129
|
export declare class ThrottlingException extends __BaseException {
|
|
130
130
|
readonly name: "ThrottlingException";
|
|
131
131
|
readonly $fault: "client";
|
|
132
|
-
retryAfterSeconds?: number;
|
|
132
|
+
retryAfterSeconds?: number | undefined;
|
|
133
133
|
constructor(
|
|
134
134
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
135
135
|
);
|
|
@@ -146,23 +146,23 @@ export type ValidationExceptionReason =
|
|
|
146
146
|
export declare class ValidationException extends __BaseException {
|
|
147
147
|
readonly name: "ValidationException";
|
|
148
148
|
readonly $fault: "client";
|
|
149
|
-
reason?: ValidationExceptionReason;
|
|
149
|
+
reason?: ValidationExceptionReason | undefined;
|
|
150
150
|
constructor(
|
|
151
151
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
export interface CopyPackageVersionsRequest {
|
|
155
155
|
domain: string | undefined;
|
|
156
|
-
domainOwner?: string;
|
|
156
|
+
domainOwner?: string | undefined;
|
|
157
157
|
sourceRepository: string | undefined;
|
|
158
158
|
destinationRepository: string | undefined;
|
|
159
159
|
format: PackageFormat | undefined;
|
|
160
|
-
namespace?: string;
|
|
160
|
+
namespace?: string | undefined;
|
|
161
161
|
package: string | undefined;
|
|
162
|
-
versions?: string[];
|
|
163
|
-
versionRevisions?: Record<string, string
|
|
164
|
-
allowOverwrite?: boolean;
|
|
165
|
-
includeFromUpstream?: boolean;
|
|
162
|
+
versions?: string[] | undefined;
|
|
163
|
+
versionRevisions?: Record<string, string> | undefined;
|
|
164
|
+
allowOverwrite?: boolean | undefined;
|
|
165
|
+
includeFromUpstream?: boolean | undefined;
|
|
166
166
|
}
|
|
167
167
|
export declare const PackageVersionErrorCode: {
|
|
168
168
|
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
@@ -175,8 +175,8 @@ export declare const PackageVersionErrorCode: {
|
|
|
175
175
|
export type PackageVersionErrorCode =
|
|
176
176
|
(typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
|
|
177
177
|
export interface PackageVersionError {
|
|
178
|
-
errorCode?: PackageVersionErrorCode;
|
|
179
|
-
errorMessage?: string;
|
|
178
|
+
errorCode?: PackageVersionErrorCode | undefined;
|
|
179
|
+
errorMessage?: string | undefined;
|
|
180
180
|
}
|
|
181
181
|
export declare const PackageVersionStatus: {
|
|
182
182
|
readonly ARCHIVED: "Archived";
|
|
@@ -189,12 +189,12 @@ export declare const PackageVersionStatus: {
|
|
|
189
189
|
export type PackageVersionStatus =
|
|
190
190
|
(typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
191
191
|
export interface SuccessfulPackageVersionInfo {
|
|
192
|
-
revision?: string;
|
|
193
|
-
status?: PackageVersionStatus;
|
|
192
|
+
revision?: string | undefined;
|
|
193
|
+
status?: PackageVersionStatus | undefined;
|
|
194
194
|
}
|
|
195
195
|
export interface CopyPackageVersionsResult {
|
|
196
|
-
successfulVersions?: Record<string, SuccessfulPackageVersionInfo
|
|
197
|
-
failedVersions?: Record<string, PackageVersionError
|
|
196
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo> | undefined;
|
|
197
|
+
failedVersions?: Record<string, PackageVersionError> | undefined;
|
|
198
198
|
}
|
|
199
199
|
export interface Tag {
|
|
200
200
|
key: string | undefined;
|
|
@@ -202,8 +202,8 @@ export interface Tag {
|
|
|
202
202
|
}
|
|
203
203
|
export interface CreateDomainRequest {
|
|
204
204
|
domain: string | undefined;
|
|
205
|
-
encryptionKey?: string;
|
|
206
|
-
tags?: Tag[];
|
|
205
|
+
encryptionKey?: string | undefined;
|
|
206
|
+
tags?: Tag[] | undefined;
|
|
207
207
|
}
|
|
208
208
|
export declare const DomainStatus: {
|
|
209
209
|
readonly ACTIVE: "Active";
|
|
@@ -211,26 +211,26 @@ export declare const DomainStatus: {
|
|
|
211
211
|
};
|
|
212
212
|
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
213
213
|
export interface DomainDescription {
|
|
214
|
-
name?: string;
|
|
215
|
-
owner?: string;
|
|
216
|
-
arn?: string;
|
|
217
|
-
status?: DomainStatus;
|
|
218
|
-
createdTime?: Date;
|
|
219
|
-
encryptionKey?: string;
|
|
220
|
-
repositoryCount?: number;
|
|
221
|
-
assetSizeBytes?: number;
|
|
222
|
-
s3BucketArn?: string;
|
|
214
|
+
name?: string | undefined;
|
|
215
|
+
owner?: string | undefined;
|
|
216
|
+
arn?: string | undefined;
|
|
217
|
+
status?: DomainStatus | undefined;
|
|
218
|
+
createdTime?: Date | undefined;
|
|
219
|
+
encryptionKey?: string | undefined;
|
|
220
|
+
repositoryCount?: number | undefined;
|
|
221
|
+
assetSizeBytes?: number | undefined;
|
|
222
|
+
s3BucketArn?: string | undefined;
|
|
223
223
|
}
|
|
224
224
|
export interface CreateDomainResult {
|
|
225
|
-
domain?: DomainDescription;
|
|
225
|
+
domain?: DomainDescription | undefined;
|
|
226
226
|
}
|
|
227
227
|
export interface CreatePackageGroupRequest {
|
|
228
228
|
domain: string | undefined;
|
|
229
|
-
domainOwner?: string;
|
|
229
|
+
domainOwner?: string | undefined;
|
|
230
230
|
packageGroup: string | undefined;
|
|
231
|
-
contactInfo?: string;
|
|
232
|
-
description?: string;
|
|
233
|
-
tags?: Tag[];
|
|
231
|
+
contactInfo?: string | undefined;
|
|
232
|
+
description?: string | undefined;
|
|
233
|
+
tags?: Tag[] | undefined;
|
|
234
234
|
}
|
|
235
235
|
export declare const PackageGroupOriginRestrictionType: {
|
|
236
236
|
readonly EXTERNAL_UPSTREAM: "EXTERNAL_UPSTREAM";
|
|
@@ -248,74 +248,76 @@ export declare const PackageGroupOriginRestrictionMode: {
|
|
|
248
248
|
export type PackageGroupOriginRestrictionMode =
|
|
249
249
|
(typeof PackageGroupOriginRestrictionMode)[keyof typeof PackageGroupOriginRestrictionMode];
|
|
250
250
|
export interface PackageGroupReference {
|
|
251
|
-
arn?: string;
|
|
252
|
-
pattern?: string;
|
|
251
|
+
arn?: string | undefined;
|
|
252
|
+
pattern?: string | undefined;
|
|
253
253
|
}
|
|
254
254
|
export interface PackageGroupOriginRestriction {
|
|
255
|
-
mode?: PackageGroupOriginRestrictionMode;
|
|
256
|
-
effectiveMode?: PackageGroupOriginRestrictionMode;
|
|
257
|
-
inheritedFrom?: PackageGroupReference;
|
|
258
|
-
repositoriesCount?: number;
|
|
255
|
+
mode?: PackageGroupOriginRestrictionMode | undefined;
|
|
256
|
+
effectiveMode?: PackageGroupOriginRestrictionMode | undefined;
|
|
257
|
+
inheritedFrom?: PackageGroupReference | undefined;
|
|
258
|
+
repositoriesCount?: number | undefined;
|
|
259
259
|
}
|
|
260
260
|
export interface PackageGroupOriginConfiguration {
|
|
261
|
-
restrictions?:
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
restrictions?:
|
|
262
|
+
| Partial<
|
|
263
|
+
Record<PackageGroupOriginRestrictionType, PackageGroupOriginRestriction>
|
|
264
|
+
>
|
|
265
|
+
| undefined;
|
|
264
266
|
}
|
|
265
267
|
export interface PackageGroupDescription {
|
|
266
|
-
arn?: string;
|
|
267
|
-
pattern?: string;
|
|
268
|
-
domainName?: string;
|
|
269
|
-
domainOwner?: string;
|
|
270
|
-
createdTime?: Date;
|
|
271
|
-
contactInfo?: string;
|
|
272
|
-
description?: string;
|
|
273
|
-
originConfiguration?: PackageGroupOriginConfiguration;
|
|
274
|
-
parent?: PackageGroupReference;
|
|
268
|
+
arn?: string | undefined;
|
|
269
|
+
pattern?: string | undefined;
|
|
270
|
+
domainName?: string | undefined;
|
|
271
|
+
domainOwner?: string | undefined;
|
|
272
|
+
createdTime?: Date | undefined;
|
|
273
|
+
contactInfo?: string | undefined;
|
|
274
|
+
description?: string | undefined;
|
|
275
|
+
originConfiguration?: PackageGroupOriginConfiguration | undefined;
|
|
276
|
+
parent?: PackageGroupReference | undefined;
|
|
275
277
|
}
|
|
276
278
|
export interface CreatePackageGroupResult {
|
|
277
|
-
packageGroup?: PackageGroupDescription;
|
|
279
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
278
280
|
}
|
|
279
281
|
export interface UpstreamRepository {
|
|
280
282
|
repositoryName: string | undefined;
|
|
281
283
|
}
|
|
282
284
|
export interface CreateRepositoryRequest {
|
|
283
285
|
domain: string | undefined;
|
|
284
|
-
domainOwner?: string;
|
|
286
|
+
domainOwner?: string | undefined;
|
|
285
287
|
repository: string | undefined;
|
|
286
|
-
description?: string;
|
|
287
|
-
upstreams?: UpstreamRepository[];
|
|
288
|
-
tags?: Tag[];
|
|
288
|
+
description?: string | undefined;
|
|
289
|
+
upstreams?: UpstreamRepository[] | undefined;
|
|
290
|
+
tags?: Tag[] | undefined;
|
|
289
291
|
}
|
|
290
292
|
export interface CreateRepositoryResult {
|
|
291
|
-
repository?: RepositoryDescription;
|
|
293
|
+
repository?: RepositoryDescription | undefined;
|
|
292
294
|
}
|
|
293
295
|
export interface DeleteDomainRequest {
|
|
294
296
|
domain: string | undefined;
|
|
295
|
-
domainOwner?: string;
|
|
297
|
+
domainOwner?: string | undefined;
|
|
296
298
|
}
|
|
297
299
|
export interface DeleteDomainResult {
|
|
298
|
-
domain?: DomainDescription;
|
|
300
|
+
domain?: DomainDescription | undefined;
|
|
299
301
|
}
|
|
300
302
|
export interface DeleteDomainPermissionsPolicyRequest {
|
|
301
303
|
domain: string | undefined;
|
|
302
|
-
domainOwner?: string;
|
|
303
|
-
policyRevision?: string;
|
|
304
|
+
domainOwner?: string | undefined;
|
|
305
|
+
policyRevision?: string | undefined;
|
|
304
306
|
}
|
|
305
307
|
export interface ResourcePolicy {
|
|
306
|
-
resourceArn?: string;
|
|
307
|
-
revision?: string;
|
|
308
|
-
document?: string;
|
|
308
|
+
resourceArn?: string | undefined;
|
|
309
|
+
revision?: string | undefined;
|
|
310
|
+
document?: string | undefined;
|
|
309
311
|
}
|
|
310
312
|
export interface DeleteDomainPermissionsPolicyResult {
|
|
311
|
-
policy?: ResourcePolicy;
|
|
313
|
+
policy?: ResourcePolicy | undefined;
|
|
312
314
|
}
|
|
313
315
|
export interface DeletePackageRequest {
|
|
314
316
|
domain: string | undefined;
|
|
315
|
-
domainOwner?: string;
|
|
317
|
+
domainOwner?: string | undefined;
|
|
316
318
|
repository: string | undefined;
|
|
317
319
|
format: PackageFormat | undefined;
|
|
318
|
-
namespace?: string;
|
|
320
|
+
namespace?: string | undefined;
|
|
319
321
|
package: string | undefined;
|
|
320
322
|
}
|
|
321
323
|
export interface PackageOriginRestrictions {
|
|
@@ -323,104 +325,104 @@ export interface PackageOriginRestrictions {
|
|
|
323
325
|
upstream: AllowUpstream | undefined;
|
|
324
326
|
}
|
|
325
327
|
export interface PackageOriginConfiguration {
|
|
326
|
-
restrictions?: PackageOriginRestrictions;
|
|
328
|
+
restrictions?: PackageOriginRestrictions | undefined;
|
|
327
329
|
}
|
|
328
330
|
export interface PackageSummary {
|
|
329
|
-
format?: PackageFormat;
|
|
330
|
-
namespace?: string;
|
|
331
|
-
package?: string;
|
|
332
|
-
originConfiguration?: PackageOriginConfiguration;
|
|
331
|
+
format?: PackageFormat | undefined;
|
|
332
|
+
namespace?: string | undefined;
|
|
333
|
+
package?: string | undefined;
|
|
334
|
+
originConfiguration?: PackageOriginConfiguration | undefined;
|
|
333
335
|
}
|
|
334
336
|
export interface DeletePackageResult {
|
|
335
|
-
deletedPackage?: PackageSummary;
|
|
337
|
+
deletedPackage?: PackageSummary | undefined;
|
|
336
338
|
}
|
|
337
339
|
export interface DeletePackageGroupRequest {
|
|
338
340
|
domain: string | undefined;
|
|
339
|
-
domainOwner?: string;
|
|
341
|
+
domainOwner?: string | undefined;
|
|
340
342
|
packageGroup: string | undefined;
|
|
341
343
|
}
|
|
342
344
|
export interface DeletePackageGroupResult {
|
|
343
|
-
packageGroup?: PackageGroupDescription;
|
|
345
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
344
346
|
}
|
|
345
347
|
export interface DeletePackageVersionsRequest {
|
|
346
348
|
domain: string | undefined;
|
|
347
|
-
domainOwner?: string;
|
|
349
|
+
domainOwner?: string | undefined;
|
|
348
350
|
repository: string | undefined;
|
|
349
351
|
format: PackageFormat | undefined;
|
|
350
|
-
namespace?: string;
|
|
352
|
+
namespace?: string | undefined;
|
|
351
353
|
package: string | undefined;
|
|
352
354
|
versions: string[] | undefined;
|
|
353
|
-
expectedStatus?: PackageVersionStatus;
|
|
355
|
+
expectedStatus?: PackageVersionStatus | undefined;
|
|
354
356
|
}
|
|
355
357
|
export interface DeletePackageVersionsResult {
|
|
356
|
-
successfulVersions?: Record<string, SuccessfulPackageVersionInfo
|
|
357
|
-
failedVersions?: Record<string, PackageVersionError
|
|
358
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo> | undefined;
|
|
359
|
+
failedVersions?: Record<string, PackageVersionError> | undefined;
|
|
358
360
|
}
|
|
359
361
|
export interface DeleteRepositoryRequest {
|
|
360
362
|
domain: string | undefined;
|
|
361
|
-
domainOwner?: string;
|
|
363
|
+
domainOwner?: string | undefined;
|
|
362
364
|
repository: string | undefined;
|
|
363
365
|
}
|
|
364
366
|
export interface DeleteRepositoryResult {
|
|
365
|
-
repository?: RepositoryDescription;
|
|
367
|
+
repository?: RepositoryDescription | undefined;
|
|
366
368
|
}
|
|
367
369
|
export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
368
370
|
domain: string | undefined;
|
|
369
|
-
domainOwner?: string;
|
|
371
|
+
domainOwner?: string | undefined;
|
|
370
372
|
repository: string | undefined;
|
|
371
|
-
policyRevision?: string;
|
|
373
|
+
policyRevision?: string | undefined;
|
|
372
374
|
}
|
|
373
375
|
export interface DeleteRepositoryPermissionsPolicyResult {
|
|
374
|
-
policy?: ResourcePolicy;
|
|
376
|
+
policy?: ResourcePolicy | undefined;
|
|
375
377
|
}
|
|
376
378
|
export interface DescribeDomainRequest {
|
|
377
379
|
domain: string | undefined;
|
|
378
|
-
domainOwner?: string;
|
|
380
|
+
domainOwner?: string | undefined;
|
|
379
381
|
}
|
|
380
382
|
export interface DescribeDomainResult {
|
|
381
|
-
domain?: DomainDescription;
|
|
383
|
+
domain?: DomainDescription | undefined;
|
|
382
384
|
}
|
|
383
385
|
export interface DescribePackageRequest {
|
|
384
386
|
domain: string | undefined;
|
|
385
|
-
domainOwner?: string;
|
|
387
|
+
domainOwner?: string | undefined;
|
|
386
388
|
repository: string | undefined;
|
|
387
389
|
format: PackageFormat | undefined;
|
|
388
|
-
namespace?: string;
|
|
390
|
+
namespace?: string | undefined;
|
|
389
391
|
package: string | undefined;
|
|
390
392
|
}
|
|
391
393
|
export interface PackageDescription {
|
|
392
|
-
format?: PackageFormat;
|
|
393
|
-
namespace?: string;
|
|
394
|
-
name?: string;
|
|
395
|
-
originConfiguration?: PackageOriginConfiguration;
|
|
394
|
+
format?: PackageFormat | undefined;
|
|
395
|
+
namespace?: string | undefined;
|
|
396
|
+
name?: string | undefined;
|
|
397
|
+
originConfiguration?: PackageOriginConfiguration | undefined;
|
|
396
398
|
}
|
|
397
399
|
export interface DescribePackageResult {
|
|
398
400
|
package: PackageDescription | undefined;
|
|
399
401
|
}
|
|
400
402
|
export interface DescribePackageGroupRequest {
|
|
401
403
|
domain: string | undefined;
|
|
402
|
-
domainOwner?: string;
|
|
404
|
+
domainOwner?: string | undefined;
|
|
403
405
|
packageGroup: string | undefined;
|
|
404
406
|
}
|
|
405
407
|
export interface DescribePackageGroupResult {
|
|
406
|
-
packageGroup?: PackageGroupDescription;
|
|
408
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
407
409
|
}
|
|
408
410
|
export interface DescribePackageVersionRequest {
|
|
409
411
|
domain: string | undefined;
|
|
410
|
-
domainOwner?: string;
|
|
412
|
+
domainOwner?: string | undefined;
|
|
411
413
|
repository: string | undefined;
|
|
412
414
|
format: PackageFormat | undefined;
|
|
413
|
-
namespace?: string;
|
|
415
|
+
namespace?: string | undefined;
|
|
414
416
|
package: string | undefined;
|
|
415
417
|
packageVersion: string | undefined;
|
|
416
418
|
}
|
|
417
419
|
export interface LicenseInfo {
|
|
418
|
-
name?: string;
|
|
419
|
-
url?: string;
|
|
420
|
+
name?: string | undefined;
|
|
421
|
+
url?: string | undefined;
|
|
420
422
|
}
|
|
421
423
|
export interface DomainEntryPoint {
|
|
422
|
-
repositoryName?: string;
|
|
423
|
-
externalConnectionName?: string;
|
|
424
|
+
repositoryName?: string | undefined;
|
|
425
|
+
externalConnectionName?: string | undefined;
|
|
424
426
|
}
|
|
425
427
|
export declare const PackageVersionOriginType: {
|
|
426
428
|
readonly EXTERNAL: "EXTERNAL";
|
|
@@ -430,119 +432,119 @@ export declare const PackageVersionOriginType: {
|
|
|
430
432
|
export type PackageVersionOriginType =
|
|
431
433
|
(typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
|
|
432
434
|
export interface PackageVersionOrigin {
|
|
433
|
-
domainEntryPoint?: DomainEntryPoint;
|
|
434
|
-
originType?: PackageVersionOriginType;
|
|
435
|
+
domainEntryPoint?: DomainEntryPoint | undefined;
|
|
436
|
+
originType?: PackageVersionOriginType | undefined;
|
|
435
437
|
}
|
|
436
438
|
export interface PackageVersionDescription {
|
|
437
|
-
format?: PackageFormat;
|
|
438
|
-
namespace?: string;
|
|
439
|
-
packageName?: string;
|
|
440
|
-
displayName?: string;
|
|
441
|
-
version?: string;
|
|
442
|
-
summary?: string;
|
|
443
|
-
homePage?: string;
|
|
444
|
-
sourceCodeRepository?: string;
|
|
445
|
-
publishedTime?: Date;
|
|
446
|
-
licenses?: LicenseInfo[];
|
|
447
|
-
revision?: string;
|
|
448
|
-
status?: PackageVersionStatus;
|
|
449
|
-
origin?: PackageVersionOrigin;
|
|
439
|
+
format?: PackageFormat | undefined;
|
|
440
|
+
namespace?: string | undefined;
|
|
441
|
+
packageName?: string | undefined;
|
|
442
|
+
displayName?: string | undefined;
|
|
443
|
+
version?: string | undefined;
|
|
444
|
+
summary?: string | undefined;
|
|
445
|
+
homePage?: string | undefined;
|
|
446
|
+
sourceCodeRepository?: string | undefined;
|
|
447
|
+
publishedTime?: Date | undefined;
|
|
448
|
+
licenses?: LicenseInfo[] | undefined;
|
|
449
|
+
revision?: string | undefined;
|
|
450
|
+
status?: PackageVersionStatus | undefined;
|
|
451
|
+
origin?: PackageVersionOrigin | undefined;
|
|
450
452
|
}
|
|
451
453
|
export interface DescribePackageVersionResult {
|
|
452
454
|
packageVersion: PackageVersionDescription | undefined;
|
|
453
455
|
}
|
|
454
456
|
export interface DescribeRepositoryRequest {
|
|
455
457
|
domain: string | undefined;
|
|
456
|
-
domainOwner?: string;
|
|
458
|
+
domainOwner?: string | undefined;
|
|
457
459
|
repository: string | undefined;
|
|
458
460
|
}
|
|
459
461
|
export interface DescribeRepositoryResult {
|
|
460
|
-
repository?: RepositoryDescription;
|
|
462
|
+
repository?: RepositoryDescription | undefined;
|
|
461
463
|
}
|
|
462
464
|
export interface DisassociateExternalConnectionRequest {
|
|
463
465
|
domain: string | undefined;
|
|
464
|
-
domainOwner?: string;
|
|
466
|
+
domainOwner?: string | undefined;
|
|
465
467
|
repository: string | undefined;
|
|
466
468
|
externalConnection: string | undefined;
|
|
467
469
|
}
|
|
468
470
|
export interface DisassociateExternalConnectionResult {
|
|
469
|
-
repository?: RepositoryDescription;
|
|
471
|
+
repository?: RepositoryDescription | undefined;
|
|
470
472
|
}
|
|
471
473
|
export interface DisposePackageVersionsRequest {
|
|
472
474
|
domain: string | undefined;
|
|
473
|
-
domainOwner?: string;
|
|
475
|
+
domainOwner?: string | undefined;
|
|
474
476
|
repository: string | undefined;
|
|
475
477
|
format: PackageFormat | undefined;
|
|
476
|
-
namespace?: string;
|
|
478
|
+
namespace?: string | undefined;
|
|
477
479
|
package: string | undefined;
|
|
478
480
|
versions: string[] | undefined;
|
|
479
|
-
versionRevisions?: Record<string, string
|
|
480
|
-
expectedStatus?: PackageVersionStatus;
|
|
481
|
+
versionRevisions?: Record<string, string> | undefined;
|
|
482
|
+
expectedStatus?: PackageVersionStatus | undefined;
|
|
481
483
|
}
|
|
482
484
|
export interface DisposePackageVersionsResult {
|
|
483
|
-
successfulVersions?: Record<string, SuccessfulPackageVersionInfo
|
|
484
|
-
failedVersions?: Record<string, PackageVersionError
|
|
485
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo> | undefined;
|
|
486
|
+
failedVersions?: Record<string, PackageVersionError> | undefined;
|
|
485
487
|
}
|
|
486
488
|
export interface GetAssociatedPackageGroupRequest {
|
|
487
489
|
domain: string | undefined;
|
|
488
|
-
domainOwner?: string;
|
|
490
|
+
domainOwner?: string | undefined;
|
|
489
491
|
format: PackageFormat | undefined;
|
|
490
|
-
namespace?: string;
|
|
492
|
+
namespace?: string | undefined;
|
|
491
493
|
package: string | undefined;
|
|
492
494
|
}
|
|
493
495
|
export interface GetAssociatedPackageGroupResult {
|
|
494
|
-
packageGroup?: PackageGroupDescription;
|
|
495
|
-
associationType?: PackageGroupAssociationType;
|
|
496
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
497
|
+
associationType?: PackageGroupAssociationType | undefined;
|
|
496
498
|
}
|
|
497
499
|
export interface GetAuthorizationTokenRequest {
|
|
498
500
|
domain: string | undefined;
|
|
499
|
-
domainOwner?: string;
|
|
500
|
-
durationSeconds?: number;
|
|
501
|
+
domainOwner?: string | undefined;
|
|
502
|
+
durationSeconds?: number | undefined;
|
|
501
503
|
}
|
|
502
504
|
export interface GetAuthorizationTokenResult {
|
|
503
|
-
authorizationToken?: string;
|
|
504
|
-
expiration?: Date;
|
|
505
|
+
authorizationToken?: string | undefined;
|
|
506
|
+
expiration?: Date | undefined;
|
|
505
507
|
}
|
|
506
508
|
export interface GetDomainPermissionsPolicyRequest {
|
|
507
509
|
domain: string | undefined;
|
|
508
|
-
domainOwner?: string;
|
|
510
|
+
domainOwner?: string | undefined;
|
|
509
511
|
}
|
|
510
512
|
export interface GetDomainPermissionsPolicyResult {
|
|
511
|
-
policy?: ResourcePolicy;
|
|
513
|
+
policy?: ResourcePolicy | undefined;
|
|
512
514
|
}
|
|
513
515
|
export interface GetPackageVersionAssetRequest {
|
|
514
516
|
domain: string | undefined;
|
|
515
|
-
domainOwner?: string;
|
|
517
|
+
domainOwner?: string | undefined;
|
|
516
518
|
repository: string | undefined;
|
|
517
519
|
format: PackageFormat | undefined;
|
|
518
|
-
namespace?: string;
|
|
520
|
+
namespace?: string | undefined;
|
|
519
521
|
package: string | undefined;
|
|
520
522
|
packageVersion: string | undefined;
|
|
521
523
|
asset: string | undefined;
|
|
522
|
-
packageVersionRevision?: string;
|
|
524
|
+
packageVersionRevision?: string | undefined;
|
|
523
525
|
}
|
|
524
526
|
export interface GetPackageVersionAssetResult {
|
|
525
|
-
asset?: StreamingBlobTypes;
|
|
526
|
-
assetName?: string;
|
|
527
|
-
packageVersion?: string;
|
|
528
|
-
packageVersionRevision?: string;
|
|
527
|
+
asset?: StreamingBlobTypes | undefined;
|
|
528
|
+
assetName?: string | undefined;
|
|
529
|
+
packageVersion?: string | undefined;
|
|
530
|
+
packageVersionRevision?: string | undefined;
|
|
529
531
|
}
|
|
530
532
|
export interface GetPackageVersionReadmeRequest {
|
|
531
533
|
domain: string | undefined;
|
|
532
|
-
domainOwner?: string;
|
|
534
|
+
domainOwner?: string | undefined;
|
|
533
535
|
repository: string | undefined;
|
|
534
536
|
format: PackageFormat | undefined;
|
|
535
|
-
namespace?: string;
|
|
537
|
+
namespace?: string | undefined;
|
|
536
538
|
package: string | undefined;
|
|
537
539
|
packageVersion: string | undefined;
|
|
538
540
|
}
|
|
539
541
|
export interface GetPackageVersionReadmeResult {
|
|
540
|
-
format?: PackageFormat;
|
|
541
|
-
namespace?: string;
|
|
542
|
-
package?: string;
|
|
543
|
-
version?: string;
|
|
544
|
-
versionRevision?: string;
|
|
545
|
-
readme?: string;
|
|
542
|
+
format?: PackageFormat | undefined;
|
|
543
|
+
namespace?: string | undefined;
|
|
544
|
+
package?: string | undefined;
|
|
545
|
+
version?: string | undefined;
|
|
546
|
+
versionRevision?: string | undefined;
|
|
547
|
+
readme?: string | undefined;
|
|
546
548
|
}
|
|
547
549
|
export declare const EndpointType: {
|
|
548
550
|
readonly DUALSTACK: "dualstack";
|
|
@@ -551,144 +553,144 @@ export declare const EndpointType: {
|
|
|
551
553
|
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
552
554
|
export interface GetRepositoryEndpointRequest {
|
|
553
555
|
domain: string | undefined;
|
|
554
|
-
domainOwner?: string;
|
|
556
|
+
domainOwner?: string | undefined;
|
|
555
557
|
repository: string | undefined;
|
|
556
558
|
format: PackageFormat | undefined;
|
|
557
|
-
endpointType?: EndpointType;
|
|
559
|
+
endpointType?: EndpointType | undefined;
|
|
558
560
|
}
|
|
559
561
|
export interface GetRepositoryEndpointResult {
|
|
560
|
-
repositoryEndpoint?: string;
|
|
562
|
+
repositoryEndpoint?: string | undefined;
|
|
561
563
|
}
|
|
562
564
|
export interface GetRepositoryPermissionsPolicyRequest {
|
|
563
565
|
domain: string | undefined;
|
|
564
|
-
domainOwner?: string;
|
|
566
|
+
domainOwner?: string | undefined;
|
|
565
567
|
repository: string | undefined;
|
|
566
568
|
}
|
|
567
569
|
export interface GetRepositoryPermissionsPolicyResult {
|
|
568
|
-
policy?: ResourcePolicy;
|
|
570
|
+
policy?: ResourcePolicy | undefined;
|
|
569
571
|
}
|
|
570
572
|
export interface ListAllowedRepositoriesForGroupRequest {
|
|
571
573
|
domain: string | undefined;
|
|
572
|
-
domainOwner?: string;
|
|
574
|
+
domainOwner?: string | undefined;
|
|
573
575
|
packageGroup: string | undefined;
|
|
574
576
|
originRestrictionType: PackageGroupOriginRestrictionType | undefined;
|
|
575
|
-
maxResults?: number;
|
|
576
|
-
nextToken?: string;
|
|
577
|
+
maxResults?: number | undefined;
|
|
578
|
+
nextToken?: string | undefined;
|
|
577
579
|
}
|
|
578
580
|
export interface ListAllowedRepositoriesForGroupResult {
|
|
579
|
-
allowedRepositories?: string[];
|
|
580
|
-
nextToken?: string;
|
|
581
|
+
allowedRepositories?: string[] | undefined;
|
|
582
|
+
nextToken?: string | undefined;
|
|
581
583
|
}
|
|
582
584
|
export interface ListAssociatedPackagesRequest {
|
|
583
585
|
domain: string | undefined;
|
|
584
|
-
domainOwner?: string;
|
|
586
|
+
domainOwner?: string | undefined;
|
|
585
587
|
packageGroup: string | undefined;
|
|
586
|
-
maxResults?: number;
|
|
587
|
-
nextToken?: string;
|
|
588
|
-
preview?: boolean;
|
|
588
|
+
maxResults?: number | undefined;
|
|
589
|
+
nextToken?: string | undefined;
|
|
590
|
+
preview?: boolean | undefined;
|
|
589
591
|
}
|
|
590
592
|
export interface ListAssociatedPackagesResult {
|
|
591
|
-
packages?: AssociatedPackage[];
|
|
592
|
-
nextToken?: string;
|
|
593
|
+
packages?: AssociatedPackage[] | undefined;
|
|
594
|
+
nextToken?: string | undefined;
|
|
593
595
|
}
|
|
594
596
|
export interface ListDomainsRequest {
|
|
595
|
-
maxResults?: number;
|
|
596
|
-
nextToken?: string;
|
|
597
|
+
maxResults?: number | undefined;
|
|
598
|
+
nextToken?: string | undefined;
|
|
597
599
|
}
|
|
598
600
|
export interface DomainSummary {
|
|
599
|
-
name?: string;
|
|
600
|
-
owner?: string;
|
|
601
|
-
arn?: string;
|
|
602
|
-
status?: DomainStatus;
|
|
603
|
-
createdTime?: Date;
|
|
604
|
-
encryptionKey?: string;
|
|
601
|
+
name?: string | undefined;
|
|
602
|
+
owner?: string | undefined;
|
|
603
|
+
arn?: string | undefined;
|
|
604
|
+
status?: DomainStatus | undefined;
|
|
605
|
+
createdTime?: Date | undefined;
|
|
606
|
+
encryptionKey?: string | undefined;
|
|
605
607
|
}
|
|
606
608
|
export interface ListDomainsResult {
|
|
607
|
-
domains?: DomainSummary[];
|
|
608
|
-
nextToken?: string;
|
|
609
|
+
domains?: DomainSummary[] | undefined;
|
|
610
|
+
nextToken?: string | undefined;
|
|
609
611
|
}
|
|
610
612
|
export interface ListPackageGroupsRequest {
|
|
611
613
|
domain: string | undefined;
|
|
612
|
-
domainOwner?: string;
|
|
613
|
-
maxResults?: number;
|
|
614
|
-
nextToken?: string;
|
|
615
|
-
prefix?: string;
|
|
614
|
+
domainOwner?: string | undefined;
|
|
615
|
+
maxResults?: number | undefined;
|
|
616
|
+
nextToken?: string | undefined;
|
|
617
|
+
prefix?: string | undefined;
|
|
616
618
|
}
|
|
617
619
|
export interface PackageGroupSummary {
|
|
618
|
-
arn?: string;
|
|
619
|
-
pattern?: string;
|
|
620
|
-
domainName?: string;
|
|
621
|
-
domainOwner?: string;
|
|
622
|
-
createdTime?: Date;
|
|
623
|
-
contactInfo?: string;
|
|
624
|
-
description?: string;
|
|
625
|
-
originConfiguration?: PackageGroupOriginConfiguration;
|
|
626
|
-
parent?: PackageGroupReference;
|
|
620
|
+
arn?: string | undefined;
|
|
621
|
+
pattern?: string | undefined;
|
|
622
|
+
domainName?: string | undefined;
|
|
623
|
+
domainOwner?: string | undefined;
|
|
624
|
+
createdTime?: Date | undefined;
|
|
625
|
+
contactInfo?: string | undefined;
|
|
626
|
+
description?: string | undefined;
|
|
627
|
+
originConfiguration?: PackageGroupOriginConfiguration | undefined;
|
|
628
|
+
parent?: PackageGroupReference | undefined;
|
|
627
629
|
}
|
|
628
630
|
export interface ListPackageGroupsResult {
|
|
629
|
-
packageGroups?: PackageGroupSummary[];
|
|
630
|
-
nextToken?: string;
|
|
631
|
+
packageGroups?: PackageGroupSummary[] | undefined;
|
|
632
|
+
nextToken?: string | undefined;
|
|
631
633
|
}
|
|
632
634
|
export interface ListPackagesRequest {
|
|
633
635
|
domain: string | undefined;
|
|
634
|
-
domainOwner?: string;
|
|
636
|
+
domainOwner?: string | undefined;
|
|
635
637
|
repository: string | undefined;
|
|
636
|
-
format?: PackageFormat;
|
|
637
|
-
namespace?: string;
|
|
638
|
-
packagePrefix?: string;
|
|
639
|
-
maxResults?: number;
|
|
640
|
-
nextToken?: string;
|
|
641
|
-
publish?: AllowPublish;
|
|
642
|
-
upstream?: AllowUpstream;
|
|
638
|
+
format?: PackageFormat | undefined;
|
|
639
|
+
namespace?: string | undefined;
|
|
640
|
+
packagePrefix?: string | undefined;
|
|
641
|
+
maxResults?: number | undefined;
|
|
642
|
+
nextToken?: string | undefined;
|
|
643
|
+
publish?: AllowPublish | undefined;
|
|
644
|
+
upstream?: AllowUpstream | undefined;
|
|
643
645
|
}
|
|
644
646
|
export interface ListPackagesResult {
|
|
645
|
-
packages?: PackageSummary[];
|
|
646
|
-
nextToken?: string;
|
|
647
|
+
packages?: PackageSummary[] | undefined;
|
|
648
|
+
nextToken?: string | undefined;
|
|
647
649
|
}
|
|
648
650
|
export interface ListPackageVersionAssetsRequest {
|
|
649
651
|
domain: string | undefined;
|
|
650
|
-
domainOwner?: string;
|
|
652
|
+
domainOwner?: string | undefined;
|
|
651
653
|
repository: string | undefined;
|
|
652
654
|
format: PackageFormat | undefined;
|
|
653
|
-
namespace?: string;
|
|
655
|
+
namespace?: string | undefined;
|
|
654
656
|
package: string | undefined;
|
|
655
657
|
packageVersion: string | undefined;
|
|
656
|
-
maxResults?: number;
|
|
657
|
-
nextToken?: string;
|
|
658
|
+
maxResults?: number | undefined;
|
|
659
|
+
nextToken?: string | undefined;
|
|
658
660
|
}
|
|
659
661
|
export interface ListPackageVersionAssetsResult {
|
|
660
|
-
format?: PackageFormat;
|
|
661
|
-
namespace?: string;
|
|
662
|
-
package?: string;
|
|
663
|
-
version?: string;
|
|
664
|
-
versionRevision?: string;
|
|
665
|
-
nextToken?: string;
|
|
666
|
-
assets?: AssetSummary[];
|
|
662
|
+
format?: PackageFormat | undefined;
|
|
663
|
+
namespace?: string | undefined;
|
|
664
|
+
package?: string | undefined;
|
|
665
|
+
version?: string | undefined;
|
|
666
|
+
versionRevision?: string | undefined;
|
|
667
|
+
nextToken?: string | undefined;
|
|
668
|
+
assets?: AssetSummary[] | undefined;
|
|
667
669
|
}
|
|
668
670
|
export interface ListPackageVersionDependenciesRequest {
|
|
669
671
|
domain: string | undefined;
|
|
670
|
-
domainOwner?: string;
|
|
672
|
+
domainOwner?: string | undefined;
|
|
671
673
|
repository: string | undefined;
|
|
672
674
|
format: PackageFormat | undefined;
|
|
673
|
-
namespace?: string;
|
|
675
|
+
namespace?: string | undefined;
|
|
674
676
|
package: string | undefined;
|
|
675
677
|
packageVersion: string | undefined;
|
|
676
|
-
nextToken?: string;
|
|
678
|
+
nextToken?: string | undefined;
|
|
677
679
|
}
|
|
678
680
|
export interface PackageDependency {
|
|
679
|
-
namespace?: string;
|
|
680
|
-
package?: string;
|
|
681
|
-
dependencyType?: string;
|
|
682
|
-
versionRequirement?: string;
|
|
681
|
+
namespace?: string | undefined;
|
|
682
|
+
package?: string | undefined;
|
|
683
|
+
dependencyType?: string | undefined;
|
|
684
|
+
versionRequirement?: string | undefined;
|
|
683
685
|
}
|
|
684
686
|
export interface ListPackageVersionDependenciesResult {
|
|
685
|
-
format?: PackageFormat;
|
|
686
|
-
namespace?: string;
|
|
687
|
-
package?: string;
|
|
688
|
-
version?: string;
|
|
689
|
-
versionRevision?: string;
|
|
690
|
-
nextToken?: string;
|
|
691
|
-
dependencies?: PackageDependency[];
|
|
687
|
+
format?: PackageFormat | undefined;
|
|
688
|
+
namespace?: string | undefined;
|
|
689
|
+
package?: string | undefined;
|
|
690
|
+
version?: string | undefined;
|
|
691
|
+
versionRevision?: string | undefined;
|
|
692
|
+
nextToken?: string | undefined;
|
|
693
|
+
dependencies?: PackageDependency[] | undefined;
|
|
692
694
|
}
|
|
693
695
|
export declare const PackageVersionSortType: {
|
|
694
696
|
readonly PUBLISHED_TIME: "PUBLISHED_TIME";
|
|
@@ -697,130 +699,130 @@ export type PackageVersionSortType =
|
|
|
697
699
|
(typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
|
|
698
700
|
export interface ListPackageVersionsRequest {
|
|
699
701
|
domain: string | undefined;
|
|
700
|
-
domainOwner?: string;
|
|
702
|
+
domainOwner?: string | undefined;
|
|
701
703
|
repository: string | undefined;
|
|
702
704
|
format: PackageFormat | undefined;
|
|
703
|
-
namespace?: string;
|
|
705
|
+
namespace?: string | undefined;
|
|
704
706
|
package: string | undefined;
|
|
705
|
-
status?: PackageVersionStatus;
|
|
706
|
-
sortBy?: PackageVersionSortType;
|
|
707
|
-
maxResults?: number;
|
|
708
|
-
nextToken?: string;
|
|
709
|
-
originType?: PackageVersionOriginType;
|
|
707
|
+
status?: PackageVersionStatus | undefined;
|
|
708
|
+
sortBy?: PackageVersionSortType | undefined;
|
|
709
|
+
maxResults?: number | undefined;
|
|
710
|
+
nextToken?: string | undefined;
|
|
711
|
+
originType?: PackageVersionOriginType | undefined;
|
|
710
712
|
}
|
|
711
713
|
export interface PackageVersionSummary {
|
|
712
714
|
version: string | undefined;
|
|
713
|
-
revision?: string;
|
|
715
|
+
revision?: string | undefined;
|
|
714
716
|
status: PackageVersionStatus | undefined;
|
|
715
|
-
origin?: PackageVersionOrigin;
|
|
717
|
+
origin?: PackageVersionOrigin | undefined;
|
|
716
718
|
}
|
|
717
719
|
export interface ListPackageVersionsResult {
|
|
718
|
-
defaultDisplayVersion?: string;
|
|
719
|
-
format?: PackageFormat;
|
|
720
|
-
namespace?: string;
|
|
721
|
-
package?: string;
|
|
722
|
-
versions?: PackageVersionSummary[];
|
|
723
|
-
nextToken?: string;
|
|
720
|
+
defaultDisplayVersion?: string | undefined;
|
|
721
|
+
format?: PackageFormat | undefined;
|
|
722
|
+
namespace?: string | undefined;
|
|
723
|
+
package?: string | undefined;
|
|
724
|
+
versions?: PackageVersionSummary[] | undefined;
|
|
725
|
+
nextToken?: string | undefined;
|
|
724
726
|
}
|
|
725
727
|
export interface ListRepositoriesRequest {
|
|
726
|
-
repositoryPrefix?: string;
|
|
727
|
-
maxResults?: number;
|
|
728
|
-
nextToken?: string;
|
|
728
|
+
repositoryPrefix?: string | undefined;
|
|
729
|
+
maxResults?: number | undefined;
|
|
730
|
+
nextToken?: string | undefined;
|
|
729
731
|
}
|
|
730
732
|
export interface RepositorySummary {
|
|
731
|
-
name?: string;
|
|
732
|
-
administratorAccount?: string;
|
|
733
|
-
domainName?: string;
|
|
734
|
-
domainOwner?: string;
|
|
735
|
-
arn?: string;
|
|
736
|
-
description?: string;
|
|
737
|
-
createdTime?: Date;
|
|
733
|
+
name?: string | undefined;
|
|
734
|
+
administratorAccount?: string | undefined;
|
|
735
|
+
domainName?: string | undefined;
|
|
736
|
+
domainOwner?: string | undefined;
|
|
737
|
+
arn?: string | undefined;
|
|
738
|
+
description?: string | undefined;
|
|
739
|
+
createdTime?: Date | undefined;
|
|
738
740
|
}
|
|
739
741
|
export interface ListRepositoriesResult {
|
|
740
|
-
repositories?: RepositorySummary[];
|
|
741
|
-
nextToken?: string;
|
|
742
|
+
repositories?: RepositorySummary[] | undefined;
|
|
743
|
+
nextToken?: string | undefined;
|
|
742
744
|
}
|
|
743
745
|
export interface ListRepositoriesInDomainRequest {
|
|
744
746
|
domain: string | undefined;
|
|
745
|
-
domainOwner?: string;
|
|
746
|
-
administratorAccount?: string;
|
|
747
|
-
repositoryPrefix?: string;
|
|
748
|
-
maxResults?: number;
|
|
749
|
-
nextToken?: string;
|
|
747
|
+
domainOwner?: string | undefined;
|
|
748
|
+
administratorAccount?: string | undefined;
|
|
749
|
+
repositoryPrefix?: string | undefined;
|
|
750
|
+
maxResults?: number | undefined;
|
|
751
|
+
nextToken?: string | undefined;
|
|
750
752
|
}
|
|
751
753
|
export interface ListRepositoriesInDomainResult {
|
|
752
|
-
repositories?: RepositorySummary[];
|
|
753
|
-
nextToken?: string;
|
|
754
|
+
repositories?: RepositorySummary[] | undefined;
|
|
755
|
+
nextToken?: string | undefined;
|
|
754
756
|
}
|
|
755
757
|
export interface ListSubPackageGroupsRequest {
|
|
756
758
|
domain: string | undefined;
|
|
757
|
-
domainOwner?: string;
|
|
759
|
+
domainOwner?: string | undefined;
|
|
758
760
|
packageGroup: string | undefined;
|
|
759
|
-
maxResults?: number;
|
|
760
|
-
nextToken?: string;
|
|
761
|
+
maxResults?: number | undefined;
|
|
762
|
+
nextToken?: string | undefined;
|
|
761
763
|
}
|
|
762
764
|
export interface ListSubPackageGroupsResult {
|
|
763
|
-
packageGroups?: PackageGroupSummary[];
|
|
764
|
-
nextToken?: string;
|
|
765
|
+
packageGroups?: PackageGroupSummary[] | undefined;
|
|
766
|
+
nextToken?: string | undefined;
|
|
765
767
|
}
|
|
766
768
|
export interface ListTagsForResourceRequest {
|
|
767
769
|
resourceArn: string | undefined;
|
|
768
770
|
}
|
|
769
771
|
export interface ListTagsForResourceResult {
|
|
770
|
-
tags?: Tag[];
|
|
772
|
+
tags?: Tag[] | undefined;
|
|
771
773
|
}
|
|
772
774
|
export interface PublishPackageVersionRequest {
|
|
773
775
|
domain: string | undefined;
|
|
774
|
-
domainOwner?: string;
|
|
776
|
+
domainOwner?: string | undefined;
|
|
775
777
|
repository: string | undefined;
|
|
776
778
|
format: PackageFormat | undefined;
|
|
777
|
-
namespace?: string;
|
|
779
|
+
namespace?: string | undefined;
|
|
778
780
|
package: string | undefined;
|
|
779
781
|
packageVersion: string | undefined;
|
|
780
782
|
assetContent: StreamingBlobTypes | undefined;
|
|
781
783
|
assetName: string | undefined;
|
|
782
784
|
assetSHA256: string | undefined;
|
|
783
|
-
unfinished?: boolean;
|
|
785
|
+
unfinished?: boolean | undefined;
|
|
784
786
|
}
|
|
785
787
|
export interface PublishPackageVersionResult {
|
|
786
|
-
format?: PackageFormat;
|
|
787
|
-
namespace?: string;
|
|
788
|
-
package?: string;
|
|
789
|
-
version?: string;
|
|
790
|
-
versionRevision?: string;
|
|
791
|
-
status?: PackageVersionStatus;
|
|
792
|
-
asset?: AssetSummary;
|
|
788
|
+
format?: PackageFormat | undefined;
|
|
789
|
+
namespace?: string | undefined;
|
|
790
|
+
package?: string | undefined;
|
|
791
|
+
version?: string | undefined;
|
|
792
|
+
versionRevision?: string | undefined;
|
|
793
|
+
status?: PackageVersionStatus | undefined;
|
|
794
|
+
asset?: AssetSummary | undefined;
|
|
793
795
|
}
|
|
794
796
|
export interface PutDomainPermissionsPolicyRequest {
|
|
795
797
|
domain: string | undefined;
|
|
796
|
-
domainOwner?: string;
|
|
797
|
-
policyRevision?: string;
|
|
798
|
+
domainOwner?: string | undefined;
|
|
799
|
+
policyRevision?: string | undefined;
|
|
798
800
|
policyDocument: string | undefined;
|
|
799
801
|
}
|
|
800
802
|
export interface PutDomainPermissionsPolicyResult {
|
|
801
|
-
policy?: ResourcePolicy;
|
|
803
|
+
policy?: ResourcePolicy | undefined;
|
|
802
804
|
}
|
|
803
805
|
export interface PutPackageOriginConfigurationRequest {
|
|
804
806
|
domain: string | undefined;
|
|
805
|
-
domainOwner?: string;
|
|
807
|
+
domainOwner?: string | undefined;
|
|
806
808
|
repository: string | undefined;
|
|
807
809
|
format: PackageFormat | undefined;
|
|
808
|
-
namespace?: string;
|
|
810
|
+
namespace?: string | undefined;
|
|
809
811
|
package: string | undefined;
|
|
810
812
|
restrictions: PackageOriginRestrictions | undefined;
|
|
811
813
|
}
|
|
812
814
|
export interface PutPackageOriginConfigurationResult {
|
|
813
|
-
originConfiguration?: PackageOriginConfiguration;
|
|
815
|
+
originConfiguration?: PackageOriginConfiguration | undefined;
|
|
814
816
|
}
|
|
815
817
|
export interface PutRepositoryPermissionsPolicyRequest {
|
|
816
818
|
domain: string | undefined;
|
|
817
|
-
domainOwner?: string;
|
|
819
|
+
domainOwner?: string | undefined;
|
|
818
820
|
repository: string | undefined;
|
|
819
|
-
policyRevision?: string;
|
|
821
|
+
policyRevision?: string | undefined;
|
|
820
822
|
policyDocument: string | undefined;
|
|
821
823
|
}
|
|
822
824
|
export interface PutRepositoryPermissionsPolicyResult {
|
|
823
|
-
policy?: ResourcePolicy;
|
|
825
|
+
policy?: ResourcePolicy | undefined;
|
|
824
826
|
}
|
|
825
827
|
export interface TagResourceRequest {
|
|
826
828
|
resourceArn: string | undefined;
|
|
@@ -834,27 +836,32 @@ export interface UntagResourceRequest {
|
|
|
834
836
|
export interface UntagResourceResult {}
|
|
835
837
|
export interface UpdatePackageGroupRequest {
|
|
836
838
|
domain: string | undefined;
|
|
837
|
-
domainOwner?: string;
|
|
839
|
+
domainOwner?: string | undefined;
|
|
838
840
|
packageGroup: string | undefined;
|
|
839
|
-
contactInfo?: string;
|
|
840
|
-
description?: string;
|
|
841
|
+
contactInfo?: string | undefined;
|
|
842
|
+
description?: string | undefined;
|
|
841
843
|
}
|
|
842
844
|
export interface UpdatePackageGroupResult {
|
|
843
|
-
packageGroup?: PackageGroupDescription;
|
|
845
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
844
846
|
}
|
|
845
847
|
export interface PackageGroupAllowedRepository {
|
|
846
|
-
repositoryName?: string;
|
|
847
|
-
originRestrictionType?: PackageGroupOriginRestrictionType;
|
|
848
|
+
repositoryName?: string | undefined;
|
|
849
|
+
originRestrictionType?: PackageGroupOriginRestrictionType | undefined;
|
|
848
850
|
}
|
|
849
851
|
export interface UpdatePackageGroupOriginConfigurationRequest {
|
|
850
852
|
domain: string | undefined;
|
|
851
|
-
domainOwner?: string;
|
|
853
|
+
domainOwner?: string | undefined;
|
|
852
854
|
packageGroup: string | undefined;
|
|
853
|
-
restrictions?:
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
855
|
+
restrictions?:
|
|
856
|
+
| Partial<
|
|
857
|
+
Record<
|
|
858
|
+
PackageGroupOriginRestrictionType,
|
|
859
|
+
PackageGroupOriginRestrictionMode
|
|
860
|
+
>
|
|
861
|
+
>
|
|
862
|
+
| undefined;
|
|
863
|
+
addAllowedRepositories?: PackageGroupAllowedRepository[] | undefined;
|
|
864
|
+
removeAllowedRepositories?: PackageGroupAllowedRepository[] | undefined;
|
|
858
865
|
}
|
|
859
866
|
export declare const PackageGroupAllowedRepositoryUpdateType: {
|
|
860
867
|
readonly ADDED: "ADDED";
|
|
@@ -863,39 +870,41 @@ export declare const PackageGroupAllowedRepositoryUpdateType: {
|
|
|
863
870
|
export type PackageGroupAllowedRepositoryUpdateType =
|
|
864
871
|
(typeof PackageGroupAllowedRepositoryUpdateType)[keyof typeof PackageGroupAllowedRepositoryUpdateType];
|
|
865
872
|
export interface UpdatePackageGroupOriginConfigurationResult {
|
|
866
|
-
packageGroup?: PackageGroupDescription;
|
|
867
|
-
allowedRepositoryUpdates?:
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
+
packageGroup?: PackageGroupDescription | undefined;
|
|
874
|
+
allowedRepositoryUpdates?:
|
|
875
|
+
| Partial<
|
|
876
|
+
Record<
|
|
877
|
+
PackageGroupOriginRestrictionType,
|
|
878
|
+
Partial<Record<PackageGroupAllowedRepositoryUpdateType, string[]>>
|
|
879
|
+
>
|
|
880
|
+
>
|
|
881
|
+
| undefined;
|
|
873
882
|
}
|
|
874
883
|
export interface UpdatePackageVersionsStatusRequest {
|
|
875
884
|
domain: string | undefined;
|
|
876
|
-
domainOwner?: string;
|
|
885
|
+
domainOwner?: string | undefined;
|
|
877
886
|
repository: string | undefined;
|
|
878
887
|
format: PackageFormat | undefined;
|
|
879
|
-
namespace?: string;
|
|
888
|
+
namespace?: string | undefined;
|
|
880
889
|
package: string | undefined;
|
|
881
890
|
versions: string[] | undefined;
|
|
882
|
-
versionRevisions?: Record<string, string
|
|
883
|
-
expectedStatus?: PackageVersionStatus;
|
|
891
|
+
versionRevisions?: Record<string, string> | undefined;
|
|
892
|
+
expectedStatus?: PackageVersionStatus | undefined;
|
|
884
893
|
targetStatus: PackageVersionStatus | undefined;
|
|
885
894
|
}
|
|
886
895
|
export interface UpdatePackageVersionsStatusResult {
|
|
887
|
-
successfulVersions?: Record<string, SuccessfulPackageVersionInfo
|
|
888
|
-
failedVersions?: Record<string, PackageVersionError
|
|
896
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo> | undefined;
|
|
897
|
+
failedVersions?: Record<string, PackageVersionError> | undefined;
|
|
889
898
|
}
|
|
890
899
|
export interface UpdateRepositoryRequest {
|
|
891
900
|
domain: string | undefined;
|
|
892
|
-
domainOwner?: string;
|
|
901
|
+
domainOwner?: string | undefined;
|
|
893
902
|
repository: string | undefined;
|
|
894
|
-
description?: string;
|
|
895
|
-
upstreams?: UpstreamRepository[];
|
|
903
|
+
description?: string | undefined;
|
|
904
|
+
upstreams?: UpstreamRepository[] | undefined;
|
|
896
905
|
}
|
|
897
906
|
export interface UpdateRepositoryResult {
|
|
898
|
-
repository?: RepositoryDescription;
|
|
907
|
+
repository?: RepositoryDescription | undefined;
|
|
899
908
|
}
|
|
900
909
|
export declare const GetAuthorizationTokenResultFilterSensitiveLog: (
|
|
901
910
|
obj: GetAuthorizationTokenResult
|