@aws-sdk/client-mgn 3.1148.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 +10 -1
- package/dist-es/models/MgnServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/MgnServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/MgnServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -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 MgnServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mgn#MgnServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, MgnServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class MgnServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends MgnServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.mgn#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
code;
|
|
@@ -153,6 +155,7 @@ class AccessDeniedException extends MgnServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ConflictException extends MgnServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.mgn#ConflictException";
|
|
156
159
|
name = "ConflictException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
code;
|
|
@@ -173,6 +176,7 @@ class ConflictException extends MgnServiceException {
|
|
|
173
176
|
}
|
|
174
177
|
}
|
|
175
178
|
class ResourceNotFoundException extends MgnServiceException {
|
|
179
|
+
static shapeId = "com.amazonaws.mgn#ResourceNotFoundException";
|
|
176
180
|
name = "ResourceNotFoundException";
|
|
177
181
|
$fault = "client";
|
|
178
182
|
code;
|
|
@@ -191,6 +195,7 @@ class ResourceNotFoundException extends MgnServiceException {
|
|
|
191
195
|
}
|
|
192
196
|
}
|
|
193
197
|
class ServiceQuotaExceededException extends MgnServiceException {
|
|
198
|
+
static shapeId = "com.amazonaws.mgn#ServiceQuotaExceededException";
|
|
194
199
|
name = "ServiceQuotaExceededException";
|
|
195
200
|
$fault = "client";
|
|
196
201
|
code;
|
|
@@ -215,6 +220,7 @@ class ServiceQuotaExceededException extends MgnServiceException {
|
|
|
215
220
|
}
|
|
216
221
|
}
|
|
217
222
|
class UninitializedAccountException extends MgnServiceException {
|
|
223
|
+
static shapeId = "com.amazonaws.mgn#UninitializedAccountException";
|
|
218
224
|
name = "UninitializedAccountException";
|
|
219
225
|
$fault = "client";
|
|
220
226
|
code;
|
|
@@ -229,6 +235,7 @@ class UninitializedAccountException extends MgnServiceException {
|
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
class ValidationException extends MgnServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.mgn#ValidationException";
|
|
232
239
|
name = "ValidationException";
|
|
233
240
|
$fault = "client";
|
|
234
241
|
code;
|
|
@@ -247,6 +254,7 @@ class ValidationException extends MgnServiceException {
|
|
|
247
254
|
}
|
|
248
255
|
}
|
|
249
256
|
class InternalServerException extends MgnServiceException {
|
|
257
|
+
static shapeId = "com.amazonaws.mgn#InternalServerException";
|
|
250
258
|
name = "InternalServerException";
|
|
251
259
|
$fault = "server";
|
|
252
260
|
retryAfterSeconds;
|
|
@@ -261,6 +269,7 @@ class InternalServerException extends MgnServiceException {
|
|
|
261
269
|
}
|
|
262
270
|
}
|
|
263
271
|
class ThrottlingException extends MgnServiceException {
|
|
272
|
+
static shapeId = "com.amazonaws.mgn#ThrottlingException";
|
|
264
273
|
name = "ThrottlingException";
|
|
265
274
|
$fault = "client";
|
|
266
275
|
serviceCode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class MgnServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mgn#MgnServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, MgnServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.mgn#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
code;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.mgn#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
code;
|
|
@@ -34,6 +36,7 @@ export class ConflictException extends __BaseException {
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
export class ResourceNotFoundException extends __BaseException {
|
|
39
|
+
static shapeId = "com.amazonaws.mgn#ResourceNotFoundException";
|
|
37
40
|
name = "ResourceNotFoundException";
|
|
38
41
|
$fault = "client";
|
|
39
42
|
code;
|
|
@@ -52,6 +55,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
58
|
+
static shapeId = "com.amazonaws.mgn#ServiceQuotaExceededException";
|
|
55
59
|
name = "ServiceQuotaExceededException";
|
|
56
60
|
$fault = "client";
|
|
57
61
|
code;
|
|
@@ -76,6 +80,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
export class UninitializedAccountException extends __BaseException {
|
|
83
|
+
static shapeId = "com.amazonaws.mgn#UninitializedAccountException";
|
|
79
84
|
name = "UninitializedAccountException";
|
|
80
85
|
$fault = "client";
|
|
81
86
|
code;
|
|
@@ -90,6 +95,7 @@ export class UninitializedAccountException extends __BaseException {
|
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
export class ValidationException extends __BaseException {
|
|
98
|
+
static shapeId = "com.amazonaws.mgn#ValidationException";
|
|
93
99
|
name = "ValidationException";
|
|
94
100
|
$fault = "client";
|
|
95
101
|
code;
|
|
@@ -108,6 +114,7 @@ export class ValidationException extends __BaseException {
|
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
116
|
export class InternalServerException extends __BaseException {
|
|
117
|
+
static shapeId = "com.amazonaws.mgn#InternalServerException";
|
|
111
118
|
name = "InternalServerException";
|
|
112
119
|
$fault = "server";
|
|
113
120
|
retryAfterSeconds;
|
|
@@ -122,6 +129,7 @@ export class InternalServerException extends __BaseException {
|
|
|
122
129
|
}
|
|
123
130
|
}
|
|
124
131
|
export class ThrottlingException extends __BaseException {
|
|
132
|
+
static shapeId = "com.amazonaws.mgn#ThrottlingException";
|
|
125
133
|
name = "ThrottlingException";
|
|
126
134
|
$fault = "client";
|
|
127
135
|
serviceCode;
|
|
@@ -7,6 +7,7 @@ import type { ErrorDetails, ValidationExceptionField } from "./models_0";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
code?: string | undefined;
|
|
@@ -20,6 +21,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
23
|
export declare class ConflictException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
23
25
|
readonly name: "ConflictException";
|
|
24
26
|
readonly $fault: "client";
|
|
25
27
|
code?: string | undefined;
|
|
@@ -48,6 +50,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
48
50
|
* @public
|
|
49
51
|
*/
|
|
50
52
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
51
54
|
readonly name: "ResourceNotFoundException";
|
|
52
55
|
readonly $fault: "client";
|
|
53
56
|
code?: string | undefined;
|
|
@@ -71,6 +74,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
71
74
|
* @public
|
|
72
75
|
*/
|
|
73
76
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
77
|
+
static readonly shapeId: string;
|
|
74
78
|
readonly name: "ServiceQuotaExceededException";
|
|
75
79
|
readonly $fault: "client";
|
|
76
80
|
code?: string | undefined;
|
|
@@ -109,6 +113,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
109
113
|
* @public
|
|
110
114
|
*/
|
|
111
115
|
export declare class UninitializedAccountException extends __BaseException {
|
|
116
|
+
static readonly shapeId: string;
|
|
112
117
|
readonly name: "UninitializedAccountException";
|
|
113
118
|
readonly $fault: "client";
|
|
114
119
|
code?: string | undefined;
|
|
@@ -122,6 +127,7 @@ export declare class UninitializedAccountException extends __BaseException {
|
|
|
122
127
|
* @public
|
|
123
128
|
*/
|
|
124
129
|
export declare class ValidationException extends __BaseException {
|
|
130
|
+
static readonly shapeId: string;
|
|
125
131
|
readonly name: "ValidationException";
|
|
126
132
|
readonly $fault: "client";
|
|
127
133
|
code?: string | undefined;
|
|
@@ -145,6 +151,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
145
151
|
* @public
|
|
146
152
|
*/
|
|
147
153
|
export declare class InternalServerException extends __BaseException {
|
|
154
|
+
static readonly shapeId: string;
|
|
148
155
|
readonly name: "InternalServerException";
|
|
149
156
|
readonly $fault: "server";
|
|
150
157
|
/**
|
|
@@ -162,6 +169,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
162
169
|
* @public
|
|
163
170
|
*/
|
|
164
171
|
export declare class ThrottlingException extends __BaseException {
|
|
172
|
+
static readonly shapeId: string;
|
|
165
173
|
readonly name: "ThrottlingException";
|
|
166
174
|
readonly $fault: "client";
|
|
167
175
|
/**
|
|
@@ -3,12 +3,14 @@ import { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
4
4
|
import { ErrorDetails, ValidationExceptionField } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
code?: string | undefined;
|
|
9
10
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
11
|
}
|
|
11
12
|
export declare class ConflictException extends __BaseException {
|
|
13
|
+
static readonly shapeId: string;
|
|
12
14
|
readonly name: "ConflictException";
|
|
13
15
|
readonly $fault: "client";
|
|
14
16
|
code?: string | undefined;
|
|
@@ -18,6 +20,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
21
|
}
|
|
20
22
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
21
24
|
readonly name: "ResourceNotFoundException";
|
|
22
25
|
readonly $fault: "client";
|
|
23
26
|
code?: string | undefined;
|
|
@@ -26,6 +29,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
26
29
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
27
30
|
}
|
|
28
31
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
29
33
|
readonly name: "ServiceQuotaExceededException";
|
|
30
34
|
readonly $fault: "client";
|
|
31
35
|
code?: string | undefined;
|
|
@@ -37,12 +41,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
37
41
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
38
42
|
}
|
|
39
43
|
export declare class UninitializedAccountException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
40
45
|
readonly name: "UninitializedAccountException";
|
|
41
46
|
readonly $fault: "client";
|
|
42
47
|
code?: string | undefined;
|
|
43
48
|
constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
|
|
44
49
|
}
|
|
45
50
|
export declare class ValidationException extends __BaseException {
|
|
51
|
+
static readonly shapeId: string;
|
|
46
52
|
readonly name: "ValidationException";
|
|
47
53
|
readonly $fault: "client";
|
|
48
54
|
code?: string | undefined;
|
|
@@ -51,12 +57,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
51
57
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
52
58
|
}
|
|
53
59
|
export declare class InternalServerException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
54
61
|
readonly name: "InternalServerException";
|
|
55
62
|
readonly $fault: "server";
|
|
56
63
|
retryAfterSeconds?: number | undefined;
|
|
57
64
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
58
65
|
}
|
|
59
66
|
export declare class ThrottlingException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
60
68
|
readonly name: "ThrottlingException";
|
|
61
69
|
readonly $fault: "client";
|
|
62
70
|
serviceCode?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mgn",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mgn",
|
|
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",
|