@aws-sdk/client-mgn 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/MgnServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +128 -2
- package/dist-cjs/protocols/Aws_restJson1.js +292 -957
- package/dist-es/index.js +1 -0
- package/dist-es/models/MgnServiceException.js +12 -0
- package/dist-es/models/models_0.js +118 -1
- package/dist-es/protocols/Aws_restJson1.js +605 -1082
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MgnServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MgnServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- 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 Mgn service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MgnServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Operating denied due to a file permission or access check error.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
message?: string;
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
9
|
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
14
|
}
|
|
11
15
|
export interface InitializeServiceRequest {
|
|
12
16
|
}
|
|
@@ -52,10 +56,9 @@ export declare enum ValidationExceptionReason {
|
|
|
52
56
|
/**
|
|
53
57
|
* <p>Validate exception.</p>
|
|
54
58
|
*/
|
|
55
|
-
export
|
|
56
|
-
name: "ValidationException";
|
|
57
|
-
$fault: "client";
|
|
58
|
-
message?: string;
|
|
59
|
+
export declare class ValidationException extends __BaseException {
|
|
60
|
+
readonly name: "ValidationException";
|
|
61
|
+
readonly $fault: "client";
|
|
59
62
|
code?: string;
|
|
60
63
|
/**
|
|
61
64
|
* <p>Validate exception reason.</p>
|
|
@@ -65,14 +68,17 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
65
68
|
* <p>Validate exception field list.</p>
|
|
66
69
|
*/
|
|
67
70
|
fieldList?: ValidationExceptionField[];
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
68
75
|
}
|
|
69
76
|
/**
|
|
70
77
|
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
71
78
|
*/
|
|
72
|
-
export
|
|
73
|
-
name: "ConflictException";
|
|
74
|
-
$fault: "client";
|
|
75
|
-
message?: string;
|
|
79
|
+
export declare class ConflictException extends __BaseException {
|
|
80
|
+
readonly name: "ConflictException";
|
|
81
|
+
readonly $fault: "client";
|
|
76
82
|
code?: string;
|
|
77
83
|
/**
|
|
78
84
|
* <p>A conflict occured when prompting for the Resource ID.</p>
|
|
@@ -82,6 +88,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
82
88
|
* <p>A conflict occured when prompting for resource type.</p>
|
|
83
89
|
*/
|
|
84
90
|
resourceType?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
85
95
|
}
|
|
86
96
|
export interface DeleteJobRequest {
|
|
87
97
|
/**
|
|
@@ -106,10 +116,9 @@ export declare namespace DeleteJobResponse {
|
|
|
106
116
|
/**
|
|
107
117
|
* <p>Resource not found exception.</p>
|
|
108
118
|
*/
|
|
109
|
-
export
|
|
110
|
-
name: "ResourceNotFoundException";
|
|
111
|
-
$fault: "client";
|
|
112
|
-
message?: string;
|
|
119
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
120
|
+
readonly name: "ResourceNotFoundException";
|
|
121
|
+
readonly $fault: "client";
|
|
113
122
|
code?: string;
|
|
114
123
|
/**
|
|
115
124
|
* <p>Resource ID not found error.</p>
|
|
@@ -119,15 +128,22 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
119
128
|
* <p>Resource type not found error.</p>
|
|
120
129
|
*/
|
|
121
130
|
resourceType?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
122
135
|
}
|
|
123
136
|
/**
|
|
124
137
|
* <p>Unitialized account exception.</p>
|
|
125
138
|
*/
|
|
126
|
-
export
|
|
127
|
-
name: "UninitializedAccountException";
|
|
128
|
-
$fault: "client";
|
|
129
|
-
message?: string;
|
|
139
|
+
export declare class UninitializedAccountException extends __BaseException {
|
|
140
|
+
readonly name: "UninitializedAccountException";
|
|
141
|
+
readonly $fault: "client";
|
|
130
142
|
code?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
146
|
+
constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
|
|
131
147
|
}
|
|
132
148
|
export interface DescribeJobLogItemsRequest {
|
|
133
149
|
/**
|
|
@@ -385,14 +401,17 @@ export declare namespace DescribeJobsResponse {
|
|
|
385
401
|
/**
|
|
386
402
|
* <p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>
|
|
387
403
|
*/
|
|
388
|
-
export
|
|
389
|
-
name: "InternalServerException";
|
|
390
|
-
$fault: "server";
|
|
391
|
-
message: string | undefined;
|
|
404
|
+
export declare class InternalServerException extends __BaseException {
|
|
405
|
+
readonly name: "InternalServerException";
|
|
406
|
+
readonly $fault: "server";
|
|
392
407
|
/**
|
|
393
408
|
* <p>The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.</p>
|
|
394
409
|
*/
|
|
395
410
|
retryAfterSeconds?: number;
|
|
411
|
+
/**
|
|
412
|
+
* @internal
|
|
413
|
+
*/
|
|
414
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
396
415
|
}
|
|
397
416
|
export interface ListTagsForResourceRequest {
|
|
398
417
|
/**
|
|
@@ -423,10 +442,9 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
423
442
|
/**
|
|
424
443
|
* <p>Reached throttling quota exception.</p>
|
|
425
444
|
*/
|
|
426
|
-
export
|
|
427
|
-
name: "ThrottlingException";
|
|
428
|
-
$fault: "client";
|
|
429
|
-
message: string | undefined;
|
|
445
|
+
export declare class ThrottlingException extends __BaseException {
|
|
446
|
+
readonly name: "ThrottlingException";
|
|
447
|
+
readonly $fault: "client";
|
|
430
448
|
/**
|
|
431
449
|
* <p>Reached throttling quota exception service code.</p>
|
|
432
450
|
*/
|
|
@@ -439,6 +457,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
439
457
|
* <p>Reached throttling quota exception will retry after x seconds.</p>
|
|
440
458
|
*/
|
|
441
459
|
retryAfterSeconds?: string;
|
|
460
|
+
/**
|
|
461
|
+
* @internal
|
|
462
|
+
*/
|
|
463
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
442
464
|
}
|
|
443
465
|
export declare enum ReplicationConfigurationDataPlaneRouting {
|
|
444
466
|
PRIVATE_IP = "PRIVATE_IP",
|
|
@@ -1712,10 +1734,9 @@ export declare namespace StartCutoverResponse {
|
|
|
1712
1734
|
/**
|
|
1713
1735
|
* <p>The request could not be completed because its exceeded the service quota.</p>
|
|
1714
1736
|
*/
|
|
1715
|
-
export
|
|
1716
|
-
name: "ServiceQuotaExceededException";
|
|
1717
|
-
$fault: "client";
|
|
1718
|
-
message?: string;
|
|
1737
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1738
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1739
|
+
readonly $fault: "client";
|
|
1719
1740
|
code?: string;
|
|
1720
1741
|
/**
|
|
1721
1742
|
* <p>Exceeded the service quota resource Id.</p>
|
|
@@ -1733,6 +1754,10 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1733
1754
|
* <p>Exceeded the service quota code.</p>
|
|
1734
1755
|
*/
|
|
1735
1756
|
quotaCode?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* @internal
|
|
1759
|
+
*/
|
|
1760
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1736
1761
|
}
|
|
1737
1762
|
export interface StartReplicationRequest {
|
|
1738
1763
|
/**
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
message?: string;
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
7
|
code?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
10
|
}
|
|
9
11
|
export interface InitializeServiceRequest {
|
|
10
12
|
}
|
|
@@ -36,26 +38,28 @@ export declare enum ValidationExceptionReason {
|
|
|
36
38
|
UNKNOWN_OPERATION = "unknownOperation"
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
export
|
|
40
|
-
name: "ValidationException";
|
|
41
|
-
$fault: "client";
|
|
42
|
-
message?: string;
|
|
41
|
+
export declare class ValidationException extends __BaseException {
|
|
42
|
+
readonly name: "ValidationException";
|
|
43
|
+
readonly $fault: "client";
|
|
43
44
|
code?: string;
|
|
44
45
|
|
|
45
46
|
reason?: ValidationExceptionReason | string;
|
|
46
47
|
|
|
47
48
|
fieldList?: ValidationExceptionField[];
|
|
49
|
+
|
|
50
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
48
51
|
}
|
|
49
52
|
|
|
50
|
-
export
|
|
51
|
-
name: "ConflictException";
|
|
52
|
-
$fault: "client";
|
|
53
|
-
message?: string;
|
|
53
|
+
export declare class ConflictException extends __BaseException {
|
|
54
|
+
readonly name: "ConflictException";
|
|
55
|
+
readonly $fault: "client";
|
|
54
56
|
code?: string;
|
|
55
57
|
|
|
56
58
|
resourceId?: string;
|
|
57
59
|
|
|
58
60
|
resourceType?: string;
|
|
61
|
+
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
59
63
|
}
|
|
60
64
|
export interface DeleteJobRequest {
|
|
61
65
|
|
|
@@ -72,22 +76,24 @@ export declare namespace DeleteJobResponse {
|
|
|
72
76
|
const filterSensitiveLog: (obj: DeleteJobResponse) => any;
|
|
73
77
|
}
|
|
74
78
|
|
|
75
|
-
export
|
|
76
|
-
name: "ResourceNotFoundException";
|
|
77
|
-
$fault: "client";
|
|
78
|
-
message?: string;
|
|
79
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
80
|
+
readonly name: "ResourceNotFoundException";
|
|
81
|
+
readonly $fault: "client";
|
|
79
82
|
code?: string;
|
|
80
83
|
|
|
81
84
|
resourceId?: string;
|
|
82
85
|
|
|
83
86
|
resourceType?: string;
|
|
87
|
+
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
84
89
|
}
|
|
85
90
|
|
|
86
|
-
export
|
|
87
|
-
name: "UninitializedAccountException";
|
|
88
|
-
$fault: "client";
|
|
89
|
-
message?: string;
|
|
91
|
+
export declare class UninitializedAccountException extends __BaseException {
|
|
92
|
+
readonly name: "UninitializedAccountException";
|
|
93
|
+
readonly $fault: "client";
|
|
90
94
|
code?: string;
|
|
95
|
+
|
|
96
|
+
constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
|
|
91
97
|
}
|
|
92
98
|
export interface DescribeJobLogItemsRequest {
|
|
93
99
|
|
|
@@ -253,12 +259,13 @@ export declare namespace DescribeJobsResponse {
|
|
|
253
259
|
const filterSensitiveLog: (obj: DescribeJobsResponse) => any;
|
|
254
260
|
}
|
|
255
261
|
|
|
256
|
-
export
|
|
257
|
-
name: "InternalServerException";
|
|
258
|
-
$fault: "server";
|
|
259
|
-
message: string | undefined;
|
|
262
|
+
export declare class InternalServerException extends __BaseException {
|
|
263
|
+
readonly name: "InternalServerException";
|
|
264
|
+
readonly $fault: "server";
|
|
260
265
|
|
|
261
266
|
retryAfterSeconds?: number;
|
|
267
|
+
|
|
268
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
262
269
|
}
|
|
263
270
|
export interface ListTagsForResourceRequest {
|
|
264
271
|
|
|
@@ -279,16 +286,17 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
279
286
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
280
287
|
}
|
|
281
288
|
|
|
282
|
-
export
|
|
283
|
-
name: "ThrottlingException";
|
|
284
|
-
$fault: "client";
|
|
285
|
-
message: string | undefined;
|
|
289
|
+
export declare class ThrottlingException extends __BaseException {
|
|
290
|
+
readonly name: "ThrottlingException";
|
|
291
|
+
readonly $fault: "client";
|
|
286
292
|
|
|
287
293
|
serviceCode?: string;
|
|
288
294
|
|
|
289
295
|
quotaCode?: string;
|
|
290
296
|
|
|
291
297
|
retryAfterSeconds?: string;
|
|
298
|
+
|
|
299
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
292
300
|
}
|
|
293
301
|
export declare enum ReplicationConfigurationDataPlaneRouting {
|
|
294
302
|
PRIVATE_IP = "PRIVATE_IP",
|
|
@@ -1070,10 +1078,9 @@ export declare namespace StartCutoverResponse {
|
|
|
1070
1078
|
const filterSensitiveLog: (obj: StartCutoverResponse) => any;
|
|
1071
1079
|
}
|
|
1072
1080
|
|
|
1073
|
-
export
|
|
1074
|
-
name: "ServiceQuotaExceededException";
|
|
1075
|
-
$fault: "client";
|
|
1076
|
-
message?: string;
|
|
1081
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1082
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1083
|
+
readonly $fault: "client";
|
|
1077
1084
|
code?: string;
|
|
1078
1085
|
|
|
1079
1086
|
resourceId?: string;
|
|
@@ -1083,6 +1090,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1083
1090
|
serviceCode?: string;
|
|
1084
1091
|
|
|
1085
1092
|
quotaCode?: string;
|
|
1093
|
+
|
|
1094
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1086
1095
|
}
|
|
1087
1096
|
export interface StartReplicationRequest {
|
|
1088
1097
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mgn",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mgn 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"
|