@aws-sdk/client-migration-hub 3.899.0 → 3.906.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 +1339 -1500
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -1,1568 +1,1407 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DescribeMigrationTaskCommand: () => DescribeMigrationTaskCommand,
|
|
33
|
-
DisassociateCreatedArtifactCommand: () => DisassociateCreatedArtifactCommand,
|
|
34
|
-
DisassociateDiscoveredResourceCommand: () => DisassociateDiscoveredResourceCommand,
|
|
35
|
-
DisassociateSourceResourceCommand: () => DisassociateSourceResourceCommand,
|
|
36
|
-
DryRunOperation: () => DryRunOperation,
|
|
37
|
-
HomeRegionNotSetException: () => HomeRegionNotSetException,
|
|
38
|
-
ImportMigrationTaskCommand: () => ImportMigrationTaskCommand,
|
|
39
|
-
InternalServerError: () => InternalServerError,
|
|
40
|
-
InvalidInputException: () => InvalidInputException,
|
|
41
|
-
ListApplicationStatesCommand: () => ListApplicationStatesCommand,
|
|
42
|
-
ListCreatedArtifactsCommand: () => ListCreatedArtifactsCommand,
|
|
43
|
-
ListDiscoveredResourcesCommand: () => ListDiscoveredResourcesCommand,
|
|
44
|
-
ListMigrationTaskUpdatesCommand: () => ListMigrationTaskUpdatesCommand,
|
|
45
|
-
ListMigrationTasksCommand: () => ListMigrationTasksCommand,
|
|
46
|
-
ListProgressUpdateStreamsCommand: () => ListProgressUpdateStreamsCommand,
|
|
47
|
-
ListSourceResourcesCommand: () => ListSourceResourcesCommand,
|
|
48
|
-
MigrationHub: () => MigrationHub,
|
|
49
|
-
MigrationHubClient: () => MigrationHubClient,
|
|
50
|
-
MigrationHubServiceException: () => MigrationHubServiceException,
|
|
51
|
-
NotifyApplicationStateCommand: () => NotifyApplicationStateCommand,
|
|
52
|
-
NotifyMigrationTaskStateCommand: () => NotifyMigrationTaskStateCommand,
|
|
53
|
-
PolicyErrorException: () => PolicyErrorException,
|
|
54
|
-
PutResourceAttributesCommand: () => PutResourceAttributesCommand,
|
|
55
|
-
ResourceAttributeType: () => ResourceAttributeType,
|
|
56
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
57
|
-
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
58
|
-
Status: () => Status,
|
|
59
|
-
ThrottlingException: () => ThrottlingException,
|
|
60
|
-
UnauthorizedOperation: () => UnauthorizedOperation,
|
|
61
|
-
UpdateType: () => UpdateType,
|
|
62
|
-
__Client: () => import_smithy_client.Client,
|
|
63
|
-
paginateListApplicationStates: () => paginateListApplicationStates,
|
|
64
|
-
paginateListCreatedArtifacts: () => paginateListCreatedArtifacts,
|
|
65
|
-
paginateListDiscoveredResources: () => paginateListDiscoveredResources,
|
|
66
|
-
paginateListMigrationTaskUpdates: () => paginateListMigrationTaskUpdates,
|
|
67
|
-
paginateListMigrationTasks: () => paginateListMigrationTasks,
|
|
68
|
-
paginateListProgressUpdateStreams: () => paginateListProgressUpdateStreams,
|
|
69
|
-
paginateListSourceResources: () => paginateListSourceResources
|
|
70
|
-
});
|
|
71
|
-
module.exports = __toCommonJS(index_exports);
|
|
72
|
-
|
|
73
|
-
// src/MigrationHubClient.ts
|
|
74
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
75
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
76
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
77
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
78
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
79
|
-
var import_core = require("@smithy/core");
|
|
80
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
81
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
82
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
83
|
-
|
|
84
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
85
|
-
|
|
86
|
-
// src/endpoint/EndpointParameters.ts
|
|
87
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
88
|
-
return Object.assign(options, {
|
|
89
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
90
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
91
|
-
defaultSigningName: "mgh"
|
|
92
|
-
});
|
|
93
|
-
}, "resolveClientEndpointParameters");
|
|
94
|
-
var commonParams = {
|
|
95
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
96
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
97
|
-
Region: { type: "builtInParams", name: "region" },
|
|
98
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "mgh",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
99
32
|
};
|
|
100
33
|
|
|
101
|
-
|
|
102
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
103
72
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
108
78
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
79
|
+
class MigrationHubClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMigrationHubHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
137
107
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
143
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
144
|
-
credentials: config.credentials()
|
|
145
|
-
};
|
|
146
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
147
112
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
155
|
-
);
|
|
156
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
157
|
-
return Object.assign(
|
|
158
|
-
runtimeConfig,
|
|
159
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
160
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
161
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
162
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
163
|
-
);
|
|
164
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class MigrationHubServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, MigrationHubServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
165
119
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
185
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
186
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
187
|
-
this.config = _config_8;
|
|
188
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
189
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
190
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
191
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
192
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
193
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
194
|
-
this.middlewareStack.use(
|
|
195
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
196
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMigrationHubHttpAuthSchemeParametersProvider,
|
|
197
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
198
|
-
"aws.auth#sigv4": config.credentials
|
|
199
|
-
}), "identityProviderConfigProvider")
|
|
200
|
-
})
|
|
201
|
-
);
|
|
202
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
206
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
207
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
208
|
-
*/
|
|
209
|
-
destroy() {
|
|
210
|
-
super.destroy();
|
|
211
|
-
}
|
|
120
|
+
class AccessDeniedException extends MigrationHubServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const ApplicationStatus = {
|
|
135
|
+
COMPLETED: "COMPLETED",
|
|
136
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
137
|
+
NOT_STARTED: "NOT_STARTED",
|
|
212
138
|
};
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
139
|
+
class DryRunOperation extends MigrationHubServiceException {
|
|
140
|
+
name = "DryRunOperation";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
Message;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "DryRunOperation",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, DryRunOperation.prototype);
|
|
150
|
+
this.Message = opts.Message;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class HomeRegionNotSetException extends MigrationHubServiceException {
|
|
154
|
+
name = "HomeRegionNotSetException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "HomeRegionNotSetException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class InternalServerError extends MigrationHubServiceException {
|
|
168
|
+
name = "InternalServerError";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
Message;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerError",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
178
|
+
this.Message = opts.Message;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class InvalidInputException extends MigrationHubServiceException {
|
|
182
|
+
name = "InvalidInputException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
Message;
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "InvalidInputException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
192
|
+
this.Message = opts.Message;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class ResourceNotFoundException extends MigrationHubServiceException {
|
|
196
|
+
name = "ResourceNotFoundException";
|
|
197
|
+
$fault = "client";
|
|
198
|
+
Message;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ResourceNotFoundException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
206
|
+
this.Message = opts.Message;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
class ServiceUnavailableException extends MigrationHubServiceException {
|
|
210
|
+
name = "ServiceUnavailableException";
|
|
211
|
+
$fault = "server";
|
|
212
|
+
Message;
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "ServiceUnavailableException",
|
|
216
|
+
$fault: "server",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
220
|
+
this.Message = opts.Message;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
class ThrottlingException extends MigrationHubServiceException {
|
|
224
|
+
name = "ThrottlingException";
|
|
225
|
+
$fault = "client";
|
|
226
|
+
Message;
|
|
227
|
+
RetryAfterSeconds;
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "ThrottlingException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
235
|
+
this.Message = opts.Message;
|
|
236
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
class UnauthorizedOperation extends MigrationHubServiceException {
|
|
240
|
+
name = "UnauthorizedOperation";
|
|
241
|
+
$fault = "client";
|
|
242
|
+
Message;
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "UnauthorizedOperation",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
Object.setPrototypeOf(this, UnauthorizedOperation.prototype);
|
|
250
|
+
this.Message = opts.Message;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
class PolicyErrorException extends MigrationHubServiceException {
|
|
254
|
+
name = "PolicyErrorException";
|
|
255
|
+
$fault = "client";
|
|
256
|
+
Message;
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "PolicyErrorException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts,
|
|
262
|
+
});
|
|
263
|
+
Object.setPrototypeOf(this, PolicyErrorException.prototype);
|
|
264
|
+
this.Message = opts.Message;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
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",
|
|
240
287
|
};
|
|
241
288
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
289
|
+
const se_AssociateCreatedArtifactCommand = async (input, context) => {
|
|
290
|
+
const headers = sharedHeaders("AssociateCreatedArtifact");
|
|
291
|
+
let body;
|
|
292
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
293
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
+
};
|
|
295
|
+
const se_AssociateDiscoveredResourceCommand = async (input, context) => {
|
|
296
|
+
const headers = sharedHeaders("AssociateDiscoveredResource");
|
|
297
|
+
let body;
|
|
298
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
299
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
|
+
};
|
|
301
|
+
const se_AssociateSourceResourceCommand = async (input, context) => {
|
|
302
|
+
const headers = sharedHeaders("AssociateSourceResource");
|
|
303
|
+
let body;
|
|
304
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
305
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
|
+
};
|
|
307
|
+
const se_CreateProgressUpdateStreamCommand = async (input, context) => {
|
|
308
|
+
const headers = sharedHeaders("CreateProgressUpdateStream");
|
|
309
|
+
let body;
|
|
310
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
311
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
|
+
};
|
|
313
|
+
const se_DeleteProgressUpdateStreamCommand = async (input, context) => {
|
|
314
|
+
const headers = sharedHeaders("DeleteProgressUpdateStream");
|
|
315
|
+
let body;
|
|
316
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
317
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
|
+
};
|
|
319
|
+
const se_DescribeApplicationStateCommand = async (input, context) => {
|
|
320
|
+
const headers = sharedHeaders("DescribeApplicationState");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
323
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
|
+
};
|
|
325
|
+
const se_DescribeMigrationTaskCommand = async (input, context) => {
|
|
326
|
+
const headers = sharedHeaders("DescribeMigrationTask");
|
|
327
|
+
let body;
|
|
328
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
329
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
|
+
};
|
|
331
|
+
const se_DisassociateCreatedArtifactCommand = async (input, context) => {
|
|
332
|
+
const headers = sharedHeaders("DisassociateCreatedArtifact");
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
335
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
|
+
};
|
|
337
|
+
const se_DisassociateDiscoveredResourceCommand = async (input, context) => {
|
|
338
|
+
const headers = sharedHeaders("DisassociateDiscoveredResource");
|
|
339
|
+
let body;
|
|
340
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
341
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
342
|
+
};
|
|
343
|
+
const se_DisassociateSourceResourceCommand = async (input, context) => {
|
|
344
|
+
const headers = sharedHeaders("DisassociateSourceResource");
|
|
345
|
+
let body;
|
|
346
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
347
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
|
+
};
|
|
349
|
+
const se_ImportMigrationTaskCommand = async (input, context) => {
|
|
350
|
+
const headers = sharedHeaders("ImportMigrationTask");
|
|
351
|
+
let body;
|
|
352
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
353
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
354
|
+
};
|
|
355
|
+
const se_ListApplicationStatesCommand = async (input, context) => {
|
|
356
|
+
const headers = sharedHeaders("ListApplicationStates");
|
|
357
|
+
let body;
|
|
358
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
359
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
|
+
};
|
|
361
|
+
const se_ListCreatedArtifactsCommand = async (input, context) => {
|
|
362
|
+
const headers = sharedHeaders("ListCreatedArtifacts");
|
|
363
|
+
let body;
|
|
364
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
365
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
366
|
+
};
|
|
367
|
+
const se_ListDiscoveredResourcesCommand = async (input, context) => {
|
|
368
|
+
const headers = sharedHeaders("ListDiscoveredResources");
|
|
369
|
+
let body;
|
|
370
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
371
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
|
+
};
|
|
373
|
+
const se_ListMigrationTasksCommand = async (input, context) => {
|
|
374
|
+
const headers = sharedHeaders("ListMigrationTasks");
|
|
375
|
+
let body;
|
|
376
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
377
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
|
+
};
|
|
379
|
+
const se_ListMigrationTaskUpdatesCommand = async (input, context) => {
|
|
380
|
+
const headers = sharedHeaders("ListMigrationTaskUpdates");
|
|
381
|
+
let body;
|
|
382
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
383
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
384
|
+
};
|
|
385
|
+
const se_ListProgressUpdateStreamsCommand = async (input, context) => {
|
|
386
|
+
const headers = sharedHeaders("ListProgressUpdateStreams");
|
|
387
|
+
let body;
|
|
388
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
389
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
390
|
+
};
|
|
391
|
+
const se_ListSourceResourcesCommand = async (input, context) => {
|
|
392
|
+
const headers = sharedHeaders("ListSourceResources");
|
|
393
|
+
let body;
|
|
394
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
395
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
396
|
+
};
|
|
397
|
+
const se_NotifyApplicationStateCommand = async (input, context) => {
|
|
398
|
+
const headers = sharedHeaders("NotifyApplicationState");
|
|
399
|
+
let body;
|
|
400
|
+
body = JSON.stringify(se_NotifyApplicationStateRequest(input));
|
|
401
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
|
+
};
|
|
403
|
+
const se_NotifyMigrationTaskStateCommand = async (input, context) => {
|
|
404
|
+
const headers = sharedHeaders("NotifyMigrationTaskState");
|
|
405
|
+
let body;
|
|
406
|
+
body = JSON.stringify(se_NotifyMigrationTaskStateRequest(input));
|
|
407
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
|
+
};
|
|
409
|
+
const se_PutResourceAttributesCommand = async (input, context) => {
|
|
410
|
+
const headers = sharedHeaders("PutResourceAttributes");
|
|
411
|
+
let body;
|
|
412
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
413
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
414
|
+
};
|
|
415
|
+
const de_AssociateCreatedArtifactCommand = async (output, context) => {
|
|
416
|
+
if (output.statusCode >= 300) {
|
|
417
|
+
return de_CommandError(output, context);
|
|
418
|
+
}
|
|
419
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
420
|
+
let contents = {};
|
|
421
|
+
contents = smithyClient._json(data);
|
|
422
|
+
const response = {
|
|
423
|
+
$metadata: deserializeMetadata(output),
|
|
424
|
+
...contents,
|
|
425
|
+
};
|
|
426
|
+
return response;
|
|
427
|
+
};
|
|
428
|
+
const de_AssociateDiscoveredResourceCommand = async (output, context) => {
|
|
429
|
+
if (output.statusCode >= 300) {
|
|
430
|
+
return de_CommandError(output, context);
|
|
431
|
+
}
|
|
432
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
433
|
+
let contents = {};
|
|
434
|
+
contents = smithyClient._json(data);
|
|
435
|
+
const response = {
|
|
436
|
+
$metadata: deserializeMetadata(output),
|
|
437
|
+
...contents,
|
|
438
|
+
};
|
|
439
|
+
return response;
|
|
440
|
+
};
|
|
441
|
+
const de_AssociateSourceResourceCommand = async (output, context) => {
|
|
442
|
+
if (output.statusCode >= 300) {
|
|
443
|
+
return de_CommandError(output, context);
|
|
444
|
+
}
|
|
445
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
446
|
+
let contents = {};
|
|
447
|
+
contents = smithyClient._json(data);
|
|
448
|
+
const response = {
|
|
449
|
+
$metadata: deserializeMetadata(output),
|
|
450
|
+
...contents,
|
|
451
|
+
};
|
|
452
|
+
return response;
|
|
453
|
+
};
|
|
454
|
+
const de_CreateProgressUpdateStreamCommand = async (output, context) => {
|
|
455
|
+
if (output.statusCode >= 300) {
|
|
456
|
+
return de_CommandError(output, context);
|
|
457
|
+
}
|
|
458
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
459
|
+
let contents = {};
|
|
460
|
+
contents = smithyClient._json(data);
|
|
461
|
+
const response = {
|
|
462
|
+
$metadata: deserializeMetadata(output),
|
|
463
|
+
...contents,
|
|
464
|
+
};
|
|
465
|
+
return response;
|
|
466
|
+
};
|
|
467
|
+
const de_DeleteProgressUpdateStreamCommand = async (output, context) => {
|
|
468
|
+
if (output.statusCode >= 300) {
|
|
469
|
+
return de_CommandError(output, context);
|
|
470
|
+
}
|
|
471
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
472
|
+
let contents = {};
|
|
473
|
+
contents = smithyClient._json(data);
|
|
474
|
+
const response = {
|
|
475
|
+
$metadata: deserializeMetadata(output),
|
|
476
|
+
...contents,
|
|
477
|
+
};
|
|
478
|
+
return response;
|
|
479
|
+
};
|
|
480
|
+
const de_DescribeApplicationStateCommand = async (output, context) => {
|
|
481
|
+
if (output.statusCode >= 300) {
|
|
482
|
+
return de_CommandError(output, context);
|
|
483
|
+
}
|
|
484
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
485
|
+
let contents = {};
|
|
486
|
+
contents = de_DescribeApplicationStateResult(data);
|
|
487
|
+
const response = {
|
|
488
|
+
$metadata: deserializeMetadata(output),
|
|
489
|
+
...contents,
|
|
490
|
+
};
|
|
491
|
+
return response;
|
|
492
|
+
};
|
|
493
|
+
const de_DescribeMigrationTaskCommand = async (output, context) => {
|
|
494
|
+
if (output.statusCode >= 300) {
|
|
495
|
+
return de_CommandError(output, context);
|
|
496
|
+
}
|
|
497
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
498
|
+
let contents = {};
|
|
499
|
+
contents = de_DescribeMigrationTaskResult(data);
|
|
500
|
+
const response = {
|
|
501
|
+
$metadata: deserializeMetadata(output),
|
|
502
|
+
...contents,
|
|
503
|
+
};
|
|
504
|
+
return response;
|
|
505
|
+
};
|
|
506
|
+
const de_DisassociateCreatedArtifactCommand = async (output, context) => {
|
|
507
|
+
if (output.statusCode >= 300) {
|
|
508
|
+
return de_CommandError(output, context);
|
|
509
|
+
}
|
|
510
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
511
|
+
let contents = {};
|
|
512
|
+
contents = smithyClient._json(data);
|
|
513
|
+
const response = {
|
|
514
|
+
$metadata: deserializeMetadata(output),
|
|
515
|
+
...contents,
|
|
516
|
+
};
|
|
517
|
+
return response;
|
|
518
|
+
};
|
|
519
|
+
const de_DisassociateDiscoveredResourceCommand = async (output, context) => {
|
|
520
|
+
if (output.statusCode >= 300) {
|
|
521
|
+
return de_CommandError(output, context);
|
|
522
|
+
}
|
|
523
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
524
|
+
let contents = {};
|
|
525
|
+
contents = smithyClient._json(data);
|
|
526
|
+
const response = {
|
|
527
|
+
$metadata: deserializeMetadata(output),
|
|
528
|
+
...contents,
|
|
529
|
+
};
|
|
530
|
+
return response;
|
|
531
|
+
};
|
|
532
|
+
const de_DisassociateSourceResourceCommand = async (output, context) => {
|
|
533
|
+
if (output.statusCode >= 300) {
|
|
534
|
+
return de_CommandError(output, context);
|
|
535
|
+
}
|
|
536
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
537
|
+
let contents = {};
|
|
538
|
+
contents = smithyClient._json(data);
|
|
539
|
+
const response = {
|
|
540
|
+
$metadata: deserializeMetadata(output),
|
|
541
|
+
...contents,
|
|
542
|
+
};
|
|
543
|
+
return response;
|
|
544
|
+
};
|
|
545
|
+
const de_ImportMigrationTaskCommand = async (output, context) => {
|
|
546
|
+
if (output.statusCode >= 300) {
|
|
547
|
+
return de_CommandError(output, context);
|
|
548
|
+
}
|
|
549
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
550
|
+
let contents = {};
|
|
551
|
+
contents = smithyClient._json(data);
|
|
552
|
+
const response = {
|
|
553
|
+
$metadata: deserializeMetadata(output),
|
|
554
|
+
...contents,
|
|
555
|
+
};
|
|
556
|
+
return response;
|
|
557
|
+
};
|
|
558
|
+
const de_ListApplicationStatesCommand = async (output, context) => {
|
|
559
|
+
if (output.statusCode >= 300) {
|
|
560
|
+
return de_CommandError(output, context);
|
|
561
|
+
}
|
|
562
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
563
|
+
let contents = {};
|
|
564
|
+
contents = de_ListApplicationStatesResult(data);
|
|
565
|
+
const response = {
|
|
566
|
+
$metadata: deserializeMetadata(output),
|
|
567
|
+
...contents,
|
|
568
|
+
};
|
|
569
|
+
return response;
|
|
570
|
+
};
|
|
571
|
+
const de_ListCreatedArtifactsCommand = async (output, context) => {
|
|
572
|
+
if (output.statusCode >= 300) {
|
|
573
|
+
return de_CommandError(output, context);
|
|
574
|
+
}
|
|
575
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
576
|
+
let contents = {};
|
|
577
|
+
contents = smithyClient._json(data);
|
|
578
|
+
const response = {
|
|
579
|
+
$metadata: deserializeMetadata(output),
|
|
580
|
+
...contents,
|
|
581
|
+
};
|
|
582
|
+
return response;
|
|
583
|
+
};
|
|
584
|
+
const de_ListDiscoveredResourcesCommand = async (output, context) => {
|
|
585
|
+
if (output.statusCode >= 300) {
|
|
586
|
+
return de_CommandError(output, context);
|
|
587
|
+
}
|
|
588
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
589
|
+
let contents = {};
|
|
590
|
+
contents = smithyClient._json(data);
|
|
591
|
+
const response = {
|
|
592
|
+
$metadata: deserializeMetadata(output),
|
|
593
|
+
...contents,
|
|
594
|
+
};
|
|
595
|
+
return response;
|
|
596
|
+
};
|
|
597
|
+
const de_ListMigrationTasksCommand = async (output, context) => {
|
|
598
|
+
if (output.statusCode >= 300) {
|
|
599
|
+
return de_CommandError(output, context);
|
|
600
|
+
}
|
|
601
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
602
|
+
let contents = {};
|
|
603
|
+
contents = de_ListMigrationTasksResult(data);
|
|
604
|
+
const response = {
|
|
605
|
+
$metadata: deserializeMetadata(output),
|
|
606
|
+
...contents,
|
|
607
|
+
};
|
|
608
|
+
return response;
|
|
609
|
+
};
|
|
610
|
+
const de_ListMigrationTaskUpdatesCommand = async (output, context) => {
|
|
611
|
+
if (output.statusCode >= 300) {
|
|
612
|
+
return de_CommandError(output, context);
|
|
613
|
+
}
|
|
614
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
615
|
+
let contents = {};
|
|
616
|
+
contents = de_ListMigrationTaskUpdatesResult(data);
|
|
617
|
+
const response = {
|
|
618
|
+
$metadata: deserializeMetadata(output),
|
|
619
|
+
...contents,
|
|
620
|
+
};
|
|
621
|
+
return response;
|
|
622
|
+
};
|
|
623
|
+
const de_ListProgressUpdateStreamsCommand = async (output, context) => {
|
|
624
|
+
if (output.statusCode >= 300) {
|
|
625
|
+
return de_CommandError(output, context);
|
|
626
|
+
}
|
|
627
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
628
|
+
let contents = {};
|
|
629
|
+
contents = smithyClient._json(data);
|
|
630
|
+
const response = {
|
|
631
|
+
$metadata: deserializeMetadata(output),
|
|
632
|
+
...contents,
|
|
633
|
+
};
|
|
634
|
+
return response;
|
|
635
|
+
};
|
|
636
|
+
const de_ListSourceResourcesCommand = async (output, context) => {
|
|
637
|
+
if (output.statusCode >= 300) {
|
|
638
|
+
return de_CommandError(output, context);
|
|
639
|
+
}
|
|
640
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
641
|
+
let contents = {};
|
|
642
|
+
contents = smithyClient._json(data);
|
|
643
|
+
const response = {
|
|
644
|
+
$metadata: deserializeMetadata(output),
|
|
645
|
+
...contents,
|
|
646
|
+
};
|
|
647
|
+
return response;
|
|
648
|
+
};
|
|
649
|
+
const de_NotifyApplicationStateCommand = async (output, context) => {
|
|
650
|
+
if (output.statusCode >= 300) {
|
|
651
|
+
return de_CommandError(output, context);
|
|
652
|
+
}
|
|
653
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
654
|
+
let contents = {};
|
|
655
|
+
contents = smithyClient._json(data);
|
|
656
|
+
const response = {
|
|
657
|
+
$metadata: deserializeMetadata(output),
|
|
658
|
+
...contents,
|
|
659
|
+
};
|
|
660
|
+
return response;
|
|
661
|
+
};
|
|
662
|
+
const de_NotifyMigrationTaskStateCommand = async (output, context) => {
|
|
663
|
+
if (output.statusCode >= 300) {
|
|
664
|
+
return de_CommandError(output, context);
|
|
665
|
+
}
|
|
666
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
667
|
+
let contents = {};
|
|
668
|
+
contents = smithyClient._json(data);
|
|
669
|
+
const response = {
|
|
670
|
+
$metadata: deserializeMetadata(output),
|
|
671
|
+
...contents,
|
|
672
|
+
};
|
|
673
|
+
return response;
|
|
674
|
+
};
|
|
675
|
+
const de_PutResourceAttributesCommand = async (output, context) => {
|
|
676
|
+
if (output.statusCode >= 300) {
|
|
677
|
+
return de_CommandError(output, context);
|
|
678
|
+
}
|
|
679
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
680
|
+
let contents = {};
|
|
681
|
+
contents = smithyClient._json(data);
|
|
682
|
+
const response = {
|
|
683
|
+
$metadata: deserializeMetadata(output),
|
|
684
|
+
...contents,
|
|
685
|
+
};
|
|
686
|
+
return response;
|
|
687
|
+
};
|
|
688
|
+
const de_CommandError = async (output, context) => {
|
|
689
|
+
const parsedOutput = {
|
|
690
|
+
...output,
|
|
691
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
692
|
+
};
|
|
693
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
694
|
+
switch (errorCode) {
|
|
695
|
+
case "AccessDeniedException":
|
|
696
|
+
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
697
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
698
|
+
case "DryRunOperation":
|
|
699
|
+
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
700
|
+
throw await de_DryRunOperationRes(parsedOutput);
|
|
701
|
+
case "HomeRegionNotSetException":
|
|
702
|
+
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
703
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput);
|
|
704
|
+
case "InternalServerError":
|
|
705
|
+
case "com.amazonaws.migrationhub#InternalServerError":
|
|
706
|
+
throw await de_InternalServerErrorRes(parsedOutput);
|
|
707
|
+
case "InvalidInputException":
|
|
708
|
+
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
709
|
+
throw await de_InvalidInputExceptionRes(parsedOutput);
|
|
710
|
+
case "ResourceNotFoundException":
|
|
711
|
+
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
712
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
713
|
+
case "ServiceUnavailableException":
|
|
714
|
+
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
715
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
716
|
+
case "ThrottlingException":
|
|
717
|
+
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
718
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
719
|
+
case "UnauthorizedOperation":
|
|
720
|
+
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
721
|
+
throw await de_UnauthorizedOperationRes(parsedOutput);
|
|
722
|
+
case "PolicyErrorException":
|
|
723
|
+
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
724
|
+
throw await de_PolicyErrorExceptionRes(parsedOutput);
|
|
725
|
+
default:
|
|
726
|
+
const parsedBody = parsedOutput.body;
|
|
727
|
+
return throwDefaultError({
|
|
728
|
+
output,
|
|
729
|
+
parsedBody,
|
|
730
|
+
errorCode,
|
|
731
|
+
});
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
735
|
+
const body = parsedOutput.body;
|
|
736
|
+
const deserialized = smithyClient._json(body);
|
|
737
|
+
const exception = new AccessDeniedException({
|
|
738
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
739
|
+
...deserialized,
|
|
258
740
|
});
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
};
|
|
268
|
-
var DryRunOperation = class _DryRunOperation extends MigrationHubServiceException {
|
|
269
|
-
static {
|
|
270
|
-
__name(this, "DryRunOperation");
|
|
271
|
-
}
|
|
272
|
-
name = "DryRunOperation";
|
|
273
|
-
$fault = "client";
|
|
274
|
-
Message;
|
|
275
|
-
/**
|
|
276
|
-
* @internal
|
|
277
|
-
*/
|
|
278
|
-
constructor(opts) {
|
|
279
|
-
super({
|
|
280
|
-
name: "DryRunOperation",
|
|
281
|
-
$fault: "client",
|
|
282
|
-
...opts
|
|
741
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
742
|
+
};
|
|
743
|
+
const de_DryRunOperationRes = async (parsedOutput, context) => {
|
|
744
|
+
const body = parsedOutput.body;
|
|
745
|
+
const deserialized = smithyClient._json(body);
|
|
746
|
+
const exception = new DryRunOperation({
|
|
747
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
748
|
+
...deserialized,
|
|
283
749
|
});
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
name = "HomeRegionNotSetException";
|
|
293
|
-
$fault = "client";
|
|
294
|
-
Message;
|
|
295
|
-
/**
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
298
|
-
constructor(opts) {
|
|
299
|
-
super({
|
|
300
|
-
name: "HomeRegionNotSetException",
|
|
301
|
-
$fault: "client",
|
|
302
|
-
...opts
|
|
750
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
751
|
+
};
|
|
752
|
+
const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
753
|
+
const body = parsedOutput.body;
|
|
754
|
+
const deserialized = smithyClient._json(body);
|
|
755
|
+
const exception = new HomeRegionNotSetException({
|
|
756
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
757
|
+
...deserialized,
|
|
303
758
|
});
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
name = "InternalServerError";
|
|
313
|
-
$fault = "server";
|
|
314
|
-
Message;
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
*/
|
|
318
|
-
constructor(opts) {
|
|
319
|
-
super({
|
|
320
|
-
name: "InternalServerError",
|
|
321
|
-
$fault: "server",
|
|
322
|
-
...opts
|
|
759
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
760
|
+
};
|
|
761
|
+
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
762
|
+
const body = parsedOutput.body;
|
|
763
|
+
const deserialized = smithyClient._json(body);
|
|
764
|
+
const exception = new InternalServerError({
|
|
765
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
766
|
+
...deserialized,
|
|
323
767
|
});
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
name = "InvalidInputException";
|
|
333
|
-
$fault = "client";
|
|
334
|
-
Message;
|
|
335
|
-
/**
|
|
336
|
-
* @internal
|
|
337
|
-
*/
|
|
338
|
-
constructor(opts) {
|
|
339
|
-
super({
|
|
340
|
-
name: "InvalidInputException",
|
|
341
|
-
$fault: "client",
|
|
342
|
-
...opts
|
|
768
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
769
|
+
};
|
|
770
|
+
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
771
|
+
const body = parsedOutput.body;
|
|
772
|
+
const deserialized = smithyClient._json(body);
|
|
773
|
+
const exception = new InvalidInputException({
|
|
774
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
775
|
+
...deserialized,
|
|
343
776
|
});
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
name = "ResourceNotFoundException";
|
|
353
|
-
$fault = "client";
|
|
354
|
-
Message;
|
|
355
|
-
/**
|
|
356
|
-
* @internal
|
|
357
|
-
*/
|
|
358
|
-
constructor(opts) {
|
|
359
|
-
super({
|
|
360
|
-
name: "ResourceNotFoundException",
|
|
361
|
-
$fault: "client",
|
|
362
|
-
...opts
|
|
777
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
778
|
+
};
|
|
779
|
+
const de_PolicyErrorExceptionRes = async (parsedOutput, context) => {
|
|
780
|
+
const body = parsedOutput.body;
|
|
781
|
+
const deserialized = smithyClient._json(body);
|
|
782
|
+
const exception = new PolicyErrorException({
|
|
783
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
784
|
+
...deserialized,
|
|
363
785
|
});
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
name = "ServiceUnavailableException";
|
|
373
|
-
$fault = "server";
|
|
374
|
-
Message;
|
|
375
|
-
/**
|
|
376
|
-
* @internal
|
|
377
|
-
*/
|
|
378
|
-
constructor(opts) {
|
|
379
|
-
super({
|
|
380
|
-
name: "ServiceUnavailableException",
|
|
381
|
-
$fault: "server",
|
|
382
|
-
...opts
|
|
786
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
787
|
+
};
|
|
788
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
789
|
+
const body = parsedOutput.body;
|
|
790
|
+
const deserialized = smithyClient._json(body);
|
|
791
|
+
const exception = new ResourceNotFoundException({
|
|
792
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
793
|
+
...deserialized,
|
|
383
794
|
});
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
name = "ThrottlingException";
|
|
393
|
-
$fault = "client";
|
|
394
|
-
/**
|
|
395
|
-
* <p>A message that provides information about the exception.</p>
|
|
396
|
-
* @public
|
|
397
|
-
*/
|
|
398
|
-
Message;
|
|
399
|
-
/**
|
|
400
|
-
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
RetryAfterSeconds;
|
|
404
|
-
/**
|
|
405
|
-
* @internal
|
|
406
|
-
*/
|
|
407
|
-
constructor(opts) {
|
|
408
|
-
super({
|
|
409
|
-
name: "ThrottlingException",
|
|
410
|
-
$fault: "client",
|
|
411
|
-
...opts
|
|
795
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
796
|
+
};
|
|
797
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
798
|
+
const body = parsedOutput.body;
|
|
799
|
+
const deserialized = smithyClient._json(body);
|
|
800
|
+
const exception = new ServiceUnavailableException({
|
|
801
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
802
|
+
...deserialized,
|
|
412
803
|
});
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}
|
|
422
|
-
name = "UnauthorizedOperation";
|
|
423
|
-
$fault = "client";
|
|
424
|
-
Message;
|
|
425
|
-
/**
|
|
426
|
-
* @internal
|
|
427
|
-
*/
|
|
428
|
-
constructor(opts) {
|
|
429
|
-
super({
|
|
430
|
-
name: "UnauthorizedOperation",
|
|
431
|
-
$fault: "client",
|
|
432
|
-
...opts
|
|
804
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
805
|
+
};
|
|
806
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
807
|
+
const body = parsedOutput.body;
|
|
808
|
+
const deserialized = smithyClient._json(body);
|
|
809
|
+
const exception = new ThrottlingException({
|
|
810
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
811
|
+
...deserialized,
|
|
433
812
|
});
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
name = "PolicyErrorException";
|
|
443
|
-
$fault = "client";
|
|
444
|
-
Message;
|
|
445
|
-
/**
|
|
446
|
-
* @internal
|
|
447
|
-
*/
|
|
448
|
-
constructor(opts) {
|
|
449
|
-
super({
|
|
450
|
-
name: "PolicyErrorException",
|
|
451
|
-
$fault: "client",
|
|
452
|
-
...opts
|
|
813
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
814
|
+
};
|
|
815
|
+
const de_UnauthorizedOperationRes = async (parsedOutput, context) => {
|
|
816
|
+
const body = parsedOutput.body;
|
|
817
|
+
const deserialized = smithyClient._json(body);
|
|
818
|
+
const exception = new UnauthorizedOperation({
|
|
819
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
820
|
+
...deserialized,
|
|
453
821
|
});
|
|
454
|
-
|
|
455
|
-
this.Message = opts.Message;
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
var ResourceAttributeType = {
|
|
459
|
-
BIOS_ID: "BIOS_ID",
|
|
460
|
-
FQDN: "FQDN",
|
|
461
|
-
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
462
|
-
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
463
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
464
|
-
MOTHERBOARD_SERIAL_NUMBER: "MOTHERBOARD_SERIAL_NUMBER",
|
|
465
|
-
VM_MANAGED_OBJECT_REFERENCE: "VM_MANAGED_OBJECT_REFERENCE",
|
|
466
|
-
VM_MANAGER_ID: "VM_MANAGER_ID",
|
|
467
|
-
VM_NAME: "VM_NAME",
|
|
468
|
-
VM_PATH: "VM_PATH"
|
|
469
|
-
};
|
|
470
|
-
var Status = {
|
|
471
|
-
COMPLETED: "COMPLETED",
|
|
472
|
-
FAILED: "FAILED",
|
|
473
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
474
|
-
NOT_STARTED: "NOT_STARTED"
|
|
475
|
-
};
|
|
476
|
-
var UpdateType = {
|
|
477
|
-
MigrationTaskStateUpdated: "MIGRATION_TASK_STATE_UPDATED"
|
|
822
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
478
823
|
};
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
}, "se_AssociateCreatedArtifactCommand");
|
|
487
|
-
var se_AssociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
488
|
-
const headers = sharedHeaders("AssociateDiscoveredResource");
|
|
489
|
-
let body;
|
|
490
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
491
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
492
|
-
}, "se_AssociateDiscoveredResourceCommand");
|
|
493
|
-
var se_AssociateSourceResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
494
|
-
const headers = sharedHeaders("AssociateSourceResource");
|
|
495
|
-
let body;
|
|
496
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
497
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
498
|
-
}, "se_AssociateSourceResourceCommand");
|
|
499
|
-
var se_CreateProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
500
|
-
const headers = sharedHeaders("CreateProgressUpdateStream");
|
|
501
|
-
let body;
|
|
502
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
503
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
504
|
-
}, "se_CreateProgressUpdateStreamCommand");
|
|
505
|
-
var se_DeleteProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
506
|
-
const headers = sharedHeaders("DeleteProgressUpdateStream");
|
|
507
|
-
let body;
|
|
508
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
509
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
510
|
-
}, "se_DeleteProgressUpdateStreamCommand");
|
|
511
|
-
var se_DescribeApplicationStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
-
const headers = sharedHeaders("DescribeApplicationState");
|
|
513
|
-
let body;
|
|
514
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
515
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
516
|
-
}, "se_DescribeApplicationStateCommand");
|
|
517
|
-
var se_DescribeMigrationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
|
-
const headers = sharedHeaders("DescribeMigrationTask");
|
|
519
|
-
let body;
|
|
520
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
521
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
522
|
-
}, "se_DescribeMigrationTaskCommand");
|
|
523
|
-
var se_DisassociateCreatedArtifactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
524
|
-
const headers = sharedHeaders("DisassociateCreatedArtifact");
|
|
525
|
-
let body;
|
|
526
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
527
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
528
|
-
}, "se_DisassociateCreatedArtifactCommand");
|
|
529
|
-
var se_DisassociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
-
const headers = sharedHeaders("DisassociateDiscoveredResource");
|
|
531
|
-
let body;
|
|
532
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
533
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
534
|
-
}, "se_DisassociateDiscoveredResourceCommand");
|
|
535
|
-
var se_DisassociateSourceResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
|
-
const headers = sharedHeaders("DisassociateSourceResource");
|
|
537
|
-
let body;
|
|
538
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
539
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
540
|
-
}, "se_DisassociateSourceResourceCommand");
|
|
541
|
-
var se_ImportMigrationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
542
|
-
const headers = sharedHeaders("ImportMigrationTask");
|
|
543
|
-
let body;
|
|
544
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
545
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
546
|
-
}, "se_ImportMigrationTaskCommand");
|
|
547
|
-
var se_ListApplicationStatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
548
|
-
const headers = sharedHeaders("ListApplicationStates");
|
|
549
|
-
let body;
|
|
550
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
551
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
552
|
-
}, "se_ListApplicationStatesCommand");
|
|
553
|
-
var se_ListCreatedArtifactsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
-
const headers = sharedHeaders("ListCreatedArtifacts");
|
|
555
|
-
let body;
|
|
556
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
557
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
558
|
-
}, "se_ListCreatedArtifactsCommand");
|
|
559
|
-
var se_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
560
|
-
const headers = sharedHeaders("ListDiscoveredResources");
|
|
561
|
-
let body;
|
|
562
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
563
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
564
|
-
}, "se_ListDiscoveredResourcesCommand");
|
|
565
|
-
var se_ListMigrationTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
-
const headers = sharedHeaders("ListMigrationTasks");
|
|
567
|
-
let body;
|
|
568
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
569
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
570
|
-
}, "se_ListMigrationTasksCommand");
|
|
571
|
-
var se_ListMigrationTaskUpdatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
572
|
-
const headers = sharedHeaders("ListMigrationTaskUpdates");
|
|
573
|
-
let body;
|
|
574
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
575
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
576
|
-
}, "se_ListMigrationTaskUpdatesCommand");
|
|
577
|
-
var se_ListProgressUpdateStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
-
const headers = sharedHeaders("ListProgressUpdateStreams");
|
|
579
|
-
let body;
|
|
580
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
581
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
582
|
-
}, "se_ListProgressUpdateStreamsCommand");
|
|
583
|
-
var se_ListSourceResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
-
const headers = sharedHeaders("ListSourceResources");
|
|
585
|
-
let body;
|
|
586
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
587
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
588
|
-
}, "se_ListSourceResourcesCommand");
|
|
589
|
-
var se_NotifyApplicationStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
-
const headers = sharedHeaders("NotifyApplicationState");
|
|
591
|
-
let body;
|
|
592
|
-
body = JSON.stringify(se_NotifyApplicationStateRequest(input, context));
|
|
593
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
594
|
-
}, "se_NotifyApplicationStateCommand");
|
|
595
|
-
var se_NotifyMigrationTaskStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
596
|
-
const headers = sharedHeaders("NotifyMigrationTaskState");
|
|
597
|
-
let body;
|
|
598
|
-
body = JSON.stringify(se_NotifyMigrationTaskStateRequest(input, context));
|
|
599
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
600
|
-
}, "se_NotifyMigrationTaskStateCommand");
|
|
601
|
-
var se_PutResourceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
602
|
-
const headers = sharedHeaders("PutResourceAttributes");
|
|
603
|
-
let body;
|
|
604
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
605
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
606
|
-
}, "se_PutResourceAttributesCommand");
|
|
607
|
-
var de_AssociateCreatedArtifactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = (0, import_smithy_client._json)(data);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
}, "de_AssociateCreatedArtifactCommand");
|
|
620
|
-
var de_AssociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = (0, import_smithy_client._json)(data);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
}, "de_AssociateDiscoveredResourceCommand");
|
|
633
|
-
var de_AssociateSourceResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = (0, import_smithy_client._json)(data);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
}, "de_AssociateSourceResourceCommand");
|
|
646
|
-
var de_CreateProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = (0, import_smithy_client._json)(data);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
}, "de_CreateProgressUpdateStreamCommand");
|
|
659
|
-
var de_DeleteProgressUpdateStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = (0, import_smithy_client._json)(data);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
}, "de_DeleteProgressUpdateStreamCommand");
|
|
672
|
-
var de_DescribeApplicationStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = de_DescribeApplicationStateResult(data, context);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
}, "de_DescribeApplicationStateCommand");
|
|
685
|
-
var de_DescribeMigrationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = de_DescribeMigrationTaskResult(data, context);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
}, "de_DescribeMigrationTaskCommand");
|
|
698
|
-
var de_DisassociateCreatedArtifactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = (0, import_smithy_client._json)(data);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
}, "de_DisassociateCreatedArtifactCommand");
|
|
711
|
-
var de_DisassociateDiscoveredResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = (0, import_smithy_client._json)(data);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
}, "de_DisassociateDiscoveredResourceCommand");
|
|
724
|
-
var de_DisassociateSourceResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = (0, import_smithy_client._json)(data);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
}, "de_DisassociateSourceResourceCommand");
|
|
737
|
-
var de_ImportMigrationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = (0, import_smithy_client._json)(data);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
}, "de_ImportMigrationTaskCommand");
|
|
750
|
-
var de_ListApplicationStatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
751
|
-
if (output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
755
|
-
let contents = {};
|
|
756
|
-
contents = de_ListApplicationStatesResult(data, context);
|
|
757
|
-
const response = {
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
...contents
|
|
760
|
-
};
|
|
761
|
-
return response;
|
|
762
|
-
}, "de_ListApplicationStatesCommand");
|
|
763
|
-
var de_ListCreatedArtifactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
764
|
-
if (output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
768
|
-
let contents = {};
|
|
769
|
-
contents = (0, import_smithy_client._json)(data);
|
|
770
|
-
const response = {
|
|
771
|
-
$metadata: deserializeMetadata(output),
|
|
772
|
-
...contents
|
|
773
|
-
};
|
|
774
|
-
return response;
|
|
775
|
-
}, "de_ListCreatedArtifactsCommand");
|
|
776
|
-
var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
777
|
-
if (output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
781
|
-
let contents = {};
|
|
782
|
-
contents = (0, import_smithy_client._json)(data);
|
|
783
|
-
const response = {
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
...contents
|
|
786
|
-
};
|
|
787
|
-
return response;
|
|
788
|
-
}, "de_ListDiscoveredResourcesCommand");
|
|
789
|
-
var de_ListMigrationTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
790
|
-
if (output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
794
|
-
let contents = {};
|
|
795
|
-
contents = de_ListMigrationTasksResult(data, context);
|
|
796
|
-
const response = {
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
...contents
|
|
799
|
-
};
|
|
800
|
-
return response;
|
|
801
|
-
}, "de_ListMigrationTasksCommand");
|
|
802
|
-
var de_ListMigrationTaskUpdatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
803
|
-
if (output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = de_ListMigrationTaskUpdatesResult(data, context);
|
|
809
|
-
const response = {
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents
|
|
812
|
-
};
|
|
813
|
-
return response;
|
|
814
|
-
}, "de_ListMigrationTaskUpdatesCommand");
|
|
815
|
-
var de_ListProgressUpdateStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
816
|
-
if (output.statusCode >= 300) {
|
|
817
|
-
return de_CommandError(output, context);
|
|
818
|
-
}
|
|
819
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
820
|
-
let contents = {};
|
|
821
|
-
contents = (0, import_smithy_client._json)(data);
|
|
822
|
-
const response = {
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
...contents
|
|
825
|
-
};
|
|
826
|
-
return response;
|
|
827
|
-
}, "de_ListProgressUpdateStreamsCommand");
|
|
828
|
-
var de_ListSourceResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
829
|
-
if (output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
833
|
-
let contents = {};
|
|
834
|
-
contents = (0, import_smithy_client._json)(data);
|
|
835
|
-
const response = {
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
...contents
|
|
838
|
-
};
|
|
839
|
-
return response;
|
|
840
|
-
}, "de_ListSourceResourcesCommand");
|
|
841
|
-
var de_NotifyApplicationStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
842
|
-
if (output.statusCode >= 300) {
|
|
843
|
-
return de_CommandError(output, context);
|
|
844
|
-
}
|
|
845
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
846
|
-
let contents = {};
|
|
847
|
-
contents = (0, import_smithy_client._json)(data);
|
|
848
|
-
const response = {
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
...contents
|
|
851
|
-
};
|
|
852
|
-
return response;
|
|
853
|
-
}, "de_NotifyApplicationStateCommand");
|
|
854
|
-
var de_NotifyMigrationTaskStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = (0, import_smithy_client._json)(data);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
866
|
-
}, "de_NotifyMigrationTaskStateCommand");
|
|
867
|
-
var de_PutResourceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
868
|
-
if (output.statusCode >= 300) {
|
|
869
|
-
return de_CommandError(output, context);
|
|
870
|
-
}
|
|
871
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
872
|
-
let contents = {};
|
|
873
|
-
contents = (0, import_smithy_client._json)(data);
|
|
874
|
-
const response = {
|
|
875
|
-
$metadata: deserializeMetadata(output),
|
|
876
|
-
...contents
|
|
877
|
-
};
|
|
878
|
-
return response;
|
|
879
|
-
}, "de_PutResourceAttributesCommand");
|
|
880
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
881
|
-
const parsedOutput = {
|
|
882
|
-
...output,
|
|
883
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
884
|
-
};
|
|
885
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
886
|
-
switch (errorCode) {
|
|
887
|
-
case "AccessDeniedException":
|
|
888
|
-
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
889
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
890
|
-
case "DryRunOperation":
|
|
891
|
-
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
892
|
-
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
893
|
-
case "HomeRegionNotSetException":
|
|
894
|
-
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
895
|
-
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
896
|
-
case "InternalServerError":
|
|
897
|
-
case "com.amazonaws.migrationhub#InternalServerError":
|
|
898
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
899
|
-
case "InvalidInputException":
|
|
900
|
-
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
901
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
902
|
-
case "ResourceNotFoundException":
|
|
903
|
-
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
904
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
905
|
-
case "ServiceUnavailableException":
|
|
906
|
-
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
907
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
908
|
-
case "ThrottlingException":
|
|
909
|
-
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
910
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
911
|
-
case "UnauthorizedOperation":
|
|
912
|
-
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
913
|
-
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
914
|
-
case "PolicyErrorException":
|
|
915
|
-
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
916
|
-
throw await de_PolicyErrorExceptionRes(parsedOutput, context);
|
|
917
|
-
default:
|
|
918
|
-
const parsedBody = parsedOutput.body;
|
|
919
|
-
return throwDefaultError({
|
|
920
|
-
output,
|
|
921
|
-
parsedBody,
|
|
922
|
-
errorCode
|
|
923
|
-
});
|
|
924
|
-
}
|
|
925
|
-
}, "de_CommandError");
|
|
926
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
927
|
-
const body = parsedOutput.body;
|
|
928
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
929
|
-
const exception = new AccessDeniedException({
|
|
930
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
931
|
-
...deserialized
|
|
932
|
-
});
|
|
933
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
934
|
-
}, "de_AccessDeniedExceptionRes");
|
|
935
|
-
var de_DryRunOperationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
936
|
-
const body = parsedOutput.body;
|
|
937
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
938
|
-
const exception = new DryRunOperation({
|
|
939
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
940
|
-
...deserialized
|
|
941
|
-
});
|
|
942
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
943
|
-
}, "de_DryRunOperationRes");
|
|
944
|
-
var de_HomeRegionNotSetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
945
|
-
const body = parsedOutput.body;
|
|
946
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
947
|
-
const exception = new HomeRegionNotSetException({
|
|
948
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
949
|
-
...deserialized
|
|
950
|
-
});
|
|
951
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
952
|
-
}, "de_HomeRegionNotSetExceptionRes");
|
|
953
|
-
var de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
954
|
-
const body = parsedOutput.body;
|
|
955
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
956
|
-
const exception = new InternalServerError({
|
|
957
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
958
|
-
...deserialized
|
|
959
|
-
});
|
|
960
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
961
|
-
}, "de_InternalServerErrorRes");
|
|
962
|
-
var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
963
|
-
const body = parsedOutput.body;
|
|
964
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
965
|
-
const exception = new InvalidInputException({
|
|
966
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
967
|
-
...deserialized
|
|
968
|
-
});
|
|
969
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
970
|
-
}, "de_InvalidInputExceptionRes");
|
|
971
|
-
var de_PolicyErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
972
|
-
const body = parsedOutput.body;
|
|
973
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
974
|
-
const exception = new PolicyErrorException({
|
|
975
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
976
|
-
...deserialized
|
|
977
|
-
});
|
|
978
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
979
|
-
}, "de_PolicyErrorExceptionRes");
|
|
980
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
981
|
-
const body = parsedOutput.body;
|
|
982
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
983
|
-
const exception = new ResourceNotFoundException({
|
|
984
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
985
|
-
...deserialized
|
|
986
|
-
});
|
|
987
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
988
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
989
|
-
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
990
|
-
const body = parsedOutput.body;
|
|
991
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
992
|
-
const exception = new ServiceUnavailableException({
|
|
993
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
994
|
-
...deserialized
|
|
995
|
-
});
|
|
996
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
997
|
-
}, "de_ServiceUnavailableExceptionRes");
|
|
998
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
999
|
-
const body = parsedOutput.body;
|
|
1000
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1001
|
-
const exception = new ThrottlingException({
|
|
1002
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1003
|
-
...deserialized
|
|
1004
|
-
});
|
|
1005
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1006
|
-
}, "de_ThrottlingExceptionRes");
|
|
1007
|
-
var de_UnauthorizedOperationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1008
|
-
const body = parsedOutput.body;
|
|
1009
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1010
|
-
const exception = new UnauthorizedOperation({
|
|
1011
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1012
|
-
...deserialized
|
|
1013
|
-
});
|
|
1014
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1015
|
-
}, "de_UnauthorizedOperationRes");
|
|
1016
|
-
var se_NotifyApplicationStateRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1017
|
-
return (0, import_smithy_client.take)(input, {
|
|
1018
|
-
ApplicationId: [],
|
|
1019
|
-
DryRun: [],
|
|
1020
|
-
Status: [],
|
|
1021
|
-
UpdateDateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "UpdateDateTime")
|
|
1022
|
-
});
|
|
1023
|
-
}, "se_NotifyApplicationStateRequest");
|
|
1024
|
-
var se_NotifyMigrationTaskStateRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1025
|
-
return (0, import_smithy_client.take)(input, {
|
|
1026
|
-
DryRun: [],
|
|
1027
|
-
MigrationTaskName: [],
|
|
1028
|
-
NextUpdateSeconds: [],
|
|
1029
|
-
ProgressUpdateStream: [],
|
|
1030
|
-
Task: import_smithy_client._json,
|
|
1031
|
-
UpdateDateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "UpdateDateTime")
|
|
1032
|
-
});
|
|
1033
|
-
}, "se_NotifyMigrationTaskStateRequest");
|
|
1034
|
-
var de_ApplicationState = /* @__PURE__ */ __name((output, context) => {
|
|
1035
|
-
return (0, import_smithy_client.take)(output, {
|
|
1036
|
-
ApplicationId: import_smithy_client.expectString,
|
|
1037
|
-
ApplicationStatus: import_smithy_client.expectString,
|
|
1038
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime")
|
|
1039
|
-
});
|
|
1040
|
-
}, "de_ApplicationState");
|
|
1041
|
-
var de_ApplicationStateList = /* @__PURE__ */ __name((output, context) => {
|
|
1042
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1043
|
-
return de_ApplicationState(entry, context);
|
|
1044
|
-
});
|
|
1045
|
-
return retVal;
|
|
1046
|
-
}, "de_ApplicationStateList");
|
|
1047
|
-
var de_DescribeApplicationStateResult = /* @__PURE__ */ __name((output, context) => {
|
|
1048
|
-
return (0, import_smithy_client.take)(output, {
|
|
1049
|
-
ApplicationStatus: import_smithy_client.expectString,
|
|
1050
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime")
|
|
1051
|
-
});
|
|
1052
|
-
}, "de_DescribeApplicationStateResult");
|
|
1053
|
-
var de_DescribeMigrationTaskResult = /* @__PURE__ */ __name((output, context) => {
|
|
1054
|
-
return (0, import_smithy_client.take)(output, {
|
|
1055
|
-
MigrationTask: /* @__PURE__ */ __name((_) => de_MigrationTask(_, context), "MigrationTask")
|
|
1056
|
-
});
|
|
1057
|
-
}, "de_DescribeMigrationTaskResult");
|
|
1058
|
-
var de_ListApplicationStatesResult = /* @__PURE__ */ __name((output, context) => {
|
|
1059
|
-
return (0, import_smithy_client.take)(output, {
|
|
1060
|
-
ApplicationStateList: /* @__PURE__ */ __name((_) => de_ApplicationStateList(_, context), "ApplicationStateList"),
|
|
1061
|
-
NextToken: import_smithy_client.expectString
|
|
1062
|
-
});
|
|
1063
|
-
}, "de_ListApplicationStatesResult");
|
|
1064
|
-
var de_ListMigrationTasksResult = /* @__PURE__ */ __name((output, context) => {
|
|
1065
|
-
return (0, import_smithy_client.take)(output, {
|
|
1066
|
-
MigrationTaskSummaryList: /* @__PURE__ */ __name((_) => de_MigrationTaskSummaryList(_, context), "MigrationTaskSummaryList"),
|
|
1067
|
-
NextToken: import_smithy_client.expectString
|
|
1068
|
-
});
|
|
1069
|
-
}, "de_ListMigrationTasksResult");
|
|
1070
|
-
var de_ListMigrationTaskUpdatesResult = /* @__PURE__ */ __name((output, context) => {
|
|
1071
|
-
return (0, import_smithy_client.take)(output, {
|
|
1072
|
-
MigrationTaskUpdateList: /* @__PURE__ */ __name((_) => de_MigrationTaskUpdateList(_, context), "MigrationTaskUpdateList"),
|
|
1073
|
-
NextToken: import_smithy_client.expectString
|
|
1074
|
-
});
|
|
1075
|
-
}, "de_ListMigrationTaskUpdatesResult");
|
|
1076
|
-
var de_MigrationTask = /* @__PURE__ */ __name((output, context) => {
|
|
1077
|
-
return (0, import_smithy_client.take)(output, {
|
|
1078
|
-
MigrationTaskName: import_smithy_client.expectString,
|
|
1079
|
-
ProgressUpdateStream: import_smithy_client.expectString,
|
|
1080
|
-
ResourceAttributeList: import_smithy_client._json,
|
|
1081
|
-
Task: import_smithy_client._json,
|
|
1082
|
-
UpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdateDateTime")
|
|
1083
|
-
});
|
|
1084
|
-
}, "de_MigrationTask");
|
|
1085
|
-
var de_MigrationTaskSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1086
|
-
return (0, import_smithy_client.take)(output, {
|
|
1087
|
-
MigrationTaskName: import_smithy_client.expectString,
|
|
1088
|
-
ProgressPercent: import_smithy_client.expectInt32,
|
|
1089
|
-
ProgressUpdateStream: import_smithy_client.expectString,
|
|
1090
|
-
Status: import_smithy_client.expectString,
|
|
1091
|
-
StatusDetail: import_smithy_client.expectString,
|
|
1092
|
-
UpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdateDateTime")
|
|
1093
|
-
});
|
|
1094
|
-
}, "de_MigrationTaskSummary");
|
|
1095
|
-
var de_MigrationTaskSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1096
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1097
|
-
return de_MigrationTaskSummary(entry, context);
|
|
1098
|
-
});
|
|
1099
|
-
return retVal;
|
|
1100
|
-
}, "de_MigrationTaskSummaryList");
|
|
1101
|
-
var de_MigrationTaskUpdate = /* @__PURE__ */ __name((output, context) => {
|
|
1102
|
-
return (0, import_smithy_client.take)(output, {
|
|
1103
|
-
MigrationTaskState: import_smithy_client._json,
|
|
1104
|
-
UpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdateDateTime"),
|
|
1105
|
-
UpdateType: import_smithy_client.expectString
|
|
1106
|
-
});
|
|
1107
|
-
}, "de_MigrationTaskUpdate");
|
|
1108
|
-
var de_MigrationTaskUpdateList = /* @__PURE__ */ __name((output, context) => {
|
|
1109
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1110
|
-
return de_MigrationTaskUpdate(entry, context);
|
|
1111
|
-
});
|
|
1112
|
-
return retVal;
|
|
1113
|
-
}, "de_MigrationTaskUpdateList");
|
|
1114
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1115
|
-
httpStatusCode: output.statusCode,
|
|
1116
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1117
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1118
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1119
|
-
}), "deserializeMetadata");
|
|
1120
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(MigrationHubServiceException);
|
|
1121
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1122
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1123
|
-
const contents = {
|
|
1124
|
-
protocol,
|
|
1125
|
-
hostname,
|
|
1126
|
-
port,
|
|
1127
|
-
method: "POST",
|
|
1128
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1129
|
-
headers
|
|
1130
|
-
};
|
|
1131
|
-
if (resolvedHostname !== void 0) {
|
|
1132
|
-
contents.hostname = resolvedHostname;
|
|
1133
|
-
}
|
|
1134
|
-
if (body !== void 0) {
|
|
1135
|
-
contents.body = body;
|
|
1136
|
-
}
|
|
1137
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1138
|
-
}, "buildHttpRpcRequest");
|
|
1139
|
-
function sharedHeaders(operation) {
|
|
1140
|
-
return {
|
|
1141
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1142
|
-
"x-amz-target": `AWSMigrationHub.${operation}`
|
|
1143
|
-
};
|
|
1144
|
-
}
|
|
1145
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1146
|
-
|
|
1147
|
-
// src/commands/AssociateCreatedArtifactCommand.ts
|
|
1148
|
-
var AssociateCreatedArtifactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1149
|
-
return [
|
|
1150
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1151
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1152
|
-
];
|
|
1153
|
-
}).s("AWSMigrationHub", "AssociateCreatedArtifact", {}).n("MigrationHubClient", "AssociateCreatedArtifactCommand").f(void 0, void 0).ser(se_AssociateCreatedArtifactCommand).de(de_AssociateCreatedArtifactCommand).build() {
|
|
1154
|
-
static {
|
|
1155
|
-
__name(this, "AssociateCreatedArtifactCommand");
|
|
1156
|
-
}
|
|
824
|
+
const se_NotifyApplicationStateRequest = (input, context) => {
|
|
825
|
+
return smithyClient.take(input, {
|
|
826
|
+
ApplicationId: [],
|
|
827
|
+
DryRun: [],
|
|
828
|
+
Status: [],
|
|
829
|
+
UpdateDateTime: (_) => _.getTime() / 1_000,
|
|
830
|
+
});
|
|
1157
831
|
};
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
];
|
|
1168
|
-
}).s("AWSMigrationHub", "AssociateDiscoveredResource", {}).n("MigrationHubClient", "AssociateDiscoveredResourceCommand").f(void 0, void 0).ser(se_AssociateDiscoveredResourceCommand).de(de_AssociateDiscoveredResourceCommand).build() {
|
|
1169
|
-
static {
|
|
1170
|
-
__name(this, "AssociateDiscoveredResourceCommand");
|
|
1171
|
-
}
|
|
832
|
+
const se_NotifyMigrationTaskStateRequest = (input, context) => {
|
|
833
|
+
return smithyClient.take(input, {
|
|
834
|
+
DryRun: [],
|
|
835
|
+
MigrationTaskName: [],
|
|
836
|
+
NextUpdateSeconds: [],
|
|
837
|
+
ProgressUpdateStream: [],
|
|
838
|
+
Task: smithyClient._json,
|
|
839
|
+
UpdateDateTime: (_) => _.getTime() / 1_000,
|
|
840
|
+
});
|
|
1172
841
|
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
return [
|
|
1180
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1181
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1182
|
-
];
|
|
1183
|
-
}).s("AWSMigrationHub", "AssociateSourceResource", {}).n("MigrationHubClient", "AssociateSourceResourceCommand").f(void 0, void 0).ser(se_AssociateSourceResourceCommand).de(de_AssociateSourceResourceCommand).build() {
|
|
1184
|
-
static {
|
|
1185
|
-
__name(this, "AssociateSourceResourceCommand");
|
|
1186
|
-
}
|
|
842
|
+
const de_ApplicationState = (output, context) => {
|
|
843
|
+
return smithyClient.take(output, {
|
|
844
|
+
ApplicationId: smithyClient.expectString,
|
|
845
|
+
ApplicationStatus: smithyClient.expectString,
|
|
846
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
847
|
+
});
|
|
1187
848
|
};
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1196
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1197
|
-
];
|
|
1198
|
-
}).s("AWSMigrationHub", "CreateProgressUpdateStream", {}).n("MigrationHubClient", "CreateProgressUpdateStreamCommand").f(void 0, void 0).ser(se_CreateProgressUpdateStreamCommand).de(de_CreateProgressUpdateStreamCommand).build() {
|
|
1199
|
-
static {
|
|
1200
|
-
__name(this, "CreateProgressUpdateStreamCommand");
|
|
1201
|
-
}
|
|
849
|
+
const de_ApplicationStateList = (output, context) => {
|
|
850
|
+
const retVal = (output || [])
|
|
851
|
+
.filter((e) => e != null)
|
|
852
|
+
.map((entry) => {
|
|
853
|
+
return de_ApplicationState(entry);
|
|
854
|
+
});
|
|
855
|
+
return retVal;
|
|
1202
856
|
};
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
var DeleteProgressUpdateStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1209
|
-
return [
|
|
1210
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1211
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1212
|
-
];
|
|
1213
|
-
}).s("AWSMigrationHub", "DeleteProgressUpdateStream", {}).n("MigrationHubClient", "DeleteProgressUpdateStreamCommand").f(void 0, void 0).ser(se_DeleteProgressUpdateStreamCommand).de(de_DeleteProgressUpdateStreamCommand).build() {
|
|
1214
|
-
static {
|
|
1215
|
-
__name(this, "DeleteProgressUpdateStreamCommand");
|
|
1216
|
-
}
|
|
857
|
+
const de_DescribeApplicationStateResult = (output, context) => {
|
|
858
|
+
return smithyClient.take(output, {
|
|
859
|
+
ApplicationStatus: smithyClient.expectString,
|
|
860
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
861
|
+
});
|
|
1217
862
|
};
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
var DescribeApplicationStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1224
|
-
return [
|
|
1225
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1226
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1227
|
-
];
|
|
1228
|
-
}).s("AWSMigrationHub", "DescribeApplicationState", {}).n("MigrationHubClient", "DescribeApplicationStateCommand").f(void 0, void 0).ser(se_DescribeApplicationStateCommand).de(de_DescribeApplicationStateCommand).build() {
|
|
1229
|
-
static {
|
|
1230
|
-
__name(this, "DescribeApplicationStateCommand");
|
|
1231
|
-
}
|
|
863
|
+
const de_DescribeMigrationTaskResult = (output, context) => {
|
|
864
|
+
return smithyClient.take(output, {
|
|
865
|
+
MigrationTask: (_) => de_MigrationTask(_),
|
|
866
|
+
});
|
|
1232
867
|
};
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
var DescribeMigrationTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1239
|
-
return [
|
|
1240
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1241
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1242
|
-
];
|
|
1243
|
-
}).s("AWSMigrationHub", "DescribeMigrationTask", {}).n("MigrationHubClient", "DescribeMigrationTaskCommand").f(void 0, void 0).ser(se_DescribeMigrationTaskCommand).de(de_DescribeMigrationTaskCommand).build() {
|
|
1244
|
-
static {
|
|
1245
|
-
__name(this, "DescribeMigrationTaskCommand");
|
|
1246
|
-
}
|
|
868
|
+
const de_ListApplicationStatesResult = (output, context) => {
|
|
869
|
+
return smithyClient.take(output, {
|
|
870
|
+
ApplicationStateList: (_) => de_ApplicationStateList(_),
|
|
871
|
+
NextToken: smithyClient.expectString,
|
|
872
|
+
});
|
|
1247
873
|
};
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
var DisassociateCreatedArtifactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1254
|
-
return [
|
|
1255
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1256
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1257
|
-
];
|
|
1258
|
-
}).s("AWSMigrationHub", "DisassociateCreatedArtifact", {}).n("MigrationHubClient", "DisassociateCreatedArtifactCommand").f(void 0, void 0).ser(se_DisassociateCreatedArtifactCommand).de(de_DisassociateCreatedArtifactCommand).build() {
|
|
1259
|
-
static {
|
|
1260
|
-
__name(this, "DisassociateCreatedArtifactCommand");
|
|
1261
|
-
}
|
|
874
|
+
const de_ListMigrationTasksResult = (output, context) => {
|
|
875
|
+
return smithyClient.take(output, {
|
|
876
|
+
MigrationTaskSummaryList: (_) => de_MigrationTaskSummaryList(_),
|
|
877
|
+
NextToken: smithyClient.expectString,
|
|
878
|
+
});
|
|
1262
879
|
};
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
var DisassociateDiscoveredResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1269
|
-
return [
|
|
1270
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1271
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1272
|
-
];
|
|
1273
|
-
}).s("AWSMigrationHub", "DisassociateDiscoveredResource", {}).n("MigrationHubClient", "DisassociateDiscoveredResourceCommand").f(void 0, void 0).ser(se_DisassociateDiscoveredResourceCommand).de(de_DisassociateDiscoveredResourceCommand).build() {
|
|
1274
|
-
static {
|
|
1275
|
-
__name(this, "DisassociateDiscoveredResourceCommand");
|
|
1276
|
-
}
|
|
880
|
+
const de_ListMigrationTaskUpdatesResult = (output, context) => {
|
|
881
|
+
return smithyClient.take(output, {
|
|
882
|
+
MigrationTaskUpdateList: (_) => de_MigrationTaskUpdateList(_),
|
|
883
|
+
NextToken: smithyClient.expectString,
|
|
884
|
+
});
|
|
1277
885
|
};
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1287
|
-
];
|
|
1288
|
-
}).s("AWSMigrationHub", "DisassociateSourceResource", {}).n("MigrationHubClient", "DisassociateSourceResourceCommand").f(void 0, void 0).ser(se_DisassociateSourceResourceCommand).de(de_DisassociateSourceResourceCommand).build() {
|
|
1289
|
-
static {
|
|
1290
|
-
__name(this, "DisassociateSourceResourceCommand");
|
|
1291
|
-
}
|
|
886
|
+
const de_MigrationTask = (output, context) => {
|
|
887
|
+
return smithyClient.take(output, {
|
|
888
|
+
MigrationTaskName: smithyClient.expectString,
|
|
889
|
+
ProgressUpdateStream: smithyClient.expectString,
|
|
890
|
+
ResourceAttributeList: smithyClient._json,
|
|
891
|
+
Task: smithyClient._json,
|
|
892
|
+
UpdateDateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
893
|
+
});
|
|
1292
894
|
};
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
];
|
|
1303
|
-
}).s("AWSMigrationHub", "ImportMigrationTask", {}).n("MigrationHubClient", "ImportMigrationTaskCommand").f(void 0, void 0).ser(se_ImportMigrationTaskCommand).de(de_ImportMigrationTaskCommand).build() {
|
|
1304
|
-
static {
|
|
1305
|
-
__name(this, "ImportMigrationTaskCommand");
|
|
1306
|
-
}
|
|
895
|
+
const de_MigrationTaskSummary = (output, context) => {
|
|
896
|
+
return smithyClient.take(output, {
|
|
897
|
+
MigrationTaskName: smithyClient.expectString,
|
|
898
|
+
ProgressPercent: smithyClient.expectInt32,
|
|
899
|
+
ProgressUpdateStream: smithyClient.expectString,
|
|
900
|
+
Status: smithyClient.expectString,
|
|
901
|
+
StatusDetail: smithyClient.expectString,
|
|
902
|
+
UpdateDateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
903
|
+
});
|
|
1307
904
|
};
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1316
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1317
|
-
];
|
|
1318
|
-
}).s("AWSMigrationHub", "ListApplicationStates", {}).n("MigrationHubClient", "ListApplicationStatesCommand").f(void 0, void 0).ser(se_ListApplicationStatesCommand).de(de_ListApplicationStatesCommand).build() {
|
|
1319
|
-
static {
|
|
1320
|
-
__name(this, "ListApplicationStatesCommand");
|
|
1321
|
-
}
|
|
905
|
+
const de_MigrationTaskSummaryList = (output, context) => {
|
|
906
|
+
const retVal = (output || [])
|
|
907
|
+
.filter((e) => e != null)
|
|
908
|
+
.map((entry) => {
|
|
909
|
+
return de_MigrationTaskSummary(entry);
|
|
910
|
+
});
|
|
911
|
+
return retVal;
|
|
1322
912
|
};
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
return [
|
|
1330
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1331
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1332
|
-
];
|
|
1333
|
-
}).s("AWSMigrationHub", "ListCreatedArtifacts", {}).n("MigrationHubClient", "ListCreatedArtifactsCommand").f(void 0, void 0).ser(se_ListCreatedArtifactsCommand).de(de_ListCreatedArtifactsCommand).build() {
|
|
1334
|
-
static {
|
|
1335
|
-
__name(this, "ListCreatedArtifactsCommand");
|
|
1336
|
-
}
|
|
913
|
+
const de_MigrationTaskUpdate = (output, context) => {
|
|
914
|
+
return smithyClient.take(output, {
|
|
915
|
+
MigrationTaskState: smithyClient._json,
|
|
916
|
+
UpdateDateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
917
|
+
UpdateType: smithyClient.expectString,
|
|
918
|
+
});
|
|
1337
919
|
};
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1346
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1347
|
-
];
|
|
1348
|
-
}).s("AWSMigrationHub", "ListDiscoveredResources", {}).n("MigrationHubClient", "ListDiscoveredResourcesCommand").f(void 0, void 0).ser(se_ListDiscoveredResourcesCommand).de(de_ListDiscoveredResourcesCommand).build() {
|
|
1349
|
-
static {
|
|
1350
|
-
__name(this, "ListDiscoveredResourcesCommand");
|
|
1351
|
-
}
|
|
920
|
+
const de_MigrationTaskUpdateList = (output, context) => {
|
|
921
|
+
const retVal = (output || [])
|
|
922
|
+
.filter((e) => e != null)
|
|
923
|
+
.map((entry) => {
|
|
924
|
+
return de_MigrationTaskUpdate(entry);
|
|
925
|
+
});
|
|
926
|
+
return retVal;
|
|
1352
927
|
};
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
928
|
+
const deserializeMetadata = (output) => ({
|
|
929
|
+
httpStatusCode: output.statusCode,
|
|
930
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
931
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
932
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
933
|
+
});
|
|
934
|
+
const throwDefaultError = smithyClient.withBaseException(MigrationHubServiceException);
|
|
935
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
936
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
937
|
+
const contents = {
|
|
938
|
+
protocol,
|
|
939
|
+
hostname,
|
|
940
|
+
port,
|
|
941
|
+
method: "POST",
|
|
942
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
943
|
+
headers,
|
|
944
|
+
};
|
|
945
|
+
if (body !== undefined) {
|
|
946
|
+
contents.body = body;
|
|
947
|
+
}
|
|
948
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1367
949
|
};
|
|
950
|
+
function sharedHeaders(operation) {
|
|
951
|
+
return {
|
|
952
|
+
"content-type": "application/x-amz-json-1.1",
|
|
953
|
+
"x-amz-target": `AWSMigrationHub.${operation}`,
|
|
954
|
+
};
|
|
955
|
+
}
|
|
1368
956
|
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
957
|
+
class AssociateCreatedArtifactCommand extends smithyClient.Command
|
|
958
|
+
.classBuilder()
|
|
959
|
+
.ep(commonParams)
|
|
960
|
+
.m(function (Command, cs, config, o) {
|
|
961
|
+
return [
|
|
962
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
963
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
964
|
+
];
|
|
965
|
+
})
|
|
966
|
+
.s("AWSMigrationHub", "AssociateCreatedArtifact", {})
|
|
967
|
+
.n("MigrationHubClient", "AssociateCreatedArtifactCommand")
|
|
968
|
+
.f(void 0, void 0)
|
|
969
|
+
.ser(se_AssociateCreatedArtifactCommand)
|
|
970
|
+
.de(de_AssociateCreatedArtifactCommand)
|
|
971
|
+
.build() {
|
|
972
|
+
}
|
|
1372
973
|
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
(
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
}
|
|
974
|
+
class AssociateDiscoveredResourceCommand extends smithyClient.Command
|
|
975
|
+
.classBuilder()
|
|
976
|
+
.ep(commonParams)
|
|
977
|
+
.m(function (Command, cs, config, o) {
|
|
978
|
+
return [
|
|
979
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
980
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
981
|
+
];
|
|
982
|
+
})
|
|
983
|
+
.s("AWSMigrationHub", "AssociateDiscoveredResource", {})
|
|
984
|
+
.n("MigrationHubClient", "AssociateDiscoveredResourceCommand")
|
|
985
|
+
.f(void 0, void 0)
|
|
986
|
+
.ser(se_AssociateDiscoveredResourceCommand)
|
|
987
|
+
.de(de_AssociateDiscoveredResourceCommand)
|
|
988
|
+
.build() {
|
|
989
|
+
}
|
|
1383
990
|
|
|
1384
|
-
|
|
991
|
+
class AssociateSourceResourceCommand extends smithyClient.Command
|
|
992
|
+
.classBuilder()
|
|
993
|
+
.ep(commonParams)
|
|
994
|
+
.m(function (Command, cs, config, o) {
|
|
995
|
+
return [
|
|
996
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
997
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
998
|
+
];
|
|
999
|
+
})
|
|
1000
|
+
.s("AWSMigrationHub", "AssociateSourceResource", {})
|
|
1001
|
+
.n("MigrationHubClient", "AssociateSourceResourceCommand")
|
|
1002
|
+
.f(void 0, void 0)
|
|
1003
|
+
.ser(se_AssociateSourceResourceCommand)
|
|
1004
|
+
.de(de_AssociateSourceResourceCommand)
|
|
1005
|
+
.build() {
|
|
1006
|
+
}
|
|
1385
1007
|
|
|
1008
|
+
class CreateProgressUpdateStreamCommand extends smithyClient.Command
|
|
1009
|
+
.classBuilder()
|
|
1010
|
+
.ep(commonParams)
|
|
1011
|
+
.m(function (Command, cs, config, o) {
|
|
1012
|
+
return [
|
|
1013
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1014
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1015
|
+
];
|
|
1016
|
+
})
|
|
1017
|
+
.s("AWSMigrationHub", "CreateProgressUpdateStream", {})
|
|
1018
|
+
.n("MigrationHubClient", "CreateProgressUpdateStreamCommand")
|
|
1019
|
+
.f(void 0, void 0)
|
|
1020
|
+
.ser(se_CreateProgressUpdateStreamCommand)
|
|
1021
|
+
.de(de_CreateProgressUpdateStreamCommand)
|
|
1022
|
+
.build() {
|
|
1023
|
+
}
|
|
1386
1024
|
|
|
1025
|
+
class DeleteProgressUpdateStreamCommand extends smithyClient.Command
|
|
1026
|
+
.classBuilder()
|
|
1027
|
+
.ep(commonParams)
|
|
1028
|
+
.m(function (Command, cs, config, o) {
|
|
1029
|
+
return [
|
|
1030
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1031
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1032
|
+
];
|
|
1033
|
+
})
|
|
1034
|
+
.s("AWSMigrationHub", "DeleteProgressUpdateStream", {})
|
|
1035
|
+
.n("MigrationHubClient", "DeleteProgressUpdateStreamCommand")
|
|
1036
|
+
.f(void 0, void 0)
|
|
1037
|
+
.ser(se_DeleteProgressUpdateStreamCommand)
|
|
1038
|
+
.de(de_DeleteProgressUpdateStreamCommand)
|
|
1039
|
+
.build() {
|
|
1040
|
+
}
|
|
1387
1041
|
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
(
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
}
|
|
1042
|
+
class DescribeApplicationStateCommand extends smithyClient.Command
|
|
1043
|
+
.classBuilder()
|
|
1044
|
+
.ep(commonParams)
|
|
1045
|
+
.m(function (Command, cs, config, o) {
|
|
1046
|
+
return [
|
|
1047
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1048
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1049
|
+
];
|
|
1050
|
+
})
|
|
1051
|
+
.s("AWSMigrationHub", "DescribeApplicationState", {})
|
|
1052
|
+
.n("MigrationHubClient", "DescribeApplicationStateCommand")
|
|
1053
|
+
.f(void 0, void 0)
|
|
1054
|
+
.ser(se_DescribeApplicationStateCommand)
|
|
1055
|
+
.de(de_DescribeApplicationStateCommand)
|
|
1056
|
+
.build() {
|
|
1057
|
+
}
|
|
1398
1058
|
|
|
1399
|
-
|
|
1059
|
+
class DescribeMigrationTaskCommand extends smithyClient.Command
|
|
1060
|
+
.classBuilder()
|
|
1061
|
+
.ep(commonParams)
|
|
1062
|
+
.m(function (Command, cs, config, o) {
|
|
1063
|
+
return [
|
|
1064
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1065
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1066
|
+
];
|
|
1067
|
+
})
|
|
1068
|
+
.s("AWSMigrationHub", "DescribeMigrationTask", {})
|
|
1069
|
+
.n("MigrationHubClient", "DescribeMigrationTaskCommand")
|
|
1070
|
+
.f(void 0, void 0)
|
|
1071
|
+
.ser(se_DescribeMigrationTaskCommand)
|
|
1072
|
+
.de(de_DescribeMigrationTaskCommand)
|
|
1073
|
+
.build() {
|
|
1074
|
+
}
|
|
1400
1075
|
|
|
1076
|
+
class DisassociateCreatedArtifactCommand extends smithyClient.Command
|
|
1077
|
+
.classBuilder()
|
|
1078
|
+
.ep(commonParams)
|
|
1079
|
+
.m(function (Command, cs, config, o) {
|
|
1080
|
+
return [
|
|
1081
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1082
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1083
|
+
];
|
|
1084
|
+
})
|
|
1085
|
+
.s("AWSMigrationHub", "DisassociateCreatedArtifact", {})
|
|
1086
|
+
.n("MigrationHubClient", "DisassociateCreatedArtifactCommand")
|
|
1087
|
+
.f(void 0, void 0)
|
|
1088
|
+
.ser(se_DisassociateCreatedArtifactCommand)
|
|
1089
|
+
.de(de_DisassociateCreatedArtifactCommand)
|
|
1090
|
+
.build() {
|
|
1091
|
+
}
|
|
1401
1092
|
|
|
1093
|
+
class DisassociateDiscoveredResourceCommand extends smithyClient.Command
|
|
1094
|
+
.classBuilder()
|
|
1095
|
+
.ep(commonParams)
|
|
1096
|
+
.m(function (Command, cs, config, o) {
|
|
1097
|
+
return [
|
|
1098
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1099
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1100
|
+
];
|
|
1101
|
+
})
|
|
1102
|
+
.s("AWSMigrationHub", "DisassociateDiscoveredResource", {})
|
|
1103
|
+
.n("MigrationHubClient", "DisassociateDiscoveredResourceCommand")
|
|
1104
|
+
.f(void 0, void 0)
|
|
1105
|
+
.ser(se_DisassociateDiscoveredResourceCommand)
|
|
1106
|
+
.de(de_DisassociateDiscoveredResourceCommand)
|
|
1107
|
+
.build() {
|
|
1108
|
+
}
|
|
1402
1109
|
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
(
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1110
|
+
class DisassociateSourceResourceCommand extends smithyClient.Command
|
|
1111
|
+
.classBuilder()
|
|
1112
|
+
.ep(commonParams)
|
|
1113
|
+
.m(function (Command, cs, config, o) {
|
|
1114
|
+
return [
|
|
1115
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1116
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1117
|
+
];
|
|
1118
|
+
})
|
|
1119
|
+
.s("AWSMigrationHub", "DisassociateSourceResource", {})
|
|
1120
|
+
.n("MigrationHubClient", "DisassociateSourceResourceCommand")
|
|
1121
|
+
.f(void 0, void 0)
|
|
1122
|
+
.ser(se_DisassociateSourceResourceCommand)
|
|
1123
|
+
.de(de_DisassociateSourceResourceCommand)
|
|
1124
|
+
.build() {
|
|
1125
|
+
}
|
|
1413
1126
|
|
|
1414
|
-
|
|
1127
|
+
class ImportMigrationTaskCommand extends smithyClient.Command
|
|
1128
|
+
.classBuilder()
|
|
1129
|
+
.ep(commonParams)
|
|
1130
|
+
.m(function (Command, cs, config, o) {
|
|
1131
|
+
return [
|
|
1132
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1133
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1134
|
+
];
|
|
1135
|
+
})
|
|
1136
|
+
.s("AWSMigrationHub", "ImportMigrationTask", {})
|
|
1137
|
+
.n("MigrationHubClient", "ImportMigrationTaskCommand")
|
|
1138
|
+
.f(void 0, void 0)
|
|
1139
|
+
.ser(se_ImportMigrationTaskCommand)
|
|
1140
|
+
.de(de_ImportMigrationTaskCommand)
|
|
1141
|
+
.build() {
|
|
1142
|
+
}
|
|
1415
1143
|
|
|
1144
|
+
class ListApplicationStatesCommand extends smithyClient.Command
|
|
1145
|
+
.classBuilder()
|
|
1146
|
+
.ep(commonParams)
|
|
1147
|
+
.m(function (Command, cs, config, o) {
|
|
1148
|
+
return [
|
|
1149
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1150
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1151
|
+
];
|
|
1152
|
+
})
|
|
1153
|
+
.s("AWSMigrationHub", "ListApplicationStates", {})
|
|
1154
|
+
.n("MigrationHubClient", "ListApplicationStatesCommand")
|
|
1155
|
+
.f(void 0, void 0)
|
|
1156
|
+
.ser(se_ListApplicationStatesCommand)
|
|
1157
|
+
.de(de_ListApplicationStatesCommand)
|
|
1158
|
+
.build() {
|
|
1159
|
+
}
|
|
1416
1160
|
|
|
1161
|
+
class ListCreatedArtifactsCommand extends smithyClient.Command
|
|
1162
|
+
.classBuilder()
|
|
1163
|
+
.ep(commonParams)
|
|
1164
|
+
.m(function (Command, cs, config, o) {
|
|
1165
|
+
return [
|
|
1166
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1167
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1168
|
+
];
|
|
1169
|
+
})
|
|
1170
|
+
.s("AWSMigrationHub", "ListCreatedArtifacts", {})
|
|
1171
|
+
.n("MigrationHubClient", "ListCreatedArtifactsCommand")
|
|
1172
|
+
.f(void 0, void 0)
|
|
1173
|
+
.ser(se_ListCreatedArtifactsCommand)
|
|
1174
|
+
.de(de_ListCreatedArtifactsCommand)
|
|
1175
|
+
.build() {
|
|
1176
|
+
}
|
|
1417
1177
|
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
(
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
}
|
|
1178
|
+
class ListDiscoveredResourcesCommand extends smithyClient.Command
|
|
1179
|
+
.classBuilder()
|
|
1180
|
+
.ep(commonParams)
|
|
1181
|
+
.m(function (Command, cs, config, o) {
|
|
1182
|
+
return [
|
|
1183
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1184
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1185
|
+
];
|
|
1186
|
+
})
|
|
1187
|
+
.s("AWSMigrationHub", "ListDiscoveredResources", {})
|
|
1188
|
+
.n("MigrationHubClient", "ListDiscoveredResourcesCommand")
|
|
1189
|
+
.f(void 0, void 0)
|
|
1190
|
+
.ser(se_ListDiscoveredResourcesCommand)
|
|
1191
|
+
.de(de_ListDiscoveredResourcesCommand)
|
|
1192
|
+
.build() {
|
|
1193
|
+
}
|
|
1428
1194
|
|
|
1429
|
-
|
|
1195
|
+
class ListMigrationTasksCommand extends smithyClient.Command
|
|
1196
|
+
.classBuilder()
|
|
1197
|
+
.ep(commonParams)
|
|
1198
|
+
.m(function (Command, cs, config, o) {
|
|
1199
|
+
return [
|
|
1200
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1201
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1202
|
+
];
|
|
1203
|
+
})
|
|
1204
|
+
.s("AWSMigrationHub", "ListMigrationTasks", {})
|
|
1205
|
+
.n("MigrationHubClient", "ListMigrationTasksCommand")
|
|
1206
|
+
.f(void 0, void 0)
|
|
1207
|
+
.ser(se_ListMigrationTasksCommand)
|
|
1208
|
+
.de(de_ListMigrationTasksCommand)
|
|
1209
|
+
.build() {
|
|
1210
|
+
}
|
|
1430
1211
|
|
|
1212
|
+
class ListMigrationTaskUpdatesCommand extends smithyClient.Command
|
|
1213
|
+
.classBuilder()
|
|
1214
|
+
.ep(commonParams)
|
|
1215
|
+
.m(function (Command, cs, config, o) {
|
|
1216
|
+
return [
|
|
1217
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1218
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1219
|
+
];
|
|
1220
|
+
})
|
|
1221
|
+
.s("AWSMigrationHub", "ListMigrationTaskUpdates", {})
|
|
1222
|
+
.n("MigrationHubClient", "ListMigrationTaskUpdatesCommand")
|
|
1223
|
+
.f(void 0, void 0)
|
|
1224
|
+
.ser(se_ListMigrationTaskUpdatesCommand)
|
|
1225
|
+
.de(de_ListMigrationTaskUpdatesCommand)
|
|
1226
|
+
.build() {
|
|
1227
|
+
}
|
|
1431
1228
|
|
|
1229
|
+
class ListProgressUpdateStreamsCommand extends smithyClient.Command
|
|
1230
|
+
.classBuilder()
|
|
1231
|
+
.ep(commonParams)
|
|
1232
|
+
.m(function (Command, cs, config, o) {
|
|
1233
|
+
return [
|
|
1234
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1235
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1236
|
+
];
|
|
1237
|
+
})
|
|
1238
|
+
.s("AWSMigrationHub", "ListProgressUpdateStreams", {})
|
|
1239
|
+
.n("MigrationHubClient", "ListProgressUpdateStreamsCommand")
|
|
1240
|
+
.f(void 0, void 0)
|
|
1241
|
+
.ser(se_ListProgressUpdateStreamsCommand)
|
|
1242
|
+
.de(de_ListProgressUpdateStreamsCommand)
|
|
1243
|
+
.build() {
|
|
1244
|
+
}
|
|
1432
1245
|
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
(
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
}
|
|
1246
|
+
class ListSourceResourcesCommand extends smithyClient.Command
|
|
1247
|
+
.classBuilder()
|
|
1248
|
+
.ep(commonParams)
|
|
1249
|
+
.m(function (Command, cs, config, o) {
|
|
1250
|
+
return [
|
|
1251
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1252
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1253
|
+
];
|
|
1254
|
+
})
|
|
1255
|
+
.s("AWSMigrationHub", "ListSourceResources", {})
|
|
1256
|
+
.n("MigrationHubClient", "ListSourceResourcesCommand")
|
|
1257
|
+
.f(void 0, void 0)
|
|
1258
|
+
.ser(se_ListSourceResourcesCommand)
|
|
1259
|
+
.de(de_ListSourceResourcesCommand)
|
|
1260
|
+
.build() {
|
|
1261
|
+
}
|
|
1443
1262
|
|
|
1444
|
-
|
|
1263
|
+
class NotifyApplicationStateCommand extends smithyClient.Command
|
|
1264
|
+
.classBuilder()
|
|
1265
|
+
.ep(commonParams)
|
|
1266
|
+
.m(function (Command, cs, config, o) {
|
|
1267
|
+
return [
|
|
1268
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1269
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1270
|
+
];
|
|
1271
|
+
})
|
|
1272
|
+
.s("AWSMigrationHub", "NotifyApplicationState", {})
|
|
1273
|
+
.n("MigrationHubClient", "NotifyApplicationStateCommand")
|
|
1274
|
+
.f(void 0, void 0)
|
|
1275
|
+
.ser(se_NotifyApplicationStateCommand)
|
|
1276
|
+
.de(de_NotifyApplicationStateCommand)
|
|
1277
|
+
.build() {
|
|
1278
|
+
}
|
|
1445
1279
|
|
|
1280
|
+
class NotifyMigrationTaskStateCommand extends smithyClient.Command
|
|
1281
|
+
.classBuilder()
|
|
1282
|
+
.ep(commonParams)
|
|
1283
|
+
.m(function (Command, cs, config, o) {
|
|
1284
|
+
return [
|
|
1285
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1286
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1287
|
+
];
|
|
1288
|
+
})
|
|
1289
|
+
.s("AWSMigrationHub", "NotifyMigrationTaskState", {})
|
|
1290
|
+
.n("MigrationHubClient", "NotifyMigrationTaskStateCommand")
|
|
1291
|
+
.f(void 0, void 0)
|
|
1292
|
+
.ser(se_NotifyMigrationTaskStateCommand)
|
|
1293
|
+
.de(de_NotifyMigrationTaskStateCommand)
|
|
1294
|
+
.build() {
|
|
1295
|
+
}
|
|
1446
1296
|
|
|
1297
|
+
class PutResourceAttributesCommand extends smithyClient.Command
|
|
1298
|
+
.classBuilder()
|
|
1299
|
+
.ep(commonParams)
|
|
1300
|
+
.m(function (Command, cs, config, o) {
|
|
1301
|
+
return [
|
|
1302
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1303
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1304
|
+
];
|
|
1305
|
+
})
|
|
1306
|
+
.s("AWSMigrationHub", "PutResourceAttributes", {})
|
|
1307
|
+
.n("MigrationHubClient", "PutResourceAttributesCommand")
|
|
1308
|
+
.f(void 0, void 0)
|
|
1309
|
+
.ser(se_PutResourceAttributesCommand)
|
|
1310
|
+
.de(de_PutResourceAttributesCommand)
|
|
1311
|
+
.build() {
|
|
1312
|
+
}
|
|
1447
1313
|
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1314
|
+
const commands = {
|
|
1315
|
+
AssociateCreatedArtifactCommand,
|
|
1316
|
+
AssociateDiscoveredResourceCommand,
|
|
1317
|
+
AssociateSourceResourceCommand,
|
|
1318
|
+
CreateProgressUpdateStreamCommand,
|
|
1319
|
+
DeleteProgressUpdateStreamCommand,
|
|
1320
|
+
DescribeApplicationStateCommand,
|
|
1321
|
+
DescribeMigrationTaskCommand,
|
|
1322
|
+
DisassociateCreatedArtifactCommand,
|
|
1323
|
+
DisassociateDiscoveredResourceCommand,
|
|
1324
|
+
DisassociateSourceResourceCommand,
|
|
1325
|
+
ImportMigrationTaskCommand,
|
|
1326
|
+
ListApplicationStatesCommand,
|
|
1327
|
+
ListCreatedArtifactsCommand,
|
|
1328
|
+
ListDiscoveredResourcesCommand,
|
|
1329
|
+
ListMigrationTasksCommand,
|
|
1330
|
+
ListMigrationTaskUpdatesCommand,
|
|
1331
|
+
ListProgressUpdateStreamsCommand,
|
|
1332
|
+
ListSourceResourcesCommand,
|
|
1333
|
+
NotifyApplicationStateCommand,
|
|
1334
|
+
NotifyMigrationTaskStateCommand,
|
|
1335
|
+
PutResourceAttributesCommand,
|
|
1457
1336
|
};
|
|
1337
|
+
class MigrationHub extends MigrationHubClient {
|
|
1338
|
+
}
|
|
1339
|
+
smithyClient.createAggregatedClient(commands, MigrationHub);
|
|
1458
1340
|
|
|
1459
|
-
|
|
1460
|
-
var commands = {
|
|
1461
|
-
AssociateCreatedArtifactCommand,
|
|
1462
|
-
AssociateDiscoveredResourceCommand,
|
|
1463
|
-
AssociateSourceResourceCommand,
|
|
1464
|
-
CreateProgressUpdateStreamCommand,
|
|
1465
|
-
DeleteProgressUpdateStreamCommand,
|
|
1466
|
-
DescribeApplicationStateCommand,
|
|
1467
|
-
DescribeMigrationTaskCommand,
|
|
1468
|
-
DisassociateCreatedArtifactCommand,
|
|
1469
|
-
DisassociateDiscoveredResourceCommand,
|
|
1470
|
-
DisassociateSourceResourceCommand,
|
|
1471
|
-
ImportMigrationTaskCommand,
|
|
1472
|
-
ListApplicationStatesCommand,
|
|
1473
|
-
ListCreatedArtifactsCommand,
|
|
1474
|
-
ListDiscoveredResourcesCommand,
|
|
1475
|
-
ListMigrationTasksCommand,
|
|
1476
|
-
ListMigrationTaskUpdatesCommand,
|
|
1477
|
-
ListProgressUpdateStreamsCommand,
|
|
1478
|
-
ListSourceResourcesCommand,
|
|
1479
|
-
NotifyApplicationStateCommand,
|
|
1480
|
-
NotifyMigrationTaskStateCommand,
|
|
1481
|
-
PutResourceAttributesCommand
|
|
1482
|
-
};
|
|
1483
|
-
var MigrationHub = class extends MigrationHubClient {
|
|
1484
|
-
static {
|
|
1485
|
-
__name(this, "MigrationHub");
|
|
1486
|
-
}
|
|
1487
|
-
};
|
|
1488
|
-
(0, import_smithy_client.createAggregatedClient)(commands, MigrationHub);
|
|
1489
|
-
|
|
1490
|
-
// src/pagination/ListApplicationStatesPaginator.ts
|
|
1491
|
-
|
|
1492
|
-
var paginateListApplicationStates = (0, import_core.createPaginator)(MigrationHubClient, ListApplicationStatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1493
|
-
|
|
1494
|
-
// src/pagination/ListCreatedArtifactsPaginator.ts
|
|
1495
|
-
|
|
1496
|
-
var paginateListCreatedArtifacts = (0, import_core.createPaginator)(MigrationHubClient, ListCreatedArtifactsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1497
|
-
|
|
1498
|
-
// src/pagination/ListDiscoveredResourcesPaginator.ts
|
|
1499
|
-
|
|
1500
|
-
var paginateListDiscoveredResources = (0, import_core.createPaginator)(MigrationHubClient, ListDiscoveredResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1501
|
-
|
|
1502
|
-
// src/pagination/ListMigrationTaskUpdatesPaginator.ts
|
|
1503
|
-
|
|
1504
|
-
var paginateListMigrationTaskUpdates = (0, import_core.createPaginator)(MigrationHubClient, ListMigrationTaskUpdatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1341
|
+
const paginateListApplicationStates = core.createPaginator(MigrationHubClient, ListApplicationStatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1505
1342
|
|
|
1506
|
-
|
|
1343
|
+
const paginateListCreatedArtifacts = core.createPaginator(MigrationHubClient, ListCreatedArtifactsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1507
1344
|
|
|
1508
|
-
|
|
1345
|
+
const paginateListDiscoveredResources = core.createPaginator(MigrationHubClient, ListDiscoveredResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1509
1346
|
|
|
1510
|
-
|
|
1347
|
+
const paginateListMigrationTaskUpdates = core.createPaginator(MigrationHubClient, ListMigrationTaskUpdatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1511
1348
|
|
|
1512
|
-
|
|
1349
|
+
const paginateListMigrationTasks = core.createPaginator(MigrationHubClient, ListMigrationTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1513
1350
|
|
|
1514
|
-
|
|
1351
|
+
const paginateListProgressUpdateStreams = core.createPaginator(MigrationHubClient, ListProgressUpdateStreamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1515
1352
|
|
|
1516
|
-
|
|
1517
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1353
|
+
const paginateListSourceResources = core.createPaginator(MigrationHubClient, ListSourceResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1518
1354
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
MigrationHubClient,
|
|
1523
|
-
MigrationHub,
|
|
1524
|
-
$Command,
|
|
1525
|
-
AssociateCreatedArtifactCommand,
|
|
1526
|
-
AssociateDiscoveredResourceCommand,
|
|
1527
|
-
AssociateSourceResourceCommand,
|
|
1528
|
-
CreateProgressUpdateStreamCommand,
|
|
1529
|
-
DeleteProgressUpdateStreamCommand,
|
|
1530
|
-
DescribeApplicationStateCommand,
|
|
1531
|
-
DescribeMigrationTaskCommand,
|
|
1532
|
-
DisassociateCreatedArtifactCommand,
|
|
1533
|
-
DisassociateDiscoveredResourceCommand,
|
|
1534
|
-
DisassociateSourceResourceCommand,
|
|
1535
|
-
ImportMigrationTaskCommand,
|
|
1536
|
-
ListApplicationStatesCommand,
|
|
1537
|
-
ListCreatedArtifactsCommand,
|
|
1538
|
-
ListDiscoveredResourcesCommand,
|
|
1539
|
-
ListMigrationTaskUpdatesCommand,
|
|
1540
|
-
ListMigrationTasksCommand,
|
|
1541
|
-
ListProgressUpdateStreamsCommand,
|
|
1542
|
-
ListSourceResourcesCommand,
|
|
1543
|
-
NotifyApplicationStateCommand,
|
|
1544
|
-
NotifyMigrationTaskStateCommand,
|
|
1545
|
-
PutResourceAttributesCommand,
|
|
1546
|
-
paginateListApplicationStates,
|
|
1547
|
-
paginateListCreatedArtifacts,
|
|
1548
|
-
paginateListDiscoveredResources,
|
|
1549
|
-
paginateListMigrationTaskUpdates,
|
|
1550
|
-
paginateListMigrationTasks,
|
|
1551
|
-
paginateListProgressUpdateStreams,
|
|
1552
|
-
paginateListSourceResources,
|
|
1553
|
-
AccessDeniedException,
|
|
1554
|
-
ApplicationStatus,
|
|
1555
|
-
DryRunOperation,
|
|
1556
|
-
HomeRegionNotSetException,
|
|
1557
|
-
InternalServerError,
|
|
1558
|
-
InvalidInputException,
|
|
1559
|
-
ResourceNotFoundException,
|
|
1560
|
-
ServiceUnavailableException,
|
|
1561
|
-
ThrottlingException,
|
|
1562
|
-
UnauthorizedOperation,
|
|
1563
|
-
PolicyErrorException,
|
|
1564
|
-
ResourceAttributeType,
|
|
1565
|
-
Status,
|
|
1566
|
-
UpdateType
|
|
1355
|
+
Object.defineProperty(exports, "$Command", {
|
|
1356
|
+
enumerable: true,
|
|
1357
|
+
get: function () { return smithyClient.Command; }
|
|
1567
1358
|
});
|
|
1568
|
-
|
|
1359
|
+
Object.defineProperty(exports, "__Client", {
|
|
1360
|
+
enumerable: true,
|
|
1361
|
+
get: function () { return smithyClient.Client; }
|
|
1362
|
+
});
|
|
1363
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1364
|
+
exports.ApplicationStatus = ApplicationStatus;
|
|
1365
|
+
exports.AssociateCreatedArtifactCommand = AssociateCreatedArtifactCommand;
|
|
1366
|
+
exports.AssociateDiscoveredResourceCommand = AssociateDiscoveredResourceCommand;
|
|
1367
|
+
exports.AssociateSourceResourceCommand = AssociateSourceResourceCommand;
|
|
1368
|
+
exports.CreateProgressUpdateStreamCommand = CreateProgressUpdateStreamCommand;
|
|
1369
|
+
exports.DeleteProgressUpdateStreamCommand = DeleteProgressUpdateStreamCommand;
|
|
1370
|
+
exports.DescribeApplicationStateCommand = DescribeApplicationStateCommand;
|
|
1371
|
+
exports.DescribeMigrationTaskCommand = DescribeMigrationTaskCommand;
|
|
1372
|
+
exports.DisassociateCreatedArtifactCommand = DisassociateCreatedArtifactCommand;
|
|
1373
|
+
exports.DisassociateDiscoveredResourceCommand = DisassociateDiscoveredResourceCommand;
|
|
1374
|
+
exports.DisassociateSourceResourceCommand = DisassociateSourceResourceCommand;
|
|
1375
|
+
exports.DryRunOperation = DryRunOperation;
|
|
1376
|
+
exports.HomeRegionNotSetException = HomeRegionNotSetException;
|
|
1377
|
+
exports.ImportMigrationTaskCommand = ImportMigrationTaskCommand;
|
|
1378
|
+
exports.InternalServerError = InternalServerError;
|
|
1379
|
+
exports.InvalidInputException = InvalidInputException;
|
|
1380
|
+
exports.ListApplicationStatesCommand = ListApplicationStatesCommand;
|
|
1381
|
+
exports.ListCreatedArtifactsCommand = ListCreatedArtifactsCommand;
|
|
1382
|
+
exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
|
|
1383
|
+
exports.ListMigrationTaskUpdatesCommand = ListMigrationTaskUpdatesCommand;
|
|
1384
|
+
exports.ListMigrationTasksCommand = ListMigrationTasksCommand;
|
|
1385
|
+
exports.ListProgressUpdateStreamsCommand = ListProgressUpdateStreamsCommand;
|
|
1386
|
+
exports.ListSourceResourcesCommand = ListSourceResourcesCommand;
|
|
1387
|
+
exports.MigrationHub = MigrationHub;
|
|
1388
|
+
exports.MigrationHubClient = MigrationHubClient;
|
|
1389
|
+
exports.MigrationHubServiceException = MigrationHubServiceException;
|
|
1390
|
+
exports.NotifyApplicationStateCommand = NotifyApplicationStateCommand;
|
|
1391
|
+
exports.NotifyMigrationTaskStateCommand = NotifyMigrationTaskStateCommand;
|
|
1392
|
+
exports.PolicyErrorException = PolicyErrorException;
|
|
1393
|
+
exports.PutResourceAttributesCommand = PutResourceAttributesCommand;
|
|
1394
|
+
exports.ResourceAttributeType = ResourceAttributeType;
|
|
1395
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1396
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
1397
|
+
exports.Status = Status;
|
|
1398
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1399
|
+
exports.UnauthorizedOperation = UnauthorizedOperation;
|
|
1400
|
+
exports.UpdateType = UpdateType;
|
|
1401
|
+
exports.paginateListApplicationStates = paginateListApplicationStates;
|
|
1402
|
+
exports.paginateListCreatedArtifacts = paginateListCreatedArtifacts;
|
|
1403
|
+
exports.paginateListDiscoveredResources = paginateListDiscoveredResources;
|
|
1404
|
+
exports.paginateListMigrationTaskUpdates = paginateListMigrationTaskUpdates;
|
|
1405
|
+
exports.paginateListMigrationTasks = paginateListMigrationTasks;
|
|
1406
|
+
exports.paginateListProgressUpdateStreams = paginateListProgressUpdateStreams;
|
|
1407
|
+
exports.paginateListSourceResources = paginateListSourceResources;
|