@aws-sdk/client-migration-hub 3.934.0 → 3.936.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 +27 -26
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +26 -0
- package/dist-es/models/errors.js +143 -0
- package/dist-es/models/models_0.js +1 -169
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/errors.d.ts +150 -0
- package/dist-types/models/models_0.d.ts +1 -208
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +32 -0
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -113
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,11 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MigrationHubSe
|
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const ApplicationStatus = {
|
|
135
|
-
COMPLETED: "COMPLETED",
|
|
136
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
137
|
-
NOT_STARTED: "NOT_STARTED",
|
|
138
|
-
};
|
|
139
134
|
let DryRunOperation$1 = class DryRunOperation extends MigrationHubServiceException$1 {
|
|
140
135
|
name = "DryRunOperation";
|
|
141
136
|
$fault = "client";
|
|
@@ -264,27 +259,6 @@ let PolicyErrorException$1 = class PolicyErrorException extends MigrationHubServ
|
|
|
264
259
|
this.Message = opts.Message;
|
|
265
260
|
}
|
|
266
261
|
};
|
|
267
|
-
const ResourceAttributeType = {
|
|
268
|
-
BIOS_ID: "BIOS_ID",
|
|
269
|
-
FQDN: "FQDN",
|
|
270
|
-
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
271
|
-
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
272
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
273
|
-
MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
|
|
274
|
-
VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
|
|
275
|
-
VM_MANAGER_ID: "VM_MANAGER_ID",
|
|
276
|
-
VM_NAME: "VM_NAME",
|
|
277
|
-
VM_PATH: "VM_PATH",
|
|
278
|
-
};
|
|
279
|
-
const Status = {
|
|
280
|
-
COMPLETED: "COMPLETED",
|
|
281
|
-
FAILED: "FAILED",
|
|
282
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
283
|
-
NOT_STARTED: "NOT_STARTED",
|
|
284
|
-
};
|
|
285
|
-
const UpdateType = {
|
|
286
|
-
MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED",
|
|
287
|
-
};
|
|
288
262
|
|
|
289
263
|
const _ACA = "AssociateCreatedArtifact";
|
|
290
264
|
const _ACAR = "AssociateCreatedArtifactRequest";
|
|
@@ -1190,6 +1164,33 @@ const paginateListProgressUpdateStreams = core.createPaginator(MigrationHubClien
|
|
|
1190
1164
|
|
|
1191
1165
|
const paginateListSourceResources = core.createPaginator(MigrationHubClient, ListSourceResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1192
1166
|
|
|
1167
|
+
const ApplicationStatus = {
|
|
1168
|
+
COMPLETED: "COMPLETED",
|
|
1169
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1170
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1171
|
+
};
|
|
1172
|
+
const ResourceAttributeType = {
|
|
1173
|
+
BIOS_ID: "BIOS_ID",
|
|
1174
|
+
FQDN: "FQDN",
|
|
1175
|
+
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
1176
|
+
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
1177
|
+
MAC_ADDRESS: "MAC_ADDRESS",
|
|
1178
|
+
MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
|
|
1179
|
+
VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
|
|
1180
|
+
VM_MANAGER_ID: "VM_MANAGER_ID",
|
|
1181
|
+
VM_NAME: "VM_NAME",
|
|
1182
|
+
VM_PATH: "VM_PATH",
|
|
1183
|
+
};
|
|
1184
|
+
const Status = {
|
|
1185
|
+
COMPLETED: "COMPLETED",
|
|
1186
|
+
FAILED: "FAILED",
|
|
1187
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1188
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1189
|
+
};
|
|
1190
|
+
const UpdateType = {
|
|
1191
|
+
MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED",
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1193
1194
|
Object.defineProperty(exports, "$Command", {
|
|
1194
1195
|
enumerable: true,
|
|
1195
1196
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MigrationHubClient";
|
|
|
2
2
|
export * from "./MigrationHub";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const ApplicationStatus = {
|
|
2
|
+
COMPLETED: "COMPLETED",
|
|
3
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
4
|
+
NOT_STARTED: "NOT_STARTED",
|
|
5
|
+
};
|
|
6
|
+
export const ResourceAttributeType = {
|
|
7
|
+
BIOS_ID: "BIOS_ID",
|
|
8
|
+
FQDN: "FQDN",
|
|
9
|
+
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
10
|
+
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
11
|
+
MAC_ADDRESS: "MAC_ADDRESS",
|
|
12
|
+
MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
|
|
13
|
+
VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
|
|
14
|
+
VM_MANAGER_ID: "VM_MANAGER_ID",
|
|
15
|
+
VM_NAME: "VM_NAME",
|
|
16
|
+
VM_PATH: "VM_PATH",
|
|
17
|
+
};
|
|
18
|
+
export const Status = {
|
|
19
|
+
COMPLETED: "COMPLETED",
|
|
20
|
+
FAILED: "FAILED",
|
|
21
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
22
|
+
NOT_STARTED: "NOT_STARTED",
|
|
23
|
+
};
|
|
24
|
+
export const UpdateType = {
|
|
25
|
+
MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED",
|
|
26
|
+
};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class DryRunOperation extends __BaseException {
|
|
17
|
+
name = "DryRunOperation";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "DryRunOperation",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, DryRunOperation.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class HomeRegionNotSetException extends __BaseException {
|
|
31
|
+
name = "HomeRegionNotSetException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "HomeRegionNotSetException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InternalServerError extends __BaseException {
|
|
45
|
+
name = "InternalServerError";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerError",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class InvalidInputException extends __BaseException {
|
|
59
|
+
name = "InvalidInputException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidInputException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
name = "ResourceNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ResourceNotFoundException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
87
|
+
name = "ServiceUnavailableException";
|
|
88
|
+
$fault = "server";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ServiceUnavailableException",
|
|
93
|
+
$fault: "server",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ThrottlingException extends __BaseException {
|
|
101
|
+
name = "ThrottlingException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
Message;
|
|
104
|
+
RetryAfterSeconds;
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ThrottlingException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
112
|
+
this.Message = opts.Message;
|
|
113
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export class UnauthorizedOperation extends __BaseException {
|
|
117
|
+
name = "UnauthorizedOperation";
|
|
118
|
+
$fault = "client";
|
|
119
|
+
Message;
|
|
120
|
+
constructor(opts) {
|
|
121
|
+
super({
|
|
122
|
+
name: "UnauthorizedOperation",
|
|
123
|
+
$fault: "client",
|
|
124
|
+
...opts,
|
|
125
|
+
});
|
|
126
|
+
Object.setPrototypeOf(this, UnauthorizedOperation.prototype);
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class PolicyErrorException extends __BaseException {
|
|
131
|
+
name = "PolicyErrorException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Message;
|
|
134
|
+
constructor(opts) {
|
|
135
|
+
super({
|
|
136
|
+
name: "PolicyErrorException",
|
|
137
|
+
$fault: "client",
|
|
138
|
+
...opts,
|
|
139
|
+
});
|
|
140
|
+
Object.setPrototypeOf(this, PolicyErrorException.prototype);
|
|
141
|
+
this.Message = opts.Message;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,169 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const ApplicationStatus = {
|
|
17
|
-
COMPLETED: "COMPLETED",
|
|
18
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
19
|
-
NOT_STARTED: "NOT_STARTED",
|
|
20
|
-
};
|
|
21
|
-
export class DryRunOperation extends __BaseException {
|
|
22
|
-
name = "DryRunOperation";
|
|
23
|
-
$fault = "client";
|
|
24
|
-
Message;
|
|
25
|
-
constructor(opts) {
|
|
26
|
-
super({
|
|
27
|
-
name: "DryRunOperation",
|
|
28
|
-
$fault: "client",
|
|
29
|
-
...opts,
|
|
30
|
-
});
|
|
31
|
-
Object.setPrototypeOf(this, DryRunOperation.prototype);
|
|
32
|
-
this.Message = opts.Message;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
export class HomeRegionNotSetException extends __BaseException {
|
|
36
|
-
name = "HomeRegionNotSetException";
|
|
37
|
-
$fault = "client";
|
|
38
|
-
Message;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "HomeRegionNotSetException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
46
|
-
this.Message = opts.Message;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export class InternalServerError extends __BaseException {
|
|
50
|
-
name = "InternalServerError";
|
|
51
|
-
$fault = "server";
|
|
52
|
-
Message;
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "InternalServerError",
|
|
56
|
-
$fault: "server",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
60
|
-
this.Message = opts.Message;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class InvalidInputException extends __BaseException {
|
|
64
|
-
name = "InvalidInputException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
Message;
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "InvalidInputException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
74
|
-
this.Message = opts.Message;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
78
|
-
name = "ResourceNotFoundException";
|
|
79
|
-
$fault = "client";
|
|
80
|
-
Message;
|
|
81
|
-
constructor(opts) {
|
|
82
|
-
super({
|
|
83
|
-
name: "ResourceNotFoundException",
|
|
84
|
-
$fault: "client",
|
|
85
|
-
...opts,
|
|
86
|
-
});
|
|
87
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
88
|
-
this.Message = opts.Message;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
92
|
-
name = "ServiceUnavailableException";
|
|
93
|
-
$fault = "server";
|
|
94
|
-
Message;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "ServiceUnavailableException",
|
|
98
|
-
$fault: "server",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
102
|
-
this.Message = opts.Message;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
export class ThrottlingException extends __BaseException {
|
|
106
|
-
name = "ThrottlingException";
|
|
107
|
-
$fault = "client";
|
|
108
|
-
Message;
|
|
109
|
-
RetryAfterSeconds;
|
|
110
|
-
constructor(opts) {
|
|
111
|
-
super({
|
|
112
|
-
name: "ThrottlingException",
|
|
113
|
-
$fault: "client",
|
|
114
|
-
...opts,
|
|
115
|
-
});
|
|
116
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
117
|
-
this.Message = opts.Message;
|
|
118
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
export class UnauthorizedOperation extends __BaseException {
|
|
122
|
-
name = "UnauthorizedOperation";
|
|
123
|
-
$fault = "client";
|
|
124
|
-
Message;
|
|
125
|
-
constructor(opts) {
|
|
126
|
-
super({
|
|
127
|
-
name: "UnauthorizedOperation",
|
|
128
|
-
$fault: "client",
|
|
129
|
-
...opts,
|
|
130
|
-
});
|
|
131
|
-
Object.setPrototypeOf(this, UnauthorizedOperation.prototype);
|
|
132
|
-
this.Message = opts.Message;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
export class PolicyErrorException extends __BaseException {
|
|
136
|
-
name = "PolicyErrorException";
|
|
137
|
-
$fault = "client";
|
|
138
|
-
Message;
|
|
139
|
-
constructor(opts) {
|
|
140
|
-
super({
|
|
141
|
-
name: "PolicyErrorException",
|
|
142
|
-
$fault: "client",
|
|
143
|
-
...opts,
|
|
144
|
-
});
|
|
145
|
-
Object.setPrototypeOf(this, PolicyErrorException.prototype);
|
|
146
|
-
this.Message = opts.Message;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
export const ResourceAttributeType = {
|
|
150
|
-
BIOS_ID: "BIOS_ID",
|
|
151
|
-
FQDN: "FQDN",
|
|
152
|
-
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
153
|
-
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
154
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
155
|
-
MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
|
|
156
|
-
VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
|
|
157
|
-
VM_MANAGER_ID: "VM_MANAGER_ID",
|
|
158
|
-
VM_NAME: "VM_NAME",
|
|
159
|
-
VM_PATH: "VM_PATH",
|
|
160
|
-
};
|
|
161
|
-
export const Status = {
|
|
162
|
-
COMPLETED: "COMPLETED",
|
|
163
|
-
FAILED: "FAILED",
|
|
164
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
165
|
-
NOT_STARTED: "NOT_STARTED",
|
|
166
|
-
};
|
|
167
|
-
export const UpdateType = {
|
|
168
|
-
MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED",
|
|
169
|
-
};
|
|
1
|
+
export {};
|
|
@@ -126,7 +126,7 @@ const _s = "server";
|
|
|
126
126
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhub";
|
|
127
127
|
const n0 = "com.amazonaws.migrationhub";
|
|
128
128
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
129
|
-
import { AccessDeniedException as __AccessDeniedException, DryRunOperation as __DryRunOperation, HomeRegionNotSetException as __HomeRegionNotSetException, InternalServerError as __InternalServerError, InvalidInputException as __InvalidInputException, PolicyErrorException as __PolicyErrorException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, UnauthorizedOperation as __UnauthorizedOperation, } from "../models/
|
|
129
|
+
import { AccessDeniedException as __AccessDeniedException, DryRunOperation as __DryRunOperation, HomeRegionNotSetException as __HomeRegionNotSetException, InternalServerError as __InternalServerError, InvalidInputException as __InvalidInputException, PolicyErrorException as __PolicyErrorException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, UnauthorizedOperation as __UnauthorizedOperation, } from "../models/errors";
|
|
130
130
|
import { MigrationHubServiceException as __MigrationHubServiceException } from "../models/MigrationHubServiceException";
|
|
131
131
|
export var AccessDeniedException = [
|
|
132
132
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
15
15
|
export type { MigrationHubExtensionConfiguration } from "./extensionConfiguration";
|
|
16
16
|
export * from "./commands";
|
|
17
17
|
export * from "./pagination";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ApplicationStatus: {
|
|
6
|
+
readonly COMPLETED: "COMPLETED";
|
|
7
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
8
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const ResourceAttributeType: {
|
|
19
|
+
readonly BIOS_ID: "BIOS_ID";
|
|
20
|
+
readonly FQDN: "FQDN";
|
|
21
|
+
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
22
|
+
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
23
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
24
|
+
readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
|
|
25
|
+
readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
|
|
26
|
+
readonly VM_MANAGER_ID: "VM_MANAGER_ID";
|
|
27
|
+
readonly VM_NAME: "VM_NAME";
|
|
28
|
+
readonly VM_PATH: "VM_PATH";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ResourceAttributeType = (typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* @enum
|
|
37
|
+
*/
|
|
38
|
+
export declare const Status: {
|
|
39
|
+
readonly COMPLETED: "COMPLETED";
|
|
40
|
+
readonly FAILED: "FAILED";
|
|
41
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
42
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const UpdateType: {
|
|
53
|
+
readonly MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Exception raised to indicate a successfully authorized action when the
|
|
18
|
+
* <code>DryRun</code> flag is set to "true".</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class DryRunOperation extends __BaseException {
|
|
22
|
+
readonly name: "DryRunOperation";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The home region is not set. Set the home region to continue.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class HomeRegionNotSetException extends __BaseException {
|
|
35
|
+
readonly name: "HomeRegionNotSetException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
45
|
+
* encountered.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class InternalServerError extends __BaseException {
|
|
49
|
+
readonly name: "InternalServerError";
|
|
50
|
+
readonly $fault: "server";
|
|
51
|
+
Message?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
59
|
+
* the wrong format or data type.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class InvalidInputException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidInputException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
Message?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
73
|
+
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
74
|
+
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
78
|
+
readonly name: "ResourceNotFoundException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
Message?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
88
|
+
* encountered.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
92
|
+
readonly name: "ServiceUnavailableException";
|
|
93
|
+
readonly $fault: "server";
|
|
94
|
+
Message?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <p>The request was denied due to request throttling.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class ThrottlingException extends __BaseException {
|
|
105
|
+
readonly name: "ThrottlingException";
|
|
106
|
+
readonly $fault: "client";
|
|
107
|
+
/**
|
|
108
|
+
* <p>A message that provides information about the exception.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
Message: string | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
RetryAfterSeconds?: number | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
|
|
124
|
+
* flag is set to "true".</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class UnauthorizedOperation extends __BaseException {
|
|
128
|
+
readonly name: "UnauthorizedOperation";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
Message?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* <p>Exception raised when there are problems accessing Application Discovery Service
|
|
138
|
+
* (Application Discovery Service); most likely due to a misconfigured policy or the
|
|
139
|
+
* <code>migrationhub-discovery</code> role is missing or not configured correctly.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class PolicyErrorException extends __BaseException {
|
|
143
|
+
readonly name: "PolicyErrorException";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
Message?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
constructor(opts: __ExceptionOptionType<PolicyErrorException, __BaseException>);
|
|
150
|
+
}
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message?: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
* @enum
|
|
19
|
-
*/
|
|
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];
|
|
1
|
+
import { ApplicationStatus, ResourceAttributeType, Status, UpdateType } from "./enums";
|
|
29
2
|
/**
|
|
30
3
|
* <p>The state of an application discovered through Migration Hub import, the AWS Agentless
|
|
31
4
|
* Discovery Connector, or the AWS Application Discovery Agent.</p>
|
|
@@ -101,126 +74,6 @@ export interface AssociateCreatedArtifactRequest {
|
|
|
101
74
|
*/
|
|
102
75
|
export interface AssociateCreatedArtifactResult {
|
|
103
76
|
}
|
|
104
|
-
/**
|
|
105
|
-
* <p>Exception raised to indicate a successfully authorized action when the
|
|
106
|
-
* <code>DryRun</code> flag is set to "true".</p>
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
|
-
export declare class DryRunOperation extends __BaseException {
|
|
110
|
-
readonly name: "DryRunOperation";
|
|
111
|
-
readonly $fault: "client";
|
|
112
|
-
Message?: string | undefined;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* <p>The home region is not set. Set the home region to continue.</p>
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
export declare class HomeRegionNotSetException extends __BaseException {
|
|
123
|
-
readonly name: "HomeRegionNotSetException";
|
|
124
|
-
readonly $fault: "client";
|
|
125
|
-
Message?: string | undefined;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
constructor(opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
133
|
-
* encountered.</p>
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
|
-
export declare class InternalServerError extends __BaseException {
|
|
137
|
-
readonly name: "InternalServerError";
|
|
138
|
-
readonly $fault: "server";
|
|
139
|
-
Message?: string | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
147
|
-
* the wrong format or data type.</p>
|
|
148
|
-
* @public
|
|
149
|
-
*/
|
|
150
|
-
export declare class InvalidInputException extends __BaseException {
|
|
151
|
-
readonly name: "InvalidInputException";
|
|
152
|
-
readonly $fault: "client";
|
|
153
|
-
Message?: string | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
161
|
-
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
162
|
-
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
166
|
-
readonly name: "ResourceNotFoundException";
|
|
167
|
-
readonly $fault: "client";
|
|
168
|
-
Message?: string | undefined;
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
*/
|
|
172
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
176
|
-
* encountered.</p>
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
180
|
-
readonly name: "ServiceUnavailableException";
|
|
181
|
-
readonly $fault: "server";
|
|
182
|
-
Message?: string | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* <p>The request was denied due to request throttling.</p>
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export declare class ThrottlingException extends __BaseException {
|
|
193
|
-
readonly name: "ThrottlingException";
|
|
194
|
-
readonly $fault: "client";
|
|
195
|
-
/**
|
|
196
|
-
* <p>A message that provides information about the exception.</p>
|
|
197
|
-
* @public
|
|
198
|
-
*/
|
|
199
|
-
Message: string | undefined;
|
|
200
|
-
/**
|
|
201
|
-
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
202
|
-
* @public
|
|
203
|
-
*/
|
|
204
|
-
RetryAfterSeconds?: number | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
208
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
|
|
212
|
-
* flag is set to "true".</p>
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export declare class UnauthorizedOperation extends __BaseException {
|
|
216
|
-
readonly name: "UnauthorizedOperation";
|
|
217
|
-
readonly $fault: "client";
|
|
218
|
-
Message?: string | undefined;
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>);
|
|
223
|
-
}
|
|
224
77
|
/**
|
|
225
78
|
* <p>Object representing the on-premises resource being migrated.</p>
|
|
226
79
|
* @public
|
|
@@ -272,21 +125,6 @@ export interface AssociateDiscoveredResourceRequest {
|
|
|
272
125
|
*/
|
|
273
126
|
export interface AssociateDiscoveredResourceResult {
|
|
274
127
|
}
|
|
275
|
-
/**
|
|
276
|
-
* <p>Exception raised when there are problems accessing Application Discovery Service
|
|
277
|
-
* (Application Discovery Service); most likely due to a misconfigured policy or the
|
|
278
|
-
* <code>migrationhub-discovery</code> role is missing or not configured correctly.</p>
|
|
279
|
-
* @public
|
|
280
|
-
*/
|
|
281
|
-
export declare class PolicyErrorException extends __BaseException {
|
|
282
|
-
readonly name: "PolicyErrorException";
|
|
283
|
-
readonly $fault: "client";
|
|
284
|
-
Message?: string | undefined;
|
|
285
|
-
/**
|
|
286
|
-
* @internal
|
|
287
|
-
*/
|
|
288
|
-
constructor(opts: __ExceptionOptionType<PolicyErrorException, __BaseException>);
|
|
289
|
-
}
|
|
290
128
|
/**
|
|
291
129
|
* <p>A source resource can be a source server, a migration wave, an application, or any other
|
|
292
130
|
* resource that you track.</p>
|
|
@@ -439,26 +277,6 @@ export interface DescribeMigrationTaskRequest {
|
|
|
439
277
|
*/
|
|
440
278
|
MigrationTaskName: string | undefined;
|
|
441
279
|
}
|
|
442
|
-
/**
|
|
443
|
-
* @public
|
|
444
|
-
* @enum
|
|
445
|
-
*/
|
|
446
|
-
export declare const ResourceAttributeType: {
|
|
447
|
-
readonly BIOS_ID: "BIOS_ID";
|
|
448
|
-
readonly FQDN: "FQDN";
|
|
449
|
-
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
450
|
-
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
451
|
-
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
452
|
-
readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
|
|
453
|
-
readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
|
|
454
|
-
readonly VM_MANAGER_ID: "VM_MANAGER_ID";
|
|
455
|
-
readonly VM_NAME: "VM_NAME";
|
|
456
|
-
readonly VM_PATH: "VM_PATH";
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* @public
|
|
460
|
-
*/
|
|
461
|
-
export type ResourceAttributeType = (typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
|
|
462
280
|
/**
|
|
463
281
|
* <p>Attribute associated with a resource.</p>
|
|
464
282
|
* <p>Note the corresponding format required per type listed below:</p>
|
|
@@ -509,20 +327,6 @@ export interface ResourceAttribute {
|
|
|
509
327
|
*/
|
|
510
328
|
Value: string | undefined;
|
|
511
329
|
}
|
|
512
|
-
/**
|
|
513
|
-
* @public
|
|
514
|
-
* @enum
|
|
515
|
-
*/
|
|
516
|
-
export declare const Status: {
|
|
517
|
-
readonly COMPLETED: "COMPLETED";
|
|
518
|
-
readonly FAILED: "FAILED";
|
|
519
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
520
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
521
|
-
};
|
|
522
|
-
/**
|
|
523
|
-
* @public
|
|
524
|
-
*/
|
|
525
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
526
330
|
/**
|
|
527
331
|
* <p>Task object encapsulating task information.</p>
|
|
528
332
|
* @public
|
|
@@ -975,17 +779,6 @@ export interface ListMigrationTaskUpdatesRequest {
|
|
|
975
779
|
*/
|
|
976
780
|
MaxResults?: number | undefined;
|
|
977
781
|
}
|
|
978
|
-
/**
|
|
979
|
-
* @public
|
|
980
|
-
* @enum
|
|
981
|
-
*/
|
|
982
|
-
export declare const UpdateType: {
|
|
983
|
-
readonly MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED";
|
|
984
|
-
};
|
|
985
|
-
/**
|
|
986
|
-
* @public
|
|
987
|
-
*/
|
|
988
|
-
export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
|
|
989
782
|
/**
|
|
990
783
|
* <p>A migration-task progress update.</p>
|
|
991
784
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { MigrationHubExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const ApplicationStatus: {
|
|
2
|
+
readonly COMPLETED: "COMPLETED";
|
|
3
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
5
|
+
};
|
|
6
|
+
export type ApplicationStatus =
|
|
7
|
+
(typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
8
|
+
export declare const ResourceAttributeType: {
|
|
9
|
+
readonly BIOS_ID: "BIOS_ID";
|
|
10
|
+
readonly FQDN: "FQDN";
|
|
11
|
+
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
12
|
+
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
13
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
14
|
+
readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
|
|
15
|
+
readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
|
|
16
|
+
readonly VM_MANAGER_ID: "VM_MANAGER_ID";
|
|
17
|
+
readonly VM_NAME: "VM_NAME";
|
|
18
|
+
readonly VM_PATH: "VM_PATH";
|
|
19
|
+
};
|
|
20
|
+
export type ResourceAttributeType =
|
|
21
|
+
(typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
|
|
22
|
+
export declare const Status: {
|
|
23
|
+
readonly COMPLETED: "COMPLETED";
|
|
24
|
+
readonly FAILED: "FAILED";
|
|
25
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
26
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
27
|
+
};
|
|
28
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
29
|
+
export declare const UpdateType: {
|
|
30
|
+
readonly MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED";
|
|
31
|
+
};
|
|
32
|
+
export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class DryRunOperation extends __BaseException {
|
|
12
|
+
readonly name: "DryRunOperation";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
export declare class HomeRegionNotSetException extends __BaseException {
|
|
18
|
+
readonly name: "HomeRegionNotSetException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
Message?: string | undefined;
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class InternalServerError extends __BaseException {
|
|
26
|
+
readonly name: "InternalServerError";
|
|
27
|
+
readonly $fault: "server";
|
|
28
|
+
Message?: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class InvalidInputException extends __BaseException {
|
|
34
|
+
readonly name: "InvalidInputException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
42
|
+
readonly name: "ResourceNotFoundException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
Message?: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
50
|
+
readonly name: "ServiceUnavailableException";
|
|
51
|
+
readonly $fault: "server";
|
|
52
|
+
Message?: string | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class ThrottlingException extends __BaseException {
|
|
58
|
+
readonly name: "ThrottlingException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
Message: string | undefined;
|
|
61
|
+
RetryAfterSeconds?: number | undefined;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class UnauthorizedOperation extends __BaseException {
|
|
67
|
+
readonly name: "UnauthorizedOperation";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
constructor(
|
|
71
|
+
opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export declare class PolicyErrorException extends __BaseException {
|
|
75
|
+
readonly name: "PolicyErrorException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
constructor(
|
|
79
|
+
opts: __ExceptionOptionType<PolicyErrorException, __BaseException>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
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];
|
|
1
|
+
import {
|
|
2
|
+
ApplicationStatus,
|
|
3
|
+
ResourceAttributeType,
|
|
4
|
+
Status,
|
|
5
|
+
UpdateType,
|
|
6
|
+
} from "./enums";
|
|
18
7
|
export interface ApplicationState {
|
|
19
8
|
ApplicationId?: string | undefined;
|
|
20
9
|
ApplicationStatus?: ApplicationStatus | undefined;
|
|
@@ -31,69 +20,6 @@ export interface AssociateCreatedArtifactRequest {
|
|
|
31
20
|
DryRun?: boolean | undefined;
|
|
32
21
|
}
|
|
33
22
|
export interface AssociateCreatedArtifactResult {}
|
|
34
|
-
export declare class DryRunOperation extends __BaseException {
|
|
35
|
-
readonly name: "DryRunOperation";
|
|
36
|
-
readonly $fault: "client";
|
|
37
|
-
Message?: string | undefined;
|
|
38
|
-
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
39
|
-
}
|
|
40
|
-
export declare class HomeRegionNotSetException extends __BaseException {
|
|
41
|
-
readonly name: "HomeRegionNotSetException";
|
|
42
|
-
readonly $fault: "client";
|
|
43
|
-
Message?: string | undefined;
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
export declare class InternalServerError extends __BaseException {
|
|
49
|
-
readonly name: "InternalServerError";
|
|
50
|
-
readonly $fault: "server";
|
|
51
|
-
Message?: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export declare class InvalidInputException extends __BaseException {
|
|
57
|
-
readonly name: "InvalidInputException";
|
|
58
|
-
readonly $fault: "client";
|
|
59
|
-
Message?: string | undefined;
|
|
60
|
-
constructor(
|
|
61
|
-
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
-
readonly name: "ResourceNotFoundException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
Message?: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
73
|
-
readonly name: "ServiceUnavailableException";
|
|
74
|
-
readonly $fault: "server";
|
|
75
|
-
Message?: string | undefined;
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
export declare class ThrottlingException extends __BaseException {
|
|
81
|
-
readonly name: "ThrottlingException";
|
|
82
|
-
readonly $fault: "client";
|
|
83
|
-
Message: string | undefined;
|
|
84
|
-
RetryAfterSeconds?: number | undefined;
|
|
85
|
-
constructor(
|
|
86
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
export declare class UnauthorizedOperation extends __BaseException {
|
|
90
|
-
readonly name: "UnauthorizedOperation";
|
|
91
|
-
readonly $fault: "client";
|
|
92
|
-
Message?: string | undefined;
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
23
|
export interface DiscoveredResource {
|
|
98
24
|
ConfigurationId: string | undefined;
|
|
99
25
|
Description?: string | undefined;
|
|
@@ -105,14 +31,6 @@ export interface AssociateDiscoveredResourceRequest {
|
|
|
105
31
|
DryRun?: boolean | undefined;
|
|
106
32
|
}
|
|
107
33
|
export interface AssociateDiscoveredResourceResult {}
|
|
108
|
-
export declare class PolicyErrorException extends __BaseException {
|
|
109
|
-
readonly name: "PolicyErrorException";
|
|
110
|
-
readonly $fault: "client";
|
|
111
|
-
Message?: string | undefined;
|
|
112
|
-
constructor(
|
|
113
|
-
opts: __ExceptionOptionType<PolicyErrorException, __BaseException>
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
34
|
export interface SourceResource {
|
|
117
35
|
Name: string | undefined;
|
|
118
36
|
Description?: string | undefined;
|
|
@@ -146,31 +64,10 @@ export interface DescribeMigrationTaskRequest {
|
|
|
146
64
|
ProgressUpdateStream: string | undefined;
|
|
147
65
|
MigrationTaskName: string | undefined;
|
|
148
66
|
}
|
|
149
|
-
export declare const ResourceAttributeType: {
|
|
150
|
-
readonly BIOS_ID: "BIOS_ID";
|
|
151
|
-
readonly FQDN: "FQDN";
|
|
152
|
-
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
153
|
-
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
154
|
-
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
155
|
-
readonly MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER";
|
|
156
|
-
readonly VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE";
|
|
157
|
-
readonly VM_MANAGER_ID: "VM_MANAGER_ID";
|
|
158
|
-
readonly VM_NAME: "VM_NAME";
|
|
159
|
-
readonly VM_PATH: "VM_PATH";
|
|
160
|
-
};
|
|
161
|
-
export type ResourceAttributeType =
|
|
162
|
-
(typeof ResourceAttributeType)[keyof typeof ResourceAttributeType];
|
|
163
67
|
export interface ResourceAttribute {
|
|
164
68
|
Type: ResourceAttributeType | undefined;
|
|
165
69
|
Value: string | undefined;
|
|
166
70
|
}
|
|
167
|
-
export declare const Status: {
|
|
168
|
-
readonly COMPLETED: "COMPLETED";
|
|
169
|
-
readonly FAILED: "FAILED";
|
|
170
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
171
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
172
|
-
};
|
|
173
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
174
71
|
export interface Task {
|
|
175
72
|
Status: Status | undefined;
|
|
176
73
|
StatusDetail?: string | undefined;
|
|
@@ -265,10 +162,6 @@ export interface ListMigrationTaskUpdatesRequest {
|
|
|
265
162
|
NextToken?: string | undefined;
|
|
266
163
|
MaxResults?: number | undefined;
|
|
267
164
|
}
|
|
268
|
-
export declare const UpdateType: {
|
|
269
|
-
readonly MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED";
|
|
270
|
-
};
|
|
271
|
-
export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
|
|
272
165
|
export interface MigrationTaskUpdate {
|
|
273
166
|
UpdateDateTime?: Date | undefined;
|
|
274
167
|
UpdateType?: UpdateType | undefined;
|
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.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-migration-hub",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|