@aws-sdk/client-migration-hub 3.301.0 → 3.303.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.
@@ -16,12 +16,11 @@ class AccessDeniedException extends MigrationHubServiceException_1.MigrationHubS
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var ApplicationStatus;
20
- (function (ApplicationStatus) {
21
- ApplicationStatus["COMPLETED"] = "COMPLETED";
22
- ApplicationStatus["IN_PROGRESS"] = "IN_PROGRESS";
23
- ApplicationStatus["NOT_STARTED"] = "NOT_STARTED";
24
- })(ApplicationStatus = exports.ApplicationStatus || (exports.ApplicationStatus = {}));
19
+ exports.ApplicationStatus = {
20
+ COMPLETED: "COMPLETED",
21
+ IN_PROGRESS: "IN_PROGRESS",
22
+ NOT_STARTED: "NOT_STARTED",
23
+ };
25
24
  class DryRunOperation extends MigrationHubServiceException_1.MigrationHubServiceException {
26
25
  constructor(opts) {
27
26
  super({
@@ -149,23 +148,21 @@ class PolicyErrorException extends MigrationHubServiceException_1.MigrationHubSe
149
148
  }
150
149
  }
151
150
  exports.PolicyErrorException = PolicyErrorException;
152
- var ResourceAttributeType;
153
- (function (ResourceAttributeType) {
154
- ResourceAttributeType["BIOS_ID"] = "BIOS_ID";
155
- ResourceAttributeType["FQDN"] = "FQDN";
156
- ResourceAttributeType["IPV4_ADDRESS"] = "IPV4_ADDRESS";
157
- ResourceAttributeType["IPV6_ADDRESS"] = "IPV6_ADDRESS";
158
- ResourceAttributeType["MAC_ADDRESS"] = "MAC_ADDRESS";
159
- ResourceAttributeType["MOTHERBOARD_SERIAL_NUMBER"] = "MOTHERBOARD_SERIAL_NUMBER";
160
- ResourceAttributeType["VM_MANAGED_OBJECT_REFERENCE"] = "VM_MANAGED_OBJECT_REFERENCE";
161
- ResourceAttributeType["VM_MANAGER_ID"] = "VM_MANAGER_ID";
162
- ResourceAttributeType["VM_NAME"] = "VM_NAME";
163
- ResourceAttributeType["VM_PATH"] = "VM_PATH";
164
- })(ResourceAttributeType = exports.ResourceAttributeType || (exports.ResourceAttributeType = {}));
165
- var Status;
166
- (function (Status) {
167
- Status["COMPLETED"] = "COMPLETED";
168
- Status["FAILED"] = "FAILED";
169
- Status["IN_PROGRESS"] = "IN_PROGRESS";
170
- Status["NOT_STARTED"] = "NOT_STARTED";
171
- })(Status = exports.Status || (exports.Status = {}));
151
+ exports.ResourceAttributeType = {
152
+ BIOS_ID: "BIOS_ID",
153
+ FQDN: "FQDN",
154
+ IPV4_ADDRESS: "IPV4_ADDRESS",
155
+ IPV6_ADDRESS: "IPV6_ADDRESS",
156
+ MAC_ADDRESS: "MAC_ADDRESS",
157
+ MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
158
+ VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
159
+ VM_MANAGER_ID: "VM_MANAGER_ID",
160
+ VM_NAME: "VM_NAME",
161
+ VM_PATH: "VM_PATH",
162
+ };
163
+ exports.Status = {
164
+ COMPLETED: "COMPLETED",
165
+ FAILED: "FAILED",
166
+ IN_PROGRESS: "IN_PROGRESS",
167
+ NOT_STARTED: "NOT_STARTED",
168
+ };
@@ -12,12 +12,11 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
- export var ApplicationStatus;
16
- (function (ApplicationStatus) {
17
- ApplicationStatus["COMPLETED"] = "COMPLETED";
18
- ApplicationStatus["IN_PROGRESS"] = "IN_PROGRESS";
19
- ApplicationStatus["NOT_STARTED"] = "NOT_STARTED";
20
- })(ApplicationStatus || (ApplicationStatus = {}));
15
+ export const ApplicationStatus = {
16
+ COMPLETED: "COMPLETED",
17
+ IN_PROGRESS: "IN_PROGRESS",
18
+ NOT_STARTED: "NOT_STARTED",
19
+ };
21
20
  export class DryRunOperation extends __BaseException {
22
21
  constructor(opts) {
23
22
  super({
@@ -136,23 +135,21 @@ export class PolicyErrorException extends __BaseException {
136
135
  this.Message = opts.Message;
137
136
  }
138
137
  }
139
- export var ResourceAttributeType;
140
- (function (ResourceAttributeType) {
141
- ResourceAttributeType["BIOS_ID"] = "BIOS_ID";
142
- ResourceAttributeType["FQDN"] = "FQDN";
143
- ResourceAttributeType["IPV4_ADDRESS"] = "IPV4_ADDRESS";
144
- ResourceAttributeType["IPV6_ADDRESS"] = "IPV6_ADDRESS";
145
- ResourceAttributeType["MAC_ADDRESS"] = "MAC_ADDRESS";
146
- ResourceAttributeType["MOTHERBOARD_SERIAL_NUMBER"] = "MOTHERBOARD_SERIAL_NUMBER";
147
- ResourceAttributeType["VM_MANAGED_OBJECT_REFERENCE"] = "VM_MANAGED_OBJECT_REFERENCE";
148
- ResourceAttributeType["VM_MANAGER_ID"] = "VM_MANAGER_ID";
149
- ResourceAttributeType["VM_NAME"] = "VM_NAME";
150
- ResourceAttributeType["VM_PATH"] = "VM_PATH";
151
- })(ResourceAttributeType || (ResourceAttributeType = {}));
152
- export var Status;
153
- (function (Status) {
154
- Status["COMPLETED"] = "COMPLETED";
155
- Status["FAILED"] = "FAILED";
156
- Status["IN_PROGRESS"] = "IN_PROGRESS";
157
- Status["NOT_STARTED"] = "NOT_STARTED";
158
- })(Status || (Status = {}));
138
+ export const ResourceAttributeType = {
139
+ BIOS_ID: "BIOS_ID",
140
+ FQDN: "FQDN",
141
+ IPV4_ADDRESS: "IPV4_ADDRESS",
142
+ IPV6_ADDRESS: "IPV6_ADDRESS",
143
+ MAC_ADDRESS: "MAC_ADDRESS",
144
+ MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
145
+ VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
146
+ VM_MANAGER_ID: "VM_MANAGER_ID",
147
+ VM_NAME: "VM_NAME",
148
+ VM_PATH: "VM_PATH",
149
+ };
150
+ export const Status = {
151
+ COMPLETED: "COMPLETED",
152
+ FAILED: "FAILED",
153
+ IN_PROGRESS: "IN_PROGRESS",
154
+ NOT_STARTED: "NOT_STARTED",
155
+ };
@@ -15,12 +15,17 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- export declare enum ApplicationStatus {
20
- COMPLETED = "COMPLETED",
21
- IN_PROGRESS = "IN_PROGRESS",
22
- NOT_STARTED = "NOT_STARTED"
23
- }
20
+ export declare const ApplicationStatus: {
21
+ readonly COMPLETED: "COMPLETED";
22
+ readonly IN_PROGRESS: "IN_PROGRESS";
23
+ readonly NOT_STARTED: "NOT_STARTED";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
24
29
  /**
25
30
  * @public
26
31
  * <p>The state of an application discovered through Migration Hub import, the AWS Agentless
@@ -347,19 +352,24 @@ export interface DescribeMigrationTaskRequest {
347
352
  }
348
353
  /**
349
354
  * @public
355
+ * @enum
350
356
  */
351
- export declare enum ResourceAttributeType {
352
- BIOS_ID = "BIOS_ID",
353
- FQDN = "FQDN",
354
- IPV4_ADDRESS = "IPV4_ADDRESS",
355
- IPV6_ADDRESS = "IPV6_ADDRESS",
356
- MAC_ADDRESS = "MAC_ADDRESS",
357
- MOTHERBOARD_SERIAL_NUMBER = "MOTHERBOARD_SERIAL_NUMBER",
358
- VM_MANAGED_OBJECT_REFERENCE = "VM_MANAGED_OBJECT_REFERENCE",
359
- VM_MANAGER_ID = "VM_MANAGER_ID",
360
- VM_NAME = "VM_NAME",
361
- VM_PATH = "VM_PATH"
362
- }
357
+ export declare const ResourceAttributeType: {
358
+ readonly BIOS_ID: "BIOS_ID";
359
+ readonly FQDN: "FQDN";
360
+ readonly IPV4_ADDRESS: "IPV4_ADDRESS";
361
+ readonly IPV6_ADDRESS: "IPV6_ADDRESS";
362
+ readonly MAC_ADDRESS: "MAC_ADDRESS";
363
+ readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
364
+ readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
365
+ readonly VM_MANAGER_ID: "VM_MANAGER_ID";
366
+ readonly VM_NAME: "VM_NAME";
367
+ readonly VM_PATH: "VM_PATH";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type ResourceAttributeType = (typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
363
373
  /**
364
374
  * @public
365
375
  * <p>Attribute associated with a resource.</p>
@@ -412,13 +422,18 @@ export interface ResourceAttribute {
412
422
  }
413
423
  /**
414
424
  * @public
425
+ * @enum
415
426
  */
416
- export declare enum Status {
417
- COMPLETED = "COMPLETED",
418
- FAILED = "FAILED",
419
- IN_PROGRESS = "IN_PROGRESS",
420
- NOT_STARTED = "NOT_STARTED"
421
- }
427
+ export declare const Status: {
428
+ readonly COMPLETED: "COMPLETED";
429
+ readonly FAILED: "FAILED";
430
+ readonly IN_PROGRESS: "IN_PROGRESS";
431
+ readonly NOT_STARTED: "NOT_STARTED";
432
+ };
433
+ /**
434
+ * @public
435
+ */
436
+ export type Status = (typeof Status)[keyof typeof Status];
422
437
  /**
423
438
  * @public
424
439
  * <p>Task object encapsulating task information.</p>
@@ -8,11 +8,13 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum ApplicationStatus {
12
- COMPLETED = "COMPLETED",
13
- IN_PROGRESS = "IN_PROGRESS",
14
- NOT_STARTED = "NOT_STARTED",
15
- }
11
+ export declare const ApplicationStatus: {
12
+ readonly COMPLETED: "COMPLETED";
13
+ readonly IN_PROGRESS: "IN_PROGRESS";
14
+ readonly NOT_STARTED: "NOT_STARTED";
15
+ };
16
+ export type ApplicationStatus =
17
+ (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
16
18
  export interface ApplicationState {
17
19
  ApplicationId?: string;
18
20
  ApplicationStatus?: ApplicationStatus | string;
@@ -132,28 +134,31 @@ export interface DescribeMigrationTaskRequest {
132
134
  ProgressUpdateStream: string | undefined;
133
135
  MigrationTaskName: string | undefined;
134
136
  }
135
- export declare enum ResourceAttributeType {
136
- BIOS_ID = "BIOS_ID",
137
- FQDN = "FQDN",
138
- IPV4_ADDRESS = "IPV4_ADDRESS",
139
- IPV6_ADDRESS = "IPV6_ADDRESS",
140
- MAC_ADDRESS = "MAC_ADDRESS",
141
- MOTHERBOARD_SERIAL_NUMBER = "MOTHERBOARD_SERIAL_NUMBER",
142
- VM_MANAGED_OBJECT_REFERENCE = "VM_MANAGED_OBJECT_REFERENCE",
143
- VM_MANAGER_ID = "VM_MANAGER_ID",
144
- VM_NAME = "VM_NAME",
145
- VM_PATH = "VM_PATH",
146
- }
137
+ export declare const ResourceAttributeType: {
138
+ readonly BIOS_ID: "BIOS_ID";
139
+ readonly FQDN: "FQDN";
140
+ readonly IPV4_ADDRESS: "IPV4_ADDRESS";
141
+ readonly IPV6_ADDRESS: "IPV6_ADDRESS";
142
+ readonly MAC_ADDRESS: "MAC_ADDRESS";
143
+ readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
144
+ readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
145
+ readonly VM_MANAGER_ID: "VM_MANAGER_ID";
146
+ readonly VM_NAME: "VM_NAME";
147
+ readonly VM_PATH: "VM_PATH";
148
+ };
149
+ export type ResourceAttributeType =
150
+ (typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
147
151
  export interface ResourceAttribute {
148
152
  Type: ResourceAttributeType | string | undefined;
149
153
  Value: string | undefined;
150
154
  }
151
- export declare enum Status {
152
- COMPLETED = "COMPLETED",
153
- FAILED = "FAILED",
154
- IN_PROGRESS = "IN_PROGRESS",
155
- NOT_STARTED = "NOT_STARTED",
156
- }
155
+ export declare const Status: {
156
+ readonly COMPLETED: "COMPLETED";
157
+ readonly FAILED: "FAILED";
158
+ readonly IN_PROGRESS: "IN_PROGRESS";
159
+ readonly NOT_STARTED: "NOT_STARTED";
160
+ };
161
+ export type Status = (typeof Status)[keyof typeof Status];
157
162
  export interface Task {
158
163
  Status: Status | string | undefined;
159
164
  StatusDetail?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",