@aws-sdk/client-supplychain 3.1147.0 → 3.1149.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 +9 -1
- package/dist-es/models/SupplyChainServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/SupplyChainServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/SupplyChainServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +4 -4
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.
|
|
72
|
+
var version = "3.1148.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 SupplyChainServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.supplychain#SupplyChainServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, SupplyChainServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class SupplyChainServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends SupplyChainServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.supplychain#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends SupplyChainServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ConflictException extends SupplyChainServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.supplychain#ConflictException";
|
|
154
157
|
name = "ConflictException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class ConflictException extends SupplyChainServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class InternalServerException extends SupplyChainServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.supplychain#InternalServerException";
|
|
166
170
|
name = "InternalServerException";
|
|
167
171
|
$fault = "server";
|
|
168
172
|
$retryable = {};
|
|
@@ -176,6 +180,7 @@ class InternalServerException extends SupplyChainServiceException {
|
|
|
176
180
|
}
|
|
177
181
|
}
|
|
178
182
|
class ResourceNotFoundException extends SupplyChainServiceException {
|
|
183
|
+
static shapeId = "com.amazonaws.supplychain#ResourceNotFoundException";
|
|
179
184
|
name = "ResourceNotFoundException";
|
|
180
185
|
$fault = "client";
|
|
181
186
|
constructor(opts) {
|
|
@@ -188,6 +193,7 @@ class ResourceNotFoundException extends SupplyChainServiceException {
|
|
|
188
193
|
}
|
|
189
194
|
}
|
|
190
195
|
class ServiceQuotaExceededException extends SupplyChainServiceException {
|
|
196
|
+
static shapeId = "com.amazonaws.supplychain#ServiceQuotaExceededException";
|
|
191
197
|
name = "ServiceQuotaExceededException";
|
|
192
198
|
$fault = "client";
|
|
193
199
|
constructor(opts) {
|
|
@@ -200,6 +206,7 @@ class ServiceQuotaExceededException extends SupplyChainServiceException {
|
|
|
200
206
|
}
|
|
201
207
|
}
|
|
202
208
|
class ThrottlingException extends SupplyChainServiceException {
|
|
209
|
+
static shapeId = "com.amazonaws.supplychain#ThrottlingException";
|
|
203
210
|
name = "ThrottlingException";
|
|
204
211
|
$fault = "client";
|
|
205
212
|
$retryable = {
|
|
@@ -215,6 +222,7 @@ class ThrottlingException extends SupplyChainServiceException {
|
|
|
215
222
|
}
|
|
216
223
|
}
|
|
217
224
|
class ValidationException extends SupplyChainServiceException {
|
|
225
|
+
static shapeId = "com.amazonaws.supplychain#ValidationException";
|
|
218
226
|
name = "ValidationException";
|
|
219
227
|
$fault = "client";
|
|
220
228
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SupplyChainServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.supplychain#SupplyChainServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SupplyChainServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SupplyChainServiceException as __BaseException } from "./SupplyChainServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.supplychain#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.supplychain#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class ConflictException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class InternalServerException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.supplychain#InternalServerException";
|
|
27
30
|
name = "InternalServerException";
|
|
28
31
|
$fault = "server";
|
|
29
32
|
$retryable = {};
|
|
@@ -37,6 +40,7 @@ export class InternalServerException extends __BaseException {
|
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
export class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
static shapeId = "com.amazonaws.supplychain#ResourceNotFoundException";
|
|
40
44
|
name = "ResourceNotFoundException";
|
|
41
45
|
$fault = "client";
|
|
42
46
|
constructor(opts) {
|
|
@@ -49,6 +53,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
49
53
|
}
|
|
50
54
|
}
|
|
51
55
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
56
|
+
static shapeId = "com.amazonaws.supplychain#ServiceQuotaExceededException";
|
|
52
57
|
name = "ServiceQuotaExceededException";
|
|
53
58
|
$fault = "client";
|
|
54
59
|
constructor(opts) {
|
|
@@ -61,6 +66,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
61
66
|
}
|
|
62
67
|
}
|
|
63
68
|
export class ThrottlingException extends __BaseException {
|
|
69
|
+
static shapeId = "com.amazonaws.supplychain#ThrottlingException";
|
|
64
70
|
name = "ThrottlingException";
|
|
65
71
|
$fault = "client";
|
|
66
72
|
$retryable = {
|
|
@@ -76,6 +82,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
export class ValidationException extends __BaseException {
|
|
85
|
+
static shapeId = "com.amazonaws.supplychain#ValidationException";
|
|
79
86
|
name = "ValidationException";
|
|
80
87
|
$fault = "client";
|
|
81
88
|
constructor(opts) {
|
|
@@ -5,6 +5,7 @@ import { SupplyChainServiceException as __BaseException } from "./SupplyChainSer
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
19
20
|
export declare class ConflictException extends __BaseException {
|
|
21
|
+
static readonly shapeId: string;
|
|
20
22
|
readonly name: "ConflictException";
|
|
21
23
|
readonly $fault: "client";
|
|
22
24
|
/**
|
|
@@ -29,6 +31,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
29
31
|
* @public
|
|
30
32
|
*/
|
|
31
33
|
export declare class InternalServerException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
32
35
|
readonly name: "InternalServerException";
|
|
33
36
|
readonly $fault: "server";
|
|
34
37
|
$retryable: {};
|
|
@@ -42,6 +45,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
47
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
45
49
|
readonly name: "ResourceNotFoundException";
|
|
46
50
|
readonly $fault: "client";
|
|
47
51
|
/**
|
|
@@ -54,6 +58,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
60
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
57
62
|
readonly name: "ServiceQuotaExceededException";
|
|
58
63
|
readonly $fault: "client";
|
|
59
64
|
/**
|
|
@@ -66,6 +71,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
66
71
|
* @public
|
|
67
72
|
*/
|
|
68
73
|
export declare class ThrottlingException extends __BaseException {
|
|
74
|
+
static readonly shapeId: string;
|
|
69
75
|
readonly name: "ThrottlingException";
|
|
70
76
|
readonly $fault: "client";
|
|
71
77
|
$retryable: {
|
|
@@ -81,6 +87,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
81
87
|
* @public
|
|
82
88
|
*/
|
|
83
89
|
export declare class ValidationException extends __BaseException {
|
|
90
|
+
static readonly shapeId: string;
|
|
84
91
|
readonly name: "ValidationException";
|
|
85
92
|
readonly $fault: "client";
|
|
86
93
|
/**
|
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SupplyChainServiceException as __BaseException } from "./SupplyChainServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class ConflictException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "ConflictException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class InternalServerException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "InternalServerException";
|
|
15
18
|
readonly $fault: "server";
|
|
16
19
|
$retryable: {};
|
|
17
20
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "ResourceNotFoundException";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "ServiceQuotaExceededException";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class ThrottlingException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "ThrottlingException";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
$retryable: {
|
|
@@ -35,6 +41,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
35
41
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
36
42
|
}
|
|
37
43
|
export declare class ValidationException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
38
45
|
readonly name: "ValidationException";
|
|
39
46
|
readonly $fault: "client";
|
|
40
47
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-supplychain",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Supplychain Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-supplychain",
|
|
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.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
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",
|