@aws-sdk/client-codeartifact 3.934.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.
@@ -1,52 +1,26 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { StreamingBlobTypes } from "@smithy/types";
3
- import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
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 const AllowPublish: {
12
- readonly ALLOW: "ALLOW";
13
- readonly BLOCK: "BLOCK";
14
- };
15
- export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
16
- export declare const AllowUpstream: {
17
- readonly ALLOW: "ALLOW";
18
- readonly BLOCK: "BLOCK";
19
- };
20
- export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
21
- export declare const HashAlgorithm: {
22
- readonly MD5: "MD5";
23
- readonly SHA1: "SHA-1";
24
- readonly SHA256: "SHA-256";
25
- readonly SHA512: "SHA-512";
26
- };
27
- export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
2
+ import {
3
+ AllowPublish,
4
+ AllowUpstream,
5
+ DomainStatus,
6
+ EndpointType,
7
+ ExternalConnectionStatus,
8
+ HashAlgorithm,
9
+ PackageFormat,
10
+ PackageGroupAllowedRepositoryUpdateType,
11
+ PackageGroupAssociationType,
12
+ PackageGroupOriginRestrictionMode,
13
+ PackageGroupOriginRestrictionType,
14
+ PackageVersionErrorCode,
15
+ PackageVersionOriginType,
16
+ PackageVersionSortType,
17
+ PackageVersionStatus,
18
+ } from "./enums";
28
19
  export interface AssetSummary {
29
20
  name: string | undefined;
30
21
  size?: number | undefined;
31
22
  hashes?: Partial<Record<HashAlgorithm, string>> | undefined;
32
23
  }
33
- export declare const PackageGroupAssociationType: {
34
- readonly STRONG: "STRONG";
35
- readonly WEAK: "WEAK";
36
- };
37
- export type PackageGroupAssociationType =
38
- (typeof PackageGroupAssociationType)[keyof typeof PackageGroupAssociationType];
39
- export declare const PackageFormat: {
40
- readonly CARGO: "cargo";
41
- readonly GENERIC: "generic";
42
- readonly MAVEN: "maven";
43
- readonly NPM: "npm";
44
- readonly NUGET: "nuget";
45
- readonly PYPI: "pypi";
46
- readonly RUBY: "ruby";
47
- readonly SWIFT: "swift";
48
- };
49
- export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
50
24
  export interface AssociatedPackage {
51
25
  format?: PackageFormat | undefined;
52
26
  namespace?: string | undefined;
@@ -59,11 +33,6 @@ export interface AssociateExternalConnectionRequest {
59
33
  repository: string | undefined;
60
34
  externalConnection: string | undefined;
61
35
  }
62
- export declare const ExternalConnectionStatus: {
63
- readonly AVAILABLE: "Available";
64
- };
65
- export type ExternalConnectionStatus =
66
- (typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
67
36
  export interface RepositoryExternalConnectionInfo {
68
37
  externalConnectionName?: string | undefined;
69
38
  packageFormat?: PackageFormat | undefined;
@@ -86,71 +55,6 @@ export interface RepositoryDescription {
86
55
  export interface AssociateExternalConnectionResult {
87
56
  repository?: RepositoryDescription | undefined;
88
57
  }
89
- export declare const ResourceType: {
90
- readonly ASSET: "asset";
91
- readonly DOMAIN: "domain";
92
- readonly PACKAGE: "package";
93
- readonly PACKAGE_VERSION: "package-version";
94
- readonly REPOSITORY: "repository";
95
- };
96
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
97
- export declare class ConflictException extends __BaseException {
98
- readonly name: "ConflictException";
99
- readonly $fault: "client";
100
- resourceId?: string | undefined;
101
- resourceType?: ResourceType | undefined;
102
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
103
- }
104
- export declare class InternalServerException extends __BaseException {
105
- readonly name: "InternalServerException";
106
- readonly $fault: "server";
107
- constructor(
108
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
109
- );
110
- }
111
- export declare class ResourceNotFoundException extends __BaseException {
112
- readonly name: "ResourceNotFoundException";
113
- readonly $fault: "client";
114
- resourceId?: string | undefined;
115
- resourceType?: ResourceType | undefined;
116
- constructor(
117
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
118
- );
119
- }
120
- export declare class ServiceQuotaExceededException extends __BaseException {
121
- readonly name: "ServiceQuotaExceededException";
122
- readonly $fault: "client";
123
- resourceId?: string | undefined;
124
- resourceType?: ResourceType | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
127
- );
128
- }
129
- export declare class ThrottlingException extends __BaseException {
130
- readonly name: "ThrottlingException";
131
- readonly $fault: "client";
132
- retryAfterSeconds?: number | undefined;
133
- constructor(
134
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
135
- );
136
- }
137
- export declare const ValidationExceptionReason: {
138
- readonly CANNOT_PARSE: "CANNOT_PARSE";
139
- readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
140
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
141
- readonly OTHER: "OTHER";
142
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
143
- };
144
- export type ValidationExceptionReason =
145
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
146
- export declare class ValidationException extends __BaseException {
147
- readonly name: "ValidationException";
148
- readonly $fault: "client";
149
- reason?: ValidationExceptionReason | undefined;
150
- constructor(
151
- opts: __ExceptionOptionType<ValidationException, __BaseException>
152
- );
153
- }
154
58
  export interface CopyPackageVersionsRequest {
155
59
  domain: string | undefined;
156
60
  domainOwner?: string | undefined;
@@ -164,30 +68,10 @@ export interface CopyPackageVersionsRequest {
164
68
  allowOverwrite?: boolean | undefined;
165
69
  includeFromUpstream?: boolean | undefined;
166
70
  }
167
- export declare const PackageVersionErrorCode: {
168
- readonly ALREADY_EXISTS: "ALREADY_EXISTS";
169
- readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
170
- readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
171
- readonly NOT_ALLOWED: "NOT_ALLOWED";
172
- readonly NOT_FOUND: "NOT_FOUND";
173
- readonly SKIPPED: "SKIPPED";
174
- };
175
- export type PackageVersionErrorCode =
176
- (typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
177
71
  export interface PackageVersionError {
178
72
  errorCode?: PackageVersionErrorCode | undefined;
179
73
  errorMessage?: string | undefined;
180
74
  }
181
- export declare const PackageVersionStatus: {
182
- readonly ARCHIVED: "Archived";
183
- readonly DELETED: "Deleted";
184
- readonly DISPOSED: "Disposed";
185
- readonly PUBLISHED: "Published";
186
- readonly UNFINISHED: "Unfinished";
187
- readonly UNLISTED: "Unlisted";
188
- };
189
- export type PackageVersionStatus =
190
- (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
191
75
  export interface SuccessfulPackageVersionInfo {
192
76
  revision?: string | undefined;
193
77
  status?: PackageVersionStatus | undefined;
@@ -205,11 +89,6 @@ export interface CreateDomainRequest {
205
89
  encryptionKey?: string | undefined;
206
90
  tags?: Tag[] | undefined;
207
91
  }
208
- export declare const DomainStatus: {
209
- readonly ACTIVE: "Active";
210
- readonly DELETED: "Deleted";
211
- };
212
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
213
92
  export interface DomainDescription {
214
93
  name?: string | undefined;
215
94
  owner?: string | undefined;
@@ -232,21 +111,6 @@ export interface CreatePackageGroupRequest {
232
111
  description?: string | undefined;
233
112
  tags?: Tag[] | undefined;
234
113
  }
235
- export declare const PackageGroupOriginRestrictionType: {
236
- readonly EXTERNAL_UPSTREAM: "EXTERNAL_UPSTREAM";
237
- readonly INTERNAL_UPSTREAM: "INTERNAL_UPSTREAM";
238
- readonly PUBLISH: "PUBLISH";
239
- };
240
- export type PackageGroupOriginRestrictionType =
241
- (typeof PackageGroupOriginRestrictionType)[keyof typeof PackageGroupOriginRestrictionType];
242
- export declare const PackageGroupOriginRestrictionMode: {
243
- readonly ALLOW: "ALLOW";
244
- readonly ALLOW_SPECIFIC_REPOSITORIES: "ALLOW_SPECIFIC_REPOSITORIES";
245
- readonly BLOCK: "BLOCK";
246
- readonly INHERIT: "INHERIT";
247
- };
248
- export type PackageGroupOriginRestrictionMode =
249
- (typeof PackageGroupOriginRestrictionMode)[keyof typeof PackageGroupOriginRestrictionMode];
250
114
  export interface PackageGroupReference {
251
115
  arn?: string | undefined;
252
116
  pattern?: string | undefined;
@@ -424,13 +288,6 @@ export interface DomainEntryPoint {
424
288
  repositoryName?: string | undefined;
425
289
  externalConnectionName?: string | undefined;
426
290
  }
427
- export declare const PackageVersionOriginType: {
428
- readonly EXTERNAL: "EXTERNAL";
429
- readonly INTERNAL: "INTERNAL";
430
- readonly UNKNOWN: "UNKNOWN";
431
- };
432
- export type PackageVersionOriginType =
433
- (typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
434
291
  export interface PackageVersionOrigin {
435
292
  domainEntryPoint?: DomainEntryPoint | undefined;
436
293
  originType?: PackageVersionOriginType | undefined;
@@ -546,11 +403,6 @@ export interface GetPackageVersionReadmeResult {
546
403
  versionRevision?: string | undefined;
547
404
  readme?: string | undefined;
548
405
  }
549
- export declare const EndpointType: {
550
- readonly DUALSTACK: "dualstack";
551
- readonly IPV4: "ipv4";
552
- };
553
- export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
554
406
  export interface GetRepositoryEndpointRequest {
555
407
  domain: string | undefined;
556
408
  domainOwner?: string | undefined;
@@ -692,11 +544,6 @@ export interface ListPackageVersionDependenciesResult {
692
544
  nextToken?: string | undefined;
693
545
  dependencies?: PackageDependency[] | undefined;
694
546
  }
695
- export declare const PackageVersionSortType: {
696
- readonly PUBLISHED_TIME: "PUBLISHED_TIME";
697
- };
698
- export type PackageVersionSortType =
699
- (typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
700
547
  export interface ListPackageVersionsRequest {
701
548
  domain: string | undefined;
702
549
  domainOwner?: string | undefined;
@@ -863,12 +710,6 @@ export interface UpdatePackageGroupOriginConfigurationRequest {
863
710
  addAllowedRepositories?: PackageGroupAllowedRepository[] | undefined;
864
711
  removeAllowedRepositories?: PackageGroupAllowedRepository[] | undefined;
865
712
  }
866
- export declare const PackageGroupAllowedRepositoryUpdateType: {
867
- readonly ADDED: "ADDED";
868
- readonly REMOVED: "REMOVED";
869
- };
870
- export type PackageGroupAllowedRepositoryUpdateType =
871
- (typeof PackageGroupAllowedRepositoryUpdateType)[keyof typeof PackageGroupAllowedRepositoryUpdateType];
872
713
  export interface UpdatePackageGroupOriginConfigurationResult {
873
714
  packageGroup?: PackageGroupDescription | undefined;
874
715
  allowedRepositoryUpdates?:
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.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codeartifact",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";