@aws-sdk/client-license-manager-user-subscriptions 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.
Files changed (27) hide show
  1. package/dist-cjs/commands/AssociateUserCommand.js +2 -2
  2. package/dist-cjs/commands/DeregisterIdentityProviderCommand.js +2 -2
  3. package/dist-cjs/commands/DisassociateUserCommand.js +2 -2
  4. package/dist-cjs/commands/ListIdentityProvidersCommand.js +2 -2
  5. package/dist-cjs/commands/ListInstancesCommand.js +2 -2
  6. package/dist-cjs/commands/ListProductSubscriptionsCommand.js +2 -2
  7. package/dist-cjs/commands/ListUserAssociationsCommand.js +2 -2
  8. package/dist-cjs/commands/RegisterIdentityProviderCommand.js +2 -2
  9. package/dist-cjs/commands/StartProductSubscriptionCommand.js +2 -2
  10. package/dist-cjs/commands/StopProductSubscriptionCommand.js +2 -2
  11. package/dist-cjs/commands/UpdateIdentityProviderSettingsCommand.js +2 -2
  12. package/dist-cjs/protocols/Aws_restJson1.js +209 -229
  13. package/dist-es/commands/AssociateUserCommand.js +3 -3
  14. package/dist-es/commands/DeregisterIdentityProviderCommand.js +3 -3
  15. package/dist-es/commands/DisassociateUserCommand.js +3 -3
  16. package/dist-es/commands/ListIdentityProvidersCommand.js +3 -3
  17. package/dist-es/commands/ListInstancesCommand.js +3 -3
  18. package/dist-es/commands/ListProductSubscriptionsCommand.js +3 -3
  19. package/dist-es/commands/ListUserAssociationsCommand.js +3 -3
  20. package/dist-es/commands/RegisterIdentityProviderCommand.js +3 -3
  21. package/dist-es/commands/StartProductSubscriptionCommand.js +3 -3
  22. package/dist-es/commands/StopProductSubscriptionCommand.js +3 -3
  23. package/dist-es/commands/UpdateIdentityProviderSettingsCommand.js +3 -3
  24. package/dist-es/protocols/Aws_restJson1.js +186 -206
  25. package/dist-types/protocols/Aws_restJson1.d.ts +88 -22
  26. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +22 -22
  27. package/package.json +29 -29
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = exports.deserializeAws_restJson1StopProductSubscriptionCommand = exports.deserializeAws_restJson1StartProductSubscriptionCommand = exports.deserializeAws_restJson1RegisterIdentityProviderCommand = exports.deserializeAws_restJson1ListUserAssociationsCommand = exports.deserializeAws_restJson1ListProductSubscriptionsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListIdentityProvidersCommand = exports.deserializeAws_restJson1DisassociateUserCommand = exports.deserializeAws_restJson1DeregisterIdentityProviderCommand = exports.deserializeAws_restJson1AssociateUserCommand = exports.serializeAws_restJson1UpdateIdentityProviderSettingsCommand = exports.serializeAws_restJson1StopProductSubscriptionCommand = exports.serializeAws_restJson1StartProductSubscriptionCommand = exports.serializeAws_restJson1RegisterIdentityProviderCommand = exports.serializeAws_restJson1ListUserAssociationsCommand = exports.serializeAws_restJson1ListProductSubscriptionsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListIdentityProvidersCommand = exports.serializeAws_restJson1DisassociateUserCommand = exports.serializeAws_restJson1DeregisterIdentityProviderCommand = exports.serializeAws_restJson1AssociateUserCommand = void 0;
3
+ exports.de_UpdateIdentityProviderSettingsCommand = exports.de_StopProductSubscriptionCommand = exports.de_StartProductSubscriptionCommand = exports.de_RegisterIdentityProviderCommand = exports.de_ListUserAssociationsCommand = exports.de_ListProductSubscriptionsCommand = exports.de_ListInstancesCommand = exports.de_ListIdentityProvidersCommand = exports.de_DisassociateUserCommand = exports.de_DeregisterIdentityProviderCommand = exports.de_AssociateUserCommand = exports.se_UpdateIdentityProviderSettingsCommand = exports.se_StopProductSubscriptionCommand = exports.se_StartProductSubscriptionCommand = exports.se_RegisterIdentityProviderCommand = exports.se_ListUserAssociationsCommand = exports.se_ListProductSubscriptionsCommand = exports.se_ListInstancesCommand = exports.se_ListIdentityProvidersCommand = exports.se_DisassociateUserCommand = exports.se_DeregisterIdentityProviderCommand = exports.se_AssociateUserCommand = 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 LicenseManagerUserSubscriptionsServiceException_1 = require("../models/LicenseManagerUserSubscriptionsServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_restJson1AssociateUserCommand = async (input, context) => {
8
+ const se_AssociateUserCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {
11
11
  "content-type": "application/json",
@@ -14,9 +14,7 @@ const serializeAws_restJson1AssociateUserCommand = async (input, context) => {
14
14
  let body;
15
15
  body = JSON.stringify({
16
16
  ...(input.Domain != null && { Domain: input.Domain }),
17
- ...(input.IdentityProvider != null && {
18
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
19
- }),
17
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
20
18
  ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
21
19
  ...(input.Username != null && { Username: input.Username }),
22
20
  });
@@ -30,8 +28,8 @@ const serializeAws_restJson1AssociateUserCommand = async (input, context) => {
30
28
  body,
31
29
  });
32
30
  };
33
- exports.serializeAws_restJson1AssociateUserCommand = serializeAws_restJson1AssociateUserCommand;
34
- const serializeAws_restJson1DeregisterIdentityProviderCommand = async (input, context) => {
31
+ exports.se_AssociateUserCommand = se_AssociateUserCommand;
32
+ const se_DeregisterIdentityProviderCommand = async (input, context) => {
35
33
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
36
34
  const headers = {
37
35
  "content-type": "application/json",
@@ -40,9 +38,7 @@ const serializeAws_restJson1DeregisterIdentityProviderCommand = async (input, co
40
38
  "/identity-provider/DeregisterIdentityProvider";
41
39
  let body;
42
40
  body = JSON.stringify({
43
- ...(input.IdentityProvider != null && {
44
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
45
- }),
41
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
46
42
  ...(input.Product != null && { Product: input.Product }),
47
43
  });
48
44
  return new protocol_http_1.HttpRequest({
@@ -55,8 +51,8 @@ const serializeAws_restJson1DeregisterIdentityProviderCommand = async (input, co
55
51
  body,
56
52
  });
57
53
  };
58
- exports.serializeAws_restJson1DeregisterIdentityProviderCommand = serializeAws_restJson1DeregisterIdentityProviderCommand;
59
- const serializeAws_restJson1DisassociateUserCommand = async (input, context) => {
54
+ exports.se_DeregisterIdentityProviderCommand = se_DeregisterIdentityProviderCommand;
55
+ const se_DisassociateUserCommand = async (input, context) => {
60
56
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
61
57
  const headers = {
62
58
  "content-type": "application/json",
@@ -65,9 +61,7 @@ const serializeAws_restJson1DisassociateUserCommand = async (input, context) =>
65
61
  let body;
66
62
  body = JSON.stringify({
67
63
  ...(input.Domain != null && { Domain: input.Domain }),
68
- ...(input.IdentityProvider != null && {
69
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
70
- }),
64
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
71
65
  ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
72
66
  ...(input.Username != null && { Username: input.Username }),
73
67
  });
@@ -81,8 +75,8 @@ const serializeAws_restJson1DisassociateUserCommand = async (input, context) =>
81
75
  body,
82
76
  });
83
77
  };
84
- exports.serializeAws_restJson1DisassociateUserCommand = serializeAws_restJson1DisassociateUserCommand;
85
- const serializeAws_restJson1ListIdentityProvidersCommand = async (input, context) => {
78
+ exports.se_DisassociateUserCommand = se_DisassociateUserCommand;
79
+ const se_ListIdentityProvidersCommand = async (input, context) => {
86
80
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
87
81
  const headers = {
88
82
  "content-type": "application/json",
@@ -103,8 +97,8 @@ const serializeAws_restJson1ListIdentityProvidersCommand = async (input, context
103
97
  body,
104
98
  });
105
99
  };
106
- exports.serializeAws_restJson1ListIdentityProvidersCommand = serializeAws_restJson1ListIdentityProvidersCommand;
107
- const serializeAws_restJson1ListInstancesCommand = async (input, context) => {
100
+ exports.se_ListIdentityProvidersCommand = se_ListIdentityProvidersCommand;
101
+ const se_ListInstancesCommand = async (input, context) => {
108
102
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
109
103
  const headers = {
110
104
  "content-type": "application/json",
@@ -112,7 +106,7 @@ const serializeAws_restJson1ListInstancesCommand = async (input, context) => {
112
106
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/instance/ListInstances";
113
107
  let body;
114
108
  body = JSON.stringify({
115
- ...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
109
+ ...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
116
110
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
117
111
  ...(input.NextToken != null && { NextToken: input.NextToken }),
118
112
  });
@@ -126,8 +120,8 @@ const serializeAws_restJson1ListInstancesCommand = async (input, context) => {
126
120
  body,
127
121
  });
128
122
  };
129
- exports.serializeAws_restJson1ListInstancesCommand = serializeAws_restJson1ListInstancesCommand;
130
- const serializeAws_restJson1ListProductSubscriptionsCommand = async (input, context) => {
123
+ exports.se_ListInstancesCommand = se_ListInstancesCommand;
124
+ const se_ListProductSubscriptionsCommand = async (input, context) => {
131
125
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
126
  const headers = {
133
127
  "content-type": "application/json",
@@ -135,10 +129,8 @@ const serializeAws_restJson1ListProductSubscriptionsCommand = async (input, cont
135
129
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/ListProductSubscriptions";
136
130
  let body;
137
131
  body = JSON.stringify({
138
- ...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
139
- ...(input.IdentityProvider != null && {
140
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
141
- }),
132
+ ...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
133
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
142
134
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
143
135
  ...(input.NextToken != null && { NextToken: input.NextToken }),
144
136
  ...(input.Product != null && { Product: input.Product }),
@@ -153,8 +145,8 @@ const serializeAws_restJson1ListProductSubscriptionsCommand = async (input, cont
153
145
  body,
154
146
  });
155
147
  };
156
- exports.serializeAws_restJson1ListProductSubscriptionsCommand = serializeAws_restJson1ListProductSubscriptionsCommand;
157
- const serializeAws_restJson1ListUserAssociationsCommand = async (input, context) => {
148
+ exports.se_ListProductSubscriptionsCommand = se_ListProductSubscriptionsCommand;
149
+ const se_ListUserAssociationsCommand = async (input, context) => {
158
150
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
159
151
  const headers = {
160
152
  "content-type": "application/json",
@@ -162,10 +154,8 @@ const serializeAws_restJson1ListUserAssociationsCommand = async (input, context)
162
154
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/ListUserAssociations";
163
155
  let body;
164
156
  body = JSON.stringify({
165
- ...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
166
- ...(input.IdentityProvider != null && {
167
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
168
- }),
157
+ ...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
158
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
169
159
  ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
170
160
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
171
161
  ...(input.NextToken != null && { NextToken: input.NextToken }),
@@ -180,8 +170,8 @@ const serializeAws_restJson1ListUserAssociationsCommand = async (input, context)
180
170
  body,
181
171
  });
182
172
  };
183
- exports.serializeAws_restJson1ListUserAssociationsCommand = serializeAws_restJson1ListUserAssociationsCommand;
184
- const serializeAws_restJson1RegisterIdentityProviderCommand = async (input, context) => {
173
+ exports.se_ListUserAssociationsCommand = se_ListUserAssociationsCommand;
174
+ const se_RegisterIdentityProviderCommand = async (input, context) => {
185
175
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
186
176
  const headers = {
187
177
  "content-type": "application/json",
@@ -190,11 +180,9 @@ const serializeAws_restJson1RegisterIdentityProviderCommand = async (input, cont
190
180
  "/identity-provider/RegisterIdentityProvider";
191
181
  let body;
192
182
  body = JSON.stringify({
193
- ...(input.IdentityProvider != null && {
194
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
195
- }),
183
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
196
184
  ...(input.Product != null && { Product: input.Product }),
197
- ...(input.Settings != null && { Settings: serializeAws_restJson1Settings(input.Settings, context) }),
185
+ ...(input.Settings != null && { Settings: se_Settings(input.Settings, context) }),
198
186
  });
199
187
  return new protocol_http_1.HttpRequest({
200
188
  protocol,
@@ -206,8 +194,8 @@ const serializeAws_restJson1RegisterIdentityProviderCommand = async (input, cont
206
194
  body,
207
195
  });
208
196
  };
209
- exports.serializeAws_restJson1RegisterIdentityProviderCommand = serializeAws_restJson1RegisterIdentityProviderCommand;
210
- const serializeAws_restJson1StartProductSubscriptionCommand = async (input, context) => {
197
+ exports.se_RegisterIdentityProviderCommand = se_RegisterIdentityProviderCommand;
198
+ const se_StartProductSubscriptionCommand = async (input, context) => {
211
199
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
200
  const headers = {
213
201
  "content-type": "application/json",
@@ -216,9 +204,7 @@ const serializeAws_restJson1StartProductSubscriptionCommand = async (input, cont
216
204
  let body;
217
205
  body = JSON.stringify({
218
206
  ...(input.Domain != null && { Domain: input.Domain }),
219
- ...(input.IdentityProvider != null && {
220
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
221
- }),
207
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
222
208
  ...(input.Product != null && { Product: input.Product }),
223
209
  ...(input.Username != null && { Username: input.Username }),
224
210
  });
@@ -232,8 +218,8 @@ const serializeAws_restJson1StartProductSubscriptionCommand = async (input, cont
232
218
  body,
233
219
  });
234
220
  };
235
- exports.serializeAws_restJson1StartProductSubscriptionCommand = serializeAws_restJson1StartProductSubscriptionCommand;
236
- const serializeAws_restJson1StopProductSubscriptionCommand = async (input, context) => {
221
+ exports.se_StartProductSubscriptionCommand = se_StartProductSubscriptionCommand;
222
+ const se_StopProductSubscriptionCommand = async (input, context) => {
237
223
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
238
224
  const headers = {
239
225
  "content-type": "application/json",
@@ -242,9 +228,7 @@ const serializeAws_restJson1StopProductSubscriptionCommand = async (input, conte
242
228
  let body;
243
229
  body = JSON.stringify({
244
230
  ...(input.Domain != null && { Domain: input.Domain }),
245
- ...(input.IdentityProvider != null && {
246
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
247
- }),
231
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
248
232
  ...(input.Product != null && { Product: input.Product }),
249
233
  ...(input.Username != null && { Username: input.Username }),
250
234
  });
@@ -258,8 +242,8 @@ const serializeAws_restJson1StopProductSubscriptionCommand = async (input, conte
258
242
  body,
259
243
  });
260
244
  };
261
- exports.serializeAws_restJson1StopProductSubscriptionCommand = serializeAws_restJson1StopProductSubscriptionCommand;
262
- const serializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (input, context) => {
245
+ exports.se_StopProductSubscriptionCommand = se_StopProductSubscriptionCommand;
246
+ const se_UpdateIdentityProviderSettingsCommand = async (input, context) => {
263
247
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
264
248
  const headers = {
265
249
  "content-type": "application/json",
@@ -268,13 +252,9 @@ const serializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (input
268
252
  "/identity-provider/UpdateIdentityProviderSettings";
269
253
  let body;
270
254
  body = JSON.stringify({
271
- ...(input.IdentityProvider != null && {
272
- IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
273
- }),
255
+ ...(input.IdentityProvider != null && { IdentityProvider: se_IdentityProvider(input.IdentityProvider, context) }),
274
256
  ...(input.Product != null && { Product: input.Product }),
275
- ...(input.UpdateSettings != null && {
276
- UpdateSettings: serializeAws_restJson1UpdateSettings(input.UpdateSettings, context),
277
- }),
257
+ ...(input.UpdateSettings != null && { UpdateSettings: se_UpdateSettings(input.UpdateSettings, context) }),
278
258
  });
279
259
  return new protocol_http_1.HttpRequest({
280
260
  protocol,
@@ -286,22 +266,22 @@ const serializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (input
286
266
  body,
287
267
  });
288
268
  };
289
- exports.serializeAws_restJson1UpdateIdentityProviderSettingsCommand = serializeAws_restJson1UpdateIdentityProviderSettingsCommand;
290
- const deserializeAws_restJson1AssociateUserCommand = async (output, context) => {
269
+ exports.se_UpdateIdentityProviderSettingsCommand = se_UpdateIdentityProviderSettingsCommand;
270
+ const de_AssociateUserCommand = async (output, context) => {
291
271
  if (output.statusCode !== 200 && output.statusCode >= 300) {
292
- return deserializeAws_restJson1AssociateUserCommandError(output, context);
272
+ return de_AssociateUserCommandError(output, context);
293
273
  }
294
274
  const contents = map({
295
275
  $metadata: deserializeMetadata(output),
296
276
  });
297
277
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
298
278
  if (data.InstanceUserSummary != null) {
299
- contents.InstanceUserSummary = deserializeAws_restJson1InstanceUserSummary(data.InstanceUserSummary, context);
279
+ contents.InstanceUserSummary = de_InstanceUserSummary(data.InstanceUserSummary, context);
300
280
  }
301
281
  return contents;
302
282
  };
303
- exports.deserializeAws_restJson1AssociateUserCommand = deserializeAws_restJson1AssociateUserCommand;
304
- const deserializeAws_restJson1AssociateUserCommandError = async (output, context) => {
283
+ exports.de_AssociateUserCommand = de_AssociateUserCommand;
284
+ const de_AssociateUserCommandError = async (output, context) => {
305
285
  const parsedOutput = {
306
286
  ...output,
307
287
  body: await parseErrorBody(output.body, context),
@@ -310,25 +290,25 @@ const deserializeAws_restJson1AssociateUserCommandError = async (output, context
310
290
  switch (errorCode) {
311
291
  case "AccessDeniedException":
312
292
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
313
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
293
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
314
294
  case "ConflictException":
315
295
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
316
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
296
+ throw await de_ConflictExceptionRes(parsedOutput, context);
317
297
  case "InternalServerException":
318
298
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
319
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
299
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
320
300
  case "ResourceNotFoundException":
321
301
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
322
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
302
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
323
303
  case "ServiceQuotaExceededException":
324
304
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
325
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
305
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
326
306
  case "ThrottlingException":
327
307
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
328
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
308
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
329
309
  case "ValidationException":
330
310
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
331
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
311
+ throw await de_ValidationExceptionRes(parsedOutput, context);
332
312
  default:
333
313
  const parsedBody = parsedOutput.body;
334
314
  (0, smithy_client_1.throwDefaultError)({
@@ -339,21 +319,21 @@ const deserializeAws_restJson1AssociateUserCommandError = async (output, context
339
319
  });
340
320
  }
341
321
  };
342
- const deserializeAws_restJson1DeregisterIdentityProviderCommand = async (output, context) => {
322
+ const de_DeregisterIdentityProviderCommand = async (output, context) => {
343
323
  if (output.statusCode !== 200 && output.statusCode >= 300) {
344
- return deserializeAws_restJson1DeregisterIdentityProviderCommandError(output, context);
324
+ return de_DeregisterIdentityProviderCommandError(output, context);
345
325
  }
346
326
  const contents = map({
347
327
  $metadata: deserializeMetadata(output),
348
328
  });
349
329
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
350
330
  if (data.IdentityProviderSummary != null) {
351
- contents.IdentityProviderSummary = deserializeAws_restJson1IdentityProviderSummary(data.IdentityProviderSummary, context);
331
+ contents.IdentityProviderSummary = de_IdentityProviderSummary(data.IdentityProviderSummary, context);
352
332
  }
353
333
  return contents;
354
334
  };
355
- exports.deserializeAws_restJson1DeregisterIdentityProviderCommand = deserializeAws_restJson1DeregisterIdentityProviderCommand;
356
- const deserializeAws_restJson1DeregisterIdentityProviderCommandError = async (output, context) => {
335
+ exports.de_DeregisterIdentityProviderCommand = de_DeregisterIdentityProviderCommand;
336
+ const de_DeregisterIdentityProviderCommandError = async (output, context) => {
357
337
  const parsedOutput = {
358
338
  ...output,
359
339
  body: await parseErrorBody(output.body, context),
@@ -362,25 +342,25 @@ const deserializeAws_restJson1DeregisterIdentityProviderCommandError = async (ou
362
342
  switch (errorCode) {
363
343
  case "AccessDeniedException":
364
344
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
365
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
345
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
366
346
  case "ConflictException":
367
347
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
368
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
348
+ throw await de_ConflictExceptionRes(parsedOutput, context);
369
349
  case "InternalServerException":
370
350
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
371
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
351
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
372
352
  case "ResourceNotFoundException":
373
353
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
374
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
354
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
375
355
  case "ServiceQuotaExceededException":
376
356
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
377
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
357
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
378
358
  case "ThrottlingException":
379
359
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
380
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
360
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
381
361
  case "ValidationException":
382
362
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
383
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
363
+ throw await de_ValidationExceptionRes(parsedOutput, context);
384
364
  default:
385
365
  const parsedBody = parsedOutput.body;
386
366
  (0, smithy_client_1.throwDefaultError)({
@@ -391,21 +371,21 @@ const deserializeAws_restJson1DeregisterIdentityProviderCommandError = async (ou
391
371
  });
392
372
  }
393
373
  };
394
- const deserializeAws_restJson1DisassociateUserCommand = async (output, context) => {
374
+ const de_DisassociateUserCommand = async (output, context) => {
395
375
  if (output.statusCode !== 200 && output.statusCode >= 300) {
396
- return deserializeAws_restJson1DisassociateUserCommandError(output, context);
376
+ return de_DisassociateUserCommandError(output, context);
397
377
  }
398
378
  const contents = map({
399
379
  $metadata: deserializeMetadata(output),
400
380
  });
401
381
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
402
382
  if (data.InstanceUserSummary != null) {
403
- contents.InstanceUserSummary = deserializeAws_restJson1InstanceUserSummary(data.InstanceUserSummary, context);
383
+ contents.InstanceUserSummary = de_InstanceUserSummary(data.InstanceUserSummary, context);
404
384
  }
405
385
  return contents;
406
386
  };
407
- exports.deserializeAws_restJson1DisassociateUserCommand = deserializeAws_restJson1DisassociateUserCommand;
408
- const deserializeAws_restJson1DisassociateUserCommandError = async (output, context) => {
387
+ exports.de_DisassociateUserCommand = de_DisassociateUserCommand;
388
+ const de_DisassociateUserCommandError = async (output, context) => {
409
389
  const parsedOutput = {
410
390
  ...output,
411
391
  body: await parseErrorBody(output.body, context),
@@ -414,25 +394,25 @@ const deserializeAws_restJson1DisassociateUserCommandError = async (output, cont
414
394
  switch (errorCode) {
415
395
  case "AccessDeniedException":
416
396
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
417
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
397
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
418
398
  case "ConflictException":
419
399
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
420
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
400
+ throw await de_ConflictExceptionRes(parsedOutput, context);
421
401
  case "InternalServerException":
422
402
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
423
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
403
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
424
404
  case "ResourceNotFoundException":
425
405
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
426
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
406
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
427
407
  case "ServiceQuotaExceededException":
428
408
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
429
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
409
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
430
410
  case "ThrottlingException":
431
411
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
432
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
412
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
433
413
  case "ValidationException":
434
414
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
435
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
415
+ throw await de_ValidationExceptionRes(parsedOutput, context);
436
416
  default:
437
417
  const parsedBody = parsedOutput.body;
438
418
  (0, smithy_client_1.throwDefaultError)({
@@ -443,24 +423,24 @@ const deserializeAws_restJson1DisassociateUserCommandError = async (output, cont
443
423
  });
444
424
  }
445
425
  };
446
- const deserializeAws_restJson1ListIdentityProvidersCommand = async (output, context) => {
426
+ const de_ListIdentityProvidersCommand = async (output, context) => {
447
427
  if (output.statusCode !== 200 && output.statusCode >= 300) {
448
- return deserializeAws_restJson1ListIdentityProvidersCommandError(output, context);
428
+ return de_ListIdentityProvidersCommandError(output, context);
449
429
  }
450
430
  const contents = map({
451
431
  $metadata: deserializeMetadata(output),
452
432
  });
453
433
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
454
434
  if (data.IdentityProviderSummaries != null) {
455
- contents.IdentityProviderSummaries = deserializeAws_restJson1IdentityProviderSummaryList(data.IdentityProviderSummaries, context);
435
+ contents.IdentityProviderSummaries = de_IdentityProviderSummaryList(data.IdentityProviderSummaries, context);
456
436
  }
457
437
  if (data.NextToken != null) {
458
438
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
459
439
  }
460
440
  return contents;
461
441
  };
462
- exports.deserializeAws_restJson1ListIdentityProvidersCommand = deserializeAws_restJson1ListIdentityProvidersCommand;
463
- const deserializeAws_restJson1ListIdentityProvidersCommandError = async (output, context) => {
442
+ exports.de_ListIdentityProvidersCommand = de_ListIdentityProvidersCommand;
443
+ const de_ListIdentityProvidersCommandError = async (output, context) => {
464
444
  const parsedOutput = {
465
445
  ...output,
466
446
  body: await parseErrorBody(output.body, context),
@@ -469,25 +449,25 @@ const deserializeAws_restJson1ListIdentityProvidersCommandError = async (output,
469
449
  switch (errorCode) {
470
450
  case "AccessDeniedException":
471
451
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
472
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
452
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
473
453
  case "ConflictException":
474
454
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
475
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
455
+ throw await de_ConflictExceptionRes(parsedOutput, context);
476
456
  case "InternalServerException":
477
457
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
478
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
458
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
479
459
  case "ResourceNotFoundException":
480
460
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
481
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
461
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
482
462
  case "ServiceQuotaExceededException":
483
463
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
484
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
464
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
485
465
  case "ThrottlingException":
486
466
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
487
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
467
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
488
468
  case "ValidationException":
489
469
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
490
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
491
471
  default:
492
472
  const parsedBody = parsedOutput.body;
493
473
  (0, smithy_client_1.throwDefaultError)({
@@ -498,24 +478,24 @@ const deserializeAws_restJson1ListIdentityProvidersCommandError = async (output,
498
478
  });
499
479
  }
500
480
  };
501
- const deserializeAws_restJson1ListInstancesCommand = async (output, context) => {
481
+ const de_ListInstancesCommand = async (output, context) => {
502
482
  if (output.statusCode !== 200 && output.statusCode >= 300) {
503
- return deserializeAws_restJson1ListInstancesCommandError(output, context);
483
+ return de_ListInstancesCommandError(output, context);
504
484
  }
505
485
  const contents = map({
506
486
  $metadata: deserializeMetadata(output),
507
487
  });
508
488
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
509
489
  if (data.InstanceSummaries != null) {
510
- contents.InstanceSummaries = deserializeAws_restJson1InstanceSummaryList(data.InstanceSummaries, context);
490
+ contents.InstanceSummaries = de_InstanceSummaryList(data.InstanceSummaries, context);
511
491
  }
512
492
  if (data.NextToken != null) {
513
493
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
514
494
  }
515
495
  return contents;
516
496
  };
517
- exports.deserializeAws_restJson1ListInstancesCommand = deserializeAws_restJson1ListInstancesCommand;
518
- const deserializeAws_restJson1ListInstancesCommandError = async (output, context) => {
497
+ exports.de_ListInstancesCommand = de_ListInstancesCommand;
498
+ const de_ListInstancesCommandError = async (output, context) => {
519
499
  const parsedOutput = {
520
500
  ...output,
521
501
  body: await parseErrorBody(output.body, context),
@@ -524,25 +504,25 @@ const deserializeAws_restJson1ListInstancesCommandError = async (output, context
524
504
  switch (errorCode) {
525
505
  case "AccessDeniedException":
526
506
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
527
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
507
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
528
508
  case "ConflictException":
529
509
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
530
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
510
+ throw await de_ConflictExceptionRes(parsedOutput, context);
531
511
  case "InternalServerException":
532
512
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
533
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
513
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
534
514
  case "ResourceNotFoundException":
535
515
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
536
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
516
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
537
517
  case "ServiceQuotaExceededException":
538
518
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
539
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
519
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
540
520
  case "ThrottlingException":
541
521
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
542
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
522
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
543
523
  case "ValidationException":
544
524
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
545
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
525
+ throw await de_ValidationExceptionRes(parsedOutput, context);
546
526
  default:
547
527
  const parsedBody = parsedOutput.body;
548
528
  (0, smithy_client_1.throwDefaultError)({
@@ -553,9 +533,9 @@ const deserializeAws_restJson1ListInstancesCommandError = async (output, context
553
533
  });
554
534
  }
555
535
  };
556
- const deserializeAws_restJson1ListProductSubscriptionsCommand = async (output, context) => {
536
+ const de_ListProductSubscriptionsCommand = async (output, context) => {
557
537
  if (output.statusCode !== 200 && output.statusCode >= 300) {
558
- return deserializeAws_restJson1ListProductSubscriptionsCommandError(output, context);
538
+ return de_ListProductSubscriptionsCommandError(output, context);
559
539
  }
560
540
  const contents = map({
561
541
  $metadata: deserializeMetadata(output),
@@ -565,12 +545,12 @@ const deserializeAws_restJson1ListProductSubscriptionsCommand = async (output, c
565
545
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
566
546
  }
567
547
  if (data.ProductUserSummaries != null) {
568
- contents.ProductUserSummaries = deserializeAws_restJson1ProductUserSummaryList(data.ProductUserSummaries, context);
548
+ contents.ProductUserSummaries = de_ProductUserSummaryList(data.ProductUserSummaries, context);
569
549
  }
570
550
  return contents;
571
551
  };
572
- exports.deserializeAws_restJson1ListProductSubscriptionsCommand = deserializeAws_restJson1ListProductSubscriptionsCommand;
573
- const deserializeAws_restJson1ListProductSubscriptionsCommandError = async (output, context) => {
552
+ exports.de_ListProductSubscriptionsCommand = de_ListProductSubscriptionsCommand;
553
+ const de_ListProductSubscriptionsCommandError = async (output, context) => {
574
554
  const parsedOutput = {
575
555
  ...output,
576
556
  body: await parseErrorBody(output.body, context),
@@ -579,25 +559,25 @@ const deserializeAws_restJson1ListProductSubscriptionsCommandError = async (outp
579
559
  switch (errorCode) {
580
560
  case "AccessDeniedException":
581
561
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
582
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
562
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
583
563
  case "ConflictException":
584
564
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
585
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
565
+ throw await de_ConflictExceptionRes(parsedOutput, context);
586
566
  case "InternalServerException":
587
567
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
588
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
568
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
589
569
  case "ResourceNotFoundException":
590
570
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
591
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
571
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
592
572
  case "ServiceQuotaExceededException":
593
573
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
594
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
574
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
595
575
  case "ThrottlingException":
596
576
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
597
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
577
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
598
578
  case "ValidationException":
599
579
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
600
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
580
+ throw await de_ValidationExceptionRes(parsedOutput, context);
601
581
  default:
602
582
  const parsedBody = parsedOutput.body;
603
583
  (0, smithy_client_1.throwDefaultError)({
@@ -608,24 +588,24 @@ const deserializeAws_restJson1ListProductSubscriptionsCommandError = async (outp
608
588
  });
609
589
  }
610
590
  };
611
- const deserializeAws_restJson1ListUserAssociationsCommand = async (output, context) => {
591
+ const de_ListUserAssociationsCommand = async (output, context) => {
612
592
  if (output.statusCode !== 200 && output.statusCode >= 300) {
613
- return deserializeAws_restJson1ListUserAssociationsCommandError(output, context);
593
+ return de_ListUserAssociationsCommandError(output, context);
614
594
  }
615
595
  const contents = map({
616
596
  $metadata: deserializeMetadata(output),
617
597
  });
618
598
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
619
599
  if (data.InstanceUserSummaries != null) {
620
- contents.InstanceUserSummaries = deserializeAws_restJson1InstanceUserSummaryList(data.InstanceUserSummaries, context);
600
+ contents.InstanceUserSummaries = de_InstanceUserSummaryList(data.InstanceUserSummaries, context);
621
601
  }
622
602
  if (data.NextToken != null) {
623
603
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
624
604
  }
625
605
  return contents;
626
606
  };
627
- exports.deserializeAws_restJson1ListUserAssociationsCommand = deserializeAws_restJson1ListUserAssociationsCommand;
628
- const deserializeAws_restJson1ListUserAssociationsCommandError = async (output, context) => {
607
+ exports.de_ListUserAssociationsCommand = de_ListUserAssociationsCommand;
608
+ const de_ListUserAssociationsCommandError = async (output, context) => {
629
609
  const parsedOutput = {
630
610
  ...output,
631
611
  body: await parseErrorBody(output.body, context),
@@ -634,25 +614,25 @@ const deserializeAws_restJson1ListUserAssociationsCommandError = async (output,
634
614
  switch (errorCode) {
635
615
  case "AccessDeniedException":
636
616
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
637
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
617
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
638
618
  case "ConflictException":
639
619
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
640
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
620
+ throw await de_ConflictExceptionRes(parsedOutput, context);
641
621
  case "InternalServerException":
642
622
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
643
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
623
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
644
624
  case "ResourceNotFoundException":
645
625
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
646
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
626
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
647
627
  case "ServiceQuotaExceededException":
648
628
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
649
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
629
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
650
630
  case "ThrottlingException":
651
631
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
652
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
632
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
653
633
  case "ValidationException":
654
634
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
655
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
635
+ throw await de_ValidationExceptionRes(parsedOutput, context);
656
636
  default:
657
637
  const parsedBody = parsedOutput.body;
658
638
  (0, smithy_client_1.throwDefaultError)({
@@ -663,21 +643,21 @@ const deserializeAws_restJson1ListUserAssociationsCommandError = async (output,
663
643
  });
664
644
  }
665
645
  };
666
- const deserializeAws_restJson1RegisterIdentityProviderCommand = async (output, context) => {
646
+ const de_RegisterIdentityProviderCommand = async (output, context) => {
667
647
  if (output.statusCode !== 200 && output.statusCode >= 300) {
668
- return deserializeAws_restJson1RegisterIdentityProviderCommandError(output, context);
648
+ return de_RegisterIdentityProviderCommandError(output, context);
669
649
  }
670
650
  const contents = map({
671
651
  $metadata: deserializeMetadata(output),
672
652
  });
673
653
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
674
654
  if (data.IdentityProviderSummary != null) {
675
- contents.IdentityProviderSummary = deserializeAws_restJson1IdentityProviderSummary(data.IdentityProviderSummary, context);
655
+ contents.IdentityProviderSummary = de_IdentityProviderSummary(data.IdentityProviderSummary, context);
676
656
  }
677
657
  return contents;
678
658
  };
679
- exports.deserializeAws_restJson1RegisterIdentityProviderCommand = deserializeAws_restJson1RegisterIdentityProviderCommand;
680
- const deserializeAws_restJson1RegisterIdentityProviderCommandError = async (output, context) => {
659
+ exports.de_RegisterIdentityProviderCommand = de_RegisterIdentityProviderCommand;
660
+ const de_RegisterIdentityProviderCommandError = async (output, context) => {
681
661
  const parsedOutput = {
682
662
  ...output,
683
663
  body: await parseErrorBody(output.body, context),
@@ -686,25 +666,25 @@ const deserializeAws_restJson1RegisterIdentityProviderCommandError = async (outp
686
666
  switch (errorCode) {
687
667
  case "AccessDeniedException":
688
668
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
689
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
669
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
690
670
  case "ConflictException":
691
671
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
692
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
672
+ throw await de_ConflictExceptionRes(parsedOutput, context);
693
673
  case "InternalServerException":
694
674
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
695
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
675
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
696
676
  case "ResourceNotFoundException":
697
677
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
698
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
678
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
699
679
  case "ServiceQuotaExceededException":
700
680
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
701
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
681
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
702
682
  case "ThrottlingException":
703
683
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
704
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
684
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
705
685
  case "ValidationException":
706
686
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
707
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
687
+ throw await de_ValidationExceptionRes(parsedOutput, context);
708
688
  default:
709
689
  const parsedBody = parsedOutput.body;
710
690
  (0, smithy_client_1.throwDefaultError)({
@@ -715,21 +695,21 @@ const deserializeAws_restJson1RegisterIdentityProviderCommandError = async (outp
715
695
  });
716
696
  }
717
697
  };
718
- const deserializeAws_restJson1StartProductSubscriptionCommand = async (output, context) => {
698
+ const de_StartProductSubscriptionCommand = async (output, context) => {
719
699
  if (output.statusCode !== 200 && output.statusCode >= 300) {
720
- return deserializeAws_restJson1StartProductSubscriptionCommandError(output, context);
700
+ return de_StartProductSubscriptionCommandError(output, context);
721
701
  }
722
702
  const contents = map({
723
703
  $metadata: deserializeMetadata(output),
724
704
  });
725
705
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
726
706
  if (data.ProductUserSummary != null) {
727
- contents.ProductUserSummary = deserializeAws_restJson1ProductUserSummary(data.ProductUserSummary, context);
707
+ contents.ProductUserSummary = de_ProductUserSummary(data.ProductUserSummary, context);
728
708
  }
729
709
  return contents;
730
710
  };
731
- exports.deserializeAws_restJson1StartProductSubscriptionCommand = deserializeAws_restJson1StartProductSubscriptionCommand;
732
- const deserializeAws_restJson1StartProductSubscriptionCommandError = async (output, context) => {
711
+ exports.de_StartProductSubscriptionCommand = de_StartProductSubscriptionCommand;
712
+ const de_StartProductSubscriptionCommandError = async (output, context) => {
733
713
  const parsedOutput = {
734
714
  ...output,
735
715
  body: await parseErrorBody(output.body, context),
@@ -738,25 +718,25 @@ const deserializeAws_restJson1StartProductSubscriptionCommandError = async (outp
738
718
  switch (errorCode) {
739
719
  case "AccessDeniedException":
740
720
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
741
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
721
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
742
722
  case "ConflictException":
743
723
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
744
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
724
+ throw await de_ConflictExceptionRes(parsedOutput, context);
745
725
  case "InternalServerException":
746
726
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
747
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
727
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
748
728
  case "ResourceNotFoundException":
749
729
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
750
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
730
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
751
731
  case "ServiceQuotaExceededException":
752
732
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
753
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
733
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
754
734
  case "ThrottlingException":
755
735
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
756
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
736
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
757
737
  case "ValidationException":
758
738
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
759
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
739
+ throw await de_ValidationExceptionRes(parsedOutput, context);
760
740
  default:
761
741
  const parsedBody = parsedOutput.body;
762
742
  (0, smithy_client_1.throwDefaultError)({
@@ -767,21 +747,21 @@ const deserializeAws_restJson1StartProductSubscriptionCommandError = async (outp
767
747
  });
768
748
  }
769
749
  };
770
- const deserializeAws_restJson1StopProductSubscriptionCommand = async (output, context) => {
750
+ const de_StopProductSubscriptionCommand = async (output, context) => {
771
751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
772
- return deserializeAws_restJson1StopProductSubscriptionCommandError(output, context);
752
+ return de_StopProductSubscriptionCommandError(output, context);
773
753
  }
774
754
  const contents = map({
775
755
  $metadata: deserializeMetadata(output),
776
756
  });
777
757
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
778
758
  if (data.ProductUserSummary != null) {
779
- contents.ProductUserSummary = deserializeAws_restJson1ProductUserSummary(data.ProductUserSummary, context);
759
+ contents.ProductUserSummary = de_ProductUserSummary(data.ProductUserSummary, context);
780
760
  }
781
761
  return contents;
782
762
  };
783
- exports.deserializeAws_restJson1StopProductSubscriptionCommand = deserializeAws_restJson1StopProductSubscriptionCommand;
784
- const deserializeAws_restJson1StopProductSubscriptionCommandError = async (output, context) => {
763
+ exports.de_StopProductSubscriptionCommand = de_StopProductSubscriptionCommand;
764
+ const de_StopProductSubscriptionCommandError = async (output, context) => {
785
765
  const parsedOutput = {
786
766
  ...output,
787
767
  body: await parseErrorBody(output.body, context),
@@ -790,25 +770,25 @@ const deserializeAws_restJson1StopProductSubscriptionCommandError = async (outpu
790
770
  switch (errorCode) {
791
771
  case "AccessDeniedException":
792
772
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
793
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
773
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
794
774
  case "ConflictException":
795
775
  case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
796
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
776
+ throw await de_ConflictExceptionRes(parsedOutput, context);
797
777
  case "InternalServerException":
798
778
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
799
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
779
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
800
780
  case "ResourceNotFoundException":
801
781
  case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
802
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
782
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
803
783
  case "ServiceQuotaExceededException":
804
784
  case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
805
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
785
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
806
786
  case "ThrottlingException":
807
787
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
808
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
788
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
809
789
  case "ValidationException":
810
790
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
811
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
791
+ throw await de_ValidationExceptionRes(parsedOutput, context);
812
792
  default:
813
793
  const parsedBody = parsedOutput.body;
814
794
  (0, smithy_client_1.throwDefaultError)({
@@ -819,21 +799,21 @@ const deserializeAws_restJson1StopProductSubscriptionCommandError = async (outpu
819
799
  });
820
800
  }
821
801
  };
822
- const deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (output, context) => {
802
+ const de_UpdateIdentityProviderSettingsCommand = async (output, context) => {
823
803
  if (output.statusCode !== 200 && output.statusCode >= 300) {
824
- return deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError(output, context);
804
+ return de_UpdateIdentityProviderSettingsCommandError(output, context);
825
805
  }
826
806
  const contents = map({
827
807
  $metadata: deserializeMetadata(output),
828
808
  });
829
809
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
830
810
  if (data.IdentityProviderSummary != null) {
831
- contents.IdentityProviderSummary = deserializeAws_restJson1IdentityProviderSummary(data.IdentityProviderSummary, context);
811
+ contents.IdentityProviderSummary = de_IdentityProviderSummary(data.IdentityProviderSummary, context);
832
812
  }
833
813
  return contents;
834
814
  };
835
- exports.deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = deserializeAws_restJson1UpdateIdentityProviderSettingsCommand;
836
- const deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError = async (output, context) => {
815
+ exports.de_UpdateIdentityProviderSettingsCommand = de_UpdateIdentityProviderSettingsCommand;
816
+ const de_UpdateIdentityProviderSettingsCommandError = async (output, context) => {
837
817
  const parsedOutput = {
838
818
  ...output,
839
819
  body: await parseErrorBody(output.body, context),
@@ -842,16 +822,16 @@ const deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError = async
842
822
  switch (errorCode) {
843
823
  case "AccessDeniedException":
844
824
  case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
845
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
825
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
846
826
  case "InternalServerException":
847
827
  case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
848
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
828
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
849
829
  case "ThrottlingException":
850
830
  case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
851
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
831
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
852
832
  case "ValidationException":
853
833
  case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
854
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
834
+ throw await de_ValidationExceptionRes(parsedOutput, context);
855
835
  default:
856
836
  const parsedBody = parsedOutput.body;
857
837
  (0, smithy_client_1.throwDefaultError)({
@@ -863,7 +843,7 @@ const deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError = async
863
843
  }
864
844
  };
865
845
  const map = smithy_client_1.map;
866
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
846
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
867
847
  const contents = map({});
868
848
  const data = parsedOutput.body;
869
849
  if (data.message != null) {
@@ -875,7 +855,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
875
855
  });
876
856
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
877
857
  };
878
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
858
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
879
859
  const contents = map({});
880
860
  const data = parsedOutput.body;
881
861
  if (data.message != null) {
@@ -887,7 +867,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
887
867
  });
888
868
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
889
869
  };
890
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
870
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
891
871
  const contents = map({});
892
872
  const data = parsedOutput.body;
893
873
  if (data.message != null) {
@@ -899,7 +879,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
899
879
  });
900
880
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
901
881
  };
902
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
882
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
903
883
  const contents = map({});
904
884
  const data = parsedOutput.body;
905
885
  if (data.message != null) {
@@ -911,7 +891,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
911
891
  });
912
892
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
913
893
  };
914
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
894
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
915
895
  const contents = map({});
916
896
  const data = parsedOutput.body;
917
897
  if (data.message != null) {
@@ -923,7 +903,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
923
903
  });
924
904
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
925
905
  };
926
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
906
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
927
907
  const contents = map({});
928
908
  const data = parsedOutput.body;
929
909
  if (data.message != null) {
@@ -935,7 +915,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
935
915
  });
936
916
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
937
917
  };
938
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
918
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
939
919
  const contents = map({});
940
920
  const data = parsedOutput.body;
941
921
  if (data.message != null) {
@@ -947,115 +927,115 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
947
927
  });
948
928
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
949
929
  };
950
- const serializeAws_restJson1ActiveDirectoryIdentityProvider = (input, context) => {
930
+ const se_ActiveDirectoryIdentityProvider = (input, context) => {
951
931
  return {
952
932
  ...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
953
933
  };
954
934
  };
955
- const serializeAws_restJson1Filter = (input, context) => {
935
+ const se_Filter = (input, context) => {
956
936
  return {
957
937
  ...(input.Attribute != null && { Attribute: input.Attribute }),
958
938
  ...(input.Operation != null && { Operation: input.Operation }),
959
939
  ...(input.Value != null && { Value: input.Value }),
960
940
  };
961
941
  };
962
- const serializeAws_restJson1FilterList = (input, context) => {
942
+ const se_FilterList = (input, context) => {
963
943
  return input
964
944
  .filter((e) => e != null)
965
945
  .map((entry) => {
966
- return serializeAws_restJson1Filter(entry, context);
946
+ return se_Filter(entry, context);
967
947
  });
968
948
  };
969
- const serializeAws_restJson1IdentityProvider = (input, context) => {
949
+ const se_IdentityProvider = (input, context) => {
970
950
  return models_0_1.IdentityProvider.visit(input, {
971
951
  ActiveDirectoryIdentityProvider: (value) => ({
972
- ActiveDirectoryIdentityProvider: serializeAws_restJson1ActiveDirectoryIdentityProvider(value, context),
952
+ ActiveDirectoryIdentityProvider: se_ActiveDirectoryIdentityProvider(value, context),
973
953
  }),
974
954
  _: (name, value) => ({ name: value }),
975
955
  });
976
956
  };
977
- const serializeAws_restJson1Settings = (input, context) => {
957
+ const se_Settings = (input, context) => {
978
958
  return {
979
959
  ...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
980
- ...(input.Subnets != null && { Subnets: serializeAws_restJson1Subnets(input.Subnets, context) }),
960
+ ...(input.Subnets != null && { Subnets: se_Subnets(input.Subnets, context) }),
981
961
  };
982
962
  };
983
- const serializeAws_restJson1Subnets = (input, context) => {
963
+ const se_Subnets = (input, context) => {
984
964
  return input
985
965
  .filter((e) => e != null)
986
966
  .map((entry) => {
987
967
  return entry;
988
968
  });
989
969
  };
990
- const serializeAws_restJson1UpdateSettings = (input, context) => {
970
+ const se_UpdateSettings = (input, context) => {
991
971
  return {
992
- ...(input.AddSubnets != null && { AddSubnets: serializeAws_restJson1Subnets(input.AddSubnets, context) }),
993
- ...(input.RemoveSubnets != null && { RemoveSubnets: serializeAws_restJson1Subnets(input.RemoveSubnets, context) }),
972
+ ...(input.AddSubnets != null && { AddSubnets: se_Subnets(input.AddSubnets, context) }),
973
+ ...(input.RemoveSubnets != null && { RemoveSubnets: se_Subnets(input.RemoveSubnets, context) }),
994
974
  ...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
995
975
  };
996
976
  };
997
- const deserializeAws_restJson1ActiveDirectoryIdentityProvider = (output, context) => {
977
+ const de_ActiveDirectoryIdentityProvider = (output, context) => {
998
978
  return {
999
979
  DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
1000
980
  };
1001
981
  };
1002
- const deserializeAws_restJson1IdentityProvider = (output, context) => {
982
+ const de_IdentityProvider = (output, context) => {
1003
983
  if (output.ActiveDirectoryIdentityProvider != null) {
1004
984
  return {
1005
- ActiveDirectoryIdentityProvider: deserializeAws_restJson1ActiveDirectoryIdentityProvider(output.ActiveDirectoryIdentityProvider, context),
985
+ ActiveDirectoryIdentityProvider: de_ActiveDirectoryIdentityProvider(output.ActiveDirectoryIdentityProvider, context),
1006
986
  };
1007
987
  }
1008
988
  return { $unknown: Object.entries(output)[0] };
1009
989
  };
1010
- const deserializeAws_restJson1IdentityProviderSummary = (output, context) => {
990
+ const de_IdentityProviderSummary = (output, context) => {
1011
991
  return {
1012
992
  FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
1013
993
  IdentityProvider: output.IdentityProvider != null
1014
- ? deserializeAws_restJson1IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
994
+ ? de_IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
1015
995
  : undefined,
1016
996
  Product: (0, smithy_client_1.expectString)(output.Product),
1017
- Settings: output.Settings != null ? deserializeAws_restJson1Settings(output.Settings, context) : undefined,
997
+ Settings: output.Settings != null ? de_Settings(output.Settings, context) : undefined,
1018
998
  Status: (0, smithy_client_1.expectString)(output.Status),
1019
999
  };
1020
1000
  };
1021
- const deserializeAws_restJson1IdentityProviderSummaryList = (output, context) => {
1001
+ const de_IdentityProviderSummaryList = (output, context) => {
1022
1002
  const retVal = (output || [])
1023
1003
  .filter((e) => e != null)
1024
1004
  .map((entry) => {
1025
1005
  if (entry === null) {
1026
1006
  return null;
1027
1007
  }
1028
- return deserializeAws_restJson1IdentityProviderSummary(entry, context);
1008
+ return de_IdentityProviderSummary(entry, context);
1029
1009
  });
1030
1010
  return retVal;
1031
1011
  };
1032
- const deserializeAws_restJson1InstanceSummary = (output, context) => {
1012
+ const de_InstanceSummary = (output, context) => {
1033
1013
  return {
1034
1014
  InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
1035
1015
  LastStatusCheckDate: (0, smithy_client_1.expectString)(output.LastStatusCheckDate),
1036
- Products: output.Products != null ? deserializeAws_restJson1StringList(output.Products, context) : undefined,
1016
+ Products: output.Products != null ? de_StringList(output.Products, context) : undefined,
1037
1017
  Status: (0, smithy_client_1.expectString)(output.Status),
1038
1018
  StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
1039
1019
  };
1040
1020
  };
1041
- const deserializeAws_restJson1InstanceSummaryList = (output, context) => {
1021
+ const de_InstanceSummaryList = (output, context) => {
1042
1022
  const retVal = (output || [])
1043
1023
  .filter((e) => e != null)
1044
1024
  .map((entry) => {
1045
1025
  if (entry === null) {
1046
1026
  return null;
1047
1027
  }
1048
- return deserializeAws_restJson1InstanceSummary(entry, context);
1028
+ return de_InstanceSummary(entry, context);
1049
1029
  });
1050
1030
  return retVal;
1051
1031
  };
1052
- const deserializeAws_restJson1InstanceUserSummary = (output, context) => {
1032
+ const de_InstanceUserSummary = (output, context) => {
1053
1033
  return {
1054
1034
  AssociationDate: (0, smithy_client_1.expectString)(output.AssociationDate),
1055
1035
  DisassociationDate: (0, smithy_client_1.expectString)(output.DisassociationDate),
1056
1036
  Domain: (0, smithy_client_1.expectString)(output.Domain),
1057
1037
  IdentityProvider: output.IdentityProvider != null
1058
- ? deserializeAws_restJson1IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
1038
+ ? de_IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
1059
1039
  : undefined,
1060
1040
  InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
1061
1041
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -1063,22 +1043,22 @@ const deserializeAws_restJson1InstanceUserSummary = (output, context) => {
1063
1043
  Username: (0, smithy_client_1.expectString)(output.Username),
1064
1044
  };
1065
1045
  };
1066
- const deserializeAws_restJson1InstanceUserSummaryList = (output, context) => {
1046
+ const de_InstanceUserSummaryList = (output, context) => {
1067
1047
  const retVal = (output || [])
1068
1048
  .filter((e) => e != null)
1069
1049
  .map((entry) => {
1070
1050
  if (entry === null) {
1071
1051
  return null;
1072
1052
  }
1073
- return deserializeAws_restJson1InstanceUserSummary(entry, context);
1053
+ return de_InstanceUserSummary(entry, context);
1074
1054
  });
1075
1055
  return retVal;
1076
1056
  };
1077
- const deserializeAws_restJson1ProductUserSummary = (output, context) => {
1057
+ const de_ProductUserSummary = (output, context) => {
1078
1058
  return {
1079
1059
  Domain: (0, smithy_client_1.expectString)(output.Domain),
1080
1060
  IdentityProvider: output.IdentityProvider != null
1081
- ? deserializeAws_restJson1IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
1061
+ ? de_IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
1082
1062
  : undefined,
1083
1063
  Product: (0, smithy_client_1.expectString)(output.Product),
1084
1064
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -1088,24 +1068,24 @@ const deserializeAws_restJson1ProductUserSummary = (output, context) => {
1088
1068
  Username: (0, smithy_client_1.expectString)(output.Username),
1089
1069
  };
1090
1070
  };
1091
- const deserializeAws_restJson1ProductUserSummaryList = (output, context) => {
1071
+ const de_ProductUserSummaryList = (output, context) => {
1092
1072
  const retVal = (output || [])
1093
1073
  .filter((e) => e != null)
1094
1074
  .map((entry) => {
1095
1075
  if (entry === null) {
1096
1076
  return null;
1097
1077
  }
1098
- return deserializeAws_restJson1ProductUserSummary(entry, context);
1078
+ return de_ProductUserSummary(entry, context);
1099
1079
  });
1100
1080
  return retVal;
1101
1081
  };
1102
- const deserializeAws_restJson1Settings = (output, context) => {
1082
+ const de_Settings = (output, context) => {
1103
1083
  return {
1104
1084
  SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
1105
- Subnets: output.Subnets != null ? deserializeAws_restJson1Subnets(output.Subnets, context) : undefined,
1085
+ Subnets: output.Subnets != null ? de_Subnets(output.Subnets, context) : undefined,
1106
1086
  };
1107
1087
  };
1108
- const deserializeAws_restJson1StringList = (output, context) => {
1088
+ const de_StringList = (output, context) => {
1109
1089
  const retVal = (output || [])
1110
1090
  .filter((e) => e != null)
1111
1091
  .map((entry) => {
@@ -1116,7 +1096,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
1116
1096
  });
1117
1097
  return retVal;
1118
1098
  };
1119
- const deserializeAws_restJson1Subnets = (output, context) => {
1099
+ const de_Subnets = (output, context) => {
1120
1100
  const retVal = (output || [])
1121
1101
  .filter((e) => e != null)
1122
1102
  .map((entry) => {