@aws-sdk/client-mgn 3.52.0 → 3.54.1

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/MgnServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +136 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +303 -957
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/MgnServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +126 -1
  9. package/dist-es/protocols/Aws_restJson1.js +617 -1085
  10. package/dist-types/Mgn.d.ts +10 -10
  11. package/dist-types/MgnClient.d.ts +2 -2
  12. package/dist-types/commands/DeleteVcenterClientCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +1 -1
  16. package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -1
  17. package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -1
  18. package/dist-types/commands/MarkAsArchivedCommand.d.ts +1 -1
  19. package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
  20. package/dist-types/commands/StartTestCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +1 -1
  22. package/dist-types/index.d.ts +1 -0
  23. package/dist-types/models/MgnServiceException.d.ts +10 -0
  24. package/dist-types/models/models_0.d.ts +109 -65
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/dist-types/ts3.4/MgnClient.d.ts +2 -2
  29. package/dist-types/ts3.4/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/MgnServiceException.d.ts +6 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +55 -33
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  35. package/package.json +27 -27
@@ -1,10 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MgnServiceException as __BaseException } from "./MgnServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
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 interface ValidationException extends __SmithyException, $MetadataBearer {
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 interface ConflictException extends __SmithyException, $MetadataBearer {
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 interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
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 interface UninitializedAccountException extends __SmithyException, $MetadataBearer {
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 interface InternalServerException extends __SmithyException, $MetadataBearer {
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 interface ThrottlingException extends __SmithyException, $MetadataBearer {
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",
@@ -296,6 +304,7 @@ export declare enum ReplicationConfigurationDataPlaneRouting {
296
304
  }
297
305
  export declare enum ReplicationConfigurationDefaultLargeStagingDiskType {
298
306
  GP2 = "GP2",
307
+ GP3 = "GP3",
299
308
  ST1 = "ST1"
300
309
  }
301
310
  export declare enum ReplicationConfigurationEbsEncryption {
@@ -925,6 +934,10 @@ export declare namespace GetLaunchConfigurationRequest {
925
934
 
926
935
  const filterSensitiveLog: (obj: GetLaunchConfigurationRequest) => any;
927
936
  }
937
+ export declare enum BootMode {
938
+ LEGACY_BIOS = "LEGACY_BIOS",
939
+ UEFI = "UEFI"
940
+ }
928
941
  export declare enum LaunchDisposition {
929
942
  STARTED = "STARTED",
930
943
  STOPPED = "STOPPED"
@@ -959,6 +972,8 @@ export interface LaunchConfiguration {
959
972
  copyTags?: boolean;
960
973
 
961
974
  licensing?: Licensing;
975
+
976
+ bootMode?: BootMode | string;
962
977
  }
963
978
  export declare namespace LaunchConfiguration {
964
979
 
@@ -975,7 +990,9 @@ export declare namespace GetReplicationConfigurationRequest {
975
990
  export declare enum ReplicationConfigurationReplicatedDiskStagingDiskType {
976
991
  AUTO = "AUTO",
977
992
  GP2 = "GP2",
993
+ GP3 = "GP3",
978
994
  IO1 = "IO1",
995
+ IO2 = "IO2",
979
996
  SC1 = "SC1",
980
997
  ST1 = "ST1",
981
998
  STANDARD = "STANDARD"
@@ -990,6 +1007,8 @@ export interface ReplicationConfigurationReplicatedDisk {
990
1007
  stagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
991
1008
 
992
1009
  iops?: number;
1010
+
1011
+ throughput?: number;
993
1012
  }
994
1013
  export declare namespace ReplicationConfigurationReplicatedDisk {
995
1014
 
@@ -1070,10 +1089,9 @@ export declare namespace StartCutoverResponse {
1070
1089
  const filterSensitiveLog: (obj: StartCutoverResponse) => any;
1071
1090
  }
1072
1091
 
1073
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1074
- name: "ServiceQuotaExceededException";
1075
- $fault: "client";
1076
- message?: string;
1092
+ export declare class ServiceQuotaExceededException extends __BaseException {
1093
+ readonly name: "ServiceQuotaExceededException";
1094
+ readonly $fault: "client";
1077
1095
  code?: string;
1078
1096
 
1079
1097
  resourceId?: string;
@@ -1083,6 +1101,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
1083
1101
  serviceCode?: string;
1084
1102
 
1085
1103
  quotaCode?: string;
1104
+
1105
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1086
1106
  }
1087
1107
  export interface StartReplicationRequest {
1088
1108
 
@@ -1147,6 +1167,8 @@ export interface UpdateLaunchConfigurationRequest {
1147
1167
  copyTags?: boolean;
1148
1168
 
1149
1169
  licensing?: Licensing;
1170
+
1171
+ bootMode?: BootMode | string;
1150
1172
  }
1151
1173
  export declare namespace UpdateLaunchConfigurationRequest {
1152
1174
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.52.0",
4
+ "version": "3.54.1",
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.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
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"