@aws-sdk/client-codeartifact 3.933.0 → 3.935.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/index.js +93 -92
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +92 -0
- package/dist-es/models/errors.js +101 -0
- package/dist-es/models/models_0.js +1 -193
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +228 -0
- package/dist-types/models/errors.d.ts +155 -0
- package/dist-types/models/models_0.d.ts +1 -382
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +119 -0
- package/dist-types/ts3.4/models/errors.d.ts +58 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -176
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,58 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* <p>
|
|
6
|
-
* The operation did not succeed because of an unauthorized access attempt.
|
|
7
|
-
* </p>
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
-
readonly name: "AccessDeniedException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
* @enum
|
|
21
|
-
*/
|
|
22
|
-
export declare const AllowPublish: {
|
|
23
|
-
readonly ALLOW: "ALLOW";
|
|
24
|
-
readonly BLOCK: "BLOCK";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
* @enum
|
|
33
|
-
*/
|
|
34
|
-
export declare const AllowUpstream: {
|
|
35
|
-
readonly ALLOW: "ALLOW";
|
|
36
|
-
readonly BLOCK: "BLOCK";
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
|
|
42
|
-
/**
|
|
43
|
-
* @public
|
|
44
|
-
* @enum
|
|
45
|
-
*/
|
|
46
|
-
export declare const HashAlgorithm: {
|
|
47
|
-
readonly MD5: "MD5";
|
|
48
|
-
readonly SHA1: "SHA-1";
|
|
49
|
-
readonly SHA256: "SHA-256";
|
|
50
|
-
readonly SHA512: "SHA-512";
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @public
|
|
54
|
-
*/
|
|
55
|
-
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
2
|
+
import { AllowPublish, AllowUpstream, DomainStatus, EndpointType, ExternalConnectionStatus, HashAlgorithm, PackageFormat, PackageGroupAllowedRepositoryUpdateType, PackageGroupAssociationType, PackageGroupOriginRestrictionMode, PackageGroupOriginRestrictionType, PackageVersionErrorCode, PackageVersionOriginType, PackageVersionSortType, PackageVersionStatus } from "./enums";
|
|
56
3
|
/**
|
|
57
4
|
* <p>
|
|
58
5
|
* Contains details about a package version asset.
|
|
@@ -82,36 +29,6 @@ export interface AssetSummary {
|
|
|
82
29
|
*/
|
|
83
30
|
hashes?: Partial<Record<HashAlgorithm, string>> | undefined;
|
|
84
31
|
}
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
* @enum
|
|
88
|
-
*/
|
|
89
|
-
export declare const PackageGroupAssociationType: {
|
|
90
|
-
readonly STRONG: "STRONG";
|
|
91
|
-
readonly WEAK: "WEAK";
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
export type PackageGroupAssociationType = (typeof PackageGroupAssociationType)[keyof typeof PackageGroupAssociationType];
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
* @enum
|
|
100
|
-
*/
|
|
101
|
-
export declare const PackageFormat: {
|
|
102
|
-
readonly CARGO: "cargo";
|
|
103
|
-
readonly GENERIC: "generic";
|
|
104
|
-
readonly MAVEN: "maven";
|
|
105
|
-
readonly NPM: "npm";
|
|
106
|
-
readonly NUGET: "nuget";
|
|
107
|
-
readonly PYPI: "pypi";
|
|
108
|
-
readonly RUBY: "ruby";
|
|
109
|
-
readonly SWIFT: "swift";
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
115
32
|
/**
|
|
116
33
|
* <p>
|
|
117
34
|
* A package associated with a package group.
|
|
@@ -248,17 +165,6 @@ export interface AssociateExternalConnectionRequest {
|
|
|
248
165
|
*/
|
|
249
166
|
externalConnection: string | undefined;
|
|
250
167
|
}
|
|
251
|
-
/**
|
|
252
|
-
* @public
|
|
253
|
-
* @enum
|
|
254
|
-
*/
|
|
255
|
-
export declare const ExternalConnectionStatus: {
|
|
256
|
-
readonly AVAILABLE: "Available";
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
export type ExternalConnectionStatus = (typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
|
|
262
168
|
/**
|
|
263
169
|
* <p>
|
|
264
170
|
* Contains information about the external connection of a repository.
|
|
@@ -422,174 +328,6 @@ export interface AssociateExternalConnectionResult {
|
|
|
422
328
|
*/
|
|
423
329
|
repository?: RepositoryDescription | undefined;
|
|
424
330
|
}
|
|
425
|
-
/**
|
|
426
|
-
* @public
|
|
427
|
-
* @enum
|
|
428
|
-
*/
|
|
429
|
-
export declare const ResourceType: {
|
|
430
|
-
readonly ASSET: "asset";
|
|
431
|
-
readonly DOMAIN: "domain";
|
|
432
|
-
readonly PACKAGE: "package";
|
|
433
|
-
readonly PACKAGE_VERSION: "package-version";
|
|
434
|
-
readonly REPOSITORY: "repository";
|
|
435
|
-
};
|
|
436
|
-
/**
|
|
437
|
-
* @public
|
|
438
|
-
*/
|
|
439
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
440
|
-
/**
|
|
441
|
-
* <p>
|
|
442
|
-
* The operation did not succeed because prerequisites are not met.
|
|
443
|
-
* </p>
|
|
444
|
-
* @public
|
|
445
|
-
*/
|
|
446
|
-
export declare class ConflictException extends __BaseException {
|
|
447
|
-
readonly name: "ConflictException";
|
|
448
|
-
readonly $fault: "client";
|
|
449
|
-
/**
|
|
450
|
-
* <p>
|
|
451
|
-
* The ID of the resource.
|
|
452
|
-
* </p>
|
|
453
|
-
* @public
|
|
454
|
-
*/
|
|
455
|
-
resourceId?: string | undefined;
|
|
456
|
-
/**
|
|
457
|
-
* <p>
|
|
458
|
-
* The type of Amazon Web Services resource.
|
|
459
|
-
* </p>
|
|
460
|
-
* @public
|
|
461
|
-
*/
|
|
462
|
-
resourceType?: ResourceType | undefined;
|
|
463
|
-
/**
|
|
464
|
-
* @internal
|
|
465
|
-
*/
|
|
466
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
470
|
-
* @public
|
|
471
|
-
*/
|
|
472
|
-
export declare class InternalServerException extends __BaseException {
|
|
473
|
-
readonly name: "InternalServerException";
|
|
474
|
-
readonly $fault: "server";
|
|
475
|
-
/**
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
478
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
* <p>
|
|
482
|
-
* The operation did not succeed because the resource requested is not found in the service.
|
|
483
|
-
* </p>
|
|
484
|
-
* @public
|
|
485
|
-
*/
|
|
486
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
487
|
-
readonly name: "ResourceNotFoundException";
|
|
488
|
-
readonly $fault: "client";
|
|
489
|
-
/**
|
|
490
|
-
* <p>
|
|
491
|
-
* The ID of the resource.
|
|
492
|
-
* </p>
|
|
493
|
-
* @public
|
|
494
|
-
*/
|
|
495
|
-
resourceId?: string | undefined;
|
|
496
|
-
/**
|
|
497
|
-
* <p>
|
|
498
|
-
* The type of Amazon Web Services resource.
|
|
499
|
-
* </p>
|
|
500
|
-
* @public
|
|
501
|
-
*/
|
|
502
|
-
resourceType?: ResourceType | undefined;
|
|
503
|
-
/**
|
|
504
|
-
* @internal
|
|
505
|
-
*/
|
|
506
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* <p>
|
|
510
|
-
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
511
|
-
* </p>
|
|
512
|
-
* @public
|
|
513
|
-
*/
|
|
514
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
515
|
-
readonly name: "ServiceQuotaExceededException";
|
|
516
|
-
readonly $fault: "client";
|
|
517
|
-
/**
|
|
518
|
-
* <p>
|
|
519
|
-
* The ID of the resource.
|
|
520
|
-
* </p>
|
|
521
|
-
* @public
|
|
522
|
-
*/
|
|
523
|
-
resourceId?: string | undefined;
|
|
524
|
-
/**
|
|
525
|
-
* <p>
|
|
526
|
-
* The type of Amazon Web Services resource.
|
|
527
|
-
* </p>
|
|
528
|
-
* @public
|
|
529
|
-
*/
|
|
530
|
-
resourceType?: ResourceType | undefined;
|
|
531
|
-
/**
|
|
532
|
-
* @internal
|
|
533
|
-
*/
|
|
534
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
535
|
-
}
|
|
536
|
-
/**
|
|
537
|
-
* <p>
|
|
538
|
-
* The operation did not succeed because too many requests are sent to the service.
|
|
539
|
-
* </p>
|
|
540
|
-
* @public
|
|
541
|
-
*/
|
|
542
|
-
export declare class ThrottlingException extends __BaseException {
|
|
543
|
-
readonly name: "ThrottlingException";
|
|
544
|
-
readonly $fault: "client";
|
|
545
|
-
/**
|
|
546
|
-
* <p>
|
|
547
|
-
* The time period, in seconds, to wait before retrying the request.
|
|
548
|
-
* </p>
|
|
549
|
-
* @public
|
|
550
|
-
*/
|
|
551
|
-
retryAfterSeconds?: number | undefined;
|
|
552
|
-
/**
|
|
553
|
-
* @internal
|
|
554
|
-
*/
|
|
555
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* @public
|
|
559
|
-
* @enum
|
|
560
|
-
*/
|
|
561
|
-
export declare const ValidationExceptionReason: {
|
|
562
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
563
|
-
readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
|
|
564
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
565
|
-
readonly OTHER: "OTHER";
|
|
566
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
567
|
-
};
|
|
568
|
-
/**
|
|
569
|
-
* @public
|
|
570
|
-
*/
|
|
571
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
572
|
-
/**
|
|
573
|
-
* <p>
|
|
574
|
-
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
575
|
-
* </p>
|
|
576
|
-
* @public
|
|
577
|
-
*/
|
|
578
|
-
export declare class ValidationException extends __BaseException {
|
|
579
|
-
readonly name: "ValidationException";
|
|
580
|
-
readonly $fault: "client";
|
|
581
|
-
/**
|
|
582
|
-
* <p>
|
|
583
|
-
*
|
|
584
|
-
* </p>
|
|
585
|
-
* @public
|
|
586
|
-
*/
|
|
587
|
-
reason?: ValidationExceptionReason | undefined;
|
|
588
|
-
/**
|
|
589
|
-
* @internal
|
|
590
|
-
*/
|
|
591
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
592
|
-
}
|
|
593
331
|
/**
|
|
594
332
|
* @public
|
|
595
333
|
*/
|
|
@@ -721,22 +459,6 @@ export interface CopyPackageVersionsRequest {
|
|
|
721
459
|
*/
|
|
722
460
|
includeFromUpstream?: boolean | undefined;
|
|
723
461
|
}
|
|
724
|
-
/**
|
|
725
|
-
* @public
|
|
726
|
-
* @enum
|
|
727
|
-
*/
|
|
728
|
-
export declare const PackageVersionErrorCode: {
|
|
729
|
-
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
730
|
-
readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
|
|
731
|
-
readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
|
|
732
|
-
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
733
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
734
|
-
readonly SKIPPED: "SKIPPED";
|
|
735
|
-
};
|
|
736
|
-
/**
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
export type PackageVersionErrorCode = (typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
|
|
740
462
|
/**
|
|
741
463
|
* <p>l
|
|
742
464
|
* An error associated with package.
|
|
@@ -789,22 +511,6 @@ export interface PackageVersionError {
|
|
|
789
511
|
*/
|
|
790
512
|
errorMessage?: string | undefined;
|
|
791
513
|
}
|
|
792
|
-
/**
|
|
793
|
-
* @public
|
|
794
|
-
* @enum
|
|
795
|
-
*/
|
|
796
|
-
export declare const PackageVersionStatus: {
|
|
797
|
-
readonly ARCHIVED: "Archived";
|
|
798
|
-
readonly DELETED: "Deleted";
|
|
799
|
-
readonly DISPOSED: "Disposed";
|
|
800
|
-
readonly PUBLISHED: "Published";
|
|
801
|
-
readonly UNFINISHED: "Unfinished";
|
|
802
|
-
readonly UNLISTED: "Unlisted";
|
|
803
|
-
};
|
|
804
|
-
/**
|
|
805
|
-
* @public
|
|
806
|
-
*/
|
|
807
|
-
export type PackageVersionStatus = (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
808
514
|
/**
|
|
809
515
|
* <p>
|
|
810
516
|
* Contains the revision and status of a package version.
|
|
@@ -928,18 +634,6 @@ export interface CreateDomainRequest {
|
|
|
928
634
|
*/
|
|
929
635
|
tags?: Tag[] | undefined;
|
|
930
636
|
}
|
|
931
|
-
/**
|
|
932
|
-
* @public
|
|
933
|
-
* @enum
|
|
934
|
-
*/
|
|
935
|
-
export declare const DomainStatus: {
|
|
936
|
-
readonly ACTIVE: "Active";
|
|
937
|
-
readonly DELETED: "Deleted";
|
|
938
|
-
};
|
|
939
|
-
/**
|
|
940
|
-
* @public
|
|
941
|
-
*/
|
|
942
|
-
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
943
637
|
/**
|
|
944
638
|
* <p>
|
|
945
639
|
* Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
|
|
@@ -1060,33 +754,6 @@ export interface CreatePackageGroupRequest {
|
|
|
1060
754
|
*/
|
|
1061
755
|
tags?: Tag[] | undefined;
|
|
1062
756
|
}
|
|
1063
|
-
/**
|
|
1064
|
-
* @public
|
|
1065
|
-
* @enum
|
|
1066
|
-
*/
|
|
1067
|
-
export declare const PackageGroupOriginRestrictionType: {
|
|
1068
|
-
readonly EXTERNAL_UPSTREAM: "EXTERNAL_UPSTREAM";
|
|
1069
|
-
readonly INTERNAL_UPSTREAM: "INTERNAL_UPSTREAM";
|
|
1070
|
-
readonly PUBLISH: "PUBLISH";
|
|
1071
|
-
};
|
|
1072
|
-
/**
|
|
1073
|
-
* @public
|
|
1074
|
-
*/
|
|
1075
|
-
export type PackageGroupOriginRestrictionType = (typeof PackageGroupOriginRestrictionType)[keyof typeof PackageGroupOriginRestrictionType];
|
|
1076
|
-
/**
|
|
1077
|
-
* @public
|
|
1078
|
-
* @enum
|
|
1079
|
-
*/
|
|
1080
|
-
export declare const PackageGroupOriginRestrictionMode: {
|
|
1081
|
-
readonly ALLOW: "ALLOW";
|
|
1082
|
-
readonly ALLOW_SPECIFIC_REPOSITORIES: "ALLOW_SPECIFIC_REPOSITORIES";
|
|
1083
|
-
readonly BLOCK: "BLOCK";
|
|
1084
|
-
readonly INHERIT: "INHERIT";
|
|
1085
|
-
};
|
|
1086
|
-
/**
|
|
1087
|
-
* @public
|
|
1088
|
-
*/
|
|
1089
|
-
export type PackageGroupOriginRestrictionMode = (typeof PackageGroupOriginRestrictionMode)[keyof typeof PackageGroupOriginRestrictionMode];
|
|
1090
757
|
/**
|
|
1091
758
|
* <p>Information about the identifiers of a package group.</p>
|
|
1092
759
|
* @public
|
|
@@ -2173,19 +1840,6 @@ export interface DomainEntryPoint {
|
|
|
2173
1840
|
*/
|
|
2174
1841
|
externalConnectionName?: string | undefined;
|
|
2175
1842
|
}
|
|
2176
|
-
/**
|
|
2177
|
-
* @public
|
|
2178
|
-
* @enum
|
|
2179
|
-
*/
|
|
2180
|
-
export declare const PackageVersionOriginType: {
|
|
2181
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
2182
|
-
readonly INTERNAL: "INTERNAL";
|
|
2183
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
2184
|
-
};
|
|
2185
|
-
/**
|
|
2186
|
-
* @public
|
|
2187
|
-
*/
|
|
2188
|
-
export type PackageVersionOriginType = (typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
|
|
2189
1843
|
/**
|
|
2190
1844
|
* <p>Information about how a package version was added to a repository.</p>
|
|
2191
1845
|
* @public
|
|
@@ -3034,18 +2688,6 @@ export interface GetPackageVersionReadmeResult {
|
|
|
3034
2688
|
*/
|
|
3035
2689
|
readme?: string | undefined;
|
|
3036
2690
|
}
|
|
3037
|
-
/**
|
|
3038
|
-
* @public
|
|
3039
|
-
* @enum
|
|
3040
|
-
*/
|
|
3041
|
-
export declare const EndpointType: {
|
|
3042
|
-
readonly DUALSTACK: "dualstack";
|
|
3043
|
-
readonly IPV4: "ipv4";
|
|
3044
|
-
};
|
|
3045
|
-
/**
|
|
3046
|
-
* @public
|
|
3047
|
-
*/
|
|
3048
|
-
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
3049
2691
|
/**
|
|
3050
2692
|
* @public
|
|
3051
2693
|
*/
|
|
@@ -4016,17 +3658,6 @@ export interface ListPackageVersionDependenciesResult {
|
|
|
4016
3658
|
*/
|
|
4017
3659
|
dependencies?: PackageDependency[] | undefined;
|
|
4018
3660
|
}
|
|
4019
|
-
/**
|
|
4020
|
-
* @public
|
|
4021
|
-
* @enum
|
|
4022
|
-
*/
|
|
4023
|
-
export declare const PackageVersionSortType: {
|
|
4024
|
-
readonly PUBLISHED_TIME: "PUBLISHED_TIME";
|
|
4025
|
-
};
|
|
4026
|
-
/**
|
|
4027
|
-
* @public
|
|
4028
|
-
*/
|
|
4029
|
-
export type PackageVersionSortType = (typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
|
|
4030
3661
|
/**
|
|
4031
3662
|
* @public
|
|
4032
3663
|
*/
|
|
@@ -4954,18 +4585,6 @@ export interface UpdatePackageGroupOriginConfigurationRequest {
|
|
|
4954
4585
|
*/
|
|
4955
4586
|
removeAllowedRepositories?: PackageGroupAllowedRepository[] | undefined;
|
|
4956
4587
|
}
|
|
4957
|
-
/**
|
|
4958
|
-
* @public
|
|
4959
|
-
* @enum
|
|
4960
|
-
*/
|
|
4961
|
-
export declare const PackageGroupAllowedRepositoryUpdateType: {
|
|
4962
|
-
readonly ADDED: "ADDED";
|
|
4963
|
-
readonly REMOVED: "REMOVED";
|
|
4964
|
-
};
|
|
4965
|
-
/**
|
|
4966
|
-
* @public
|
|
4967
|
-
*/
|
|
4968
|
-
export type PackageGroupAllowedRepositoryUpdateType = (typeof PackageGroupAllowedRepositoryUpdateType)[keyof typeof PackageGroupAllowedRepositoryUpdateType];
|
|
4969
4588
|
/**
|
|
4970
4589
|
* @public
|
|
4971
4590
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { CodeartifactExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { CodeartifactServiceException } from "./models/CodeartifactServiceException";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export declare const AllowPublish: {
|
|
2
|
+
readonly ALLOW: "ALLOW";
|
|
3
|
+
readonly BLOCK: "BLOCK";
|
|
4
|
+
};
|
|
5
|
+
export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
|
|
6
|
+
export declare const AllowUpstream: {
|
|
7
|
+
readonly ALLOW: "ALLOW";
|
|
8
|
+
readonly BLOCK: "BLOCK";
|
|
9
|
+
};
|
|
10
|
+
export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
|
|
11
|
+
export declare const HashAlgorithm: {
|
|
12
|
+
readonly MD5: "MD5";
|
|
13
|
+
readonly SHA1: "SHA-1";
|
|
14
|
+
readonly SHA256: "SHA-256";
|
|
15
|
+
readonly SHA512: "SHA-512";
|
|
16
|
+
};
|
|
17
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
18
|
+
export declare const PackageGroupAssociationType: {
|
|
19
|
+
readonly STRONG: "STRONG";
|
|
20
|
+
readonly WEAK: "WEAK";
|
|
21
|
+
};
|
|
22
|
+
export type PackageGroupAssociationType =
|
|
23
|
+
(typeof PackageGroupAssociationType)[keyof typeof PackageGroupAssociationType];
|
|
24
|
+
export declare const PackageFormat: {
|
|
25
|
+
readonly CARGO: "cargo";
|
|
26
|
+
readonly GENERIC: "generic";
|
|
27
|
+
readonly MAVEN: "maven";
|
|
28
|
+
readonly NPM: "npm";
|
|
29
|
+
readonly NUGET: "nuget";
|
|
30
|
+
readonly PYPI: "pypi";
|
|
31
|
+
readonly RUBY: "ruby";
|
|
32
|
+
readonly SWIFT: "swift";
|
|
33
|
+
};
|
|
34
|
+
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
35
|
+
export declare const ExternalConnectionStatus: {
|
|
36
|
+
readonly AVAILABLE: "Available";
|
|
37
|
+
};
|
|
38
|
+
export type ExternalConnectionStatus =
|
|
39
|
+
(typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
|
|
40
|
+
export declare const ResourceType: {
|
|
41
|
+
readonly ASSET: "asset";
|
|
42
|
+
readonly DOMAIN: "domain";
|
|
43
|
+
readonly PACKAGE: "package";
|
|
44
|
+
readonly PACKAGE_VERSION: "package-version";
|
|
45
|
+
readonly REPOSITORY: "repository";
|
|
46
|
+
};
|
|
47
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
48
|
+
export declare const ValidationExceptionReason: {
|
|
49
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
50
|
+
readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
|
|
51
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
52
|
+
readonly OTHER: "OTHER";
|
|
53
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
54
|
+
};
|
|
55
|
+
export type ValidationExceptionReason =
|
|
56
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
57
|
+
export declare const PackageVersionErrorCode: {
|
|
58
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
59
|
+
readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
|
|
60
|
+
readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
|
|
61
|
+
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
62
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
63
|
+
readonly SKIPPED: "SKIPPED";
|
|
64
|
+
};
|
|
65
|
+
export type PackageVersionErrorCode =
|
|
66
|
+
(typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
|
|
67
|
+
export declare const PackageVersionStatus: {
|
|
68
|
+
readonly ARCHIVED: "Archived";
|
|
69
|
+
readonly DELETED: "Deleted";
|
|
70
|
+
readonly DISPOSED: "Disposed";
|
|
71
|
+
readonly PUBLISHED: "Published";
|
|
72
|
+
readonly UNFINISHED: "Unfinished";
|
|
73
|
+
readonly UNLISTED: "Unlisted";
|
|
74
|
+
};
|
|
75
|
+
export type PackageVersionStatus =
|
|
76
|
+
(typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
77
|
+
export declare const DomainStatus: {
|
|
78
|
+
readonly ACTIVE: "Active";
|
|
79
|
+
readonly DELETED: "Deleted";
|
|
80
|
+
};
|
|
81
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
82
|
+
export declare const PackageGroupOriginRestrictionType: {
|
|
83
|
+
readonly EXTERNAL_UPSTREAM: "EXTERNAL_UPSTREAM";
|
|
84
|
+
readonly INTERNAL_UPSTREAM: "INTERNAL_UPSTREAM";
|
|
85
|
+
readonly PUBLISH: "PUBLISH";
|
|
86
|
+
};
|
|
87
|
+
export type PackageGroupOriginRestrictionType =
|
|
88
|
+
(typeof PackageGroupOriginRestrictionType)[keyof typeof PackageGroupOriginRestrictionType];
|
|
89
|
+
export declare const PackageGroupOriginRestrictionMode: {
|
|
90
|
+
readonly ALLOW: "ALLOW";
|
|
91
|
+
readonly ALLOW_SPECIFIC_REPOSITORIES: "ALLOW_SPECIFIC_REPOSITORIES";
|
|
92
|
+
readonly BLOCK: "BLOCK";
|
|
93
|
+
readonly INHERIT: "INHERIT";
|
|
94
|
+
};
|
|
95
|
+
export type PackageGroupOriginRestrictionMode =
|
|
96
|
+
(typeof PackageGroupOriginRestrictionMode)[keyof typeof PackageGroupOriginRestrictionMode];
|
|
97
|
+
export declare const PackageVersionOriginType: {
|
|
98
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
99
|
+
readonly INTERNAL: "INTERNAL";
|
|
100
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
101
|
+
};
|
|
102
|
+
export type PackageVersionOriginType =
|
|
103
|
+
(typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
|
|
104
|
+
export declare const EndpointType: {
|
|
105
|
+
readonly DUALSTACK: "dualstack";
|
|
106
|
+
readonly IPV4: "ipv4";
|
|
107
|
+
};
|
|
108
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
109
|
+
export declare const PackageVersionSortType: {
|
|
110
|
+
readonly PUBLISHED_TIME: "PUBLISHED_TIME";
|
|
111
|
+
};
|
|
112
|
+
export type PackageVersionSortType =
|
|
113
|
+
(typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
|
|
114
|
+
export declare const PackageGroupAllowedRepositoryUpdateType: {
|
|
115
|
+
readonly ADDED: "ADDED";
|
|
116
|
+
readonly REMOVED: "REMOVED";
|
|
117
|
+
};
|
|
118
|
+
export type PackageGroupAllowedRepositoryUpdateType =
|
|
119
|
+
(typeof PackageGroupAllowedRepositoryUpdateType)[keyof typeof PackageGroupAllowedRepositoryUpdateType];
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
|
|
3
|
+
import { ResourceType, ValidationExceptionReason } from "./enums";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
resourceId?: string | undefined;
|
|
15
|
+
resourceType?: ResourceType | undefined;
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class InternalServerException extends __BaseException {
|
|
19
|
+
readonly name: "InternalServerException";
|
|
20
|
+
readonly $fault: "server";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
26
|
+
readonly name: "ResourceNotFoundException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
resourceId?: string | undefined;
|
|
29
|
+
resourceType?: ResourceType | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
35
|
+
readonly name: "ServiceQuotaExceededException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
resourceId?: string | undefined;
|
|
38
|
+
resourceType?: ResourceType | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ThrottlingException extends __BaseException {
|
|
44
|
+
readonly name: "ThrottlingException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
retryAfterSeconds?: number | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
export declare class ValidationException extends __BaseException {
|
|
52
|
+
readonly name: "ValidationException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
reason?: ValidationExceptionReason | undefined;
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|