@aws-sdk/client-cloudcontrol 3.303.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/CancelResourceRequestCommand.js +2 -2
- package/dist-cjs/commands/CreateResourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourceCommand.js +2 -2
- package/dist-cjs/commands/GetResourceCommand.js +2 -2
- package/dist-cjs/commands/GetResourceRequestStatusCommand.js +2 -2
- package/dist-cjs/commands/ListResourceRequestsCommand.js +2 -2
- package/dist-cjs/commands/ListResourcesCommand.js +2 -2
- package/dist-cjs/commands/UpdateResourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_0.js +258 -262
- package/dist-es/commands/CancelResourceRequestCommand.js +3 -3
- package/dist-es/commands/CreateResourceCommand.js +3 -3
- package/dist-es/commands/DeleteResourceCommand.js +3 -3
- package/dist-es/commands/GetResourceCommand.js +3 -3
- package/dist-es/commands/GetResourceRequestStatusCommand.js +3 -3
- package/dist-es/commands/ListResourceRequestsCommand.js +3 -3
- package/dist-es/commands/ListResourcesCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_0.js +241 -245
- package/dist-types/protocols/Aws_json1_0.d.ts +64 -16
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +16 -16
- package/package.json +30 -30
|
@@ -3,92 +3,92 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
|
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { CloudControlServiceException as __BaseException } from "../models/CloudControlServiceException";
|
|
5
5
|
import { AlreadyExistsException, ClientTokenConflictException, ConcurrentModificationException, ConcurrentOperationException, GeneralServiceException, HandlerFailureException, HandlerInternalFailureException, InvalidCredentialsException, InvalidRequestException, NetworkFailureException, NotStabilizedException, NotUpdatableException, PrivateTypeException, RequestTokenNotFoundException, ResourceConflictException, ResourceNotFoundException, ServiceInternalErrorException, ServiceLimitExceededException, ThrottlingException, TypeNotFoundException, UnsupportedActionException, } from "../models/models_0";
|
|
6
|
-
export const
|
|
6
|
+
export const se_CancelResourceRequestCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-amz-json-1.0",
|
|
9
9
|
"x-amz-target": "CloudApiService.CancelResourceRequest",
|
|
10
10
|
};
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify(se_CancelResourceRequestInput(input, context));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
|
-
export const
|
|
15
|
+
export const se_CreateResourceCommand = async (input, context) => {
|
|
16
16
|
const headers = {
|
|
17
17
|
"content-type": "application/x-amz-json-1.0",
|
|
18
18
|
"x-amz-target": "CloudApiService.CreateResource",
|
|
19
19
|
};
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(se_CreateResourceInput(input, context));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
|
-
export const
|
|
24
|
+
export const se_DeleteResourceCommand = async (input, context) => {
|
|
25
25
|
const headers = {
|
|
26
26
|
"content-type": "application/x-amz-json-1.0",
|
|
27
27
|
"x-amz-target": "CloudApiService.DeleteResource",
|
|
28
28
|
};
|
|
29
29
|
let body;
|
|
30
|
-
body = JSON.stringify(
|
|
30
|
+
body = JSON.stringify(se_DeleteResourceInput(input, context));
|
|
31
31
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
32
|
};
|
|
33
|
-
export const
|
|
33
|
+
export const se_GetResourceCommand = async (input, context) => {
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/x-amz-json-1.0",
|
|
36
36
|
"x-amz-target": "CloudApiService.GetResource",
|
|
37
37
|
};
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(se_GetResourceInput(input, context));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_GetResourceRequestStatusCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-amz-json-1.0",
|
|
45
45
|
"x-amz-target": "CloudApiService.GetResourceRequestStatus",
|
|
46
46
|
};
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify(se_GetResourceRequestStatusInput(input, context));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const se_ListResourceRequestsCommand = async (input, context) => {
|
|
52
52
|
const headers = {
|
|
53
53
|
"content-type": "application/x-amz-json-1.0",
|
|
54
54
|
"x-amz-target": "CloudApiService.ListResourceRequests",
|
|
55
55
|
};
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(se_ListResourceRequestsInput(input, context));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
|
-
export const
|
|
60
|
+
export const se_ListResourcesCommand = async (input, context) => {
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/x-amz-json-1.0",
|
|
63
63
|
"x-amz-target": "CloudApiService.ListResources",
|
|
64
64
|
};
|
|
65
65
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
66
|
+
body = JSON.stringify(se_ListResourcesInput(input, context));
|
|
67
67
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
68
|
};
|
|
69
|
-
export const
|
|
69
|
+
export const se_UpdateResourceCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.0",
|
|
72
72
|
"x-amz-target": "CloudApiService.UpdateResource",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_UpdateResourceInput(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const de_CancelResourceRequestCommand = async (output, context) => {
|
|
79
79
|
if (output.statusCode >= 300) {
|
|
80
|
-
return
|
|
80
|
+
return de_CancelResourceRequestCommandError(output, context);
|
|
81
81
|
}
|
|
82
82
|
const data = await parseBody(output.body, context);
|
|
83
83
|
let contents = {};
|
|
84
|
-
contents =
|
|
84
|
+
contents = de_CancelResourceRequestOutput(data, context);
|
|
85
85
|
const response = {
|
|
86
86
|
$metadata: deserializeMetadata(output),
|
|
87
87
|
...contents,
|
|
88
88
|
};
|
|
89
89
|
return Promise.resolve(response);
|
|
90
90
|
};
|
|
91
|
-
const
|
|
91
|
+
const de_CancelResourceRequestCommandError = async (output, context) => {
|
|
92
92
|
const parsedOutput = {
|
|
93
93
|
...output,
|
|
94
94
|
body: await parseErrorBody(output.body, context),
|
|
@@ -97,10 +97,10 @@ const deserializeAws_json1_0CancelResourceRequestCommandError = async (output, c
|
|
|
97
97
|
switch (errorCode) {
|
|
98
98
|
case "ConcurrentModificationException":
|
|
99
99
|
case "com.amazonaws.cloudcontrol#ConcurrentModificationException":
|
|
100
|
-
throw await
|
|
100
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
101
101
|
case "RequestTokenNotFoundException":
|
|
102
102
|
case "com.amazonaws.cloudcontrol#RequestTokenNotFoundException":
|
|
103
|
-
throw await
|
|
103
|
+
throw await de_RequestTokenNotFoundExceptionRes(parsedOutput, context);
|
|
104
104
|
default:
|
|
105
105
|
const parsedBody = parsedOutput.body;
|
|
106
106
|
throwDefaultError({
|
|
@@ -111,20 +111,20 @@ const deserializeAws_json1_0CancelResourceRequestCommandError = async (output, c
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const de_CreateResourceCommand = async (output, context) => {
|
|
115
115
|
if (output.statusCode >= 300) {
|
|
116
|
-
return
|
|
116
|
+
return de_CreateResourceCommandError(output, context);
|
|
117
117
|
}
|
|
118
118
|
const data = await parseBody(output.body, context);
|
|
119
119
|
let contents = {};
|
|
120
|
-
contents =
|
|
120
|
+
contents = de_CreateResourceOutput(data, context);
|
|
121
121
|
const response = {
|
|
122
122
|
$metadata: deserializeMetadata(output),
|
|
123
123
|
...contents,
|
|
124
124
|
};
|
|
125
125
|
return Promise.resolve(response);
|
|
126
126
|
};
|
|
127
|
-
const
|
|
127
|
+
const de_CreateResourceCommandError = async (output, context) => {
|
|
128
128
|
const parsedOutput = {
|
|
129
129
|
...output,
|
|
130
130
|
body: await parseErrorBody(output.body, context),
|
|
@@ -133,61 +133,61 @@ const deserializeAws_json1_0CreateResourceCommandError = async (output, context)
|
|
|
133
133
|
switch (errorCode) {
|
|
134
134
|
case "AlreadyExistsException":
|
|
135
135
|
case "com.amazonaws.cloudcontrol#AlreadyExistsException":
|
|
136
|
-
throw await
|
|
136
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
137
137
|
case "ClientTokenConflictException":
|
|
138
138
|
case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
|
|
139
|
-
throw await
|
|
139
|
+
throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
|
|
140
140
|
case "ConcurrentOperationException":
|
|
141
141
|
case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
|
|
142
|
-
throw await
|
|
142
|
+
throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
|
|
143
143
|
case "GeneralServiceException":
|
|
144
144
|
case "com.amazonaws.cloudcontrol#GeneralServiceException":
|
|
145
|
-
throw await
|
|
145
|
+
throw await de_GeneralServiceExceptionRes(parsedOutput, context);
|
|
146
146
|
case "HandlerFailureException":
|
|
147
147
|
case "com.amazonaws.cloudcontrol#HandlerFailureException":
|
|
148
|
-
throw await
|
|
148
|
+
throw await de_HandlerFailureExceptionRes(parsedOutput, context);
|
|
149
149
|
case "HandlerInternalFailureException":
|
|
150
150
|
case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
|
|
151
|
-
throw await
|
|
151
|
+
throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
|
|
152
152
|
case "InvalidCredentialsException":
|
|
153
153
|
case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
|
|
154
|
-
throw await
|
|
154
|
+
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
155
155
|
case "InvalidRequestException":
|
|
156
156
|
case "com.amazonaws.cloudcontrol#InvalidRequestException":
|
|
157
|
-
throw await
|
|
157
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
158
158
|
case "NetworkFailureException":
|
|
159
159
|
case "com.amazonaws.cloudcontrol#NetworkFailureException":
|
|
160
|
-
throw await
|
|
160
|
+
throw await de_NetworkFailureExceptionRes(parsedOutput, context);
|
|
161
161
|
case "NotStabilizedException":
|
|
162
162
|
case "com.amazonaws.cloudcontrol#NotStabilizedException":
|
|
163
|
-
throw await
|
|
163
|
+
throw await de_NotStabilizedExceptionRes(parsedOutput, context);
|
|
164
164
|
case "NotUpdatableException":
|
|
165
165
|
case "com.amazonaws.cloudcontrol#NotUpdatableException":
|
|
166
|
-
throw await
|
|
166
|
+
throw await de_NotUpdatableExceptionRes(parsedOutput, context);
|
|
167
167
|
case "PrivateTypeException":
|
|
168
168
|
case "com.amazonaws.cloudcontrol#PrivateTypeException":
|
|
169
|
-
throw await
|
|
169
|
+
throw await de_PrivateTypeExceptionRes(parsedOutput, context);
|
|
170
170
|
case "ResourceConflictException":
|
|
171
171
|
case "com.amazonaws.cloudcontrol#ResourceConflictException":
|
|
172
|
-
throw await
|
|
172
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
173
173
|
case "ResourceNotFoundException":
|
|
174
174
|
case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
|
|
175
|
-
throw await
|
|
175
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
176
176
|
case "ServiceInternalErrorException":
|
|
177
177
|
case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
|
|
178
|
-
throw await
|
|
178
|
+
throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
|
|
179
179
|
case "ServiceLimitExceededException":
|
|
180
180
|
case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
|
|
181
|
-
throw await
|
|
181
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
182
182
|
case "ThrottlingException":
|
|
183
183
|
case "com.amazonaws.cloudcontrol#ThrottlingException":
|
|
184
|
-
throw await
|
|
184
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
185
185
|
case "TypeNotFoundException":
|
|
186
186
|
case "com.amazonaws.cloudcontrol#TypeNotFoundException":
|
|
187
|
-
throw await
|
|
187
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
|
188
188
|
case "UnsupportedActionException":
|
|
189
189
|
case "com.amazonaws.cloudcontrol#UnsupportedActionException":
|
|
190
|
-
throw await
|
|
190
|
+
throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
|
|
191
191
|
default:
|
|
192
192
|
const parsedBody = parsedOutput.body;
|
|
193
193
|
throwDefaultError({
|
|
@@ -198,20 +198,20 @@ const deserializeAws_json1_0CreateResourceCommandError = async (output, context)
|
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
|
-
export const
|
|
201
|
+
export const de_DeleteResourceCommand = async (output, context) => {
|
|
202
202
|
if (output.statusCode >= 300) {
|
|
203
|
-
return
|
|
203
|
+
return de_DeleteResourceCommandError(output, context);
|
|
204
204
|
}
|
|
205
205
|
const data = await parseBody(output.body, context);
|
|
206
206
|
let contents = {};
|
|
207
|
-
contents =
|
|
207
|
+
contents = de_DeleteResourceOutput(data, context);
|
|
208
208
|
const response = {
|
|
209
209
|
$metadata: deserializeMetadata(output),
|
|
210
210
|
...contents,
|
|
211
211
|
};
|
|
212
212
|
return Promise.resolve(response);
|
|
213
213
|
};
|
|
214
|
-
const
|
|
214
|
+
const de_DeleteResourceCommandError = async (output, context) => {
|
|
215
215
|
const parsedOutput = {
|
|
216
216
|
...output,
|
|
217
217
|
body: await parseErrorBody(output.body, context),
|
|
@@ -220,61 +220,61 @@ const deserializeAws_json1_0DeleteResourceCommandError = async (output, context)
|
|
|
220
220
|
switch (errorCode) {
|
|
221
221
|
case "AlreadyExistsException":
|
|
222
222
|
case "com.amazonaws.cloudcontrol#AlreadyExistsException":
|
|
223
|
-
throw await
|
|
223
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
224
224
|
case "ClientTokenConflictException":
|
|
225
225
|
case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
|
|
226
|
-
throw await
|
|
226
|
+
throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
|
|
227
227
|
case "ConcurrentOperationException":
|
|
228
228
|
case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
|
|
229
|
-
throw await
|
|
229
|
+
throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
|
|
230
230
|
case "GeneralServiceException":
|
|
231
231
|
case "com.amazonaws.cloudcontrol#GeneralServiceException":
|
|
232
|
-
throw await
|
|
232
|
+
throw await de_GeneralServiceExceptionRes(parsedOutput, context);
|
|
233
233
|
case "HandlerFailureException":
|
|
234
234
|
case "com.amazonaws.cloudcontrol#HandlerFailureException":
|
|
235
|
-
throw await
|
|
235
|
+
throw await de_HandlerFailureExceptionRes(parsedOutput, context);
|
|
236
236
|
case "HandlerInternalFailureException":
|
|
237
237
|
case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
|
|
238
|
-
throw await
|
|
238
|
+
throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
|
|
239
239
|
case "InvalidCredentialsException":
|
|
240
240
|
case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
|
|
241
|
-
throw await
|
|
241
|
+
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
242
242
|
case "InvalidRequestException":
|
|
243
243
|
case "com.amazonaws.cloudcontrol#InvalidRequestException":
|
|
244
|
-
throw await
|
|
244
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
245
245
|
case "NetworkFailureException":
|
|
246
246
|
case "com.amazonaws.cloudcontrol#NetworkFailureException":
|
|
247
|
-
throw await
|
|
247
|
+
throw await de_NetworkFailureExceptionRes(parsedOutput, context);
|
|
248
248
|
case "NotStabilizedException":
|
|
249
249
|
case "com.amazonaws.cloudcontrol#NotStabilizedException":
|
|
250
|
-
throw await
|
|
250
|
+
throw await de_NotStabilizedExceptionRes(parsedOutput, context);
|
|
251
251
|
case "NotUpdatableException":
|
|
252
252
|
case "com.amazonaws.cloudcontrol#NotUpdatableException":
|
|
253
|
-
throw await
|
|
253
|
+
throw await de_NotUpdatableExceptionRes(parsedOutput, context);
|
|
254
254
|
case "PrivateTypeException":
|
|
255
255
|
case "com.amazonaws.cloudcontrol#PrivateTypeException":
|
|
256
|
-
throw await
|
|
256
|
+
throw await de_PrivateTypeExceptionRes(parsedOutput, context);
|
|
257
257
|
case "ResourceConflictException":
|
|
258
258
|
case "com.amazonaws.cloudcontrol#ResourceConflictException":
|
|
259
|
-
throw await
|
|
259
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
260
260
|
case "ResourceNotFoundException":
|
|
261
261
|
case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
|
|
262
|
-
throw await
|
|
262
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
263
263
|
case "ServiceInternalErrorException":
|
|
264
264
|
case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
|
|
265
|
-
throw await
|
|
265
|
+
throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
|
|
266
266
|
case "ServiceLimitExceededException":
|
|
267
267
|
case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
|
|
268
|
-
throw await
|
|
268
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
269
269
|
case "ThrottlingException":
|
|
270
270
|
case "com.amazonaws.cloudcontrol#ThrottlingException":
|
|
271
|
-
throw await
|
|
271
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
272
272
|
case "TypeNotFoundException":
|
|
273
273
|
case "com.amazonaws.cloudcontrol#TypeNotFoundException":
|
|
274
|
-
throw await
|
|
274
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
|
275
275
|
case "UnsupportedActionException":
|
|
276
276
|
case "com.amazonaws.cloudcontrol#UnsupportedActionException":
|
|
277
|
-
throw await
|
|
277
|
+
throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
|
|
278
278
|
default:
|
|
279
279
|
const parsedBody = parsedOutput.body;
|
|
280
280
|
throwDefaultError({
|
|
@@ -285,20 +285,20 @@ const deserializeAws_json1_0DeleteResourceCommandError = async (output, context)
|
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
|
-
export const
|
|
288
|
+
export const de_GetResourceCommand = async (output, context) => {
|
|
289
289
|
if (output.statusCode >= 300) {
|
|
290
|
-
return
|
|
290
|
+
return de_GetResourceCommandError(output, context);
|
|
291
291
|
}
|
|
292
292
|
const data = await parseBody(output.body, context);
|
|
293
293
|
let contents = {};
|
|
294
|
-
contents =
|
|
294
|
+
contents = de_GetResourceOutput(data, context);
|
|
295
295
|
const response = {
|
|
296
296
|
$metadata: deserializeMetadata(output),
|
|
297
297
|
...contents,
|
|
298
298
|
};
|
|
299
299
|
return Promise.resolve(response);
|
|
300
300
|
};
|
|
301
|
-
const
|
|
301
|
+
const de_GetResourceCommandError = async (output, context) => {
|
|
302
302
|
const parsedOutput = {
|
|
303
303
|
...output,
|
|
304
304
|
body: await parseErrorBody(output.body, context),
|
|
@@ -307,55 +307,55 @@ const deserializeAws_json1_0GetResourceCommandError = async (output, context) =>
|
|
|
307
307
|
switch (errorCode) {
|
|
308
308
|
case "AlreadyExistsException":
|
|
309
309
|
case "com.amazonaws.cloudcontrol#AlreadyExistsException":
|
|
310
|
-
throw await
|
|
310
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
311
311
|
case "GeneralServiceException":
|
|
312
312
|
case "com.amazonaws.cloudcontrol#GeneralServiceException":
|
|
313
|
-
throw await
|
|
313
|
+
throw await de_GeneralServiceExceptionRes(parsedOutput, context);
|
|
314
314
|
case "HandlerFailureException":
|
|
315
315
|
case "com.amazonaws.cloudcontrol#HandlerFailureException":
|
|
316
|
-
throw await
|
|
316
|
+
throw await de_HandlerFailureExceptionRes(parsedOutput, context);
|
|
317
317
|
case "HandlerInternalFailureException":
|
|
318
318
|
case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
|
|
319
|
-
throw await
|
|
319
|
+
throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
|
|
320
320
|
case "InvalidCredentialsException":
|
|
321
321
|
case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
|
|
322
|
-
throw await
|
|
322
|
+
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
323
323
|
case "InvalidRequestException":
|
|
324
324
|
case "com.amazonaws.cloudcontrol#InvalidRequestException":
|
|
325
|
-
throw await
|
|
325
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
326
326
|
case "NetworkFailureException":
|
|
327
327
|
case "com.amazonaws.cloudcontrol#NetworkFailureException":
|
|
328
|
-
throw await
|
|
328
|
+
throw await de_NetworkFailureExceptionRes(parsedOutput, context);
|
|
329
329
|
case "NotStabilizedException":
|
|
330
330
|
case "com.amazonaws.cloudcontrol#NotStabilizedException":
|
|
331
|
-
throw await
|
|
331
|
+
throw await de_NotStabilizedExceptionRes(parsedOutput, context);
|
|
332
332
|
case "NotUpdatableException":
|
|
333
333
|
case "com.amazonaws.cloudcontrol#NotUpdatableException":
|
|
334
|
-
throw await
|
|
334
|
+
throw await de_NotUpdatableExceptionRes(parsedOutput, context);
|
|
335
335
|
case "PrivateTypeException":
|
|
336
336
|
case "com.amazonaws.cloudcontrol#PrivateTypeException":
|
|
337
|
-
throw await
|
|
337
|
+
throw await de_PrivateTypeExceptionRes(parsedOutput, context);
|
|
338
338
|
case "ResourceConflictException":
|
|
339
339
|
case "com.amazonaws.cloudcontrol#ResourceConflictException":
|
|
340
|
-
throw await
|
|
340
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
341
341
|
case "ResourceNotFoundException":
|
|
342
342
|
case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
|
|
343
|
-
throw await
|
|
343
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
344
344
|
case "ServiceInternalErrorException":
|
|
345
345
|
case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
|
|
346
|
-
throw await
|
|
346
|
+
throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
|
|
347
347
|
case "ServiceLimitExceededException":
|
|
348
348
|
case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
|
|
349
|
-
throw await
|
|
349
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
350
350
|
case "ThrottlingException":
|
|
351
351
|
case "com.amazonaws.cloudcontrol#ThrottlingException":
|
|
352
|
-
throw await
|
|
352
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
353
353
|
case "TypeNotFoundException":
|
|
354
354
|
case "com.amazonaws.cloudcontrol#TypeNotFoundException":
|
|
355
|
-
throw await
|
|
355
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
|
356
356
|
case "UnsupportedActionException":
|
|
357
357
|
case "com.amazonaws.cloudcontrol#UnsupportedActionException":
|
|
358
|
-
throw await
|
|
358
|
+
throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
|
|
359
359
|
default:
|
|
360
360
|
const parsedBody = parsedOutput.body;
|
|
361
361
|
throwDefaultError({
|
|
@@ -366,20 +366,20 @@ const deserializeAws_json1_0GetResourceCommandError = async (output, context) =>
|
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
|
-
export const
|
|
369
|
+
export const de_GetResourceRequestStatusCommand = async (output, context) => {
|
|
370
370
|
if (output.statusCode >= 300) {
|
|
371
|
-
return
|
|
371
|
+
return de_GetResourceRequestStatusCommandError(output, context);
|
|
372
372
|
}
|
|
373
373
|
const data = await parseBody(output.body, context);
|
|
374
374
|
let contents = {};
|
|
375
|
-
contents =
|
|
375
|
+
contents = de_GetResourceRequestStatusOutput(data, context);
|
|
376
376
|
const response = {
|
|
377
377
|
$metadata: deserializeMetadata(output),
|
|
378
378
|
...contents,
|
|
379
379
|
};
|
|
380
380
|
return Promise.resolve(response);
|
|
381
381
|
};
|
|
382
|
-
const
|
|
382
|
+
const de_GetResourceRequestStatusCommandError = async (output, context) => {
|
|
383
383
|
const parsedOutput = {
|
|
384
384
|
...output,
|
|
385
385
|
body: await parseErrorBody(output.body, context),
|
|
@@ -388,7 +388,7 @@ const deserializeAws_json1_0GetResourceRequestStatusCommandError = async (output
|
|
|
388
388
|
switch (errorCode) {
|
|
389
389
|
case "RequestTokenNotFoundException":
|
|
390
390
|
case "com.amazonaws.cloudcontrol#RequestTokenNotFoundException":
|
|
391
|
-
throw await
|
|
391
|
+
throw await de_RequestTokenNotFoundExceptionRes(parsedOutput, context);
|
|
392
392
|
default:
|
|
393
393
|
const parsedBody = parsedOutput.body;
|
|
394
394
|
throwDefaultError({
|
|
@@ -399,20 +399,20 @@ const deserializeAws_json1_0GetResourceRequestStatusCommandError = async (output
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
export const
|
|
402
|
+
export const de_ListResourceRequestsCommand = async (output, context) => {
|
|
403
403
|
if (output.statusCode >= 300) {
|
|
404
|
-
return
|
|
404
|
+
return de_ListResourceRequestsCommandError(output, context);
|
|
405
405
|
}
|
|
406
406
|
const data = await parseBody(output.body, context);
|
|
407
407
|
let contents = {};
|
|
408
|
-
contents =
|
|
408
|
+
contents = de_ListResourceRequestsOutput(data, context);
|
|
409
409
|
const response = {
|
|
410
410
|
$metadata: deserializeMetadata(output),
|
|
411
411
|
...contents,
|
|
412
412
|
};
|
|
413
413
|
return Promise.resolve(response);
|
|
414
414
|
};
|
|
415
|
-
const
|
|
415
|
+
const de_ListResourceRequestsCommandError = async (output, context) => {
|
|
416
416
|
const parsedOutput = {
|
|
417
417
|
...output,
|
|
418
418
|
body: await parseErrorBody(output.body, context),
|
|
@@ -426,20 +426,20 @@ const deserializeAws_json1_0ListResourceRequestsCommandError = async (output, co
|
|
|
426
426
|
errorCode,
|
|
427
427
|
});
|
|
428
428
|
};
|
|
429
|
-
export const
|
|
429
|
+
export const de_ListResourcesCommand = async (output, context) => {
|
|
430
430
|
if (output.statusCode >= 300) {
|
|
431
|
-
return
|
|
431
|
+
return de_ListResourcesCommandError(output, context);
|
|
432
432
|
}
|
|
433
433
|
const data = await parseBody(output.body, context);
|
|
434
434
|
let contents = {};
|
|
435
|
-
contents =
|
|
435
|
+
contents = de_ListResourcesOutput(data, context);
|
|
436
436
|
const response = {
|
|
437
437
|
$metadata: deserializeMetadata(output),
|
|
438
438
|
...contents,
|
|
439
439
|
};
|
|
440
440
|
return Promise.resolve(response);
|
|
441
441
|
};
|
|
442
|
-
const
|
|
442
|
+
const de_ListResourcesCommandError = async (output, context) => {
|
|
443
443
|
const parsedOutput = {
|
|
444
444
|
...output,
|
|
445
445
|
body: await parseErrorBody(output.body, context),
|
|
@@ -448,55 +448,55 @@ const deserializeAws_json1_0ListResourcesCommandError = async (output, context)
|
|
|
448
448
|
switch (errorCode) {
|
|
449
449
|
case "AlreadyExistsException":
|
|
450
450
|
case "com.amazonaws.cloudcontrol#AlreadyExistsException":
|
|
451
|
-
throw await
|
|
451
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
452
452
|
case "GeneralServiceException":
|
|
453
453
|
case "com.amazonaws.cloudcontrol#GeneralServiceException":
|
|
454
|
-
throw await
|
|
454
|
+
throw await de_GeneralServiceExceptionRes(parsedOutput, context);
|
|
455
455
|
case "HandlerFailureException":
|
|
456
456
|
case "com.amazonaws.cloudcontrol#HandlerFailureException":
|
|
457
|
-
throw await
|
|
457
|
+
throw await de_HandlerFailureExceptionRes(parsedOutput, context);
|
|
458
458
|
case "HandlerInternalFailureException":
|
|
459
459
|
case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
|
|
460
|
-
throw await
|
|
460
|
+
throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
|
|
461
461
|
case "InvalidCredentialsException":
|
|
462
462
|
case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
|
|
463
|
-
throw await
|
|
463
|
+
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
464
464
|
case "InvalidRequestException":
|
|
465
465
|
case "com.amazonaws.cloudcontrol#InvalidRequestException":
|
|
466
|
-
throw await
|
|
466
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
467
467
|
case "NetworkFailureException":
|
|
468
468
|
case "com.amazonaws.cloudcontrol#NetworkFailureException":
|
|
469
|
-
throw await
|
|
469
|
+
throw await de_NetworkFailureExceptionRes(parsedOutput, context);
|
|
470
470
|
case "NotStabilizedException":
|
|
471
471
|
case "com.amazonaws.cloudcontrol#NotStabilizedException":
|
|
472
|
-
throw await
|
|
472
|
+
throw await de_NotStabilizedExceptionRes(parsedOutput, context);
|
|
473
473
|
case "NotUpdatableException":
|
|
474
474
|
case "com.amazonaws.cloudcontrol#NotUpdatableException":
|
|
475
|
-
throw await
|
|
475
|
+
throw await de_NotUpdatableExceptionRes(parsedOutput, context);
|
|
476
476
|
case "PrivateTypeException":
|
|
477
477
|
case "com.amazonaws.cloudcontrol#PrivateTypeException":
|
|
478
|
-
throw await
|
|
478
|
+
throw await de_PrivateTypeExceptionRes(parsedOutput, context);
|
|
479
479
|
case "ResourceConflictException":
|
|
480
480
|
case "com.amazonaws.cloudcontrol#ResourceConflictException":
|
|
481
|
-
throw await
|
|
481
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
482
482
|
case "ResourceNotFoundException":
|
|
483
483
|
case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
|
|
484
|
-
throw await
|
|
484
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
485
485
|
case "ServiceInternalErrorException":
|
|
486
486
|
case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
|
|
487
|
-
throw await
|
|
487
|
+
throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
|
|
488
488
|
case "ServiceLimitExceededException":
|
|
489
489
|
case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
|
|
490
|
-
throw await
|
|
490
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
491
491
|
case "ThrottlingException":
|
|
492
492
|
case "com.amazonaws.cloudcontrol#ThrottlingException":
|
|
493
|
-
throw await
|
|
493
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
494
494
|
case "TypeNotFoundException":
|
|
495
495
|
case "com.amazonaws.cloudcontrol#TypeNotFoundException":
|
|
496
|
-
throw await
|
|
496
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
|
497
497
|
case "UnsupportedActionException":
|
|
498
498
|
case "com.amazonaws.cloudcontrol#UnsupportedActionException":
|
|
499
|
-
throw await
|
|
499
|
+
throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
|
|
500
500
|
default:
|
|
501
501
|
const parsedBody = parsedOutput.body;
|
|
502
502
|
throwDefaultError({
|
|
@@ -507,20 +507,20 @@ const deserializeAws_json1_0ListResourcesCommandError = async (output, context)
|
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
509
|
};
|
|
510
|
-
export const
|
|
510
|
+
export const de_UpdateResourceCommand = async (output, context) => {
|
|
511
511
|
if (output.statusCode >= 300) {
|
|
512
|
-
return
|
|
512
|
+
return de_UpdateResourceCommandError(output, context);
|
|
513
513
|
}
|
|
514
514
|
const data = await parseBody(output.body, context);
|
|
515
515
|
let contents = {};
|
|
516
|
-
contents =
|
|
516
|
+
contents = de_UpdateResourceOutput(data, context);
|
|
517
517
|
const response = {
|
|
518
518
|
$metadata: deserializeMetadata(output),
|
|
519
519
|
...contents,
|
|
520
520
|
};
|
|
521
521
|
return Promise.resolve(response);
|
|
522
522
|
};
|
|
523
|
-
const
|
|
523
|
+
const de_UpdateResourceCommandError = async (output, context) => {
|
|
524
524
|
const parsedOutput = {
|
|
525
525
|
...output,
|
|
526
526
|
body: await parseErrorBody(output.body, context),
|
|
@@ -529,61 +529,61 @@ const deserializeAws_json1_0UpdateResourceCommandError = async (output, context)
|
|
|
529
529
|
switch (errorCode) {
|
|
530
530
|
case "AlreadyExistsException":
|
|
531
531
|
case "com.amazonaws.cloudcontrol#AlreadyExistsException":
|
|
532
|
-
throw await
|
|
532
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
533
533
|
case "ClientTokenConflictException":
|
|
534
534
|
case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
|
|
535
|
-
throw await
|
|
535
|
+
throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
|
|
536
536
|
case "ConcurrentOperationException":
|
|
537
537
|
case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
|
|
538
|
-
throw await
|
|
538
|
+
throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
|
|
539
539
|
case "GeneralServiceException":
|
|
540
540
|
case "com.amazonaws.cloudcontrol#GeneralServiceException":
|
|
541
|
-
throw await
|
|
541
|
+
throw await de_GeneralServiceExceptionRes(parsedOutput, context);
|
|
542
542
|
case "HandlerFailureException":
|
|
543
543
|
case "com.amazonaws.cloudcontrol#HandlerFailureException":
|
|
544
|
-
throw await
|
|
544
|
+
throw await de_HandlerFailureExceptionRes(parsedOutput, context);
|
|
545
545
|
case "HandlerInternalFailureException":
|
|
546
546
|
case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
|
|
547
|
-
throw await
|
|
547
|
+
throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
|
|
548
548
|
case "InvalidCredentialsException":
|
|
549
549
|
case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
|
|
550
|
-
throw await
|
|
550
|
+
throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
|
|
551
551
|
case "InvalidRequestException":
|
|
552
552
|
case "com.amazonaws.cloudcontrol#InvalidRequestException":
|
|
553
|
-
throw await
|
|
553
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
554
554
|
case "NetworkFailureException":
|
|
555
555
|
case "com.amazonaws.cloudcontrol#NetworkFailureException":
|
|
556
|
-
throw await
|
|
556
|
+
throw await de_NetworkFailureExceptionRes(parsedOutput, context);
|
|
557
557
|
case "NotStabilizedException":
|
|
558
558
|
case "com.amazonaws.cloudcontrol#NotStabilizedException":
|
|
559
|
-
throw await
|
|
559
|
+
throw await de_NotStabilizedExceptionRes(parsedOutput, context);
|
|
560
560
|
case "NotUpdatableException":
|
|
561
561
|
case "com.amazonaws.cloudcontrol#NotUpdatableException":
|
|
562
|
-
throw await
|
|
562
|
+
throw await de_NotUpdatableExceptionRes(parsedOutput, context);
|
|
563
563
|
case "PrivateTypeException":
|
|
564
564
|
case "com.amazonaws.cloudcontrol#PrivateTypeException":
|
|
565
|
-
throw await
|
|
565
|
+
throw await de_PrivateTypeExceptionRes(parsedOutput, context);
|
|
566
566
|
case "ResourceConflictException":
|
|
567
567
|
case "com.amazonaws.cloudcontrol#ResourceConflictException":
|
|
568
|
-
throw await
|
|
568
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
569
569
|
case "ResourceNotFoundException":
|
|
570
570
|
case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
|
|
571
|
-
throw await
|
|
571
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
572
572
|
case "ServiceInternalErrorException":
|
|
573
573
|
case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
|
|
574
|
-
throw await
|
|
574
|
+
throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
|
|
575
575
|
case "ServiceLimitExceededException":
|
|
576
576
|
case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
|
|
577
|
-
throw await
|
|
577
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
578
578
|
case "ThrottlingException":
|
|
579
579
|
case "com.amazonaws.cloudcontrol#ThrottlingException":
|
|
580
|
-
throw await
|
|
580
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
581
581
|
case "TypeNotFoundException":
|
|
582
582
|
case "com.amazonaws.cloudcontrol#TypeNotFoundException":
|
|
583
|
-
throw await
|
|
583
|
+
throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
|
|
584
584
|
case "UnsupportedActionException":
|
|
585
585
|
case "com.amazonaws.cloudcontrol#UnsupportedActionException":
|
|
586
|
-
throw await
|
|
586
|
+
throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
|
|
587
587
|
default:
|
|
588
588
|
const parsedBody = parsedOutput.body;
|
|
589
589
|
throwDefaultError({
|
|
@@ -594,201 +594,201 @@ const deserializeAws_json1_0UpdateResourceCommandError = async (output, context)
|
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
const
|
|
597
|
+
const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
598
598
|
const body = parsedOutput.body;
|
|
599
|
-
const deserialized =
|
|
599
|
+
const deserialized = de_AlreadyExistsException(body, context);
|
|
600
600
|
const exception = new AlreadyExistsException({
|
|
601
601
|
$metadata: deserializeMetadata(parsedOutput),
|
|
602
602
|
...deserialized,
|
|
603
603
|
});
|
|
604
604
|
return __decorateServiceException(exception, body);
|
|
605
605
|
};
|
|
606
|
-
const
|
|
606
|
+
const de_ClientTokenConflictExceptionRes = async (parsedOutput, context) => {
|
|
607
607
|
const body = parsedOutput.body;
|
|
608
|
-
const deserialized =
|
|
608
|
+
const deserialized = de_ClientTokenConflictException(body, context);
|
|
609
609
|
const exception = new ClientTokenConflictException({
|
|
610
610
|
$metadata: deserializeMetadata(parsedOutput),
|
|
611
611
|
...deserialized,
|
|
612
612
|
});
|
|
613
613
|
return __decorateServiceException(exception, body);
|
|
614
614
|
};
|
|
615
|
-
const
|
|
615
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
616
616
|
const body = parsedOutput.body;
|
|
617
|
-
const deserialized =
|
|
617
|
+
const deserialized = de_ConcurrentModificationException(body, context);
|
|
618
618
|
const exception = new ConcurrentModificationException({
|
|
619
619
|
$metadata: deserializeMetadata(parsedOutput),
|
|
620
620
|
...deserialized,
|
|
621
621
|
});
|
|
622
622
|
return __decorateServiceException(exception, body);
|
|
623
623
|
};
|
|
624
|
-
const
|
|
624
|
+
const de_ConcurrentOperationExceptionRes = async (parsedOutput, context) => {
|
|
625
625
|
const body = parsedOutput.body;
|
|
626
|
-
const deserialized =
|
|
626
|
+
const deserialized = de_ConcurrentOperationException(body, context);
|
|
627
627
|
const exception = new ConcurrentOperationException({
|
|
628
628
|
$metadata: deserializeMetadata(parsedOutput),
|
|
629
629
|
...deserialized,
|
|
630
630
|
});
|
|
631
631
|
return __decorateServiceException(exception, body);
|
|
632
632
|
};
|
|
633
|
-
const
|
|
633
|
+
const de_GeneralServiceExceptionRes = async (parsedOutput, context) => {
|
|
634
634
|
const body = parsedOutput.body;
|
|
635
|
-
const deserialized =
|
|
635
|
+
const deserialized = de_GeneralServiceException(body, context);
|
|
636
636
|
const exception = new GeneralServiceException({
|
|
637
637
|
$metadata: deserializeMetadata(parsedOutput),
|
|
638
638
|
...deserialized,
|
|
639
639
|
});
|
|
640
640
|
return __decorateServiceException(exception, body);
|
|
641
641
|
};
|
|
642
|
-
const
|
|
642
|
+
const de_HandlerFailureExceptionRes = async (parsedOutput, context) => {
|
|
643
643
|
const body = parsedOutput.body;
|
|
644
|
-
const deserialized =
|
|
644
|
+
const deserialized = de_HandlerFailureException(body, context);
|
|
645
645
|
const exception = new HandlerFailureException({
|
|
646
646
|
$metadata: deserializeMetadata(parsedOutput),
|
|
647
647
|
...deserialized,
|
|
648
648
|
});
|
|
649
649
|
return __decorateServiceException(exception, body);
|
|
650
650
|
};
|
|
651
|
-
const
|
|
651
|
+
const de_HandlerInternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
652
652
|
const body = parsedOutput.body;
|
|
653
|
-
const deserialized =
|
|
653
|
+
const deserialized = de_HandlerInternalFailureException(body, context);
|
|
654
654
|
const exception = new HandlerInternalFailureException({
|
|
655
655
|
$metadata: deserializeMetadata(parsedOutput),
|
|
656
656
|
...deserialized,
|
|
657
657
|
});
|
|
658
658
|
return __decorateServiceException(exception, body);
|
|
659
659
|
};
|
|
660
|
-
const
|
|
660
|
+
const de_InvalidCredentialsExceptionRes = async (parsedOutput, context) => {
|
|
661
661
|
const body = parsedOutput.body;
|
|
662
|
-
const deserialized =
|
|
662
|
+
const deserialized = de_InvalidCredentialsException(body, context);
|
|
663
663
|
const exception = new InvalidCredentialsException({
|
|
664
664
|
$metadata: deserializeMetadata(parsedOutput),
|
|
665
665
|
...deserialized,
|
|
666
666
|
});
|
|
667
667
|
return __decorateServiceException(exception, body);
|
|
668
668
|
};
|
|
669
|
-
const
|
|
669
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
670
670
|
const body = parsedOutput.body;
|
|
671
|
-
const deserialized =
|
|
671
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
672
672
|
const exception = new InvalidRequestException({
|
|
673
673
|
$metadata: deserializeMetadata(parsedOutput),
|
|
674
674
|
...deserialized,
|
|
675
675
|
});
|
|
676
676
|
return __decorateServiceException(exception, body);
|
|
677
677
|
};
|
|
678
|
-
const
|
|
678
|
+
const de_NetworkFailureExceptionRes = async (parsedOutput, context) => {
|
|
679
679
|
const body = parsedOutput.body;
|
|
680
|
-
const deserialized =
|
|
680
|
+
const deserialized = de_NetworkFailureException(body, context);
|
|
681
681
|
const exception = new NetworkFailureException({
|
|
682
682
|
$metadata: deserializeMetadata(parsedOutput),
|
|
683
683
|
...deserialized,
|
|
684
684
|
});
|
|
685
685
|
return __decorateServiceException(exception, body);
|
|
686
686
|
};
|
|
687
|
-
const
|
|
687
|
+
const de_NotStabilizedExceptionRes = async (parsedOutput, context) => {
|
|
688
688
|
const body = parsedOutput.body;
|
|
689
|
-
const deserialized =
|
|
689
|
+
const deserialized = de_NotStabilizedException(body, context);
|
|
690
690
|
const exception = new NotStabilizedException({
|
|
691
691
|
$metadata: deserializeMetadata(parsedOutput),
|
|
692
692
|
...deserialized,
|
|
693
693
|
});
|
|
694
694
|
return __decorateServiceException(exception, body);
|
|
695
695
|
};
|
|
696
|
-
const
|
|
696
|
+
const de_NotUpdatableExceptionRes = async (parsedOutput, context) => {
|
|
697
697
|
const body = parsedOutput.body;
|
|
698
|
-
const deserialized =
|
|
698
|
+
const deserialized = de_NotUpdatableException(body, context);
|
|
699
699
|
const exception = new NotUpdatableException({
|
|
700
700
|
$metadata: deserializeMetadata(parsedOutput),
|
|
701
701
|
...deserialized,
|
|
702
702
|
});
|
|
703
703
|
return __decorateServiceException(exception, body);
|
|
704
704
|
};
|
|
705
|
-
const
|
|
705
|
+
const de_PrivateTypeExceptionRes = async (parsedOutput, context) => {
|
|
706
706
|
const body = parsedOutput.body;
|
|
707
|
-
const deserialized =
|
|
707
|
+
const deserialized = de_PrivateTypeException(body, context);
|
|
708
708
|
const exception = new PrivateTypeException({
|
|
709
709
|
$metadata: deserializeMetadata(parsedOutput),
|
|
710
710
|
...deserialized,
|
|
711
711
|
});
|
|
712
712
|
return __decorateServiceException(exception, body);
|
|
713
713
|
};
|
|
714
|
-
const
|
|
714
|
+
const de_RequestTokenNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
715
715
|
const body = parsedOutput.body;
|
|
716
|
-
const deserialized =
|
|
716
|
+
const deserialized = de_RequestTokenNotFoundException(body, context);
|
|
717
717
|
const exception = new RequestTokenNotFoundException({
|
|
718
718
|
$metadata: deserializeMetadata(parsedOutput),
|
|
719
719
|
...deserialized,
|
|
720
720
|
});
|
|
721
721
|
return __decorateServiceException(exception, body);
|
|
722
722
|
};
|
|
723
|
-
const
|
|
723
|
+
const de_ResourceConflictExceptionRes = async (parsedOutput, context) => {
|
|
724
724
|
const body = parsedOutput.body;
|
|
725
|
-
const deserialized =
|
|
725
|
+
const deserialized = de_ResourceConflictException(body, context);
|
|
726
726
|
const exception = new ResourceConflictException({
|
|
727
727
|
$metadata: deserializeMetadata(parsedOutput),
|
|
728
728
|
...deserialized,
|
|
729
729
|
});
|
|
730
730
|
return __decorateServiceException(exception, body);
|
|
731
731
|
};
|
|
732
|
-
const
|
|
732
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
733
733
|
const body = parsedOutput.body;
|
|
734
|
-
const deserialized =
|
|
734
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
735
735
|
const exception = new ResourceNotFoundException({
|
|
736
736
|
$metadata: deserializeMetadata(parsedOutput),
|
|
737
737
|
...deserialized,
|
|
738
738
|
});
|
|
739
739
|
return __decorateServiceException(exception, body);
|
|
740
740
|
};
|
|
741
|
-
const
|
|
741
|
+
const de_ServiceInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
742
742
|
const body = parsedOutput.body;
|
|
743
|
-
const deserialized =
|
|
743
|
+
const deserialized = de_ServiceInternalErrorException(body, context);
|
|
744
744
|
const exception = new ServiceInternalErrorException({
|
|
745
745
|
$metadata: deserializeMetadata(parsedOutput),
|
|
746
746
|
...deserialized,
|
|
747
747
|
});
|
|
748
748
|
return __decorateServiceException(exception, body);
|
|
749
749
|
};
|
|
750
|
-
const
|
|
750
|
+
const de_ServiceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
751
751
|
const body = parsedOutput.body;
|
|
752
|
-
const deserialized =
|
|
752
|
+
const deserialized = de_ServiceLimitExceededException(body, context);
|
|
753
753
|
const exception = new ServiceLimitExceededException({
|
|
754
754
|
$metadata: deserializeMetadata(parsedOutput),
|
|
755
755
|
...deserialized,
|
|
756
756
|
});
|
|
757
757
|
return __decorateServiceException(exception, body);
|
|
758
758
|
};
|
|
759
|
-
const
|
|
759
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
760
760
|
const body = parsedOutput.body;
|
|
761
|
-
const deserialized =
|
|
761
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
762
762
|
const exception = new ThrottlingException({
|
|
763
763
|
$metadata: deserializeMetadata(parsedOutput),
|
|
764
764
|
...deserialized,
|
|
765
765
|
});
|
|
766
766
|
return __decorateServiceException(exception, body);
|
|
767
767
|
};
|
|
768
|
-
const
|
|
768
|
+
const de_TypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
769
769
|
const body = parsedOutput.body;
|
|
770
|
-
const deserialized =
|
|
770
|
+
const deserialized = de_TypeNotFoundException(body, context);
|
|
771
771
|
const exception = new TypeNotFoundException({
|
|
772
772
|
$metadata: deserializeMetadata(parsedOutput),
|
|
773
773
|
...deserialized,
|
|
774
774
|
});
|
|
775
775
|
return __decorateServiceException(exception, body);
|
|
776
776
|
};
|
|
777
|
-
const
|
|
777
|
+
const de_UnsupportedActionExceptionRes = async (parsedOutput, context) => {
|
|
778
778
|
const body = parsedOutput.body;
|
|
779
|
-
const deserialized =
|
|
779
|
+
const deserialized = de_UnsupportedActionException(body, context);
|
|
780
780
|
const exception = new UnsupportedActionException({
|
|
781
781
|
$metadata: deserializeMetadata(parsedOutput),
|
|
782
782
|
...deserialized,
|
|
783
783
|
});
|
|
784
784
|
return __decorateServiceException(exception, body);
|
|
785
785
|
};
|
|
786
|
-
const
|
|
786
|
+
const se_CancelResourceRequestInput = (input, context) => {
|
|
787
787
|
return {
|
|
788
788
|
...(input.RequestToken != null && { RequestToken: input.RequestToken }),
|
|
789
789
|
};
|
|
790
790
|
};
|
|
791
|
-
const
|
|
791
|
+
const se_CreateResourceInput = (input, context) => {
|
|
792
792
|
return {
|
|
793
793
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
794
794
|
...(input.DesiredState != null && { DesiredState: input.DesiredState }),
|
|
@@ -797,7 +797,7 @@ const serializeAws_json1_0CreateResourceInput = (input, context) => {
|
|
|
797
797
|
...(input.TypeVersionId != null && { TypeVersionId: input.TypeVersionId }),
|
|
798
798
|
};
|
|
799
799
|
};
|
|
800
|
-
const
|
|
800
|
+
const se_DeleteResourceInput = (input, context) => {
|
|
801
801
|
return {
|
|
802
802
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
803
803
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
@@ -806,7 +806,7 @@ const serializeAws_json1_0DeleteResourceInput = (input, context) => {
|
|
|
806
806
|
...(input.TypeVersionId != null && { TypeVersionId: input.TypeVersionId }),
|
|
807
807
|
};
|
|
808
808
|
};
|
|
809
|
-
const
|
|
809
|
+
const se_GetResourceInput = (input, context) => {
|
|
810
810
|
return {
|
|
811
811
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
812
812
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
@@ -814,21 +814,21 @@ const serializeAws_json1_0GetResourceInput = (input, context) => {
|
|
|
814
814
|
...(input.TypeVersionId != null && { TypeVersionId: input.TypeVersionId }),
|
|
815
815
|
};
|
|
816
816
|
};
|
|
817
|
-
const
|
|
817
|
+
const se_GetResourceRequestStatusInput = (input, context) => {
|
|
818
818
|
return {
|
|
819
819
|
...(input.RequestToken != null && { RequestToken: input.RequestToken }),
|
|
820
820
|
};
|
|
821
821
|
};
|
|
822
|
-
const
|
|
822
|
+
const se_ListResourceRequestsInput = (input, context) => {
|
|
823
823
|
return {
|
|
824
824
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
825
825
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
826
826
|
...(input.ResourceRequestStatusFilter != null && {
|
|
827
|
-
ResourceRequestStatusFilter:
|
|
827
|
+
ResourceRequestStatusFilter: se_ResourceRequestStatusFilter(input.ResourceRequestStatusFilter, context),
|
|
828
828
|
}),
|
|
829
829
|
};
|
|
830
830
|
};
|
|
831
|
-
const
|
|
831
|
+
const se_ListResourcesInput = (input, context) => {
|
|
832
832
|
return {
|
|
833
833
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
834
834
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -838,29 +838,29 @@ const serializeAws_json1_0ListResourcesInput = (input, context) => {
|
|
|
838
838
|
...(input.TypeVersionId != null && { TypeVersionId: input.TypeVersionId }),
|
|
839
839
|
};
|
|
840
840
|
};
|
|
841
|
-
const
|
|
841
|
+
const se_Operations = (input, context) => {
|
|
842
842
|
return input
|
|
843
843
|
.filter((e) => e != null)
|
|
844
844
|
.map((entry) => {
|
|
845
845
|
return entry;
|
|
846
846
|
});
|
|
847
847
|
};
|
|
848
|
-
const
|
|
848
|
+
const se_OperationStatuses = (input, context) => {
|
|
849
849
|
return input
|
|
850
850
|
.filter((e) => e != null)
|
|
851
851
|
.map((entry) => {
|
|
852
852
|
return entry;
|
|
853
853
|
});
|
|
854
854
|
};
|
|
855
|
-
const
|
|
855
|
+
const se_ResourceRequestStatusFilter = (input, context) => {
|
|
856
856
|
return {
|
|
857
857
|
...(input.OperationStatuses != null && {
|
|
858
|
-
OperationStatuses:
|
|
858
|
+
OperationStatuses: se_OperationStatuses(input.OperationStatuses, context),
|
|
859
859
|
}),
|
|
860
|
-
...(input.Operations != null && { Operations:
|
|
860
|
+
...(input.Operations != null && { Operations: se_Operations(input.Operations, context) }),
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
|
-
const
|
|
863
|
+
const se_UpdateResourceInput = (input, context) => {
|
|
864
864
|
return {
|
|
865
865
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
866
866
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
@@ -870,117 +870,113 @@ const serializeAws_json1_0UpdateResourceInput = (input, context) => {
|
|
|
870
870
|
...(input.TypeVersionId != null && { TypeVersionId: input.TypeVersionId }),
|
|
871
871
|
};
|
|
872
872
|
};
|
|
873
|
-
const
|
|
873
|
+
const de_AlreadyExistsException = (output, context) => {
|
|
874
874
|
return {
|
|
875
875
|
Message: __expectString(output.Message),
|
|
876
876
|
};
|
|
877
877
|
};
|
|
878
|
-
const
|
|
878
|
+
const de_CancelResourceRequestOutput = (output, context) => {
|
|
879
879
|
return {
|
|
880
|
-
ProgressEvent: output.ProgressEvent != null ?
|
|
880
|
+
ProgressEvent: output.ProgressEvent != null ? de_ProgressEvent(output.ProgressEvent, context) : undefined,
|
|
881
881
|
};
|
|
882
882
|
};
|
|
883
|
-
const
|
|
883
|
+
const de_ClientTokenConflictException = (output, context) => {
|
|
884
884
|
return {
|
|
885
885
|
Message: __expectString(output.Message),
|
|
886
886
|
};
|
|
887
887
|
};
|
|
888
|
-
const
|
|
888
|
+
const de_ConcurrentModificationException = (output, context) => {
|
|
889
889
|
return {
|
|
890
890
|
Message: __expectString(output.Message),
|
|
891
891
|
};
|
|
892
892
|
};
|
|
893
|
-
const
|
|
893
|
+
const de_ConcurrentOperationException = (output, context) => {
|
|
894
894
|
return {
|
|
895
895
|
Message: __expectString(output.Message),
|
|
896
896
|
};
|
|
897
897
|
};
|
|
898
|
-
const
|
|
898
|
+
const de_CreateResourceOutput = (output, context) => {
|
|
899
899
|
return {
|
|
900
|
-
ProgressEvent: output.ProgressEvent != null ?
|
|
900
|
+
ProgressEvent: output.ProgressEvent != null ? de_ProgressEvent(output.ProgressEvent, context) : undefined,
|
|
901
901
|
};
|
|
902
902
|
};
|
|
903
|
-
const
|
|
903
|
+
const de_DeleteResourceOutput = (output, context) => {
|
|
904
904
|
return {
|
|
905
|
-
ProgressEvent: output.ProgressEvent != null ?
|
|
905
|
+
ProgressEvent: output.ProgressEvent != null ? de_ProgressEvent(output.ProgressEvent, context) : undefined,
|
|
906
906
|
};
|
|
907
907
|
};
|
|
908
|
-
const
|
|
908
|
+
const de_GeneralServiceException = (output, context) => {
|
|
909
909
|
return {
|
|
910
910
|
Message: __expectString(output.Message),
|
|
911
911
|
};
|
|
912
912
|
};
|
|
913
|
-
const
|
|
913
|
+
const de_GetResourceOutput = (output, context) => {
|
|
914
914
|
return {
|
|
915
|
-
ResourceDescription: output.ResourceDescription != null
|
|
916
|
-
? deserializeAws_json1_0ResourceDescription(output.ResourceDescription, context)
|
|
917
|
-
: undefined,
|
|
915
|
+
ResourceDescription: output.ResourceDescription != null ? de_ResourceDescription(output.ResourceDescription, context) : undefined,
|
|
918
916
|
TypeName: __expectString(output.TypeName),
|
|
919
917
|
};
|
|
920
918
|
};
|
|
921
|
-
const
|
|
919
|
+
const de_GetResourceRequestStatusOutput = (output, context) => {
|
|
922
920
|
return {
|
|
923
|
-
ProgressEvent: output.ProgressEvent != null ?
|
|
921
|
+
ProgressEvent: output.ProgressEvent != null ? de_ProgressEvent(output.ProgressEvent, context) : undefined,
|
|
924
922
|
};
|
|
925
923
|
};
|
|
926
|
-
const
|
|
924
|
+
const de_HandlerFailureException = (output, context) => {
|
|
927
925
|
return {
|
|
928
926
|
Message: __expectString(output.Message),
|
|
929
927
|
};
|
|
930
928
|
};
|
|
931
|
-
const
|
|
929
|
+
const de_HandlerInternalFailureException = (output, context) => {
|
|
932
930
|
return {
|
|
933
931
|
Message: __expectString(output.Message),
|
|
934
932
|
};
|
|
935
933
|
};
|
|
936
|
-
const
|
|
934
|
+
const de_InvalidCredentialsException = (output, context) => {
|
|
937
935
|
return {
|
|
938
936
|
Message: __expectString(output.Message),
|
|
939
937
|
};
|
|
940
938
|
};
|
|
941
|
-
const
|
|
939
|
+
const de_InvalidRequestException = (output, context) => {
|
|
942
940
|
return {
|
|
943
941
|
Message: __expectString(output.Message),
|
|
944
942
|
};
|
|
945
943
|
};
|
|
946
|
-
const
|
|
944
|
+
const de_ListResourceRequestsOutput = (output, context) => {
|
|
947
945
|
return {
|
|
948
946
|
NextToken: __expectString(output.NextToken),
|
|
949
947
|
ResourceRequestStatusSummaries: output.ResourceRequestStatusSummaries != null
|
|
950
|
-
?
|
|
948
|
+
? de_ResourceRequestStatusSummaries(output.ResourceRequestStatusSummaries, context)
|
|
951
949
|
: undefined,
|
|
952
950
|
};
|
|
953
951
|
};
|
|
954
|
-
const
|
|
952
|
+
const de_ListResourcesOutput = (output, context) => {
|
|
955
953
|
return {
|
|
956
954
|
NextToken: __expectString(output.NextToken),
|
|
957
|
-
ResourceDescriptions: output.ResourceDescriptions != null
|
|
958
|
-
? deserializeAws_json1_0ResourceDescriptions(output.ResourceDescriptions, context)
|
|
959
|
-
: undefined,
|
|
955
|
+
ResourceDescriptions: output.ResourceDescriptions != null ? de_ResourceDescriptions(output.ResourceDescriptions, context) : undefined,
|
|
960
956
|
TypeName: __expectString(output.TypeName),
|
|
961
957
|
};
|
|
962
958
|
};
|
|
963
|
-
const
|
|
959
|
+
const de_NetworkFailureException = (output, context) => {
|
|
964
960
|
return {
|
|
965
961
|
Message: __expectString(output.Message),
|
|
966
962
|
};
|
|
967
963
|
};
|
|
968
|
-
const
|
|
964
|
+
const de_NotStabilizedException = (output, context) => {
|
|
969
965
|
return {
|
|
970
966
|
Message: __expectString(output.Message),
|
|
971
967
|
};
|
|
972
968
|
};
|
|
973
|
-
const
|
|
969
|
+
const de_NotUpdatableException = (output, context) => {
|
|
974
970
|
return {
|
|
975
971
|
Message: __expectString(output.Message),
|
|
976
972
|
};
|
|
977
973
|
};
|
|
978
|
-
const
|
|
974
|
+
const de_PrivateTypeException = (output, context) => {
|
|
979
975
|
return {
|
|
980
976
|
Message: __expectString(output.Message),
|
|
981
977
|
};
|
|
982
978
|
};
|
|
983
|
-
const
|
|
979
|
+
const de_ProgressEvent = (output, context) => {
|
|
984
980
|
return {
|
|
985
981
|
ErrorCode: __expectString(output.ErrorCode),
|
|
986
982
|
EventTime: output.EventTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime))) : undefined,
|
|
@@ -994,77 +990,77 @@ const deserializeAws_json1_0ProgressEvent = (output, context) => {
|
|
|
994
990
|
TypeName: __expectString(output.TypeName),
|
|
995
991
|
};
|
|
996
992
|
};
|
|
997
|
-
const
|
|
993
|
+
const de_RequestTokenNotFoundException = (output, context) => {
|
|
998
994
|
return {
|
|
999
995
|
Message: __expectString(output.Message),
|
|
1000
996
|
};
|
|
1001
997
|
};
|
|
1002
|
-
const
|
|
998
|
+
const de_ResourceConflictException = (output, context) => {
|
|
1003
999
|
return {
|
|
1004
1000
|
Message: __expectString(output.Message),
|
|
1005
1001
|
};
|
|
1006
1002
|
};
|
|
1007
|
-
const
|
|
1003
|
+
const de_ResourceDescription = (output, context) => {
|
|
1008
1004
|
return {
|
|
1009
1005
|
Identifier: __expectString(output.Identifier),
|
|
1010
1006
|
Properties: __expectString(output.Properties),
|
|
1011
1007
|
};
|
|
1012
1008
|
};
|
|
1013
|
-
const
|
|
1009
|
+
const de_ResourceDescriptions = (output, context) => {
|
|
1014
1010
|
const retVal = (output || [])
|
|
1015
1011
|
.filter((e) => e != null)
|
|
1016
1012
|
.map((entry) => {
|
|
1017
1013
|
if (entry === null) {
|
|
1018
1014
|
return null;
|
|
1019
1015
|
}
|
|
1020
|
-
return
|
|
1016
|
+
return de_ResourceDescription(entry, context);
|
|
1021
1017
|
});
|
|
1022
1018
|
return retVal;
|
|
1023
1019
|
};
|
|
1024
|
-
const
|
|
1020
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
1025
1021
|
return {
|
|
1026
1022
|
Message: __expectString(output.Message),
|
|
1027
1023
|
};
|
|
1028
1024
|
};
|
|
1029
|
-
const
|
|
1025
|
+
const de_ResourceRequestStatusSummaries = (output, context) => {
|
|
1030
1026
|
const retVal = (output || [])
|
|
1031
1027
|
.filter((e) => e != null)
|
|
1032
1028
|
.map((entry) => {
|
|
1033
1029
|
if (entry === null) {
|
|
1034
1030
|
return null;
|
|
1035
1031
|
}
|
|
1036
|
-
return
|
|
1032
|
+
return de_ProgressEvent(entry, context);
|
|
1037
1033
|
});
|
|
1038
1034
|
return retVal;
|
|
1039
1035
|
};
|
|
1040
|
-
const
|
|
1036
|
+
const de_ServiceInternalErrorException = (output, context) => {
|
|
1041
1037
|
return {
|
|
1042
1038
|
Message: __expectString(output.Message),
|
|
1043
1039
|
};
|
|
1044
1040
|
};
|
|
1045
|
-
const
|
|
1041
|
+
const de_ServiceLimitExceededException = (output, context) => {
|
|
1046
1042
|
return {
|
|
1047
1043
|
Message: __expectString(output.Message),
|
|
1048
1044
|
};
|
|
1049
1045
|
};
|
|
1050
|
-
const
|
|
1046
|
+
const de_ThrottlingException = (output, context) => {
|
|
1051
1047
|
return {
|
|
1052
1048
|
Message: __expectString(output.Message),
|
|
1053
1049
|
};
|
|
1054
1050
|
};
|
|
1055
|
-
const
|
|
1051
|
+
const de_TypeNotFoundException = (output, context) => {
|
|
1056
1052
|
return {
|
|
1057
1053
|
Message: __expectString(output.Message),
|
|
1058
1054
|
};
|
|
1059
1055
|
};
|
|
1060
|
-
const
|
|
1056
|
+
const de_UnsupportedActionException = (output, context) => {
|
|
1061
1057
|
return {
|
|
1062
1058
|
Message: __expectString(output.Message),
|
|
1063
1059
|
};
|
|
1064
1060
|
};
|
|
1065
|
-
const
|
|
1061
|
+
const de_UpdateResourceOutput = (output, context) => {
|
|
1066
1062
|
return {
|
|
1067
|
-
ProgressEvent: output.ProgressEvent != null ?
|
|
1063
|
+
ProgressEvent: output.ProgressEvent != null ? de_ProgressEvent(output.ProgressEvent, context) : undefined,
|
|
1068
1064
|
};
|
|
1069
1065
|
};
|
|
1070
1066
|
const deserializeMetadata = (output) => ({
|