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