@aws-sdk/client-migration-hub 3.306.0 → 3.309.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/commands/AssociateCreatedArtifactCommand.js +2 -2
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +2 -2
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +2 -2
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +2 -2
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +2 -2
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +2 -2
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +2 -2
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +2 -2
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationStatesCommand.js +2 -2
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +2 -2
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListMigrationTasksCommand.js +2 -2
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +2 -2
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +2 -2
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +2 -2
- package/dist-cjs/commands/PutResourceAttributesCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +381 -389
- package/dist-es/commands/AssociateCreatedArtifactCommand.js +3 -3
- package/dist-es/commands/AssociateDiscoveredResourceCommand.js +3 -3
- package/dist-es/commands/CreateProgressUpdateStreamCommand.js +3 -3
- package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +3 -3
- package/dist-es/commands/DescribeApplicationStateCommand.js +3 -3
- package/dist-es/commands/DescribeMigrationTaskCommand.js +3 -3
- package/dist-es/commands/DisassociateCreatedArtifactCommand.js +3 -3
- package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +3 -3
- package/dist-es/commands/ImportMigrationTaskCommand.js +3 -3
- package/dist-es/commands/ListApplicationStatesCommand.js +3 -3
- package/dist-es/commands/ListCreatedArtifactsCommand.js +3 -3
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-es/commands/ListMigrationTasksCommand.js +3 -3
- package/dist-es/commands/ListProgressUpdateStreamsCommand.js +3 -3
- package/dist-es/commands/NotifyApplicationStateCommand.js +3 -3
- package/dist-es/commands/NotifyMigrationTaskStateCommand.js +3 -3
- package/dist-es/commands/PutResourceAttributesCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +346 -354
- package/dist-types/protocols/Aws_json1_1.d.ts +136 -34
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +34 -34
- package/package.json +6 -6
|
@@ -1,195 +1,195 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_PutResourceAttributesCommand = exports.de_NotifyMigrationTaskStateCommand = exports.de_NotifyApplicationStateCommand = exports.de_ListProgressUpdateStreamsCommand = exports.de_ListMigrationTasksCommand = exports.de_ListDiscoveredResourcesCommand = exports.de_ListCreatedArtifactsCommand = exports.de_ListApplicationStatesCommand = exports.de_ImportMigrationTaskCommand = exports.de_DisassociateDiscoveredResourceCommand = exports.de_DisassociateCreatedArtifactCommand = exports.de_DescribeMigrationTaskCommand = exports.de_DescribeApplicationStateCommand = exports.de_DeleteProgressUpdateStreamCommand = exports.de_CreateProgressUpdateStreamCommand = exports.de_AssociateDiscoveredResourceCommand = exports.de_AssociateCreatedArtifactCommand = exports.se_PutResourceAttributesCommand = exports.se_NotifyMigrationTaskStateCommand = exports.se_NotifyApplicationStateCommand = exports.se_ListProgressUpdateStreamsCommand = exports.se_ListMigrationTasksCommand = exports.se_ListDiscoveredResourcesCommand = exports.se_ListCreatedArtifactsCommand = exports.se_ListApplicationStatesCommand = exports.se_ImportMigrationTaskCommand = exports.se_DisassociateDiscoveredResourceCommand = exports.se_DisassociateCreatedArtifactCommand = exports.se_DescribeMigrationTaskCommand = exports.se_DescribeApplicationStateCommand = exports.se_DeleteProgressUpdateStreamCommand = exports.se_CreateProgressUpdateStreamCommand = exports.se_AssociateDiscoveredResourceCommand = exports.se_AssociateCreatedArtifactCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const MigrationHubServiceException_1 = require("../models/MigrationHubServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_AssociateCreatedArtifactCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "AWSMigrationHub.AssociateCreatedArtifact",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_AssociateCreatedArtifactRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_AssociateCreatedArtifactCommand = se_AssociateCreatedArtifactCommand;
|
|
18
|
+
const se_AssociateDiscoveredResourceCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-amz-json-1.1",
|
|
21
21
|
"x-amz-target": "AWSMigrationHub.AssociateDiscoveredResource",
|
|
22
22
|
};
|
|
23
23
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
24
|
+
body = JSON.stringify(se_AssociateDiscoveredResourceRequest(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
27
|
+
exports.se_AssociateDiscoveredResourceCommand = se_AssociateDiscoveredResourceCommand;
|
|
28
|
+
const se_CreateProgressUpdateStreamCommand = async (input, context) => {
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/x-amz-json-1.1",
|
|
31
31
|
"x-amz-target": "AWSMigrationHub.CreateProgressUpdateStream",
|
|
32
32
|
};
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify(se_CreateProgressUpdateStreamRequest(input, context));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.se_CreateProgressUpdateStreamCommand = se_CreateProgressUpdateStreamCommand;
|
|
38
|
+
const se_DeleteProgressUpdateStreamCommand = async (input, context) => {
|
|
39
39
|
const headers = {
|
|
40
40
|
"content-type": "application/x-amz-json-1.1",
|
|
41
41
|
"x-amz-target": "AWSMigrationHub.DeleteProgressUpdateStream",
|
|
42
42
|
};
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(se_DeleteProgressUpdateStreamRequest(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_DeleteProgressUpdateStreamCommand = se_DeleteProgressUpdateStreamCommand;
|
|
48
|
+
const se_DescribeApplicationStateCommand = async (input, context) => {
|
|
49
49
|
const headers = {
|
|
50
50
|
"content-type": "application/x-amz-json-1.1",
|
|
51
51
|
"x-amz-target": "AWSMigrationHub.DescribeApplicationState",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify(se_DescribeApplicationStateRequest(input, context));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
|
-
exports.
|
|
58
|
-
const
|
|
57
|
+
exports.se_DescribeApplicationStateCommand = se_DescribeApplicationStateCommand;
|
|
58
|
+
const se_DescribeMigrationTaskCommand = async (input, context) => {
|
|
59
59
|
const headers = {
|
|
60
60
|
"content-type": "application/x-amz-json-1.1",
|
|
61
61
|
"x-amz-target": "AWSMigrationHub.DescribeMigrationTask",
|
|
62
62
|
};
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify(
|
|
64
|
+
body = JSON.stringify(se_DescribeMigrationTaskRequest(input, context));
|
|
65
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
68
|
-
const
|
|
67
|
+
exports.se_DescribeMigrationTaskCommand = se_DescribeMigrationTaskCommand;
|
|
68
|
+
const se_DisassociateCreatedArtifactCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "AWSMigrationHub.DisassociateCreatedArtifact",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DisassociateCreatedArtifactRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
exports.
|
|
78
|
-
const
|
|
77
|
+
exports.se_DisassociateCreatedArtifactCommand = se_DisassociateCreatedArtifactCommand;
|
|
78
|
+
const se_DisassociateDiscoveredResourceCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "AWSMigrationHub.DisassociateDiscoveredResource",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_DisassociateDiscoveredResourceRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_DisassociateDiscoveredResourceCommand = se_DisassociateDiscoveredResourceCommand;
|
|
88
|
+
const se_ImportMigrationTaskCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-amz-json-1.1",
|
|
91
91
|
"x-amz-target": "AWSMigrationHub.ImportMigrationTask",
|
|
92
92
|
};
|
|
93
93
|
let body;
|
|
94
|
-
body = JSON.stringify(
|
|
94
|
+
body = JSON.stringify(se_ImportMigrationTaskRequest(input, context));
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
98
|
-
const
|
|
97
|
+
exports.se_ImportMigrationTaskCommand = se_ImportMigrationTaskCommand;
|
|
98
|
+
const se_ListApplicationStatesCommand = async (input, context) => {
|
|
99
99
|
const headers = {
|
|
100
100
|
"content-type": "application/x-amz-json-1.1",
|
|
101
101
|
"x-amz-target": "AWSMigrationHub.ListApplicationStates",
|
|
102
102
|
};
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(se_ListApplicationStatesRequest(input, context));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
|
-
exports.
|
|
108
|
-
const
|
|
107
|
+
exports.se_ListApplicationStatesCommand = se_ListApplicationStatesCommand;
|
|
108
|
+
const se_ListCreatedArtifactsCommand = async (input, context) => {
|
|
109
109
|
const headers = {
|
|
110
110
|
"content-type": "application/x-amz-json-1.1",
|
|
111
111
|
"x-amz-target": "AWSMigrationHub.ListCreatedArtifacts",
|
|
112
112
|
};
|
|
113
113
|
let body;
|
|
114
|
-
body = JSON.stringify(
|
|
114
|
+
body = JSON.stringify(se_ListCreatedArtifactsRequest(input, context));
|
|
115
115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
116
|
};
|
|
117
|
-
exports.
|
|
118
|
-
const
|
|
117
|
+
exports.se_ListCreatedArtifactsCommand = se_ListCreatedArtifactsCommand;
|
|
118
|
+
const se_ListDiscoveredResourcesCommand = async (input, context) => {
|
|
119
119
|
const headers = {
|
|
120
120
|
"content-type": "application/x-amz-json-1.1",
|
|
121
121
|
"x-amz-target": "AWSMigrationHub.ListDiscoveredResources",
|
|
122
122
|
};
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify(se_ListDiscoveredResourcesRequest(input, context));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
128
|
-
const
|
|
127
|
+
exports.se_ListDiscoveredResourcesCommand = se_ListDiscoveredResourcesCommand;
|
|
128
|
+
const se_ListMigrationTasksCommand = async (input, context) => {
|
|
129
129
|
const headers = {
|
|
130
130
|
"content-type": "application/x-amz-json-1.1",
|
|
131
131
|
"x-amz-target": "AWSMigrationHub.ListMigrationTasks",
|
|
132
132
|
};
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(se_ListMigrationTasksRequest(input, context));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
|
-
exports.
|
|
138
|
-
const
|
|
137
|
+
exports.se_ListMigrationTasksCommand = se_ListMigrationTasksCommand;
|
|
138
|
+
const se_ListProgressUpdateStreamsCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-amz-json-1.1",
|
|
141
141
|
"x-amz-target": "AWSMigrationHub.ListProgressUpdateStreams",
|
|
142
142
|
};
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify(se_ListProgressUpdateStreamsRequest(input, context));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
|
-
exports.
|
|
148
|
-
const
|
|
147
|
+
exports.se_ListProgressUpdateStreamsCommand = se_ListProgressUpdateStreamsCommand;
|
|
148
|
+
const se_NotifyApplicationStateCommand = async (input, context) => {
|
|
149
149
|
const headers = {
|
|
150
150
|
"content-type": "application/x-amz-json-1.1",
|
|
151
151
|
"x-amz-target": "AWSMigrationHub.NotifyApplicationState",
|
|
152
152
|
};
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify(se_NotifyApplicationStateRequest(input, context));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
|
-
exports.
|
|
158
|
-
const
|
|
157
|
+
exports.se_NotifyApplicationStateCommand = se_NotifyApplicationStateCommand;
|
|
158
|
+
const se_NotifyMigrationTaskStateCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "AWSMigrationHub.NotifyMigrationTaskState",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_NotifyMigrationTaskStateRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
167
|
+
exports.se_NotifyMigrationTaskStateCommand = se_NotifyMigrationTaskStateCommand;
|
|
168
|
+
const se_PutResourceAttributesCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.1",
|
|
171
171
|
"x-amz-target": "AWSMigrationHub.PutResourceAttributes",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_PutResourceAttributesRequest(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
const
|
|
177
|
+
exports.se_PutResourceAttributesCommand = se_PutResourceAttributesCommand;
|
|
178
|
+
const de_AssociateCreatedArtifactCommand = async (output, context) => {
|
|
179
179
|
if (output.statusCode >= 300) {
|
|
180
|
-
return
|
|
180
|
+
return de_AssociateCreatedArtifactCommandError(output, context);
|
|
181
181
|
}
|
|
182
182
|
const data = await parseBody(output.body, context);
|
|
183
183
|
let contents = {};
|
|
184
|
-
contents =
|
|
184
|
+
contents = de_AssociateCreatedArtifactResult(data, context);
|
|
185
185
|
const response = {
|
|
186
186
|
$metadata: deserializeMetadata(output),
|
|
187
187
|
...contents,
|
|
188
188
|
};
|
|
189
189
|
return Promise.resolve(response);
|
|
190
190
|
};
|
|
191
|
-
exports.
|
|
192
|
-
const
|
|
191
|
+
exports.de_AssociateCreatedArtifactCommand = de_AssociateCreatedArtifactCommand;
|
|
192
|
+
const de_AssociateCreatedArtifactCommandError = async (output, context) => {
|
|
193
193
|
const parsedOutput = {
|
|
194
194
|
...output,
|
|
195
195
|
body: await parseErrorBody(output.body, context),
|
|
@@ -198,31 +198,31 @@ const deserializeAws_json1_1AssociateCreatedArtifactCommandError = async (output
|
|
|
198
198
|
switch (errorCode) {
|
|
199
199
|
case "AccessDeniedException":
|
|
200
200
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
201
|
-
throw await
|
|
201
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
202
202
|
case "DryRunOperation":
|
|
203
203
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
204
|
-
throw await
|
|
204
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
205
205
|
case "HomeRegionNotSetException":
|
|
206
206
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
207
|
-
throw await
|
|
207
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
208
208
|
case "InternalServerError":
|
|
209
209
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
210
|
-
throw await
|
|
210
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
211
211
|
case "InvalidInputException":
|
|
212
212
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
213
|
-
throw await
|
|
213
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
214
214
|
case "ResourceNotFoundException":
|
|
215
215
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
216
|
-
throw await
|
|
216
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
217
217
|
case "ServiceUnavailableException":
|
|
218
218
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
219
|
-
throw await
|
|
219
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
220
220
|
case "ThrottlingException":
|
|
221
221
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
222
|
-
throw await
|
|
222
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
223
223
|
case "UnauthorizedOperation":
|
|
224
224
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
225
|
-
throw await
|
|
225
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
226
226
|
default:
|
|
227
227
|
const parsedBody = parsedOutput.body;
|
|
228
228
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -233,21 +233,21 @@ const deserializeAws_json1_1AssociateCreatedArtifactCommandError = async (output
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
const
|
|
236
|
+
const de_AssociateDiscoveredResourceCommand = async (output, context) => {
|
|
237
237
|
if (output.statusCode >= 300) {
|
|
238
|
-
return
|
|
238
|
+
return de_AssociateDiscoveredResourceCommandError(output, context);
|
|
239
239
|
}
|
|
240
240
|
const data = await parseBody(output.body, context);
|
|
241
241
|
let contents = {};
|
|
242
|
-
contents =
|
|
242
|
+
contents = de_AssociateDiscoveredResourceResult(data, context);
|
|
243
243
|
const response = {
|
|
244
244
|
$metadata: deserializeMetadata(output),
|
|
245
245
|
...contents,
|
|
246
246
|
};
|
|
247
247
|
return Promise.resolve(response);
|
|
248
248
|
};
|
|
249
|
-
exports.
|
|
250
|
-
const
|
|
249
|
+
exports.de_AssociateDiscoveredResourceCommand = de_AssociateDiscoveredResourceCommand;
|
|
250
|
+
const de_AssociateDiscoveredResourceCommandError = async (output, context) => {
|
|
251
251
|
const parsedOutput = {
|
|
252
252
|
...output,
|
|
253
253
|
body: await parseErrorBody(output.body, context),
|
|
@@ -256,34 +256,34 @@ const deserializeAws_json1_1AssociateDiscoveredResourceCommandError = async (out
|
|
|
256
256
|
switch (errorCode) {
|
|
257
257
|
case "AccessDeniedException":
|
|
258
258
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
259
|
-
throw await
|
|
259
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
260
260
|
case "DryRunOperation":
|
|
261
261
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
262
|
-
throw await
|
|
262
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
263
263
|
case "HomeRegionNotSetException":
|
|
264
264
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
265
|
-
throw await
|
|
265
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
266
266
|
case "InternalServerError":
|
|
267
267
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
268
|
-
throw await
|
|
268
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
269
269
|
case "InvalidInputException":
|
|
270
270
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
271
|
-
throw await
|
|
271
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
272
272
|
case "PolicyErrorException":
|
|
273
273
|
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
274
|
-
throw await
|
|
274
|
+
throw await de_PolicyErrorExceptionRes(parsedOutput, context);
|
|
275
275
|
case "ResourceNotFoundException":
|
|
276
276
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
277
|
-
throw await
|
|
277
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
278
278
|
case "ServiceUnavailableException":
|
|
279
279
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
280
|
-
throw await
|
|
280
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
281
281
|
case "ThrottlingException":
|
|
282
282
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
283
|
-
throw await
|
|
283
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
284
284
|
case "UnauthorizedOperation":
|
|
285
285
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
286
|
-
throw await
|
|
286
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
287
287
|
default:
|
|
288
288
|
const parsedBody = parsedOutput.body;
|
|
289
289
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -294,21 +294,21 @@ const deserializeAws_json1_1AssociateDiscoveredResourceCommandError = async (out
|
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
|
-
const
|
|
297
|
+
const de_CreateProgressUpdateStreamCommand = async (output, context) => {
|
|
298
298
|
if (output.statusCode >= 300) {
|
|
299
|
-
return
|
|
299
|
+
return de_CreateProgressUpdateStreamCommandError(output, context);
|
|
300
300
|
}
|
|
301
301
|
const data = await parseBody(output.body, context);
|
|
302
302
|
let contents = {};
|
|
303
|
-
contents =
|
|
303
|
+
contents = de_CreateProgressUpdateStreamResult(data, context);
|
|
304
304
|
const response = {
|
|
305
305
|
$metadata: deserializeMetadata(output),
|
|
306
306
|
...contents,
|
|
307
307
|
};
|
|
308
308
|
return Promise.resolve(response);
|
|
309
309
|
};
|
|
310
|
-
exports.
|
|
311
|
-
const
|
|
310
|
+
exports.de_CreateProgressUpdateStreamCommand = de_CreateProgressUpdateStreamCommand;
|
|
311
|
+
const de_CreateProgressUpdateStreamCommandError = async (output, context) => {
|
|
312
312
|
const parsedOutput = {
|
|
313
313
|
...output,
|
|
314
314
|
body: await parseErrorBody(output.body, context),
|
|
@@ -317,28 +317,28 @@ const deserializeAws_json1_1CreateProgressUpdateStreamCommandError = async (outp
|
|
|
317
317
|
switch (errorCode) {
|
|
318
318
|
case "AccessDeniedException":
|
|
319
319
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
320
|
-
throw await
|
|
320
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
321
321
|
case "DryRunOperation":
|
|
322
322
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
323
|
-
throw await
|
|
323
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
324
324
|
case "HomeRegionNotSetException":
|
|
325
325
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
326
|
-
throw await
|
|
326
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
327
327
|
case "InternalServerError":
|
|
328
328
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
329
|
-
throw await
|
|
329
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
330
330
|
case "InvalidInputException":
|
|
331
331
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
332
|
-
throw await
|
|
332
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
333
333
|
case "ServiceUnavailableException":
|
|
334
334
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
335
|
-
throw await
|
|
335
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
336
336
|
case "ThrottlingException":
|
|
337
337
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
338
|
-
throw await
|
|
338
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
339
339
|
case "UnauthorizedOperation":
|
|
340
340
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
341
|
-
throw await
|
|
341
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
342
342
|
default:
|
|
343
343
|
const parsedBody = parsedOutput.body;
|
|
344
344
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -349,21 +349,21 @@ const deserializeAws_json1_1CreateProgressUpdateStreamCommandError = async (outp
|
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
-
const
|
|
352
|
+
const de_DeleteProgressUpdateStreamCommand = async (output, context) => {
|
|
353
353
|
if (output.statusCode >= 300) {
|
|
354
|
-
return
|
|
354
|
+
return de_DeleteProgressUpdateStreamCommandError(output, context);
|
|
355
355
|
}
|
|
356
356
|
const data = await parseBody(output.body, context);
|
|
357
357
|
let contents = {};
|
|
358
|
-
contents =
|
|
358
|
+
contents = de_DeleteProgressUpdateStreamResult(data, context);
|
|
359
359
|
const response = {
|
|
360
360
|
$metadata: deserializeMetadata(output),
|
|
361
361
|
...contents,
|
|
362
362
|
};
|
|
363
363
|
return Promise.resolve(response);
|
|
364
364
|
};
|
|
365
|
-
exports.
|
|
366
|
-
const
|
|
365
|
+
exports.de_DeleteProgressUpdateStreamCommand = de_DeleteProgressUpdateStreamCommand;
|
|
366
|
+
const de_DeleteProgressUpdateStreamCommandError = async (output, context) => {
|
|
367
367
|
const parsedOutput = {
|
|
368
368
|
...output,
|
|
369
369
|
body: await parseErrorBody(output.body, context),
|
|
@@ -372,31 +372,31 @@ const deserializeAws_json1_1DeleteProgressUpdateStreamCommandError = async (outp
|
|
|
372
372
|
switch (errorCode) {
|
|
373
373
|
case "AccessDeniedException":
|
|
374
374
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
375
|
-
throw await
|
|
375
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
376
376
|
case "DryRunOperation":
|
|
377
377
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
378
|
-
throw await
|
|
378
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
379
379
|
case "HomeRegionNotSetException":
|
|
380
380
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
381
|
-
throw await
|
|
381
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
382
382
|
case "InternalServerError":
|
|
383
383
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
384
|
-
throw await
|
|
384
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
385
385
|
case "InvalidInputException":
|
|
386
386
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
388
388
|
case "ResourceNotFoundException":
|
|
389
389
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
390
|
-
throw await
|
|
390
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
391
391
|
case "ServiceUnavailableException":
|
|
392
392
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
393
|
-
throw await
|
|
393
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
394
394
|
case "ThrottlingException":
|
|
395
395
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
397
397
|
case "UnauthorizedOperation":
|
|
398
398
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
399
|
-
throw await
|
|
399
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
400
400
|
default:
|
|
401
401
|
const parsedBody = parsedOutput.body;
|
|
402
402
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -407,21 +407,21 @@ const deserializeAws_json1_1DeleteProgressUpdateStreamCommandError = async (outp
|
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
|
-
const
|
|
410
|
+
const de_DescribeApplicationStateCommand = async (output, context) => {
|
|
411
411
|
if (output.statusCode >= 300) {
|
|
412
|
-
return
|
|
412
|
+
return de_DescribeApplicationStateCommandError(output, context);
|
|
413
413
|
}
|
|
414
414
|
const data = await parseBody(output.body, context);
|
|
415
415
|
let contents = {};
|
|
416
|
-
contents =
|
|
416
|
+
contents = de_DescribeApplicationStateResult(data, context);
|
|
417
417
|
const response = {
|
|
418
418
|
$metadata: deserializeMetadata(output),
|
|
419
419
|
...contents,
|
|
420
420
|
};
|
|
421
421
|
return Promise.resolve(response);
|
|
422
422
|
};
|
|
423
|
-
exports.
|
|
424
|
-
const
|
|
423
|
+
exports.de_DescribeApplicationStateCommand = de_DescribeApplicationStateCommand;
|
|
424
|
+
const de_DescribeApplicationStateCommandError = async (output, context) => {
|
|
425
425
|
const parsedOutput = {
|
|
426
426
|
...output,
|
|
427
427
|
body: await parseErrorBody(output.body, context),
|
|
@@ -430,28 +430,28 @@ const deserializeAws_json1_1DescribeApplicationStateCommandError = async (output
|
|
|
430
430
|
switch (errorCode) {
|
|
431
431
|
case "AccessDeniedException":
|
|
432
432
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
433
|
-
throw await
|
|
433
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
434
434
|
case "HomeRegionNotSetException":
|
|
435
435
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
436
|
-
throw await
|
|
436
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
437
437
|
case "InternalServerError":
|
|
438
438
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
439
|
-
throw await
|
|
439
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
440
440
|
case "InvalidInputException":
|
|
441
441
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
442
|
-
throw await
|
|
442
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
443
443
|
case "PolicyErrorException":
|
|
444
444
|
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
445
|
-
throw await
|
|
445
|
+
throw await de_PolicyErrorExceptionRes(parsedOutput, context);
|
|
446
446
|
case "ResourceNotFoundException":
|
|
447
447
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
448
|
-
throw await
|
|
448
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
449
449
|
case "ServiceUnavailableException":
|
|
450
450
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
451
|
-
throw await
|
|
451
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
452
452
|
case "ThrottlingException":
|
|
453
453
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
454
|
-
throw await
|
|
454
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
455
455
|
default:
|
|
456
456
|
const parsedBody = parsedOutput.body;
|
|
457
457
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -462,21 +462,21 @@ const deserializeAws_json1_1DescribeApplicationStateCommandError = async (output
|
|
|
462
462
|
});
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
|
-
const
|
|
465
|
+
const de_DescribeMigrationTaskCommand = async (output, context) => {
|
|
466
466
|
if (output.statusCode >= 300) {
|
|
467
|
-
return
|
|
467
|
+
return de_DescribeMigrationTaskCommandError(output, context);
|
|
468
468
|
}
|
|
469
469
|
const data = await parseBody(output.body, context);
|
|
470
470
|
let contents = {};
|
|
471
|
-
contents =
|
|
471
|
+
contents = de_DescribeMigrationTaskResult(data, context);
|
|
472
472
|
const response = {
|
|
473
473
|
$metadata: deserializeMetadata(output),
|
|
474
474
|
...contents,
|
|
475
475
|
};
|
|
476
476
|
return Promise.resolve(response);
|
|
477
477
|
};
|
|
478
|
-
exports.
|
|
479
|
-
const
|
|
478
|
+
exports.de_DescribeMigrationTaskCommand = de_DescribeMigrationTaskCommand;
|
|
479
|
+
const de_DescribeMigrationTaskCommandError = async (output, context) => {
|
|
480
480
|
const parsedOutput = {
|
|
481
481
|
...output,
|
|
482
482
|
body: await parseErrorBody(output.body, context),
|
|
@@ -485,25 +485,25 @@ const deserializeAws_json1_1DescribeMigrationTaskCommandError = async (output, c
|
|
|
485
485
|
switch (errorCode) {
|
|
486
486
|
case "AccessDeniedException":
|
|
487
487
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
488
|
-
throw await
|
|
488
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
489
489
|
case "HomeRegionNotSetException":
|
|
490
490
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
491
|
-
throw await
|
|
491
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
492
492
|
case "InternalServerError":
|
|
493
493
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
494
|
-
throw await
|
|
494
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
495
495
|
case "InvalidInputException":
|
|
496
496
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
497
|
-
throw await
|
|
497
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
498
498
|
case "ResourceNotFoundException":
|
|
499
499
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
500
|
-
throw await
|
|
500
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
501
501
|
case "ServiceUnavailableException":
|
|
502
502
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
503
|
-
throw await
|
|
503
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
504
504
|
case "ThrottlingException":
|
|
505
505
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
506
|
-
throw await
|
|
506
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
507
507
|
default:
|
|
508
508
|
const parsedBody = parsedOutput.body;
|
|
509
509
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -514,21 +514,21 @@ const deserializeAws_json1_1DescribeMigrationTaskCommandError = async (output, c
|
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
const
|
|
517
|
+
const de_DisassociateCreatedArtifactCommand = async (output, context) => {
|
|
518
518
|
if (output.statusCode >= 300) {
|
|
519
|
-
return
|
|
519
|
+
return de_DisassociateCreatedArtifactCommandError(output, context);
|
|
520
520
|
}
|
|
521
521
|
const data = await parseBody(output.body, context);
|
|
522
522
|
let contents = {};
|
|
523
|
-
contents =
|
|
523
|
+
contents = de_DisassociateCreatedArtifactResult(data, context);
|
|
524
524
|
const response = {
|
|
525
525
|
$metadata: deserializeMetadata(output),
|
|
526
526
|
...contents,
|
|
527
527
|
};
|
|
528
528
|
return Promise.resolve(response);
|
|
529
529
|
};
|
|
530
|
-
exports.
|
|
531
|
-
const
|
|
530
|
+
exports.de_DisassociateCreatedArtifactCommand = de_DisassociateCreatedArtifactCommand;
|
|
531
|
+
const de_DisassociateCreatedArtifactCommandError = async (output, context) => {
|
|
532
532
|
const parsedOutput = {
|
|
533
533
|
...output,
|
|
534
534
|
body: await parseErrorBody(output.body, context),
|
|
@@ -537,31 +537,31 @@ const deserializeAws_json1_1DisassociateCreatedArtifactCommandError = async (out
|
|
|
537
537
|
switch (errorCode) {
|
|
538
538
|
case "AccessDeniedException":
|
|
539
539
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
540
|
-
throw await
|
|
540
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
541
541
|
case "DryRunOperation":
|
|
542
542
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
543
|
-
throw await
|
|
543
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
544
544
|
case "HomeRegionNotSetException":
|
|
545
545
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
546
|
-
throw await
|
|
546
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
547
547
|
case "InternalServerError":
|
|
548
548
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
549
|
-
throw await
|
|
549
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
550
550
|
case "InvalidInputException":
|
|
551
551
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
552
|
-
throw await
|
|
552
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
553
553
|
case "ResourceNotFoundException":
|
|
554
554
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
555
|
-
throw await
|
|
555
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
556
556
|
case "ServiceUnavailableException":
|
|
557
557
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
559
559
|
case "ThrottlingException":
|
|
560
560
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
561
|
-
throw await
|
|
561
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
562
562
|
case "UnauthorizedOperation":
|
|
563
563
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
564
|
-
throw await
|
|
564
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
565
565
|
default:
|
|
566
566
|
const parsedBody = parsedOutput.body;
|
|
567
567
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -572,21 +572,21 @@ const deserializeAws_json1_1DisassociateCreatedArtifactCommandError = async (out
|
|
|
572
572
|
});
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
|
-
const
|
|
575
|
+
const de_DisassociateDiscoveredResourceCommand = async (output, context) => {
|
|
576
576
|
if (output.statusCode >= 300) {
|
|
577
|
-
return
|
|
577
|
+
return de_DisassociateDiscoveredResourceCommandError(output, context);
|
|
578
578
|
}
|
|
579
579
|
const data = await parseBody(output.body, context);
|
|
580
580
|
let contents = {};
|
|
581
|
-
contents =
|
|
581
|
+
contents = de_DisassociateDiscoveredResourceResult(data, context);
|
|
582
582
|
const response = {
|
|
583
583
|
$metadata: deserializeMetadata(output),
|
|
584
584
|
...contents,
|
|
585
585
|
};
|
|
586
586
|
return Promise.resolve(response);
|
|
587
587
|
};
|
|
588
|
-
exports.
|
|
589
|
-
const
|
|
588
|
+
exports.de_DisassociateDiscoveredResourceCommand = de_DisassociateDiscoveredResourceCommand;
|
|
589
|
+
const de_DisassociateDiscoveredResourceCommandError = async (output, context) => {
|
|
590
590
|
const parsedOutput = {
|
|
591
591
|
...output,
|
|
592
592
|
body: await parseErrorBody(output.body, context),
|
|
@@ -595,31 +595,31 @@ const deserializeAws_json1_1DisassociateDiscoveredResourceCommandError = async (
|
|
|
595
595
|
switch (errorCode) {
|
|
596
596
|
case "AccessDeniedException":
|
|
597
597
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
598
|
-
throw await
|
|
598
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
599
599
|
case "DryRunOperation":
|
|
600
600
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
601
|
-
throw await
|
|
601
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
602
602
|
case "HomeRegionNotSetException":
|
|
603
603
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
604
|
-
throw await
|
|
604
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
605
605
|
case "InternalServerError":
|
|
606
606
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
607
|
-
throw await
|
|
607
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
608
608
|
case "InvalidInputException":
|
|
609
609
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
610
|
-
throw await
|
|
610
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
611
611
|
case "ResourceNotFoundException":
|
|
612
612
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
613
|
-
throw await
|
|
613
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
614
614
|
case "ServiceUnavailableException":
|
|
615
615
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
617
617
|
case "ThrottlingException":
|
|
618
618
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
620
620
|
case "UnauthorizedOperation":
|
|
621
621
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
623
623
|
default:
|
|
624
624
|
const parsedBody = parsedOutput.body;
|
|
625
625
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -630,21 +630,21 @@ const deserializeAws_json1_1DisassociateDiscoveredResourceCommandError = async (
|
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
const
|
|
633
|
+
const de_ImportMigrationTaskCommand = async (output, context) => {
|
|
634
634
|
if (output.statusCode >= 300) {
|
|
635
|
-
return
|
|
635
|
+
return de_ImportMigrationTaskCommandError(output, context);
|
|
636
636
|
}
|
|
637
637
|
const data = await parseBody(output.body, context);
|
|
638
638
|
let contents = {};
|
|
639
|
-
contents =
|
|
639
|
+
contents = de_ImportMigrationTaskResult(data, context);
|
|
640
640
|
const response = {
|
|
641
641
|
$metadata: deserializeMetadata(output),
|
|
642
642
|
...contents,
|
|
643
643
|
};
|
|
644
644
|
return Promise.resolve(response);
|
|
645
645
|
};
|
|
646
|
-
exports.
|
|
647
|
-
const
|
|
646
|
+
exports.de_ImportMigrationTaskCommand = de_ImportMigrationTaskCommand;
|
|
647
|
+
const de_ImportMigrationTaskCommandError = async (output, context) => {
|
|
648
648
|
const parsedOutput = {
|
|
649
649
|
...output,
|
|
650
650
|
body: await parseErrorBody(output.body, context),
|
|
@@ -653,31 +653,31 @@ const deserializeAws_json1_1ImportMigrationTaskCommandError = async (output, con
|
|
|
653
653
|
switch (errorCode) {
|
|
654
654
|
case "AccessDeniedException":
|
|
655
655
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
656
|
-
throw await
|
|
656
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
657
657
|
case "DryRunOperation":
|
|
658
658
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
659
|
-
throw await
|
|
659
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
660
660
|
case "HomeRegionNotSetException":
|
|
661
661
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
662
|
-
throw await
|
|
662
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
663
663
|
case "InternalServerError":
|
|
664
664
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
665
|
-
throw await
|
|
665
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
666
666
|
case "InvalidInputException":
|
|
667
667
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
668
|
-
throw await
|
|
668
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
669
669
|
case "ResourceNotFoundException":
|
|
670
670
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
671
|
-
throw await
|
|
671
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
672
672
|
case "ServiceUnavailableException":
|
|
673
673
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
674
|
-
throw await
|
|
674
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
675
675
|
case "ThrottlingException":
|
|
676
676
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
677
|
-
throw await
|
|
677
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
678
678
|
case "UnauthorizedOperation":
|
|
679
679
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
680
|
-
throw await
|
|
680
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
681
681
|
default:
|
|
682
682
|
const parsedBody = parsedOutput.body;
|
|
683
683
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -688,21 +688,21 @@ const deserializeAws_json1_1ImportMigrationTaskCommandError = async (output, con
|
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
|
-
const
|
|
691
|
+
const de_ListApplicationStatesCommand = async (output, context) => {
|
|
692
692
|
if (output.statusCode >= 300) {
|
|
693
|
-
return
|
|
693
|
+
return de_ListApplicationStatesCommandError(output, context);
|
|
694
694
|
}
|
|
695
695
|
const data = await parseBody(output.body, context);
|
|
696
696
|
let contents = {};
|
|
697
|
-
contents =
|
|
697
|
+
contents = de_ListApplicationStatesResult(data, context);
|
|
698
698
|
const response = {
|
|
699
699
|
$metadata: deserializeMetadata(output),
|
|
700
700
|
...contents,
|
|
701
701
|
};
|
|
702
702
|
return Promise.resolve(response);
|
|
703
703
|
};
|
|
704
|
-
exports.
|
|
705
|
-
const
|
|
704
|
+
exports.de_ListApplicationStatesCommand = de_ListApplicationStatesCommand;
|
|
705
|
+
const de_ListApplicationStatesCommandError = async (output, context) => {
|
|
706
706
|
const parsedOutput = {
|
|
707
707
|
...output,
|
|
708
708
|
body: await parseErrorBody(output.body, context),
|
|
@@ -711,22 +711,22 @@ const deserializeAws_json1_1ListApplicationStatesCommandError = async (output, c
|
|
|
711
711
|
switch (errorCode) {
|
|
712
712
|
case "AccessDeniedException":
|
|
713
713
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
714
|
-
throw await
|
|
714
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
715
715
|
case "HomeRegionNotSetException":
|
|
716
716
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
717
|
-
throw await
|
|
717
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
718
718
|
case "InternalServerError":
|
|
719
719
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
721
721
|
case "InvalidInputException":
|
|
722
722
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
724
724
|
case "ServiceUnavailableException":
|
|
725
725
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
727
727
|
case "ThrottlingException":
|
|
728
728
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
730
730
|
default:
|
|
731
731
|
const parsedBody = parsedOutput.body;
|
|
732
732
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -737,21 +737,21 @@ const deserializeAws_json1_1ListApplicationStatesCommandError = async (output, c
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
|
-
const
|
|
740
|
+
const de_ListCreatedArtifactsCommand = async (output, context) => {
|
|
741
741
|
if (output.statusCode >= 300) {
|
|
742
|
-
return
|
|
742
|
+
return de_ListCreatedArtifactsCommandError(output, context);
|
|
743
743
|
}
|
|
744
744
|
const data = await parseBody(output.body, context);
|
|
745
745
|
let contents = {};
|
|
746
|
-
contents =
|
|
746
|
+
contents = de_ListCreatedArtifactsResult(data, context);
|
|
747
747
|
const response = {
|
|
748
748
|
$metadata: deserializeMetadata(output),
|
|
749
749
|
...contents,
|
|
750
750
|
};
|
|
751
751
|
return Promise.resolve(response);
|
|
752
752
|
};
|
|
753
|
-
exports.
|
|
754
|
-
const
|
|
753
|
+
exports.de_ListCreatedArtifactsCommand = de_ListCreatedArtifactsCommand;
|
|
754
|
+
const de_ListCreatedArtifactsCommandError = async (output, context) => {
|
|
755
755
|
const parsedOutput = {
|
|
756
756
|
...output,
|
|
757
757
|
body: await parseErrorBody(output.body, context),
|
|
@@ -760,25 +760,25 @@ const deserializeAws_json1_1ListCreatedArtifactsCommandError = async (output, co
|
|
|
760
760
|
switch (errorCode) {
|
|
761
761
|
case "AccessDeniedException":
|
|
762
762
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
763
|
-
throw await
|
|
763
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
764
764
|
case "HomeRegionNotSetException":
|
|
765
765
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
766
|
-
throw await
|
|
766
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
767
767
|
case "InternalServerError":
|
|
768
768
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
769
|
-
throw await
|
|
769
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
770
770
|
case "InvalidInputException":
|
|
771
771
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
772
|
-
throw await
|
|
772
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
773
773
|
case "ResourceNotFoundException":
|
|
774
774
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
775
|
-
throw await
|
|
775
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
776
776
|
case "ServiceUnavailableException":
|
|
777
777
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
778
|
-
throw await
|
|
778
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
779
779
|
case "ThrottlingException":
|
|
780
780
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
781
|
-
throw await
|
|
781
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
782
782
|
default:
|
|
783
783
|
const parsedBody = parsedOutput.body;
|
|
784
784
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -789,21 +789,21 @@ const deserializeAws_json1_1ListCreatedArtifactsCommandError = async (output, co
|
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
|
-
const
|
|
792
|
+
const de_ListDiscoveredResourcesCommand = async (output, context) => {
|
|
793
793
|
if (output.statusCode >= 300) {
|
|
794
|
-
return
|
|
794
|
+
return de_ListDiscoveredResourcesCommandError(output, context);
|
|
795
795
|
}
|
|
796
796
|
const data = await parseBody(output.body, context);
|
|
797
797
|
let contents = {};
|
|
798
|
-
contents =
|
|
798
|
+
contents = de_ListDiscoveredResourcesResult(data, context);
|
|
799
799
|
const response = {
|
|
800
800
|
$metadata: deserializeMetadata(output),
|
|
801
801
|
...contents,
|
|
802
802
|
};
|
|
803
803
|
return Promise.resolve(response);
|
|
804
804
|
};
|
|
805
|
-
exports.
|
|
806
|
-
const
|
|
805
|
+
exports.de_ListDiscoveredResourcesCommand = de_ListDiscoveredResourcesCommand;
|
|
806
|
+
const de_ListDiscoveredResourcesCommandError = async (output, context) => {
|
|
807
807
|
const parsedOutput = {
|
|
808
808
|
...output,
|
|
809
809
|
body: await parseErrorBody(output.body, context),
|
|
@@ -812,25 +812,25 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
|
|
|
812
812
|
switch (errorCode) {
|
|
813
813
|
case "AccessDeniedException":
|
|
814
814
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
815
|
-
throw await
|
|
815
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
816
816
|
case "HomeRegionNotSetException":
|
|
817
817
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
818
|
-
throw await
|
|
818
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
819
819
|
case "InternalServerError":
|
|
820
820
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
821
|
-
throw await
|
|
821
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
822
822
|
case "InvalidInputException":
|
|
823
823
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
824
|
-
throw await
|
|
824
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
825
825
|
case "ResourceNotFoundException":
|
|
826
826
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
827
|
-
throw await
|
|
827
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
828
828
|
case "ServiceUnavailableException":
|
|
829
829
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
830
|
-
throw await
|
|
830
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
831
831
|
case "ThrottlingException":
|
|
832
832
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
833
|
-
throw await
|
|
833
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
834
834
|
default:
|
|
835
835
|
const parsedBody = parsedOutput.body;
|
|
836
836
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -841,21 +841,21 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
|
|
|
841
841
|
});
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
|
-
const
|
|
844
|
+
const de_ListMigrationTasksCommand = async (output, context) => {
|
|
845
845
|
if (output.statusCode >= 300) {
|
|
846
|
-
return
|
|
846
|
+
return de_ListMigrationTasksCommandError(output, context);
|
|
847
847
|
}
|
|
848
848
|
const data = await parseBody(output.body, context);
|
|
849
849
|
let contents = {};
|
|
850
|
-
contents =
|
|
850
|
+
contents = de_ListMigrationTasksResult(data, context);
|
|
851
851
|
const response = {
|
|
852
852
|
$metadata: deserializeMetadata(output),
|
|
853
853
|
...contents,
|
|
854
854
|
};
|
|
855
855
|
return Promise.resolve(response);
|
|
856
856
|
};
|
|
857
|
-
exports.
|
|
858
|
-
const
|
|
857
|
+
exports.de_ListMigrationTasksCommand = de_ListMigrationTasksCommand;
|
|
858
|
+
const de_ListMigrationTasksCommandError = async (output, context) => {
|
|
859
859
|
const parsedOutput = {
|
|
860
860
|
...output,
|
|
861
861
|
body: await parseErrorBody(output.body, context),
|
|
@@ -864,28 +864,28 @@ const deserializeAws_json1_1ListMigrationTasksCommandError = async (output, cont
|
|
|
864
864
|
switch (errorCode) {
|
|
865
865
|
case "AccessDeniedException":
|
|
866
866
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
868
868
|
case "HomeRegionNotSetException":
|
|
869
869
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
870
|
-
throw await
|
|
870
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
871
871
|
case "InternalServerError":
|
|
872
872
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
873
|
-
throw await
|
|
873
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
874
874
|
case "InvalidInputException":
|
|
875
875
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
876
|
-
throw await
|
|
876
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
877
877
|
case "PolicyErrorException":
|
|
878
878
|
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
879
|
-
throw await
|
|
879
|
+
throw await de_PolicyErrorExceptionRes(parsedOutput, context);
|
|
880
880
|
case "ResourceNotFoundException":
|
|
881
881
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
882
|
-
throw await
|
|
882
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
883
883
|
case "ServiceUnavailableException":
|
|
884
884
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
885
|
-
throw await
|
|
885
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
886
886
|
case "ThrottlingException":
|
|
887
887
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
888
|
-
throw await
|
|
888
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
889
889
|
default:
|
|
890
890
|
const parsedBody = parsedOutput.body;
|
|
891
891
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -896,21 +896,21 @@ const deserializeAws_json1_1ListMigrationTasksCommandError = async (output, cont
|
|
|
896
896
|
});
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
|
-
const
|
|
899
|
+
const de_ListProgressUpdateStreamsCommand = async (output, context) => {
|
|
900
900
|
if (output.statusCode >= 300) {
|
|
901
|
-
return
|
|
901
|
+
return de_ListProgressUpdateStreamsCommandError(output, context);
|
|
902
902
|
}
|
|
903
903
|
const data = await parseBody(output.body, context);
|
|
904
904
|
let contents = {};
|
|
905
|
-
contents =
|
|
905
|
+
contents = de_ListProgressUpdateStreamsResult(data, context);
|
|
906
906
|
const response = {
|
|
907
907
|
$metadata: deserializeMetadata(output),
|
|
908
908
|
...contents,
|
|
909
909
|
};
|
|
910
910
|
return Promise.resolve(response);
|
|
911
911
|
};
|
|
912
|
-
exports.
|
|
913
|
-
const
|
|
912
|
+
exports.de_ListProgressUpdateStreamsCommand = de_ListProgressUpdateStreamsCommand;
|
|
913
|
+
const de_ListProgressUpdateStreamsCommandError = async (output, context) => {
|
|
914
914
|
const parsedOutput = {
|
|
915
915
|
...output,
|
|
916
916
|
body: await parseErrorBody(output.body, context),
|
|
@@ -919,22 +919,22 @@ const deserializeAws_json1_1ListProgressUpdateStreamsCommandError = async (outpu
|
|
|
919
919
|
switch (errorCode) {
|
|
920
920
|
case "AccessDeniedException":
|
|
921
921
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
922
|
-
throw await
|
|
922
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
923
923
|
case "HomeRegionNotSetException":
|
|
924
924
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
925
|
-
throw await
|
|
925
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
926
926
|
case "InternalServerError":
|
|
927
927
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
928
|
-
throw await
|
|
928
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
929
929
|
case "InvalidInputException":
|
|
930
930
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
931
|
-
throw await
|
|
931
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
932
932
|
case "ServiceUnavailableException":
|
|
933
933
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
934
|
-
throw await
|
|
934
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
935
935
|
case "ThrottlingException":
|
|
936
936
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
937
|
-
throw await
|
|
937
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
938
938
|
default:
|
|
939
939
|
const parsedBody = parsedOutput.body;
|
|
940
940
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -945,21 +945,21 @@ const deserializeAws_json1_1ListProgressUpdateStreamsCommandError = async (outpu
|
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
947
|
};
|
|
948
|
-
const
|
|
948
|
+
const de_NotifyApplicationStateCommand = async (output, context) => {
|
|
949
949
|
if (output.statusCode >= 300) {
|
|
950
|
-
return
|
|
950
|
+
return de_NotifyApplicationStateCommandError(output, context);
|
|
951
951
|
}
|
|
952
952
|
const data = await parseBody(output.body, context);
|
|
953
953
|
let contents = {};
|
|
954
|
-
contents =
|
|
954
|
+
contents = de_NotifyApplicationStateResult(data, context);
|
|
955
955
|
const response = {
|
|
956
956
|
$metadata: deserializeMetadata(output),
|
|
957
957
|
...contents,
|
|
958
958
|
};
|
|
959
959
|
return Promise.resolve(response);
|
|
960
960
|
};
|
|
961
|
-
exports.
|
|
962
|
-
const
|
|
961
|
+
exports.de_NotifyApplicationStateCommand = de_NotifyApplicationStateCommand;
|
|
962
|
+
const de_NotifyApplicationStateCommandError = async (output, context) => {
|
|
963
963
|
const parsedOutput = {
|
|
964
964
|
...output,
|
|
965
965
|
body: await parseErrorBody(output.body, context),
|
|
@@ -968,34 +968,34 @@ const deserializeAws_json1_1NotifyApplicationStateCommandError = async (output,
|
|
|
968
968
|
switch (errorCode) {
|
|
969
969
|
case "AccessDeniedException":
|
|
970
970
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
971
|
-
throw await
|
|
971
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
972
972
|
case "DryRunOperation":
|
|
973
973
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
974
|
-
throw await
|
|
974
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
975
975
|
case "HomeRegionNotSetException":
|
|
976
976
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
977
|
-
throw await
|
|
977
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
978
978
|
case "InternalServerError":
|
|
979
979
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
980
|
-
throw await
|
|
980
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
981
981
|
case "InvalidInputException":
|
|
982
982
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
983
|
-
throw await
|
|
983
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
984
984
|
case "PolicyErrorException":
|
|
985
985
|
case "com.amazonaws.migrationhub#PolicyErrorException":
|
|
986
|
-
throw await
|
|
986
|
+
throw await de_PolicyErrorExceptionRes(parsedOutput, context);
|
|
987
987
|
case "ResourceNotFoundException":
|
|
988
988
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
989
|
-
throw await
|
|
989
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
990
990
|
case "ServiceUnavailableException":
|
|
991
991
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
992
|
-
throw await
|
|
992
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
993
993
|
case "ThrottlingException":
|
|
994
994
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
995
|
-
throw await
|
|
995
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
996
996
|
case "UnauthorizedOperation":
|
|
997
997
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
998
|
-
throw await
|
|
998
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
999
999
|
default:
|
|
1000
1000
|
const parsedBody = parsedOutput.body;
|
|
1001
1001
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1006,21 +1006,21 @@ const deserializeAws_json1_1NotifyApplicationStateCommandError = async (output,
|
|
|
1006
1006
|
});
|
|
1007
1007
|
}
|
|
1008
1008
|
};
|
|
1009
|
-
const
|
|
1009
|
+
const de_NotifyMigrationTaskStateCommand = async (output, context) => {
|
|
1010
1010
|
if (output.statusCode >= 300) {
|
|
1011
|
-
return
|
|
1011
|
+
return de_NotifyMigrationTaskStateCommandError(output, context);
|
|
1012
1012
|
}
|
|
1013
1013
|
const data = await parseBody(output.body, context);
|
|
1014
1014
|
let contents = {};
|
|
1015
|
-
contents =
|
|
1015
|
+
contents = de_NotifyMigrationTaskStateResult(data, context);
|
|
1016
1016
|
const response = {
|
|
1017
1017
|
$metadata: deserializeMetadata(output),
|
|
1018
1018
|
...contents,
|
|
1019
1019
|
};
|
|
1020
1020
|
return Promise.resolve(response);
|
|
1021
1021
|
};
|
|
1022
|
-
exports.
|
|
1023
|
-
const
|
|
1022
|
+
exports.de_NotifyMigrationTaskStateCommand = de_NotifyMigrationTaskStateCommand;
|
|
1023
|
+
const de_NotifyMigrationTaskStateCommandError = async (output, context) => {
|
|
1024
1024
|
const parsedOutput = {
|
|
1025
1025
|
...output,
|
|
1026
1026
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1029,31 +1029,31 @@ const deserializeAws_json1_1NotifyMigrationTaskStateCommandError = async (output
|
|
|
1029
1029
|
switch (errorCode) {
|
|
1030
1030
|
case "AccessDeniedException":
|
|
1031
1031
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
1032
|
-
throw await
|
|
1032
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1033
1033
|
case "DryRunOperation":
|
|
1034
1034
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
1035
|
-
throw await
|
|
1035
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
1036
1036
|
case "HomeRegionNotSetException":
|
|
1037
1037
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
1038
|
-
throw await
|
|
1038
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1039
1039
|
case "InternalServerError":
|
|
1040
1040
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
1041
|
-
throw await
|
|
1041
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1042
1042
|
case "InvalidInputException":
|
|
1043
1043
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
1044
|
-
throw await
|
|
1044
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1045
1045
|
case "ResourceNotFoundException":
|
|
1046
1046
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "ServiceUnavailableException":
|
|
1049
1049
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "ThrottlingException":
|
|
1052
1052
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1054
1054
|
case "UnauthorizedOperation":
|
|
1055
1055
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
1057
1057
|
default:
|
|
1058
1058
|
const parsedBody = parsedOutput.body;
|
|
1059
1059
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1064,21 +1064,21 @@ const deserializeAws_json1_1NotifyMigrationTaskStateCommandError = async (output
|
|
|
1064
1064
|
});
|
|
1065
1065
|
}
|
|
1066
1066
|
};
|
|
1067
|
-
const
|
|
1067
|
+
const de_PutResourceAttributesCommand = async (output, context) => {
|
|
1068
1068
|
if (output.statusCode >= 300) {
|
|
1069
|
-
return
|
|
1069
|
+
return de_PutResourceAttributesCommandError(output, context);
|
|
1070
1070
|
}
|
|
1071
1071
|
const data = await parseBody(output.body, context);
|
|
1072
1072
|
let contents = {};
|
|
1073
|
-
contents =
|
|
1073
|
+
contents = de_PutResourceAttributesResult(data, context);
|
|
1074
1074
|
const response = {
|
|
1075
1075
|
$metadata: deserializeMetadata(output),
|
|
1076
1076
|
...contents,
|
|
1077
1077
|
};
|
|
1078
1078
|
return Promise.resolve(response);
|
|
1079
1079
|
};
|
|
1080
|
-
exports.
|
|
1081
|
-
const
|
|
1080
|
+
exports.de_PutResourceAttributesCommand = de_PutResourceAttributesCommand;
|
|
1081
|
+
const de_PutResourceAttributesCommandError = async (output, context) => {
|
|
1082
1082
|
const parsedOutput = {
|
|
1083
1083
|
...output,
|
|
1084
1084
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1087,31 +1087,31 @@ const deserializeAws_json1_1PutResourceAttributesCommandError = async (output, c
|
|
|
1087
1087
|
switch (errorCode) {
|
|
1088
1088
|
case "AccessDeniedException":
|
|
1089
1089
|
case "com.amazonaws.migrationhub#AccessDeniedException":
|
|
1090
|
-
throw await
|
|
1090
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1091
1091
|
case "DryRunOperation":
|
|
1092
1092
|
case "com.amazonaws.migrationhub#DryRunOperation":
|
|
1093
|
-
throw await
|
|
1093
|
+
throw await de_DryRunOperationRes(parsedOutput, context);
|
|
1094
1094
|
case "HomeRegionNotSetException":
|
|
1095
1095
|
case "com.amazonaws.migrationhub#HomeRegionNotSetException":
|
|
1096
|
-
throw await
|
|
1096
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1097
1097
|
case "InternalServerError":
|
|
1098
1098
|
case "com.amazonaws.migrationhub#InternalServerError":
|
|
1099
|
-
throw await
|
|
1099
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1100
1100
|
case "InvalidInputException":
|
|
1101
1101
|
case "com.amazonaws.migrationhub#InvalidInputException":
|
|
1102
|
-
throw await
|
|
1102
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1103
1103
|
case "ResourceNotFoundException":
|
|
1104
1104
|
case "com.amazonaws.migrationhub#ResourceNotFoundException":
|
|
1105
|
-
throw await
|
|
1105
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1106
1106
|
case "ServiceUnavailableException":
|
|
1107
1107
|
case "com.amazonaws.migrationhub#ServiceUnavailableException":
|
|
1108
|
-
throw await
|
|
1108
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1109
1109
|
case "ThrottlingException":
|
|
1110
1110
|
case "com.amazonaws.migrationhub#ThrottlingException":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1112
1112
|
case "UnauthorizedOperation":
|
|
1113
1113
|
case "com.amazonaws.migrationhub#UnauthorizedOperation":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
1115
1115
|
default:
|
|
1116
1116
|
const parsedBody = parsedOutput.body;
|
|
1117
1117
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1122,153 +1122,151 @@ const deserializeAws_json1_1PutResourceAttributesCommandError = async (output, c
|
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
|
-
const
|
|
1125
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1126
1126
|
const body = parsedOutput.body;
|
|
1127
|
-
const deserialized =
|
|
1127
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
1128
1128
|
const exception = new models_0_1.AccessDeniedException({
|
|
1129
1129
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1130
1130
|
...deserialized,
|
|
1131
1131
|
});
|
|
1132
1132
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1133
1133
|
};
|
|
1134
|
-
const
|
|
1134
|
+
const de_DryRunOperationRes = async (parsedOutput, context) => {
|
|
1135
1135
|
const body = parsedOutput.body;
|
|
1136
|
-
const deserialized =
|
|
1136
|
+
const deserialized = de_DryRunOperation(body, context);
|
|
1137
1137
|
const exception = new models_0_1.DryRunOperation({
|
|
1138
1138
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1139
1139
|
...deserialized,
|
|
1140
1140
|
});
|
|
1141
1141
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1142
1142
|
};
|
|
1143
|
-
const
|
|
1143
|
+
const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
1144
1144
|
const body = parsedOutput.body;
|
|
1145
|
-
const deserialized =
|
|
1145
|
+
const deserialized = de_HomeRegionNotSetException(body, context);
|
|
1146
1146
|
const exception = new models_0_1.HomeRegionNotSetException({
|
|
1147
1147
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1148
1148
|
...deserialized,
|
|
1149
1149
|
});
|
|
1150
1150
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1151
1151
|
};
|
|
1152
|
-
const
|
|
1152
|
+
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
1153
1153
|
const body = parsedOutput.body;
|
|
1154
|
-
const deserialized =
|
|
1154
|
+
const deserialized = de_InternalServerError(body, context);
|
|
1155
1155
|
const exception = new models_0_1.InternalServerError({
|
|
1156
1156
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1157
1157
|
...deserialized,
|
|
1158
1158
|
});
|
|
1159
1159
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1160
1160
|
};
|
|
1161
|
-
const
|
|
1161
|
+
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1162
1162
|
const body = parsedOutput.body;
|
|
1163
|
-
const deserialized =
|
|
1163
|
+
const deserialized = de_InvalidInputException(body, context);
|
|
1164
1164
|
const exception = new models_0_1.InvalidInputException({
|
|
1165
1165
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1166
1166
|
...deserialized,
|
|
1167
1167
|
});
|
|
1168
1168
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1169
1169
|
};
|
|
1170
|
-
const
|
|
1170
|
+
const de_PolicyErrorExceptionRes = async (parsedOutput, context) => {
|
|
1171
1171
|
const body = parsedOutput.body;
|
|
1172
|
-
const deserialized =
|
|
1172
|
+
const deserialized = de_PolicyErrorException(body, context);
|
|
1173
1173
|
const exception = new models_0_1.PolicyErrorException({
|
|
1174
1174
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1175
1175
|
...deserialized,
|
|
1176
1176
|
});
|
|
1177
1177
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1178
1178
|
};
|
|
1179
|
-
const
|
|
1179
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1180
1180
|
const body = parsedOutput.body;
|
|
1181
|
-
const deserialized =
|
|
1181
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1182
1182
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1183
1183
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1184
1184
|
...deserialized,
|
|
1185
1185
|
});
|
|
1186
1186
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1187
1187
|
};
|
|
1188
|
-
const
|
|
1188
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1189
1189
|
const body = parsedOutput.body;
|
|
1190
|
-
const deserialized =
|
|
1190
|
+
const deserialized = de_ServiceUnavailableException(body, context);
|
|
1191
1191
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
1192
1192
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1193
1193
|
...deserialized,
|
|
1194
1194
|
});
|
|
1195
1195
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1196
1196
|
};
|
|
1197
|
-
const
|
|
1197
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1198
1198
|
const body = parsedOutput.body;
|
|
1199
|
-
const deserialized =
|
|
1199
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
1200
1200
|
const exception = new models_0_1.ThrottlingException({
|
|
1201
1201
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1202
1202
|
...deserialized,
|
|
1203
1203
|
});
|
|
1204
1204
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1205
1205
|
};
|
|
1206
|
-
const
|
|
1206
|
+
const de_UnauthorizedOperationRes = async (parsedOutput, context) => {
|
|
1207
1207
|
const body = parsedOutput.body;
|
|
1208
|
-
const deserialized =
|
|
1208
|
+
const deserialized = de_UnauthorizedOperation(body, context);
|
|
1209
1209
|
const exception = new models_0_1.UnauthorizedOperation({
|
|
1210
1210
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1211
1211
|
...deserialized,
|
|
1212
1212
|
});
|
|
1213
1213
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1214
1214
|
};
|
|
1215
|
-
const
|
|
1215
|
+
const se_ApplicationIds = (input, context) => {
|
|
1216
1216
|
return input
|
|
1217
1217
|
.filter((e) => e != null)
|
|
1218
1218
|
.map((entry) => {
|
|
1219
1219
|
return entry;
|
|
1220
1220
|
});
|
|
1221
1221
|
};
|
|
1222
|
-
const
|
|
1222
|
+
const se_AssociateCreatedArtifactRequest = (input, context) => {
|
|
1223
1223
|
return {
|
|
1224
|
-
...(input.CreatedArtifact != null && {
|
|
1225
|
-
CreatedArtifact: serializeAws_json1_1CreatedArtifact(input.CreatedArtifact, context),
|
|
1226
|
-
}),
|
|
1224
|
+
...(input.CreatedArtifact != null && { CreatedArtifact: se_CreatedArtifact(input.CreatedArtifact, context) }),
|
|
1227
1225
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1228
1226
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1229
1227
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1230
1228
|
};
|
|
1231
1229
|
};
|
|
1232
|
-
const
|
|
1230
|
+
const se_AssociateDiscoveredResourceRequest = (input, context) => {
|
|
1233
1231
|
return {
|
|
1234
1232
|
...(input.DiscoveredResource != null && {
|
|
1235
|
-
DiscoveredResource:
|
|
1233
|
+
DiscoveredResource: se_DiscoveredResource(input.DiscoveredResource, context),
|
|
1236
1234
|
}),
|
|
1237
1235
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1238
1236
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1239
1237
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1240
1238
|
};
|
|
1241
1239
|
};
|
|
1242
|
-
const
|
|
1240
|
+
const se_CreatedArtifact = (input, context) => {
|
|
1243
1241
|
return {
|
|
1244
1242
|
...(input.Description != null && { Description: input.Description }),
|
|
1245
1243
|
...(input.Name != null && { Name: input.Name }),
|
|
1246
1244
|
};
|
|
1247
1245
|
};
|
|
1248
|
-
const
|
|
1246
|
+
const se_CreateProgressUpdateStreamRequest = (input, context) => {
|
|
1249
1247
|
return {
|
|
1250
1248
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1251
1249
|
...(input.ProgressUpdateStreamName != null && { ProgressUpdateStreamName: input.ProgressUpdateStreamName }),
|
|
1252
1250
|
};
|
|
1253
1251
|
};
|
|
1254
|
-
const
|
|
1252
|
+
const se_DeleteProgressUpdateStreamRequest = (input, context) => {
|
|
1255
1253
|
return {
|
|
1256
1254
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1257
1255
|
...(input.ProgressUpdateStreamName != null && { ProgressUpdateStreamName: input.ProgressUpdateStreamName }),
|
|
1258
1256
|
};
|
|
1259
1257
|
};
|
|
1260
|
-
const
|
|
1258
|
+
const se_DescribeApplicationStateRequest = (input, context) => {
|
|
1261
1259
|
return {
|
|
1262
1260
|
...(input.ApplicationId != null && { ApplicationId: input.ApplicationId }),
|
|
1263
1261
|
};
|
|
1264
1262
|
};
|
|
1265
|
-
const
|
|
1263
|
+
const se_DescribeMigrationTaskRequest = (input, context) => {
|
|
1266
1264
|
return {
|
|
1267
1265
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1268
1266
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1269
1267
|
};
|
|
1270
1268
|
};
|
|
1271
|
-
const
|
|
1269
|
+
const se_DisassociateCreatedArtifactRequest = (input, context) => {
|
|
1272
1270
|
return {
|
|
1273
1271
|
...(input.CreatedArtifactName != null && { CreatedArtifactName: input.CreatedArtifactName }),
|
|
1274
1272
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
@@ -1276,7 +1274,7 @@ const serializeAws_json1_1DisassociateCreatedArtifactRequest = (input, context)
|
|
|
1276
1274
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1277
1275
|
};
|
|
1278
1276
|
};
|
|
1279
|
-
const
|
|
1277
|
+
const se_DisassociateDiscoveredResourceRequest = (input, context) => {
|
|
1280
1278
|
return {
|
|
1281
1279
|
...(input.ConfigurationId != null && { ConfigurationId: input.ConfigurationId }),
|
|
1282
1280
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
@@ -1284,29 +1282,27 @@ const serializeAws_json1_1DisassociateDiscoveredResourceRequest = (input, contex
|
|
|
1284
1282
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1285
1283
|
};
|
|
1286
1284
|
};
|
|
1287
|
-
const
|
|
1285
|
+
const se_DiscoveredResource = (input, context) => {
|
|
1288
1286
|
return {
|
|
1289
1287
|
...(input.ConfigurationId != null && { ConfigurationId: input.ConfigurationId }),
|
|
1290
1288
|
...(input.Description != null && { Description: input.Description }),
|
|
1291
1289
|
};
|
|
1292
1290
|
};
|
|
1293
|
-
const
|
|
1291
|
+
const se_ImportMigrationTaskRequest = (input, context) => {
|
|
1294
1292
|
return {
|
|
1295
1293
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1296
1294
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1297
1295
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1298
1296
|
};
|
|
1299
1297
|
};
|
|
1300
|
-
const
|
|
1298
|
+
const se_ListApplicationStatesRequest = (input, context) => {
|
|
1301
1299
|
return {
|
|
1302
|
-
...(input.ApplicationIds != null && {
|
|
1303
|
-
ApplicationIds: serializeAws_json1_1ApplicationIds(input.ApplicationIds, context),
|
|
1304
|
-
}),
|
|
1300
|
+
...(input.ApplicationIds != null && { ApplicationIds: se_ApplicationIds(input.ApplicationIds, context) }),
|
|
1305
1301
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1306
1302
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1307
1303
|
};
|
|
1308
1304
|
};
|
|
1309
|
-
const
|
|
1305
|
+
const se_ListCreatedArtifactsRequest = (input, context) => {
|
|
1310
1306
|
return {
|
|
1311
1307
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1312
1308
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
@@ -1314,7 +1310,7 @@ const serializeAws_json1_1ListCreatedArtifactsRequest = (input, context) => {
|
|
|
1314
1310
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1315
1311
|
};
|
|
1316
1312
|
};
|
|
1317
|
-
const
|
|
1313
|
+
const se_ListDiscoveredResourcesRequest = (input, context) => {
|
|
1318
1314
|
return {
|
|
1319
1315
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1320
1316
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
@@ -1322,20 +1318,20 @@ const serializeAws_json1_1ListDiscoveredResourcesRequest = (input, context) => {
|
|
|
1322
1318
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1323
1319
|
};
|
|
1324
1320
|
};
|
|
1325
|
-
const
|
|
1321
|
+
const se_ListMigrationTasksRequest = (input, context) => {
|
|
1326
1322
|
return {
|
|
1327
1323
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1328
1324
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1329
1325
|
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1330
1326
|
};
|
|
1331
1327
|
};
|
|
1332
|
-
const
|
|
1328
|
+
const se_ListProgressUpdateStreamsRequest = (input, context) => {
|
|
1333
1329
|
return {
|
|
1334
1330
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1335
1331
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1336
1332
|
};
|
|
1337
1333
|
};
|
|
1338
|
-
const
|
|
1334
|
+
const se_NotifyApplicationStateRequest = (input, context) => {
|
|
1339
1335
|
return {
|
|
1340
1336
|
...(input.ApplicationId != null && { ApplicationId: input.ApplicationId }),
|
|
1341
1337
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
@@ -1343,52 +1339,52 @@ const serializeAws_json1_1NotifyApplicationStateRequest = (input, context) => {
|
|
|
1343
1339
|
...(input.UpdateDateTime != null && { UpdateDateTime: Math.round(input.UpdateDateTime.getTime() / 1000) }),
|
|
1344
1340
|
};
|
|
1345
1341
|
};
|
|
1346
|
-
const
|
|
1342
|
+
const se_NotifyMigrationTaskStateRequest = (input, context) => {
|
|
1347
1343
|
return {
|
|
1348
1344
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1349
1345
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1350
1346
|
...(input.NextUpdateSeconds != null && { NextUpdateSeconds: input.NextUpdateSeconds }),
|
|
1351
1347
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1352
|
-
...(input.Task != null && { Task:
|
|
1348
|
+
...(input.Task != null && { Task: se_Task(input.Task, context) }),
|
|
1353
1349
|
...(input.UpdateDateTime != null && { UpdateDateTime: Math.round(input.UpdateDateTime.getTime() / 1000) }),
|
|
1354
1350
|
};
|
|
1355
1351
|
};
|
|
1356
|
-
const
|
|
1352
|
+
const se_PutResourceAttributesRequest = (input, context) => {
|
|
1357
1353
|
return {
|
|
1358
1354
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
1359
1355
|
...(input.MigrationTaskName != null && { MigrationTaskName: input.MigrationTaskName }),
|
|
1360
1356
|
...(input.ProgressUpdateStream != null && { ProgressUpdateStream: input.ProgressUpdateStream }),
|
|
1361
1357
|
...(input.ResourceAttributeList != null && {
|
|
1362
|
-
ResourceAttributeList:
|
|
1358
|
+
ResourceAttributeList: se_ResourceAttributeList(input.ResourceAttributeList, context),
|
|
1363
1359
|
}),
|
|
1364
1360
|
};
|
|
1365
1361
|
};
|
|
1366
|
-
const
|
|
1362
|
+
const se_ResourceAttribute = (input, context) => {
|
|
1367
1363
|
return {
|
|
1368
1364
|
...(input.Type != null && { Type: input.Type }),
|
|
1369
1365
|
...(input.Value != null && { Value: input.Value }),
|
|
1370
1366
|
};
|
|
1371
1367
|
};
|
|
1372
|
-
const
|
|
1368
|
+
const se_ResourceAttributeList = (input, context) => {
|
|
1373
1369
|
return input
|
|
1374
1370
|
.filter((e) => e != null)
|
|
1375
1371
|
.map((entry) => {
|
|
1376
|
-
return
|
|
1372
|
+
return se_ResourceAttribute(entry, context);
|
|
1377
1373
|
});
|
|
1378
1374
|
};
|
|
1379
|
-
const
|
|
1375
|
+
const se_Task = (input, context) => {
|
|
1380
1376
|
return {
|
|
1381
1377
|
...(input.ProgressPercent != null && { ProgressPercent: input.ProgressPercent }),
|
|
1382
1378
|
...(input.Status != null && { Status: input.Status }),
|
|
1383
1379
|
...(input.StatusDetail != null && { StatusDetail: input.StatusDetail }),
|
|
1384
1380
|
};
|
|
1385
1381
|
};
|
|
1386
|
-
const
|
|
1382
|
+
const de_AccessDeniedException = (output, context) => {
|
|
1387
1383
|
return {
|
|
1388
1384
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1389
1385
|
};
|
|
1390
1386
|
};
|
|
1391
|
-
const
|
|
1387
|
+
const de_ApplicationState = (output, context) => {
|
|
1392
1388
|
return {
|
|
1393
1389
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
1394
1390
|
ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
|
|
@@ -1397,47 +1393,47 @@ const deserializeAws_json1_1ApplicationState = (output, context) => {
|
|
|
1397
1393
|
: undefined,
|
|
1398
1394
|
};
|
|
1399
1395
|
};
|
|
1400
|
-
const
|
|
1396
|
+
const de_ApplicationStateList = (output, context) => {
|
|
1401
1397
|
const retVal = (output || [])
|
|
1402
1398
|
.filter((e) => e != null)
|
|
1403
1399
|
.map((entry) => {
|
|
1404
1400
|
if (entry === null) {
|
|
1405
1401
|
return null;
|
|
1406
1402
|
}
|
|
1407
|
-
return
|
|
1403
|
+
return de_ApplicationState(entry, context);
|
|
1408
1404
|
});
|
|
1409
1405
|
return retVal;
|
|
1410
1406
|
};
|
|
1411
|
-
const
|
|
1407
|
+
const de_AssociateCreatedArtifactResult = (output, context) => {
|
|
1412
1408
|
return {};
|
|
1413
1409
|
};
|
|
1414
|
-
const
|
|
1410
|
+
const de_AssociateDiscoveredResourceResult = (output, context) => {
|
|
1415
1411
|
return {};
|
|
1416
1412
|
};
|
|
1417
|
-
const
|
|
1413
|
+
const de_CreatedArtifact = (output, context) => {
|
|
1418
1414
|
return {
|
|
1419
1415
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1420
1416
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1421
1417
|
};
|
|
1422
1418
|
};
|
|
1423
|
-
const
|
|
1419
|
+
const de_CreatedArtifactList = (output, context) => {
|
|
1424
1420
|
const retVal = (output || [])
|
|
1425
1421
|
.filter((e) => e != null)
|
|
1426
1422
|
.map((entry) => {
|
|
1427
1423
|
if (entry === null) {
|
|
1428
1424
|
return null;
|
|
1429
1425
|
}
|
|
1430
|
-
return
|
|
1426
|
+
return de_CreatedArtifact(entry, context);
|
|
1431
1427
|
});
|
|
1432
1428
|
return retVal;
|
|
1433
1429
|
};
|
|
1434
|
-
const
|
|
1430
|
+
const de_CreateProgressUpdateStreamResult = (output, context) => {
|
|
1435
1431
|
return {};
|
|
1436
1432
|
};
|
|
1437
|
-
const
|
|
1433
|
+
const de_DeleteProgressUpdateStreamResult = (output, context) => {
|
|
1438
1434
|
return {};
|
|
1439
1435
|
};
|
|
1440
|
-
const
|
|
1436
|
+
const de_DescribeApplicationStateResult = (output, context) => {
|
|
1441
1437
|
return {
|
|
1442
1438
|
ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
|
|
1443
1439
|
LastUpdatedTime: output.LastUpdatedTime != null
|
|
@@ -1445,122 +1441,118 @@ const deserializeAws_json1_1DescribeApplicationStateResult = (output, context) =
|
|
|
1445
1441
|
: undefined,
|
|
1446
1442
|
};
|
|
1447
1443
|
};
|
|
1448
|
-
const
|
|
1444
|
+
const de_DescribeMigrationTaskResult = (output, context) => {
|
|
1449
1445
|
return {
|
|
1450
|
-
MigrationTask: output.MigrationTask != null ?
|
|
1446
|
+
MigrationTask: output.MigrationTask != null ? de_MigrationTask(output.MigrationTask, context) : undefined,
|
|
1451
1447
|
};
|
|
1452
1448
|
};
|
|
1453
|
-
const
|
|
1449
|
+
const de_DisassociateCreatedArtifactResult = (output, context) => {
|
|
1454
1450
|
return {};
|
|
1455
1451
|
};
|
|
1456
|
-
const
|
|
1452
|
+
const de_DisassociateDiscoveredResourceResult = (output, context) => {
|
|
1457
1453
|
return {};
|
|
1458
1454
|
};
|
|
1459
|
-
const
|
|
1455
|
+
const de_DiscoveredResource = (output, context) => {
|
|
1460
1456
|
return {
|
|
1461
1457
|
ConfigurationId: (0, smithy_client_1.expectString)(output.ConfigurationId),
|
|
1462
1458
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1463
1459
|
};
|
|
1464
1460
|
};
|
|
1465
|
-
const
|
|
1461
|
+
const de_DiscoveredResourceList = (output, context) => {
|
|
1466
1462
|
const retVal = (output || [])
|
|
1467
1463
|
.filter((e) => e != null)
|
|
1468
1464
|
.map((entry) => {
|
|
1469
1465
|
if (entry === null) {
|
|
1470
1466
|
return null;
|
|
1471
1467
|
}
|
|
1472
|
-
return
|
|
1468
|
+
return de_DiscoveredResource(entry, context);
|
|
1473
1469
|
});
|
|
1474
1470
|
return retVal;
|
|
1475
1471
|
};
|
|
1476
|
-
const
|
|
1472
|
+
const de_DryRunOperation = (output, context) => {
|
|
1477
1473
|
return {
|
|
1478
1474
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1479
1475
|
};
|
|
1480
1476
|
};
|
|
1481
|
-
const
|
|
1477
|
+
const de_HomeRegionNotSetException = (output, context) => {
|
|
1482
1478
|
return {
|
|
1483
1479
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1484
1480
|
};
|
|
1485
1481
|
};
|
|
1486
|
-
const
|
|
1482
|
+
const de_ImportMigrationTaskResult = (output, context) => {
|
|
1487
1483
|
return {};
|
|
1488
1484
|
};
|
|
1489
|
-
const
|
|
1485
|
+
const de_InternalServerError = (output, context) => {
|
|
1490
1486
|
return {
|
|
1491
1487
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1492
1488
|
};
|
|
1493
1489
|
};
|
|
1494
|
-
const
|
|
1490
|
+
const de_InvalidInputException = (output, context) => {
|
|
1495
1491
|
return {
|
|
1496
1492
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1497
1493
|
};
|
|
1498
1494
|
};
|
|
1499
|
-
const
|
|
1495
|
+
const de_LatestResourceAttributeList = (output, context) => {
|
|
1500
1496
|
const retVal = (output || [])
|
|
1501
1497
|
.filter((e) => e != null)
|
|
1502
1498
|
.map((entry) => {
|
|
1503
1499
|
if (entry === null) {
|
|
1504
1500
|
return null;
|
|
1505
1501
|
}
|
|
1506
|
-
return
|
|
1502
|
+
return de_ResourceAttribute(entry, context);
|
|
1507
1503
|
});
|
|
1508
1504
|
return retVal;
|
|
1509
1505
|
};
|
|
1510
|
-
const
|
|
1506
|
+
const de_ListApplicationStatesResult = (output, context) => {
|
|
1511
1507
|
return {
|
|
1512
|
-
ApplicationStateList: output.ApplicationStateList != null
|
|
1513
|
-
? deserializeAws_json1_1ApplicationStateList(output.ApplicationStateList, context)
|
|
1514
|
-
: undefined,
|
|
1508
|
+
ApplicationStateList: output.ApplicationStateList != null ? de_ApplicationStateList(output.ApplicationStateList, context) : undefined,
|
|
1515
1509
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1516
1510
|
};
|
|
1517
1511
|
};
|
|
1518
|
-
const
|
|
1512
|
+
const de_ListCreatedArtifactsResult = (output, context) => {
|
|
1519
1513
|
return {
|
|
1520
|
-
CreatedArtifactList: output.CreatedArtifactList != null
|
|
1521
|
-
? deserializeAws_json1_1CreatedArtifactList(output.CreatedArtifactList, context)
|
|
1522
|
-
: undefined,
|
|
1514
|
+
CreatedArtifactList: output.CreatedArtifactList != null ? de_CreatedArtifactList(output.CreatedArtifactList, context) : undefined,
|
|
1523
1515
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1524
1516
|
};
|
|
1525
1517
|
};
|
|
1526
|
-
const
|
|
1518
|
+
const de_ListDiscoveredResourcesResult = (output, context) => {
|
|
1527
1519
|
return {
|
|
1528
1520
|
DiscoveredResourceList: output.DiscoveredResourceList != null
|
|
1529
|
-
?
|
|
1521
|
+
? de_DiscoveredResourceList(output.DiscoveredResourceList, context)
|
|
1530
1522
|
: undefined,
|
|
1531
1523
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1532
1524
|
};
|
|
1533
1525
|
};
|
|
1534
|
-
const
|
|
1526
|
+
const de_ListMigrationTasksResult = (output, context) => {
|
|
1535
1527
|
return {
|
|
1536
1528
|
MigrationTaskSummaryList: output.MigrationTaskSummaryList != null
|
|
1537
|
-
?
|
|
1529
|
+
? de_MigrationTaskSummaryList(output.MigrationTaskSummaryList, context)
|
|
1538
1530
|
: undefined,
|
|
1539
1531
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1540
1532
|
};
|
|
1541
1533
|
};
|
|
1542
|
-
const
|
|
1534
|
+
const de_ListProgressUpdateStreamsResult = (output, context) => {
|
|
1543
1535
|
return {
|
|
1544
1536
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1545
1537
|
ProgressUpdateStreamSummaryList: output.ProgressUpdateStreamSummaryList != null
|
|
1546
|
-
?
|
|
1538
|
+
? de_ProgressUpdateStreamSummaryList(output.ProgressUpdateStreamSummaryList, context)
|
|
1547
1539
|
: undefined,
|
|
1548
1540
|
};
|
|
1549
1541
|
};
|
|
1550
|
-
const
|
|
1542
|
+
const de_MigrationTask = (output, context) => {
|
|
1551
1543
|
return {
|
|
1552
1544
|
MigrationTaskName: (0, smithy_client_1.expectString)(output.MigrationTaskName),
|
|
1553
1545
|
ProgressUpdateStream: (0, smithy_client_1.expectString)(output.ProgressUpdateStream),
|
|
1554
1546
|
ResourceAttributeList: output.ResourceAttributeList != null
|
|
1555
|
-
?
|
|
1547
|
+
? de_LatestResourceAttributeList(output.ResourceAttributeList, context)
|
|
1556
1548
|
: undefined,
|
|
1557
|
-
Task: output.Task != null ?
|
|
1549
|
+
Task: output.Task != null ? de_Task(output.Task, context) : undefined,
|
|
1558
1550
|
UpdateDateTime: output.UpdateDateTime != null
|
|
1559
1551
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDateTime)))
|
|
1560
1552
|
: undefined,
|
|
1561
1553
|
};
|
|
1562
1554
|
};
|
|
1563
|
-
const
|
|
1555
|
+
const de_MigrationTaskSummary = (output, context) => {
|
|
1564
1556
|
return {
|
|
1565
1557
|
MigrationTaskName: (0, smithy_client_1.expectString)(output.MigrationTaskName),
|
|
1566
1558
|
ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
|
|
@@ -1572,77 +1564,77 @@ const deserializeAws_json1_1MigrationTaskSummary = (output, context) => {
|
|
|
1572
1564
|
: undefined,
|
|
1573
1565
|
};
|
|
1574
1566
|
};
|
|
1575
|
-
const
|
|
1567
|
+
const de_MigrationTaskSummaryList = (output, context) => {
|
|
1576
1568
|
const retVal = (output || [])
|
|
1577
1569
|
.filter((e) => e != null)
|
|
1578
1570
|
.map((entry) => {
|
|
1579
1571
|
if (entry === null) {
|
|
1580
1572
|
return null;
|
|
1581
1573
|
}
|
|
1582
|
-
return
|
|
1574
|
+
return de_MigrationTaskSummary(entry, context);
|
|
1583
1575
|
});
|
|
1584
1576
|
return retVal;
|
|
1585
1577
|
};
|
|
1586
|
-
const
|
|
1578
|
+
const de_NotifyApplicationStateResult = (output, context) => {
|
|
1587
1579
|
return {};
|
|
1588
1580
|
};
|
|
1589
|
-
const
|
|
1581
|
+
const de_NotifyMigrationTaskStateResult = (output, context) => {
|
|
1590
1582
|
return {};
|
|
1591
1583
|
};
|
|
1592
|
-
const
|
|
1584
|
+
const de_PolicyErrorException = (output, context) => {
|
|
1593
1585
|
return {
|
|
1594
1586
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1595
1587
|
};
|
|
1596
1588
|
};
|
|
1597
|
-
const
|
|
1589
|
+
const de_ProgressUpdateStreamSummary = (output, context) => {
|
|
1598
1590
|
return {
|
|
1599
1591
|
ProgressUpdateStreamName: (0, smithy_client_1.expectString)(output.ProgressUpdateStreamName),
|
|
1600
1592
|
};
|
|
1601
1593
|
};
|
|
1602
|
-
const
|
|
1594
|
+
const de_ProgressUpdateStreamSummaryList = (output, context) => {
|
|
1603
1595
|
const retVal = (output || [])
|
|
1604
1596
|
.filter((e) => e != null)
|
|
1605
1597
|
.map((entry) => {
|
|
1606
1598
|
if (entry === null) {
|
|
1607
1599
|
return null;
|
|
1608
1600
|
}
|
|
1609
|
-
return
|
|
1601
|
+
return de_ProgressUpdateStreamSummary(entry, context);
|
|
1610
1602
|
});
|
|
1611
1603
|
return retVal;
|
|
1612
1604
|
};
|
|
1613
|
-
const
|
|
1605
|
+
const de_PutResourceAttributesResult = (output, context) => {
|
|
1614
1606
|
return {};
|
|
1615
1607
|
};
|
|
1616
|
-
const
|
|
1608
|
+
const de_ResourceAttribute = (output, context) => {
|
|
1617
1609
|
return {
|
|
1618
1610
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1619
1611
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1620
1612
|
};
|
|
1621
1613
|
};
|
|
1622
|
-
const
|
|
1614
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
1623
1615
|
return {
|
|
1624
1616
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1625
1617
|
};
|
|
1626
1618
|
};
|
|
1627
|
-
const
|
|
1619
|
+
const de_ServiceUnavailableException = (output, context) => {
|
|
1628
1620
|
return {
|
|
1629
1621
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1630
1622
|
};
|
|
1631
1623
|
};
|
|
1632
|
-
const
|
|
1624
|
+
const de_Task = (output, context) => {
|
|
1633
1625
|
return {
|
|
1634
1626
|
ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
|
|
1635
1627
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1636
1628
|
StatusDetail: (0, smithy_client_1.expectString)(output.StatusDetail),
|
|
1637
1629
|
};
|
|
1638
1630
|
};
|
|
1639
|
-
const
|
|
1631
|
+
const de_ThrottlingException = (output, context) => {
|
|
1640
1632
|
return {
|
|
1641
1633
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1642
1634
|
RetryAfterSeconds: (0, smithy_client_1.expectInt32)(output.RetryAfterSeconds),
|
|
1643
1635
|
};
|
|
1644
1636
|
};
|
|
1645
|
-
const
|
|
1637
|
+
const de_UnauthorizedOperation = (output, context) => {
|
|
1646
1638
|
return {
|
|
1647
1639
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1648
1640
|
};
|