@aws-sdk/client-codeartifact 3.1148.0 → 3.1150.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class CodeartifactServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.codeartifact#CodeartifactServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, CodeartifactServiceException.prototype);
@@ -139,6 +140,7 @@ class CodeartifactServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends CodeartifactServiceException {
143
+ static shapeId = "com.amazonaws.codeartifact#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends CodeartifactServiceException {
151
153
  }
152
154
  }
153
155
  class ConflictException extends CodeartifactServiceException {
156
+ static shapeId = "com.amazonaws.codeartifact#ConflictException";
154
157
  name = "ConflictException";
155
158
  $fault = "client";
156
159
  resourceId;
@@ -167,6 +170,7 @@ class ConflictException extends CodeartifactServiceException {
167
170
  }
168
171
  }
169
172
  class InternalServerException extends CodeartifactServiceException {
173
+ static shapeId = "com.amazonaws.codeartifact#InternalServerException";
170
174
  name = "InternalServerException";
171
175
  $fault = "server";
172
176
  constructor(opts) {
@@ -179,6 +183,7 @@ class InternalServerException extends CodeartifactServiceException {
179
183
  }
180
184
  }
181
185
  class ResourceNotFoundException extends CodeartifactServiceException {
186
+ static shapeId = "com.amazonaws.codeartifact#ResourceNotFoundException";
182
187
  name = "ResourceNotFoundException";
183
188
  $fault = "client";
184
189
  resourceId;
@@ -195,6 +200,7 @@ class ResourceNotFoundException extends CodeartifactServiceException {
195
200
  }
196
201
  }
197
202
  class ServiceQuotaExceededException extends CodeartifactServiceException {
203
+ static shapeId = "com.amazonaws.codeartifact#ServiceQuotaExceededException";
198
204
  name = "ServiceQuotaExceededException";
199
205
  $fault = "client";
200
206
  resourceId;
@@ -211,6 +217,7 @@ class ServiceQuotaExceededException extends CodeartifactServiceException {
211
217
  }
212
218
  }
213
219
  class ThrottlingException extends CodeartifactServiceException {
220
+ static shapeId = "com.amazonaws.codeartifact#ThrottlingException";
214
221
  name = "ThrottlingException";
215
222
  $fault = "client";
216
223
  retryAfterSeconds;
@@ -225,6 +232,7 @@ class ThrottlingException extends CodeartifactServiceException {
225
232
  }
226
233
  }
227
234
  class ValidationException extends CodeartifactServiceException {
235
+ static shapeId = "com.amazonaws.codeartifact#ValidationException";
228
236
  name = "ValidationException";
229
237
  $fault = "client";
230
238
  reason;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class CodeartifactServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.codeartifact#CodeartifactServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, CodeartifactServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.codeartifact#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ConflictException extends __BaseException {
16
+ static shapeId = "com.amazonaws.codeartifact#ConflictException";
15
17
  name = "ConflictException";
16
18
  $fault = "client";
17
19
  resourceId;
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class InternalServerException extends __BaseException {
33
+ static shapeId = "com.amazonaws.codeartifact#InternalServerException";
31
34
  name = "InternalServerException";
32
35
  $fault = "server";
33
36
  constructor(opts) {
@@ -40,6 +43,7 @@ export class InternalServerException extends __BaseException {
40
43
  }
41
44
  }
42
45
  export class ResourceNotFoundException extends __BaseException {
46
+ static shapeId = "com.amazonaws.codeartifact#ResourceNotFoundException";
43
47
  name = "ResourceNotFoundException";
44
48
  $fault = "client";
45
49
  resourceId;
@@ -56,6 +60,7 @@ export class ResourceNotFoundException extends __BaseException {
56
60
  }
57
61
  }
58
62
  export class ServiceQuotaExceededException extends __BaseException {
63
+ static shapeId = "com.amazonaws.codeartifact#ServiceQuotaExceededException";
59
64
  name = "ServiceQuotaExceededException";
60
65
  $fault = "client";
61
66
  resourceId;
@@ -72,6 +77,7 @@ export class ServiceQuotaExceededException extends __BaseException {
72
77
  }
73
78
  }
74
79
  export class ThrottlingException extends __BaseException {
80
+ static shapeId = "com.amazonaws.codeartifact#ThrottlingException";
75
81
  name = "ThrottlingException";
76
82
  $fault = "client";
77
83
  retryAfterSeconds;
@@ -86,6 +92,7 @@ export class ThrottlingException extends __BaseException {
86
92
  }
87
93
  }
88
94
  export class ValidationException extends __BaseException {
95
+ static shapeId = "com.amazonaws.codeartifact#ValidationException";
89
96
  name = "ValidationException";
90
97
  $fault = "client";
91
98
  reason;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Codeartifact service.
8
8
  */
9
9
  export declare class CodeartifactServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -8,6 +8,7 @@ import type { ResourceType, ValidationExceptionReason } from "./enums";
8
8
  * @public
9
9
  */
10
10
  export declare class AccessDeniedException extends __BaseException {
11
+ static readonly shapeId: string;
11
12
  readonly name: "AccessDeniedException";
12
13
  readonly $fault: "client";
13
14
  /**
@@ -22,6 +23,7 @@ export declare class AccessDeniedException extends __BaseException {
22
23
  * @public
23
24
  */
24
25
  export declare class ConflictException extends __BaseException {
26
+ static readonly shapeId: string;
25
27
  readonly name: "ConflictException";
26
28
  readonly $fault: "client";
27
29
  /**
@@ -48,6 +50,7 @@ export declare class ConflictException extends __BaseException {
48
50
  * @public
49
51
  */
50
52
  export declare class InternalServerException extends __BaseException {
53
+ static readonly shapeId: string;
51
54
  readonly name: "InternalServerException";
52
55
  readonly $fault: "server";
53
56
  /**
@@ -62,6 +65,7 @@ export declare class InternalServerException extends __BaseException {
62
65
  * @public
63
66
  */
64
67
  export declare class ResourceNotFoundException extends __BaseException {
68
+ static readonly shapeId: string;
65
69
  readonly name: "ResourceNotFoundException";
66
70
  readonly $fault: "client";
67
71
  /**
@@ -90,6 +94,7 @@ export declare class ResourceNotFoundException extends __BaseException {
90
94
  * @public
91
95
  */
92
96
  export declare class ServiceQuotaExceededException extends __BaseException {
97
+ static readonly shapeId: string;
93
98
  readonly name: "ServiceQuotaExceededException";
94
99
  readonly $fault: "client";
95
100
  /**
@@ -118,6 +123,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
118
123
  * @public
119
124
  */
120
125
  export declare class ThrottlingException extends __BaseException {
126
+ static readonly shapeId: string;
121
127
  readonly name: "ThrottlingException";
122
128
  readonly $fault: "client";
123
129
  /**
@@ -139,6 +145,7 @@ export declare class ThrottlingException extends __BaseException {
139
145
  * @public
140
146
  */
141
147
  export declare class ValidationException extends __BaseException {
148
+ static readonly shapeId: string;
142
149
  readonly name: "ValidationException";
143
150
  readonly $fault: "client";
144
151
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class CodeartifactServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -2,11 +2,13 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
3
3
  import { ResourceType, ValidationExceptionReason } from "./enums";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "AccessDeniedException";
6
7
  readonly $fault: "client";
7
8
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
9
  }
9
10
  export declare class ConflictException extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "ConflictException";
11
13
  readonly $fault: "client";
12
14
  resourceId?: string | undefined;
@@ -14,11 +16,13 @@ export declare class ConflictException extends __BaseException {
14
16
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
17
  }
16
18
  export declare class InternalServerException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "InternalServerException";
18
21
  readonly $fault: "server";
19
22
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
20
23
  }
21
24
  export declare class ResourceNotFoundException extends __BaseException {
25
+ static readonly shapeId: string;
22
26
  readonly name: "ResourceNotFoundException";
23
27
  readonly $fault: "client";
24
28
  resourceId?: string | undefined;
@@ -26,6 +30,7 @@ export declare class ResourceNotFoundException extends __BaseException {
26
30
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
27
31
  }
28
32
  export declare class ServiceQuotaExceededException extends __BaseException {
33
+ static readonly shapeId: string;
29
34
  readonly name: "ServiceQuotaExceededException";
30
35
  readonly $fault: "client";
31
36
  resourceId?: string | undefined;
@@ -33,12 +38,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
33
38
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
34
39
  }
35
40
  export declare class ThrottlingException extends __BaseException {
41
+ static readonly shapeId: string;
36
42
  readonly name: "ThrottlingException";
37
43
  readonly $fault: "client";
38
44
  retryAfterSeconds?: number | undefined;
39
45
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
40
46
  }
41
47
  export declare class ValidationException extends __BaseException {
48
+ static readonly shapeId: string;
42
49
  readonly name: "ValidationException";
43
50
  readonly $fault: "client";
44
51
  reason?: ValidationExceptionReason | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeartifact",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codeartifact",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",