@aws-sdk/client-codeartifact 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodeartifactServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +103 -2
- package/dist-cjs/protocols/Aws_restJson1.js +390 -1547
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodeartifactServiceException.js +12 -0
- package/dist-es/models/models_0.js +94 -1
- package/dist-es/protocols/Aws_restJson1.js +839 -1691
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodeartifactServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodeartifactServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Codeartifact service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CodeartifactServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* <p>
|
|
6
7
|
* The operation did not succeed because of an unauthorized access attempt.
|
|
7
8
|
* </p>
|
|
8
9
|
*/
|
|
9
|
-
export
|
|
10
|
-
name: "AccessDeniedException";
|
|
11
|
-
$fault: "client";
|
|
12
|
-
|
|
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>);
|
|
13
17
|
}
|
|
14
18
|
export declare enum HashAlgorithm {
|
|
15
19
|
MD5 = "MD5",
|
|
@@ -272,10 +276,9 @@ export declare enum ResourceType {
|
|
|
272
276
|
* The operation did not succeed because prerequisites are not met.
|
|
273
277
|
* </p>
|
|
274
278
|
*/
|
|
275
|
-
export
|
|
276
|
-
name: "ConflictException";
|
|
277
|
-
$fault: "client";
|
|
278
|
-
message: string | undefined;
|
|
279
|
+
export declare class ConflictException extends __BaseException {
|
|
280
|
+
readonly name: "ConflictException";
|
|
281
|
+
readonly $fault: "client";
|
|
279
282
|
/**
|
|
280
283
|
* <p>
|
|
281
284
|
* The ID of the resource.
|
|
@@ -288,24 +291,30 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
288
291
|
* </p>
|
|
289
292
|
*/
|
|
290
293
|
resourceType?: ResourceType | string;
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
291
298
|
}
|
|
292
299
|
/**
|
|
293
300
|
* <p> The operation did not succeed because of an error that occurred inside AWS CodeArtifact. </p>
|
|
294
301
|
*/
|
|
295
|
-
export
|
|
296
|
-
name: "InternalServerException";
|
|
297
|
-
$fault: "server";
|
|
298
|
-
|
|
302
|
+
export declare class InternalServerException extends __BaseException {
|
|
303
|
+
readonly name: "InternalServerException";
|
|
304
|
+
readonly $fault: "server";
|
|
305
|
+
/**
|
|
306
|
+
* @internal
|
|
307
|
+
*/
|
|
308
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
299
309
|
}
|
|
300
310
|
/**
|
|
301
311
|
* <p>
|
|
302
312
|
* The operation did not succeed because the resource requested is not found in the service.
|
|
303
313
|
* </p>
|
|
304
314
|
*/
|
|
305
|
-
export
|
|
306
|
-
name: "ResourceNotFoundException";
|
|
307
|
-
$fault: "client";
|
|
308
|
-
message: string | undefined;
|
|
315
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
316
|
+
readonly name: "ResourceNotFoundException";
|
|
317
|
+
readonly $fault: "client";
|
|
309
318
|
/**
|
|
310
319
|
* <p>
|
|
311
320
|
* The ID of the resource.
|
|
@@ -318,16 +327,19 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
318
327
|
* </p>
|
|
319
328
|
*/
|
|
320
329
|
resourceType?: ResourceType | string;
|
|
330
|
+
/**
|
|
331
|
+
* @internal
|
|
332
|
+
*/
|
|
333
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
321
334
|
}
|
|
322
335
|
/**
|
|
323
336
|
* <p>
|
|
324
337
|
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
325
338
|
* </p>
|
|
326
339
|
*/
|
|
327
|
-
export
|
|
328
|
-
name: "ServiceQuotaExceededException";
|
|
329
|
-
$fault: "client";
|
|
330
|
-
message: string | undefined;
|
|
340
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
341
|
+
readonly name: "ServiceQuotaExceededException";
|
|
342
|
+
readonly $fault: "client";
|
|
331
343
|
/**
|
|
332
344
|
* <p>
|
|
333
345
|
* The ID of the resource.
|
|
@@ -340,22 +352,29 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
340
352
|
* </p>
|
|
341
353
|
*/
|
|
342
354
|
resourceType?: ResourceType | string;
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
343
359
|
}
|
|
344
360
|
/**
|
|
345
361
|
* <p>
|
|
346
362
|
* The operation did not succeed because too many requests are sent to the service.
|
|
347
363
|
* </p>
|
|
348
364
|
*/
|
|
349
|
-
export
|
|
350
|
-
name: "ThrottlingException";
|
|
351
|
-
$fault: "client";
|
|
352
|
-
message: string | undefined;
|
|
365
|
+
export declare class ThrottlingException extends __BaseException {
|
|
366
|
+
readonly name: "ThrottlingException";
|
|
367
|
+
readonly $fault: "client";
|
|
353
368
|
/**
|
|
354
369
|
* <p>
|
|
355
370
|
* The time period, in seconds, to wait before retrying the request.
|
|
356
371
|
* </p>
|
|
357
372
|
*/
|
|
358
373
|
retryAfterSeconds?: number;
|
|
374
|
+
/**
|
|
375
|
+
* @internal
|
|
376
|
+
*/
|
|
377
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
359
378
|
}
|
|
360
379
|
export declare enum ValidationExceptionReason {
|
|
361
380
|
CANNOT_PARSE = "CANNOT_PARSE",
|
|
@@ -369,16 +388,19 @@ export declare enum ValidationExceptionReason {
|
|
|
369
388
|
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
370
389
|
* </p>
|
|
371
390
|
*/
|
|
372
|
-
export
|
|
373
|
-
name: "ValidationException";
|
|
374
|
-
$fault: "client";
|
|
375
|
-
message: string | undefined;
|
|
391
|
+
export declare class ValidationException extends __BaseException {
|
|
392
|
+
readonly name: "ValidationException";
|
|
393
|
+
readonly $fault: "client";
|
|
376
394
|
/**
|
|
377
395
|
* <p>
|
|
378
396
|
*
|
|
379
397
|
* </p>
|
|
380
398
|
*/
|
|
381
399
|
reason?: ValidationExceptionReason | string;
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
382
404
|
}
|
|
383
405
|
export interface CopyPackageVersionsRequest {
|
|
384
406
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class CodeartifactServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
|
|
4
5
|
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
|
|
10
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
11
|
}
|
|
10
12
|
export declare enum HashAlgorithm {
|
|
11
13
|
MD5 = "MD5",
|
|
@@ -112,48 +114,53 @@ export declare enum ResourceType {
|
|
|
112
114
|
REPOSITORY = "repository"
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
export
|
|
116
|
-
name: "ConflictException";
|
|
117
|
-
$fault: "client";
|
|
118
|
-
message: string | undefined;
|
|
117
|
+
export declare class ConflictException extends __BaseException {
|
|
118
|
+
readonly name: "ConflictException";
|
|
119
|
+
readonly $fault: "client";
|
|
119
120
|
|
|
120
121
|
resourceId?: string;
|
|
121
122
|
|
|
122
123
|
resourceType?: ResourceType | string;
|
|
124
|
+
|
|
125
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
export
|
|
126
|
-
name: "InternalServerException";
|
|
127
|
-
$fault: "server";
|
|
128
|
-
|
|
128
|
+
export declare class InternalServerException extends __BaseException {
|
|
129
|
+
readonly name: "InternalServerException";
|
|
130
|
+
readonly $fault: "server";
|
|
131
|
+
|
|
132
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
129
133
|
}
|
|
130
134
|
|
|
131
|
-
export
|
|
132
|
-
name: "ResourceNotFoundException";
|
|
133
|
-
$fault: "client";
|
|
134
|
-
message: string | undefined;
|
|
135
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
136
|
+
readonly name: "ResourceNotFoundException";
|
|
137
|
+
readonly $fault: "client";
|
|
135
138
|
|
|
136
139
|
resourceId?: string;
|
|
137
140
|
|
|
138
141
|
resourceType?: ResourceType | string;
|
|
142
|
+
|
|
143
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
139
144
|
}
|
|
140
145
|
|
|
141
|
-
export
|
|
142
|
-
name: "ServiceQuotaExceededException";
|
|
143
|
-
$fault: "client";
|
|
144
|
-
message: string | undefined;
|
|
146
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
147
|
+
readonly name: "ServiceQuotaExceededException";
|
|
148
|
+
readonly $fault: "client";
|
|
145
149
|
|
|
146
150
|
resourceId?: string;
|
|
147
151
|
|
|
148
152
|
resourceType?: ResourceType | string;
|
|
153
|
+
|
|
154
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
149
155
|
}
|
|
150
156
|
|
|
151
|
-
export
|
|
152
|
-
name: "ThrottlingException";
|
|
153
|
-
$fault: "client";
|
|
154
|
-
message: string | undefined;
|
|
157
|
+
export declare class ThrottlingException extends __BaseException {
|
|
158
|
+
readonly name: "ThrottlingException";
|
|
159
|
+
readonly $fault: "client";
|
|
155
160
|
|
|
156
161
|
retryAfterSeconds?: number;
|
|
162
|
+
|
|
163
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
157
164
|
}
|
|
158
165
|
export declare enum ValidationExceptionReason {
|
|
159
166
|
CANNOT_PARSE = "CANNOT_PARSE",
|
|
@@ -163,12 +170,13 @@ export declare enum ValidationExceptionReason {
|
|
|
163
170
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
164
171
|
}
|
|
165
172
|
|
|
166
|
-
export
|
|
167
|
-
name: "ValidationException";
|
|
168
|
-
$fault: "client";
|
|
169
|
-
message: string | undefined;
|
|
173
|
+
export declare class ValidationException extends __BaseException {
|
|
174
|
+
readonly name: "ValidationException";
|
|
175
|
+
readonly $fault: "client";
|
|
170
176
|
|
|
171
177
|
reason?: ValidationExceptionReason | string;
|
|
178
|
+
|
|
179
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
172
180
|
}
|
|
173
181
|
export interface CopyPackageVersionsRequest {
|
|
174
182
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeartifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.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",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|