@aws-sdk/client-codeartifact 3.428.0 → 3.430.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.
@@ -80,7 +80,7 @@ export interface AssetSummary {
80
80
  * The hashes of the asset.
81
81
  * </p>
82
82
  */
83
- hashes?: Record<string, string>;
83
+ hashes?: Record<HashAlgorithm, string>;
84
84
  }
85
85
  /**
86
86
  * @public
@@ -222,14 +222,14 @@ export interface RepositoryExternalConnectionInfo {
222
222
  * </li>
223
223
  * </ul>
224
224
  */
225
- packageFormat?: PackageFormat | string;
225
+ packageFormat?: PackageFormat;
226
226
  /**
227
227
  * @public
228
228
  * <p>
229
229
  * The status of the external connection of a repository. There is one valid value, <code>Available</code>.
230
230
  * </p>
231
231
  */
232
- status?: ExternalConnectionStatus | string;
232
+ status?: ExternalConnectionStatus;
233
233
  }
234
234
  /**
235
235
  * @public
@@ -362,7 +362,7 @@ export declare class ConflictException extends __BaseException {
362
362
  * The type of Amazon Web Services resource.
363
363
  * </p>
364
364
  */
365
- resourceType?: ResourceType | string;
365
+ resourceType?: ResourceType;
366
366
  /**
367
367
  * @internal
368
368
  */
@@ -402,7 +402,7 @@ export declare class ResourceNotFoundException extends __BaseException {
402
402
  * The type of Amazon Web Services resource.
403
403
  * </p>
404
404
  */
405
- resourceType?: ResourceType | string;
405
+ resourceType?: ResourceType;
406
406
  /**
407
407
  * @internal
408
408
  */
@@ -430,7 +430,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
430
430
  * The type of Amazon Web Services resource.
431
431
  * </p>
432
432
  */
433
- resourceType?: ResourceType | string;
433
+ resourceType?: ResourceType;
434
434
  /**
435
435
  * @internal
436
436
  */
@@ -487,7 +487,7 @@ export declare class ValidationException extends __BaseException {
487
487
  *
488
488
  * </p>
489
489
  */
490
- reason?: ValidationExceptionReason | string;
490
+ reason?: ValidationExceptionReason;
491
491
  /**
492
492
  * @internal
493
493
  */
@@ -532,7 +532,7 @@ export interface CopyPackageVersionsRequest {
532
532
  * The format of the package versions to be copied.
533
533
  * </p>
534
534
  */
535
- format: PackageFormat | string | undefined;
535
+ format: PackageFormat | undefined;
536
536
  /**
537
537
  * @public
538
538
  * <p>The namespace of the package versions to be copied. The package version component that specifies its
@@ -670,7 +670,7 @@ export interface PackageVersionError {
670
670
  * </li>
671
671
  * </ul>
672
672
  */
673
- errorCode?: PackageVersionErrorCode | string;
673
+ errorCode?: PackageVersionErrorCode;
674
674
  /**
675
675
  * @public
676
676
  * <p>
@@ -715,7 +715,7 @@ export interface SuccessfulPackageVersionInfo {
715
715
  * The status of a package version.
716
716
  * </p>
717
717
  */
718
- status?: PackageVersionStatus | string;
718
+ status?: PackageVersionStatus;
719
719
  }
720
720
  /**
721
721
  * @public
@@ -861,7 +861,7 @@ export interface DomainDescription {
861
861
  * The current status of a domain.
862
862
  * </p>
863
863
  */
864
- status?: DomainStatus | string;
864
+ status?: DomainStatus;
865
865
  /**
866
866
  * @public
867
867
  * <p>
@@ -1104,7 +1104,7 @@ export interface DeletePackageRequest {
1104
1104
  * @public
1105
1105
  * <p>The format of the requested package to delete.</p>
1106
1106
  */
1107
- format: PackageFormat | string | undefined;
1107
+ format: PackageFormat | undefined;
1108
1108
  /**
1109
1109
  * @public
1110
1110
  * <p>The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:</p>
@@ -1145,12 +1145,12 @@ export interface PackageOriginRestrictions {
1145
1145
  * @public
1146
1146
  * <p>The package origin configuration that determines if new versions of the package can be published directly to the repository.</p>
1147
1147
  */
1148
- publish: AllowPublish | string | undefined;
1148
+ publish: AllowPublish | undefined;
1149
1149
  /**
1150
1150
  * @public
1151
1151
  * <p>The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.</p>
1152
1152
  */
1153
- upstream: AllowUpstream | string | undefined;
1153
+ upstream: AllowUpstream | undefined;
1154
1154
  }
1155
1155
  /**
1156
1156
  * @public
@@ -1177,7 +1177,7 @@ export interface PackageSummary {
1177
1177
  * The format of the package.
1178
1178
  * </p>
1179
1179
  */
1180
- format?: PackageFormat | string;
1180
+ format?: PackageFormat;
1181
1181
  /**
1182
1182
  * @public
1183
1183
  * <p>The namespace of the package. The package component that specifies its
@@ -1264,7 +1264,7 @@ export interface DeletePackageVersionsRequest {
1264
1264
  * The format of the package versions to delete.
1265
1265
  * </p>
1266
1266
  */
1267
- format: PackageFormat | string | undefined;
1267
+ format: PackageFormat | undefined;
1268
1268
  /**
1269
1269
  * @public
1270
1270
  * <p>The namespace of the package versions to be deleted. The package version component that specifies its
@@ -1312,7 +1312,7 @@ export interface DeletePackageVersionsRequest {
1312
1312
  * The expected status of the package version to delete.
1313
1313
  * </p>
1314
1314
  */
1315
- expectedStatus?: PackageVersionStatus | string;
1315
+ expectedStatus?: PackageVersionStatus;
1316
1316
  }
1317
1317
  /**
1318
1318
  * @public
@@ -1510,7 +1510,7 @@ export interface DescribePackageRequest {
1510
1510
  * @public
1511
1511
  * <p>A format that specifies the type of the requested package.</p>
1512
1512
  */
1513
- format: PackageFormat | string | undefined;
1513
+ format: PackageFormat | undefined;
1514
1514
  /**
1515
1515
  * @public
1516
1516
  * <p>The namespace of the requested package. The package component that specifies its
@@ -1553,7 +1553,7 @@ export interface PackageDescription {
1553
1553
  * @public
1554
1554
  * <p>A format that specifies the type of the package.</p>
1555
1555
  */
1556
- format?: PackageFormat | string;
1556
+ format?: PackageFormat;
1557
1557
  /**
1558
1558
  * @public
1559
1559
  * <p>The namespace of the package. The package component that specifies its
@@ -1633,7 +1633,7 @@ export interface DescribePackageVersionRequest {
1633
1633
  * A format that specifies the type of the requested package version.
1634
1634
  * </p>
1635
1635
  */
1636
- format: PackageFormat | string | undefined;
1636
+ format: PackageFormat | undefined;
1637
1637
  /**
1638
1638
  * @public
1639
1639
  * <p>The namespace of the requested package version. The package version component that specifies its
@@ -1743,7 +1743,7 @@ export interface PackageVersionOrigin {
1743
1743
  * <p>Describes how the package version was originally added to the domain. An <code>INTERNAL</code> origin type means the package version was published
1744
1744
  * directly to a repository in the domain. An <code>EXTERNAL</code> origin type means the package version was ingested from an external connection.</p>
1745
1745
  */
1746
- originType?: PackageVersionOriginType | string;
1746
+ originType?: PackageVersionOriginType;
1747
1747
  }
1748
1748
  /**
1749
1749
  * @public
@@ -1758,7 +1758,7 @@ export interface PackageVersionDescription {
1758
1758
  * The format of the package version.
1759
1759
  * </p>
1760
1760
  */
1761
- format?: PackageFormat | string;
1761
+ format?: PackageFormat;
1762
1762
  /**
1763
1763
  * @public
1764
1764
  * <p>The namespace of the package version. The package version component that specifies its
@@ -1859,7 +1859,7 @@ export interface PackageVersionDescription {
1859
1859
  * A string that contains the status of the package version.
1860
1860
  * </p>
1861
1861
  */
1862
- status?: PackageVersionStatus | string;
1862
+ status?: PackageVersionStatus;
1863
1863
  /**
1864
1864
  * @public
1865
1865
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains
@@ -1992,7 +1992,7 @@ export interface DisposePackageVersionsRequest {
1992
1992
  * A format that specifies the type of package versions you want to dispose.
1993
1993
  * </p>
1994
1994
  */
1995
- format: PackageFormat | string | undefined;
1995
+ format: PackageFormat | undefined;
1996
1996
  /**
1997
1997
  * @public
1998
1998
  * <p>The namespace of the package versions to be disposed. The package version component that specifies its
@@ -2047,7 +2047,7 @@ export interface DisposePackageVersionsRequest {
2047
2047
  * The expected status of the package version to dispose.
2048
2048
  * </p>
2049
2049
  */
2050
- expectedStatus?: PackageVersionStatus | string;
2050
+ expectedStatus?: PackageVersionStatus;
2051
2051
  }
2052
2052
  /**
2053
2053
  * @public
@@ -2212,7 +2212,7 @@ export interface GetPackageVersionAssetRequest {
2212
2212
  * A format that specifies the type of the package version with the requested asset file.
2213
2213
  * </p>
2214
2214
  */
2215
- format: PackageFormat | string | undefined;
2215
+ format: PackageFormat | undefined;
2216
2216
  /**
2217
2217
  * @public
2218
2218
  * <p>The namespace of the package version with the requested asset file. The package version component that specifies its
@@ -2332,7 +2332,7 @@ export interface GetPackageVersionReadmeRequest {
2332
2332
  * A format that specifies the type of the package version with the requested readme file.
2333
2333
  * </p>
2334
2334
  */
2335
- format: PackageFormat | string | undefined;
2335
+ format: PackageFormat | undefined;
2336
2336
  /**
2337
2337
  * @public
2338
2338
  * <p>The namespace of the package version with the requested readme file. The package version component that specifies its
@@ -2373,7 +2373,7 @@ export interface GetPackageVersionReadmeResult {
2373
2373
  * The format of the package with the requested readme file.
2374
2374
  * </p>
2375
2375
  */
2376
- format?: PackageFormat | string;
2376
+ format?: PackageFormat;
2377
2377
  /**
2378
2378
  * @public
2379
2379
  * <p>The namespace of the package version with the requested readme file. The package version component that specifies its
@@ -2460,7 +2460,7 @@ export interface GetRepositoryEndpointRequest {
2460
2460
  * package format.
2461
2461
  * </p>
2462
2462
  */
2463
- format: PackageFormat | string | undefined;
2463
+ format: PackageFormat | undefined;
2464
2464
  }
2465
2465
  /**
2466
2466
  * @public
@@ -2567,7 +2567,7 @@ export interface DomainSummary {
2567
2567
  * A string that contains the status of the domain.
2568
2568
  * </p>
2569
2569
  */
2570
- status?: DomainStatus | string;
2570
+ status?: DomainStatus;
2571
2571
  /**
2572
2572
  * @public
2573
2573
  * <p>
@@ -2632,7 +2632,7 @@ export interface ListPackagesRequest {
2632
2632
  * @public
2633
2633
  * <p>The format used to filter requested packages. Only packages from the provided format will be returned.</p>
2634
2634
  */
2635
- format?: PackageFormat | string;
2635
+ format?: PackageFormat;
2636
2636
  /**
2637
2637
  * @public
2638
2638
  * <p>The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called <code>--namespace</code> and not <code>--namespace-prefix</code>, it has prefix-matching behavior.</p>
@@ -2688,13 +2688,13 @@ export interface ListPackagesRequest {
2688
2688
  * Only packages with the provided restriction are returned.
2689
2689
  * For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
2690
2690
  */
2691
- publish?: AllowPublish | string;
2691
+ publish?: AllowPublish;
2692
2692
  /**
2693
2693
  * @public
2694
2694
  * <p>The value of the <code>Upstream</code> package origin control restriction used to filter requested packages.
2695
2695
  * Only packages with the provided restriction are returned. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
2696
2696
  */
2697
- upstream?: AllowUpstream | string;
2697
+ upstream?: AllowUpstream;
2698
2698
  }
2699
2699
  /**
2700
2700
  * @public
@@ -2748,7 +2748,7 @@ export interface ListPackageVersionAssetsRequest {
2748
2748
  * The format of the package that contains the requested package version assets.
2749
2749
  * </p>
2750
2750
  */
2751
- format: PackageFormat | string | undefined;
2751
+ format: PackageFormat | undefined;
2752
2752
  /**
2753
2753
  * @public
2754
2754
  * <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
@@ -2815,7 +2815,7 @@ export interface ListPackageVersionAssetsResult {
2815
2815
  * The format of the package that contains the requested package version assets.
2816
2816
  * </p>
2817
2817
  */
2818
- format?: PackageFormat | string;
2818
+ format?: PackageFormat;
2819
2819
  /**
2820
2820
  * @public
2821
2821
  * <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
@@ -2908,7 +2908,7 @@ export interface ListPackageVersionDependenciesRequest {
2908
2908
  * The format of the package with the requested dependencies.
2909
2909
  * </p>
2910
2910
  */
2911
- format: PackageFormat | string | undefined;
2911
+ format: PackageFormat | undefined;
2912
2912
  /**
2913
2913
  * @public
2914
2914
  * <p>The namespace of the package version with the requested dependencies. The package version component that specifies its
@@ -3040,7 +3040,7 @@ export interface ListPackageVersionDependenciesResult {
3040
3040
  * A format that specifies the type of the package that contains the returned dependencies.
3041
3041
  * </p>
3042
3042
  */
3043
- format?: PackageFormat | string;
3043
+ format?: PackageFormat;
3044
3044
  /**
3045
3045
  * @public
3046
3046
  * <p>The namespace of the package version that contains the returned dependencies. The package version component that specifies its
@@ -3144,7 +3144,7 @@ export interface ListPackageVersionsRequest {
3144
3144
  * The format of the package versions you want to list.
3145
3145
  * </p>
3146
3146
  */
3147
- format: PackageFormat | string | undefined;
3147
+ format: PackageFormat | undefined;
3148
3148
  /**
3149
3149
  * @public
3150
3150
  * <p>The namespace of the package that contains the requested package versions. The package component that specifies its
@@ -3185,14 +3185,14 @@ export interface ListPackageVersionsRequest {
3185
3185
  * A string that filters the requested package versions by status.
3186
3186
  * </p>
3187
3187
  */
3188
- status?: PackageVersionStatus | string;
3188
+ status?: PackageVersionStatus;
3189
3189
  /**
3190
3190
  * @public
3191
3191
  * <p>
3192
3192
  * How to sort the requested list of package versions.
3193
3193
  * </p>
3194
3194
  */
3195
- sortBy?: PackageVersionSortType | string;
3195
+ sortBy?: PackageVersionSortType;
3196
3196
  /**
3197
3197
  * @public
3198
3198
  * <p>
@@ -3212,7 +3212,7 @@ export interface ListPackageVersionsRequest {
3212
3212
  * <p>The <code>originType</code> used to filter package versions.
3213
3213
  * Only package versions with the provided <code>originType</code> will be returned.</p>
3214
3214
  */
3215
- originType?: PackageVersionOriginType | string;
3215
+ originType?: PackageVersionOriginType;
3216
3216
  }
3217
3217
  /**
3218
3218
  * @public
@@ -3243,7 +3243,7 @@ export interface PackageVersionSummary {
3243
3243
  * A string that contains the status of the package version. It can be one of the following:
3244
3244
  * </p>
3245
3245
  */
3246
- status: PackageVersionStatus | string | undefined;
3246
+ status: PackageVersionStatus | undefined;
3247
3247
  /**
3248
3248
  * @public
3249
3249
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains information
@@ -3281,7 +3281,7 @@ export interface ListPackageVersionsResult {
3281
3281
  * A format of the package.
3282
3282
  * </p>
3283
3283
  */
3284
- format?: PackageFormat | string;
3284
+ format?: PackageFormat;
3285
3285
  /**
3286
3286
  * @public
3287
3287
  * <p>The namespace of the package that contains the requested package versions. The package component that specifies its
@@ -3541,7 +3541,7 @@ export interface PublishPackageVersionRequest {
3541
3541
  * <p>A format that specifies the type of the package version with the requested asset file.</p>
3542
3542
  * <p>The only supported value is <code>generic</code>.</p>
3543
3543
  */
3544
- format: PackageFormat | string | undefined;
3544
+ format: PackageFormat | undefined;
3545
3545
  /**
3546
3546
  * @public
3547
3547
  * <p>The namespace of the package version to publish.</p>
@@ -3597,7 +3597,7 @@ export interface PublishPackageVersionResult {
3597
3597
  * @public
3598
3598
  * <p>The format of the package version.</p>
3599
3599
  */
3600
- format?: PackageFormat | string;
3600
+ format?: PackageFormat;
3601
3601
  /**
3602
3602
  * @public
3603
3603
  * <p>The namespace of the package version.</p>
@@ -3622,7 +3622,7 @@ export interface PublishPackageVersionResult {
3622
3622
  * @public
3623
3623
  * <p>A string that contains the status of the package version. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact User Guide</i>.</p>
3624
3624
  */
3625
- status?: PackageVersionStatus | string;
3625
+ status?: PackageVersionStatus;
3626
3626
  /**
3627
3627
  * @public
3628
3628
  * <p>An <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> for the published asset.</p>
@@ -3699,7 +3699,7 @@ export interface PutPackageOriginConfigurationRequest {
3699
3699
  * @public
3700
3700
  * <p>A format that specifies the type of the package to be updated.</p>
3701
3701
  */
3702
- format: PackageFormat | string | undefined;
3702
+ format: PackageFormat | undefined;
3703
3703
  /**
3704
3704
  * @public
3705
3705
  * <p>The namespace of the package to be updated. The package component that specifies its
@@ -3877,7 +3877,7 @@ export interface UpdatePackageVersionsStatusRequest {
3877
3877
  * A format that specifies the type of the package with the statuses to update.
3878
3878
  * </p>
3879
3879
  */
3880
- format: PackageFormat | string | undefined;
3880
+ format: PackageFormat | undefined;
3881
3881
  /**
3882
3882
  * @public
3883
3883
  * <p>The namespace of the package version to be updated. The package version component that specifies its
@@ -3933,14 +3933,14 @@ export interface UpdatePackageVersionsStatusRequest {
3933
3933
  * status at the time <code>UpdatePackageVersionsStatus</code> is called matches
3934
3934
  * <code>expectedStatus</code>. </p>
3935
3935
  */
3936
- expectedStatus?: PackageVersionStatus | string;
3936
+ expectedStatus?: PackageVersionStatus;
3937
3937
  /**
3938
3938
  * @public
3939
3939
  * <p>
3940
3940
  * The status you want to change the package version status to.
3941
3941
  * </p>
3942
3942
  */
3943
- targetStatus: PackageVersionStatus | string | undefined;
3943
+ targetStatus: PackageVersionStatus | undefined;
3944
3944
  }
3945
3945
  /**
3946
3946
  * @public
@@ -28,7 +28,7 @@ export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
28
28
  export interface AssetSummary {
29
29
  name: string | undefined;
30
30
  size?: number;
31
- hashes?: Record<string, string>;
31
+ hashes?: Record<HashAlgorithm, string>;
32
32
  }
33
33
  export interface AssociateExternalConnectionRequest {
34
34
  domain: string | undefined;
@@ -52,8 +52,8 @@ export type ExternalConnectionStatus =
52
52
  (typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
53
53
  export interface RepositoryExternalConnectionInfo {
54
54
  externalConnectionName?: string;
55
- packageFormat?: PackageFormat | string;
56
- status?: ExternalConnectionStatus | string;
55
+ packageFormat?: PackageFormat;
56
+ status?: ExternalConnectionStatus;
57
57
  }
58
58
  export interface UpstreamRepositoryInfo {
59
59
  repositoryName?: string;
@@ -84,7 +84,7 @@ export declare class ConflictException extends __BaseException {
84
84
  readonly name: "ConflictException";
85
85
  readonly $fault: "client";
86
86
  resourceId?: string;
87
- resourceType?: ResourceType | string;
87
+ resourceType?: ResourceType;
88
88
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
89
89
  }
90
90
  export declare class InternalServerException extends __BaseException {
@@ -98,7 +98,7 @@ export declare class ResourceNotFoundException extends __BaseException {
98
98
  readonly name: "ResourceNotFoundException";
99
99
  readonly $fault: "client";
100
100
  resourceId?: string;
101
- resourceType?: ResourceType | string;
101
+ resourceType?: ResourceType;
102
102
  constructor(
103
103
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
104
104
  );
@@ -107,7 +107,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
107
107
  readonly name: "ServiceQuotaExceededException";
108
108
  readonly $fault: "client";
109
109
  resourceId?: string;
110
- resourceType?: ResourceType | string;
110
+ resourceType?: ResourceType;
111
111
  constructor(
112
112
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
113
113
  );
@@ -132,7 +132,7 @@ export type ValidationExceptionReason =
132
132
  export declare class ValidationException extends __BaseException {
133
133
  readonly name: "ValidationException";
134
134
  readonly $fault: "client";
135
- reason?: ValidationExceptionReason | string;
135
+ reason?: ValidationExceptionReason;
136
136
  constructor(
137
137
  opts: __ExceptionOptionType<ValidationException, __BaseException>
138
138
  );
@@ -142,7 +142,7 @@ export interface CopyPackageVersionsRequest {
142
142
  domainOwner?: string;
143
143
  sourceRepository: string | undefined;
144
144
  destinationRepository: string | undefined;
145
- format: PackageFormat | string | undefined;
145
+ format: PackageFormat | undefined;
146
146
  namespace?: string;
147
147
  package: string | undefined;
148
148
  versions?: string[];
@@ -161,7 +161,7 @@ export declare const PackageVersionErrorCode: {
161
161
  export type PackageVersionErrorCode =
162
162
  (typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
163
163
  export interface PackageVersionError {
164
- errorCode?: PackageVersionErrorCode | string;
164
+ errorCode?: PackageVersionErrorCode;
165
165
  errorMessage?: string;
166
166
  }
167
167
  export declare const PackageVersionStatus: {
@@ -176,7 +176,7 @@ export type PackageVersionStatus =
176
176
  (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
177
177
  export interface SuccessfulPackageVersionInfo {
178
178
  revision?: string;
179
- status?: PackageVersionStatus | string;
179
+ status?: PackageVersionStatus;
180
180
  }
181
181
  export interface CopyPackageVersionsResult {
182
182
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
@@ -200,7 +200,7 @@ export interface DomainDescription {
200
200
  name?: string;
201
201
  owner?: string;
202
202
  arn?: string;
203
- status?: DomainStatus | string;
203
+ status?: DomainStatus;
204
204
  createdTime?: Date;
205
205
  encryptionKey?: string;
206
206
  repositoryCount?: number;
@@ -248,19 +248,19 @@ export interface DeletePackageRequest {
248
248
  domain: string | undefined;
249
249
  domainOwner?: string;
250
250
  repository: string | undefined;
251
- format: PackageFormat | string | undefined;
251
+ format: PackageFormat | undefined;
252
252
  namespace?: string;
253
253
  package: string | undefined;
254
254
  }
255
255
  export interface PackageOriginRestrictions {
256
- publish: AllowPublish | string | undefined;
257
- upstream: AllowUpstream | string | undefined;
256
+ publish: AllowPublish | undefined;
257
+ upstream: AllowUpstream | undefined;
258
258
  }
259
259
  export interface PackageOriginConfiguration {
260
260
  restrictions?: PackageOriginRestrictions;
261
261
  }
262
262
  export interface PackageSummary {
263
- format?: PackageFormat | string;
263
+ format?: PackageFormat;
264
264
  namespace?: string;
265
265
  package?: string;
266
266
  originConfiguration?: PackageOriginConfiguration;
@@ -272,11 +272,11 @@ export interface DeletePackageVersionsRequest {
272
272
  domain: string | undefined;
273
273
  domainOwner?: string;
274
274
  repository: string | undefined;
275
- format: PackageFormat | string | undefined;
275
+ format: PackageFormat | undefined;
276
276
  namespace?: string;
277
277
  package: string | undefined;
278
278
  versions: string[] | undefined;
279
- expectedStatus?: PackageVersionStatus | string;
279
+ expectedStatus?: PackageVersionStatus;
280
280
  }
281
281
  export interface DeletePackageVersionsResult {
282
282
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
@@ -310,12 +310,12 @@ export interface DescribePackageRequest {
310
310
  domain: string | undefined;
311
311
  domainOwner?: string;
312
312
  repository: string | undefined;
313
- format: PackageFormat | string | undefined;
313
+ format: PackageFormat | undefined;
314
314
  namespace?: string;
315
315
  package: string | undefined;
316
316
  }
317
317
  export interface PackageDescription {
318
- format?: PackageFormat | string;
318
+ format?: PackageFormat;
319
319
  namespace?: string;
320
320
  name?: string;
321
321
  originConfiguration?: PackageOriginConfiguration;
@@ -327,7 +327,7 @@ export interface DescribePackageVersionRequest {
327
327
  domain: string | undefined;
328
328
  domainOwner?: string;
329
329
  repository: string | undefined;
330
- format: PackageFormat | string | undefined;
330
+ format: PackageFormat | undefined;
331
331
  namespace?: string;
332
332
  package: string | undefined;
333
333
  packageVersion: string | undefined;
@@ -349,10 +349,10 @@ export type PackageVersionOriginType =
349
349
  (typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
350
350
  export interface PackageVersionOrigin {
351
351
  domainEntryPoint?: DomainEntryPoint;
352
- originType?: PackageVersionOriginType | string;
352
+ originType?: PackageVersionOriginType;
353
353
  }
354
354
  export interface PackageVersionDescription {
355
- format?: PackageFormat | string;
355
+ format?: PackageFormat;
356
356
  namespace?: string;
357
357
  packageName?: string;
358
358
  displayName?: string;
@@ -363,7 +363,7 @@ export interface PackageVersionDescription {
363
363
  publishedTime?: Date;
364
364
  licenses?: LicenseInfo[];
365
365
  revision?: string;
366
- status?: PackageVersionStatus | string;
366
+ status?: PackageVersionStatus;
367
367
  origin?: PackageVersionOrigin;
368
368
  }
369
369
  export interface DescribePackageVersionResult {
@@ -390,12 +390,12 @@ export interface DisposePackageVersionsRequest {
390
390
  domain: string | undefined;
391
391
  domainOwner?: string;
392
392
  repository: string | undefined;
393
- format: PackageFormat | string | undefined;
393
+ format: PackageFormat | undefined;
394
394
  namespace?: string;
395
395
  package: string | undefined;
396
396
  versions: string[] | undefined;
397
397
  versionRevisions?: Record<string, string>;
398
- expectedStatus?: PackageVersionStatus | string;
398
+ expectedStatus?: PackageVersionStatus;
399
399
  }
400
400
  export interface DisposePackageVersionsResult {
401
401
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
@@ -421,7 +421,7 @@ export interface GetPackageVersionAssetRequest {
421
421
  domain: string | undefined;
422
422
  domainOwner?: string;
423
423
  repository: string | undefined;
424
- format: PackageFormat | string | undefined;
424
+ format: PackageFormat | undefined;
425
425
  namespace?: string;
426
426
  package: string | undefined;
427
427
  packageVersion: string | undefined;
@@ -438,13 +438,13 @@ export interface GetPackageVersionReadmeRequest {
438
438
  domain: string | undefined;
439
439
  domainOwner?: string;
440
440
  repository: string | undefined;
441
- format: PackageFormat | string | undefined;
441
+ format: PackageFormat | undefined;
442
442
  namespace?: string;
443
443
  package: string | undefined;
444
444
  packageVersion: string | undefined;
445
445
  }
446
446
  export interface GetPackageVersionReadmeResult {
447
- format?: PackageFormat | string;
447
+ format?: PackageFormat;
448
448
  namespace?: string;
449
449
  package?: string;
450
450
  version?: string;
@@ -455,7 +455,7 @@ export interface GetRepositoryEndpointRequest {
455
455
  domain: string | undefined;
456
456
  domainOwner?: string;
457
457
  repository: string | undefined;
458
- format: PackageFormat | string | undefined;
458
+ format: PackageFormat | undefined;
459
459
  }
460
460
  export interface GetRepositoryEndpointResult {
461
461
  repositoryEndpoint?: string;
@@ -476,7 +476,7 @@ export interface DomainSummary {
476
476
  name?: string;
477
477
  owner?: string;
478
478
  arn?: string;
479
- status?: DomainStatus | string;
479
+ status?: DomainStatus;
480
480
  createdTime?: Date;
481
481
  encryptionKey?: string;
482
482
  }
@@ -488,13 +488,13 @@ export interface ListPackagesRequest {
488
488
  domain: string | undefined;
489
489
  domainOwner?: string;
490
490
  repository: string | undefined;
491
- format?: PackageFormat | string;
491
+ format?: PackageFormat;
492
492
  namespace?: string;
493
493
  packagePrefix?: string;
494
494
  maxResults?: number;
495
495
  nextToken?: string;
496
- publish?: AllowPublish | string;
497
- upstream?: AllowUpstream | string;
496
+ publish?: AllowPublish;
497
+ upstream?: AllowUpstream;
498
498
  }
499
499
  export interface ListPackagesResult {
500
500
  packages?: PackageSummary[];
@@ -504,7 +504,7 @@ export interface ListPackageVersionAssetsRequest {
504
504
  domain: string | undefined;
505
505
  domainOwner?: string;
506
506
  repository: string | undefined;
507
- format: PackageFormat | string | undefined;
507
+ format: PackageFormat | undefined;
508
508
  namespace?: string;
509
509
  package: string | undefined;
510
510
  packageVersion: string | undefined;
@@ -512,7 +512,7 @@ export interface ListPackageVersionAssetsRequest {
512
512
  nextToken?: string;
513
513
  }
514
514
  export interface ListPackageVersionAssetsResult {
515
- format?: PackageFormat | string;
515
+ format?: PackageFormat;
516
516
  namespace?: string;
517
517
  package?: string;
518
518
  version?: string;
@@ -524,7 +524,7 @@ export interface ListPackageVersionDependenciesRequest {
524
524
  domain: string | undefined;
525
525
  domainOwner?: string;
526
526
  repository: string | undefined;
527
- format: PackageFormat | string | undefined;
527
+ format: PackageFormat | undefined;
528
528
  namespace?: string;
529
529
  package: string | undefined;
530
530
  packageVersion: string | undefined;
@@ -537,7 +537,7 @@ export interface PackageDependency {
537
537
  versionRequirement?: string;
538
538
  }
539
539
  export interface ListPackageVersionDependenciesResult {
540
- format?: PackageFormat | string;
540
+ format?: PackageFormat;
541
541
  namespace?: string;
542
542
  package?: string;
543
543
  version?: string;
@@ -554,24 +554,24 @@ export interface ListPackageVersionsRequest {
554
554
  domain: string | undefined;
555
555
  domainOwner?: string;
556
556
  repository: string | undefined;
557
- format: PackageFormat | string | undefined;
557
+ format: PackageFormat | undefined;
558
558
  namespace?: string;
559
559
  package: string | undefined;
560
- status?: PackageVersionStatus | string;
561
- sortBy?: PackageVersionSortType | string;
560
+ status?: PackageVersionStatus;
561
+ sortBy?: PackageVersionSortType;
562
562
  maxResults?: number;
563
563
  nextToken?: string;
564
- originType?: PackageVersionOriginType | string;
564
+ originType?: PackageVersionOriginType;
565
565
  }
566
566
  export interface PackageVersionSummary {
567
567
  version: string | undefined;
568
568
  revision?: string;
569
- status: PackageVersionStatus | string | undefined;
569
+ status: PackageVersionStatus | undefined;
570
570
  origin?: PackageVersionOrigin;
571
571
  }
572
572
  export interface ListPackageVersionsResult {
573
573
  defaultDisplayVersion?: string;
574
- format?: PackageFormat | string;
574
+ format?: PackageFormat;
575
575
  namespace?: string;
576
576
  package?: string;
577
577
  versions?: PackageVersionSummary[];
@@ -617,7 +617,7 @@ export interface PublishPackageVersionRequest {
617
617
  domain: string | undefined;
618
618
  domainOwner?: string;
619
619
  repository: string | undefined;
620
- format: PackageFormat | string | undefined;
620
+ format: PackageFormat | undefined;
621
621
  namespace?: string;
622
622
  package: string | undefined;
623
623
  packageVersion: string | undefined;
@@ -627,12 +627,12 @@ export interface PublishPackageVersionRequest {
627
627
  unfinished?: boolean;
628
628
  }
629
629
  export interface PublishPackageVersionResult {
630
- format?: PackageFormat | string;
630
+ format?: PackageFormat;
631
631
  namespace?: string;
632
632
  package?: string;
633
633
  version?: string;
634
634
  versionRevision?: string;
635
- status?: PackageVersionStatus | string;
635
+ status?: PackageVersionStatus;
636
636
  asset?: AssetSummary;
637
637
  }
638
638
  export interface PutDomainPermissionsPolicyRequest {
@@ -648,7 +648,7 @@ export interface PutPackageOriginConfigurationRequest {
648
648
  domain: string | undefined;
649
649
  domainOwner?: string;
650
650
  repository: string | undefined;
651
- format: PackageFormat | string | undefined;
651
+ format: PackageFormat | undefined;
652
652
  namespace?: string;
653
653
  package: string | undefined;
654
654
  restrictions: PackageOriginRestrictions | undefined;
@@ -680,13 +680,13 @@ export interface UpdatePackageVersionsStatusRequest {
680
680
  domain: string | undefined;
681
681
  domainOwner?: string;
682
682
  repository: string | undefined;
683
- format: PackageFormat | string | undefined;
683
+ format: PackageFormat | undefined;
684
684
  namespace?: string;
685
685
  package: string | undefined;
686
686
  versions: string[] | undefined;
687
687
  versionRevisions?: Record<string, string>;
688
- expectedStatus?: PackageVersionStatus | string;
689
- targetStatus: PackageVersionStatus | string | undefined;
688
+ expectedStatus?: PackageVersionStatus;
689
+ targetStatus: PackageVersionStatus | undefined;
690
690
  }
691
691
  export interface UpdatePackageVersionsStatusResult {
692
692
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
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.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-stream": "^2.0.16",
58
58
  "@smithy/util-utf8": "^2.0.0",