@aws-sdk/client-identitystore 3.307.0 → 3.310.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 (43) hide show
  1. package/dist-cjs/commands/CreateGroupCommand.js +2 -2
  2. package/dist-cjs/commands/CreateGroupMembershipCommand.js +2 -2
  3. package/dist-cjs/commands/CreateUserCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteGroupCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteGroupMembershipCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteUserCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeGroupCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeGroupMembershipCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeUserCommand.js +2 -2
  10. package/dist-cjs/commands/GetGroupIdCommand.js +2 -2
  11. package/dist-cjs/commands/GetGroupMembershipIdCommand.js +2 -2
  12. package/dist-cjs/commands/GetUserIdCommand.js +2 -2
  13. package/dist-cjs/commands/IsMemberInGroupsCommand.js +2 -2
  14. package/dist-cjs/commands/ListGroupMembershipsCommand.js +2 -2
  15. package/dist-cjs/commands/ListGroupMembershipsForMemberCommand.js +2 -2
  16. package/dist-cjs/commands/ListGroupsCommand.js +2 -2
  17. package/dist-cjs/commands/ListUsersCommand.js +2 -2
  18. package/dist-cjs/commands/UpdateGroupCommand.js +2 -2
  19. package/dist-cjs/commands/UpdateUserCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_json1_1.js +407 -417
  21. package/dist-es/commands/CreateGroupCommand.js +3 -3
  22. package/dist-es/commands/CreateGroupMembershipCommand.js +3 -3
  23. package/dist-es/commands/CreateUserCommand.js +3 -3
  24. package/dist-es/commands/DeleteGroupCommand.js +3 -3
  25. package/dist-es/commands/DeleteGroupMembershipCommand.js +3 -3
  26. package/dist-es/commands/DeleteUserCommand.js +3 -3
  27. package/dist-es/commands/DescribeGroupCommand.js +3 -3
  28. package/dist-es/commands/DescribeGroupMembershipCommand.js +3 -3
  29. package/dist-es/commands/DescribeUserCommand.js +3 -3
  30. package/dist-es/commands/GetGroupIdCommand.js +3 -3
  31. package/dist-es/commands/GetGroupMembershipIdCommand.js +3 -3
  32. package/dist-es/commands/GetUserIdCommand.js +3 -3
  33. package/dist-es/commands/IsMemberInGroupsCommand.js +3 -3
  34. package/dist-es/commands/ListGroupMembershipsCommand.js +3 -3
  35. package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +3 -3
  36. package/dist-es/commands/ListGroupsCommand.js +3 -3
  37. package/dist-es/commands/ListUsersCommand.js +3 -3
  38. package/dist-es/commands/UpdateGroupCommand.js +3 -3
  39. package/dist-es/commands/UpdateUserCommand.js +3 -3
  40. package/dist-es/protocols/Aws_json1_1.js +368 -378
  41. package/dist-types/protocols/Aws_json1_1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +38 -38
  43. package/package.json +35 -35
@@ -2,191 +2,191 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectString as __expectString, expectUnion as __expectUnion, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { IdentitystoreServiceException as __BaseException } from "../models/IdentitystoreServiceException";
4
4
  import { AccessDeniedException, AlternateIdentifier, ConflictException, InternalServerException, MemberId, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
- export const serializeAws_json1_1CreateGroupCommand = async (input, context) => {
5
+ export const se_CreateGroupCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.1",
8
8
  "x-amz-target": "AWSIdentityStore.CreateGroup",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_1CreateGroupRequest(input, context));
11
+ body = JSON.stringify(se_CreateGroupRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_1CreateGroupMembershipCommand = async (input, context) => {
14
+ export const se_CreateGroupMembershipCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.1",
17
17
  "x-amz-target": "AWSIdentityStore.CreateGroupMembership",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_1CreateGroupMembershipRequest(input, context));
20
+ body = JSON.stringify(se_CreateGroupMembershipRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_1CreateUserCommand = async (input, context) => {
23
+ export const se_CreateUserCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.1",
26
26
  "x-amz-target": "AWSIdentityStore.CreateUser",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_1CreateUserRequest(input, context));
29
+ body = JSON.stringify(se_CreateUserRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_1DeleteGroupCommand = async (input, context) => {
32
+ export const se_DeleteGroupCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.1",
35
35
  "x-amz-target": "AWSIdentityStore.DeleteGroup",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_1DeleteGroupRequest(input, context));
38
+ body = JSON.stringify(se_DeleteGroupRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_1DeleteGroupMembershipCommand = async (input, context) => {
41
+ export const se_DeleteGroupMembershipCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.1",
44
44
  "x-amz-target": "AWSIdentityStore.DeleteGroupMembership",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_1DeleteGroupMembershipRequest(input, context));
47
+ body = JSON.stringify(se_DeleteGroupMembershipRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_1DeleteUserCommand = async (input, context) => {
50
+ export const se_DeleteUserCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "AWSIdentityStore.DeleteUser",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1DeleteUserRequest(input, context));
56
+ body = JSON.stringify(se_DeleteUserRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_1DescribeGroupCommand = async (input, context) => {
59
+ export const se_DescribeGroupCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "AWSIdentityStore.DescribeGroup",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1DescribeGroupRequest(input, context));
65
+ body = JSON.stringify(se_DescribeGroupRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_1DescribeGroupMembershipCommand = async (input, context) => {
68
+ export const se_DescribeGroupMembershipCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "AWSIdentityStore.DescribeGroupMembership",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1DescribeGroupMembershipRequest(input, context));
74
+ body = JSON.stringify(se_DescribeGroupMembershipRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_1DescribeUserCommand = async (input, context) => {
77
+ export const se_DescribeUserCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "AWSIdentityStore.DescribeUser",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1DescribeUserRequest(input, context));
83
+ body = JSON.stringify(se_DescribeUserRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_1GetGroupIdCommand = async (input, context) => {
86
+ export const se_GetGroupIdCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.1",
89
89
  "x-amz-target": "AWSIdentityStore.GetGroupId",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_1GetGroupIdRequest(input, context));
92
+ body = JSON.stringify(se_GetGroupIdRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_1GetGroupMembershipIdCommand = async (input, context) => {
95
+ export const se_GetGroupMembershipIdCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.1",
98
98
  "x-amz-target": "AWSIdentityStore.GetGroupMembershipId",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_1GetGroupMembershipIdRequest(input, context));
101
+ body = JSON.stringify(se_GetGroupMembershipIdRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_1GetUserIdCommand = async (input, context) => {
104
+ export const se_GetUserIdCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.1",
107
107
  "x-amz-target": "AWSIdentityStore.GetUserId",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_1GetUserIdRequest(input, context));
110
+ body = JSON.stringify(se_GetUserIdRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_1IsMemberInGroupsCommand = async (input, context) => {
113
+ export const se_IsMemberInGroupsCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.1",
116
116
  "x-amz-target": "AWSIdentityStore.IsMemberInGroups",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_1IsMemberInGroupsRequest(input, context));
119
+ body = JSON.stringify(se_IsMemberInGroupsRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const serializeAws_json1_1ListGroupMembershipsCommand = async (input, context) => {
122
+ export const se_ListGroupMembershipsCommand = async (input, context) => {
123
123
  const headers = {
124
124
  "content-type": "application/x-amz-json-1.1",
125
125
  "x-amz-target": "AWSIdentityStore.ListGroupMemberships",
126
126
  };
127
127
  let body;
128
- body = JSON.stringify(serializeAws_json1_1ListGroupMembershipsRequest(input, context));
128
+ body = JSON.stringify(se_ListGroupMembershipsRequest(input, context));
129
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
130
  };
131
- export const serializeAws_json1_1ListGroupMembershipsForMemberCommand = async (input, context) => {
131
+ export const se_ListGroupMembershipsForMemberCommand = async (input, context) => {
132
132
  const headers = {
133
133
  "content-type": "application/x-amz-json-1.1",
134
134
  "x-amz-target": "AWSIdentityStore.ListGroupMembershipsForMember",
135
135
  };
136
136
  let body;
137
- body = JSON.stringify(serializeAws_json1_1ListGroupMembershipsForMemberRequest(input, context));
137
+ body = JSON.stringify(se_ListGroupMembershipsForMemberRequest(input, context));
138
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
139
  };
140
- export const serializeAws_json1_1ListGroupsCommand = async (input, context) => {
140
+ export const se_ListGroupsCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "AWSIdentityStore.ListGroups",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1ListGroupsRequest(input, context));
146
+ body = JSON.stringify(se_ListGroupsRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- export const serializeAws_json1_1ListUsersCommand = async (input, context) => {
149
+ export const se_ListUsersCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "AWSIdentityStore.ListUsers",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1ListUsersRequest(input, context));
155
+ body = JSON.stringify(se_ListUsersRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- export const serializeAws_json1_1UpdateGroupCommand = async (input, context) => {
158
+ export const se_UpdateGroupCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "AWSIdentityStore.UpdateGroup",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1UpdateGroupRequest(input, context));
164
+ body = JSON.stringify(se_UpdateGroupRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- export const serializeAws_json1_1UpdateUserCommand = async (input, context) => {
167
+ export const se_UpdateUserCommand = async (input, context) => {
168
168
  const headers = {
169
169
  "content-type": "application/x-amz-json-1.1",
170
170
  "x-amz-target": "AWSIdentityStore.UpdateUser",
171
171
  };
172
172
  let body;
173
- body = JSON.stringify(serializeAws_json1_1UpdateUserRequest(input, context));
173
+ body = JSON.stringify(se_UpdateUserRequest(input, context));
174
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
175
  };
176
- export const deserializeAws_json1_1CreateGroupCommand = async (output, context) => {
176
+ export const de_CreateGroupCommand = async (output, context) => {
177
177
  if (output.statusCode >= 300) {
178
- return deserializeAws_json1_1CreateGroupCommandError(output, context);
178
+ return de_CreateGroupCommandError(output, context);
179
179
  }
180
180
  const data = await parseBody(output.body, context);
181
181
  let contents = {};
182
- contents = deserializeAws_json1_1CreateGroupResponse(data, context);
182
+ contents = de_CreateGroupResponse(data, context);
183
183
  const response = {
184
184
  $metadata: deserializeMetadata(output),
185
185
  ...contents,
186
186
  };
187
187
  return Promise.resolve(response);
188
188
  };
189
- const deserializeAws_json1_1CreateGroupCommandError = async (output, context) => {
189
+ const de_CreateGroupCommandError = async (output, context) => {
190
190
  const parsedOutput = {
191
191
  ...output,
192
192
  body: await parseErrorBody(output.body, context),
@@ -195,25 +195,25 @@ const deserializeAws_json1_1CreateGroupCommandError = async (output, context) =>
195
195
  switch (errorCode) {
196
196
  case "AccessDeniedException":
197
197
  case "com.amazonaws.identitystore#AccessDeniedException":
198
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
198
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
199
199
  case "ConflictException":
200
200
  case "com.amazonaws.identitystore#ConflictException":
201
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
201
+ throw await de_ConflictExceptionRes(parsedOutput, context);
202
202
  case "InternalServerException":
203
203
  case "com.amazonaws.identitystore#InternalServerException":
204
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
204
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
205
205
  case "ResourceNotFoundException":
206
206
  case "com.amazonaws.identitystore#ResourceNotFoundException":
207
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
207
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
208
208
  case "ServiceQuotaExceededException":
209
209
  case "com.amazonaws.identitystore#ServiceQuotaExceededException":
210
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
210
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
211
211
  case "ThrottlingException":
212
212
  case "com.amazonaws.identitystore#ThrottlingException":
213
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
213
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
214
214
  case "ValidationException":
215
215
  case "com.amazonaws.identitystore#ValidationException":
216
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
216
+ throw await de_ValidationExceptionRes(parsedOutput, context);
217
217
  default:
218
218
  const parsedBody = parsedOutput.body;
219
219
  throwDefaultError({
@@ -224,20 +224,20 @@ const deserializeAws_json1_1CreateGroupCommandError = async (output, context) =>
224
224
  });
225
225
  }
226
226
  };
227
- export const deserializeAws_json1_1CreateGroupMembershipCommand = async (output, context) => {
227
+ export const de_CreateGroupMembershipCommand = async (output, context) => {
228
228
  if (output.statusCode >= 300) {
229
- return deserializeAws_json1_1CreateGroupMembershipCommandError(output, context);
229
+ return de_CreateGroupMembershipCommandError(output, context);
230
230
  }
231
231
  const data = await parseBody(output.body, context);
232
232
  let contents = {};
233
- contents = deserializeAws_json1_1CreateGroupMembershipResponse(data, context);
233
+ contents = de_CreateGroupMembershipResponse(data, context);
234
234
  const response = {
235
235
  $metadata: deserializeMetadata(output),
236
236
  ...contents,
237
237
  };
238
238
  return Promise.resolve(response);
239
239
  };
240
- const deserializeAws_json1_1CreateGroupMembershipCommandError = async (output, context) => {
240
+ const de_CreateGroupMembershipCommandError = async (output, context) => {
241
241
  const parsedOutput = {
242
242
  ...output,
243
243
  body: await parseErrorBody(output.body, context),
@@ -246,25 +246,25 @@ const deserializeAws_json1_1CreateGroupMembershipCommandError = async (output, c
246
246
  switch (errorCode) {
247
247
  case "AccessDeniedException":
248
248
  case "com.amazonaws.identitystore#AccessDeniedException":
249
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
249
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
250
250
  case "ConflictException":
251
251
  case "com.amazonaws.identitystore#ConflictException":
252
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
252
+ throw await de_ConflictExceptionRes(parsedOutput, context);
253
253
  case "InternalServerException":
254
254
  case "com.amazonaws.identitystore#InternalServerException":
255
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
255
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
256
256
  case "ResourceNotFoundException":
257
257
  case "com.amazonaws.identitystore#ResourceNotFoundException":
258
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
258
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
259
259
  case "ServiceQuotaExceededException":
260
260
  case "com.amazonaws.identitystore#ServiceQuotaExceededException":
261
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
261
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
262
262
  case "ThrottlingException":
263
263
  case "com.amazonaws.identitystore#ThrottlingException":
264
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
264
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
265
265
  case "ValidationException":
266
266
  case "com.amazonaws.identitystore#ValidationException":
267
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
267
+ throw await de_ValidationExceptionRes(parsedOutput, context);
268
268
  default:
269
269
  const parsedBody = parsedOutput.body;
270
270
  throwDefaultError({
@@ -275,20 +275,20 @@ const deserializeAws_json1_1CreateGroupMembershipCommandError = async (output, c
275
275
  });
276
276
  }
277
277
  };
278
- export const deserializeAws_json1_1CreateUserCommand = async (output, context) => {
278
+ export const de_CreateUserCommand = async (output, context) => {
279
279
  if (output.statusCode >= 300) {
280
- return deserializeAws_json1_1CreateUserCommandError(output, context);
280
+ return de_CreateUserCommandError(output, context);
281
281
  }
282
282
  const data = await parseBody(output.body, context);
283
283
  let contents = {};
284
- contents = deserializeAws_json1_1CreateUserResponse(data, context);
284
+ contents = de_CreateUserResponse(data, context);
285
285
  const response = {
286
286
  $metadata: deserializeMetadata(output),
287
287
  ...contents,
288
288
  };
289
289
  return Promise.resolve(response);
290
290
  };
291
- const deserializeAws_json1_1CreateUserCommandError = async (output, context) => {
291
+ const de_CreateUserCommandError = async (output, context) => {
292
292
  const parsedOutput = {
293
293
  ...output,
294
294
  body: await parseErrorBody(output.body, context),
@@ -297,25 +297,25 @@ const deserializeAws_json1_1CreateUserCommandError = async (output, context) =>
297
297
  switch (errorCode) {
298
298
  case "AccessDeniedException":
299
299
  case "com.amazonaws.identitystore#AccessDeniedException":
300
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
300
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
301
301
  case "ConflictException":
302
302
  case "com.amazonaws.identitystore#ConflictException":
303
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
303
+ throw await de_ConflictExceptionRes(parsedOutput, context);
304
304
  case "InternalServerException":
305
305
  case "com.amazonaws.identitystore#InternalServerException":
306
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
306
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
307
307
  case "ResourceNotFoundException":
308
308
  case "com.amazonaws.identitystore#ResourceNotFoundException":
309
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
309
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
310
310
  case "ServiceQuotaExceededException":
311
311
  case "com.amazonaws.identitystore#ServiceQuotaExceededException":
312
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
312
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
313
313
  case "ThrottlingException":
314
314
  case "com.amazonaws.identitystore#ThrottlingException":
315
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
315
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
316
316
  case "ValidationException":
317
317
  case "com.amazonaws.identitystore#ValidationException":
318
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
318
+ throw await de_ValidationExceptionRes(parsedOutput, context);
319
319
  default:
320
320
  const parsedBody = parsedOutput.body;
321
321
  throwDefaultError({
@@ -326,20 +326,20 @@ const deserializeAws_json1_1CreateUserCommandError = async (output, context) =>
326
326
  });
327
327
  }
328
328
  };
329
- export const deserializeAws_json1_1DeleteGroupCommand = async (output, context) => {
329
+ export const de_DeleteGroupCommand = async (output, context) => {
330
330
  if (output.statusCode >= 300) {
331
- return deserializeAws_json1_1DeleteGroupCommandError(output, context);
331
+ return de_DeleteGroupCommandError(output, context);
332
332
  }
333
333
  const data = await parseBody(output.body, context);
334
334
  let contents = {};
335
- contents = deserializeAws_json1_1DeleteGroupResponse(data, context);
335
+ contents = de_DeleteGroupResponse(data, context);
336
336
  const response = {
337
337
  $metadata: deserializeMetadata(output),
338
338
  ...contents,
339
339
  };
340
340
  return Promise.resolve(response);
341
341
  };
342
- const deserializeAws_json1_1DeleteGroupCommandError = async (output, context) => {
342
+ const de_DeleteGroupCommandError = async (output, context) => {
343
343
  const parsedOutput = {
344
344
  ...output,
345
345
  body: await parseErrorBody(output.body, context),
@@ -348,22 +348,22 @@ const deserializeAws_json1_1DeleteGroupCommandError = async (output, context) =>
348
348
  switch (errorCode) {
349
349
  case "AccessDeniedException":
350
350
  case "com.amazonaws.identitystore#AccessDeniedException":
351
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
351
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
352
352
  case "ConflictException":
353
353
  case "com.amazonaws.identitystore#ConflictException":
354
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
354
+ throw await de_ConflictExceptionRes(parsedOutput, context);
355
355
  case "InternalServerException":
356
356
  case "com.amazonaws.identitystore#InternalServerException":
357
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
357
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
358
358
  case "ResourceNotFoundException":
359
359
  case "com.amazonaws.identitystore#ResourceNotFoundException":
360
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
360
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
361
361
  case "ThrottlingException":
362
362
  case "com.amazonaws.identitystore#ThrottlingException":
363
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
363
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
364
364
  case "ValidationException":
365
365
  case "com.amazonaws.identitystore#ValidationException":
366
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
366
+ throw await de_ValidationExceptionRes(parsedOutput, context);
367
367
  default:
368
368
  const parsedBody = parsedOutput.body;
369
369
  throwDefaultError({
@@ -374,20 +374,20 @@ const deserializeAws_json1_1DeleteGroupCommandError = async (output, context) =>
374
374
  });
375
375
  }
376
376
  };
377
- export const deserializeAws_json1_1DeleteGroupMembershipCommand = async (output, context) => {
377
+ export const de_DeleteGroupMembershipCommand = async (output, context) => {
378
378
  if (output.statusCode >= 300) {
379
- return deserializeAws_json1_1DeleteGroupMembershipCommandError(output, context);
379
+ return de_DeleteGroupMembershipCommandError(output, context);
380
380
  }
381
381
  const data = await parseBody(output.body, context);
382
382
  let contents = {};
383
- contents = deserializeAws_json1_1DeleteGroupMembershipResponse(data, context);
383
+ contents = de_DeleteGroupMembershipResponse(data, context);
384
384
  const response = {
385
385
  $metadata: deserializeMetadata(output),
386
386
  ...contents,
387
387
  };
388
388
  return Promise.resolve(response);
389
389
  };
390
- const deserializeAws_json1_1DeleteGroupMembershipCommandError = async (output, context) => {
390
+ const de_DeleteGroupMembershipCommandError = async (output, context) => {
391
391
  const parsedOutput = {
392
392
  ...output,
393
393
  body: await parseErrorBody(output.body, context),
@@ -396,22 +396,22 @@ const deserializeAws_json1_1DeleteGroupMembershipCommandError = async (output, c
396
396
  switch (errorCode) {
397
397
  case "AccessDeniedException":
398
398
  case "com.amazonaws.identitystore#AccessDeniedException":
399
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
399
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
400
400
  case "ConflictException":
401
401
  case "com.amazonaws.identitystore#ConflictException":
402
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
402
+ throw await de_ConflictExceptionRes(parsedOutput, context);
403
403
  case "InternalServerException":
404
404
  case "com.amazonaws.identitystore#InternalServerException":
405
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
405
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
406
406
  case "ResourceNotFoundException":
407
407
  case "com.amazonaws.identitystore#ResourceNotFoundException":
408
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
408
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
409
409
  case "ThrottlingException":
410
410
  case "com.amazonaws.identitystore#ThrottlingException":
411
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
411
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
412
412
  case "ValidationException":
413
413
  case "com.amazonaws.identitystore#ValidationException":
414
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
414
+ throw await de_ValidationExceptionRes(parsedOutput, context);
415
415
  default:
416
416
  const parsedBody = parsedOutput.body;
417
417
  throwDefaultError({
@@ -422,20 +422,20 @@ const deserializeAws_json1_1DeleteGroupMembershipCommandError = async (output, c
422
422
  });
423
423
  }
424
424
  };
425
- export const deserializeAws_json1_1DeleteUserCommand = async (output, context) => {
425
+ export const de_DeleteUserCommand = async (output, context) => {
426
426
  if (output.statusCode >= 300) {
427
- return deserializeAws_json1_1DeleteUserCommandError(output, context);
427
+ return de_DeleteUserCommandError(output, context);
428
428
  }
429
429
  const data = await parseBody(output.body, context);
430
430
  let contents = {};
431
- contents = deserializeAws_json1_1DeleteUserResponse(data, context);
431
+ contents = de_DeleteUserResponse(data, context);
432
432
  const response = {
433
433
  $metadata: deserializeMetadata(output),
434
434
  ...contents,
435
435
  };
436
436
  return Promise.resolve(response);
437
437
  };
438
- const deserializeAws_json1_1DeleteUserCommandError = async (output, context) => {
438
+ const de_DeleteUserCommandError = async (output, context) => {
439
439
  const parsedOutput = {
440
440
  ...output,
441
441
  body: await parseErrorBody(output.body, context),
@@ -444,22 +444,22 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
444
444
  switch (errorCode) {
445
445
  case "AccessDeniedException":
446
446
  case "com.amazonaws.identitystore#AccessDeniedException":
447
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
447
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
448
448
  case "ConflictException":
449
449
  case "com.amazonaws.identitystore#ConflictException":
450
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
450
+ throw await de_ConflictExceptionRes(parsedOutput, context);
451
451
  case "InternalServerException":
452
452
  case "com.amazonaws.identitystore#InternalServerException":
453
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
453
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
454
454
  case "ResourceNotFoundException":
455
455
  case "com.amazonaws.identitystore#ResourceNotFoundException":
456
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
456
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
457
457
  case "ThrottlingException":
458
458
  case "com.amazonaws.identitystore#ThrottlingException":
459
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
459
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
460
460
  case "ValidationException":
461
461
  case "com.amazonaws.identitystore#ValidationException":
462
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
462
+ throw await de_ValidationExceptionRes(parsedOutput, context);
463
463
  default:
464
464
  const parsedBody = parsedOutput.body;
465
465
  throwDefaultError({
@@ -470,20 +470,20 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
470
470
  });
471
471
  }
472
472
  };
473
- export const deserializeAws_json1_1DescribeGroupCommand = async (output, context) => {
473
+ export const de_DescribeGroupCommand = async (output, context) => {
474
474
  if (output.statusCode >= 300) {
475
- return deserializeAws_json1_1DescribeGroupCommandError(output, context);
475
+ return de_DescribeGroupCommandError(output, context);
476
476
  }
477
477
  const data = await parseBody(output.body, context);
478
478
  let contents = {};
479
- contents = deserializeAws_json1_1DescribeGroupResponse(data, context);
479
+ contents = de_DescribeGroupResponse(data, context);
480
480
  const response = {
481
481
  $metadata: deserializeMetadata(output),
482
482
  ...contents,
483
483
  };
484
484
  return Promise.resolve(response);
485
485
  };
486
- const deserializeAws_json1_1DescribeGroupCommandError = async (output, context) => {
486
+ const de_DescribeGroupCommandError = async (output, context) => {
487
487
  const parsedOutput = {
488
488
  ...output,
489
489
  body: await parseErrorBody(output.body, context),
@@ -492,19 +492,19 @@ const deserializeAws_json1_1DescribeGroupCommandError = async (output, context)
492
492
  switch (errorCode) {
493
493
  case "AccessDeniedException":
494
494
  case "com.amazonaws.identitystore#AccessDeniedException":
495
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
495
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
496
496
  case "InternalServerException":
497
497
  case "com.amazonaws.identitystore#InternalServerException":
498
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
498
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
499
499
  case "ResourceNotFoundException":
500
500
  case "com.amazonaws.identitystore#ResourceNotFoundException":
501
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
501
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
502
502
  case "ThrottlingException":
503
503
  case "com.amazonaws.identitystore#ThrottlingException":
504
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
504
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
505
505
  case "ValidationException":
506
506
  case "com.amazonaws.identitystore#ValidationException":
507
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
507
+ throw await de_ValidationExceptionRes(parsedOutput, context);
508
508
  default:
509
509
  const parsedBody = parsedOutput.body;
510
510
  throwDefaultError({
@@ -515,20 +515,20 @@ const deserializeAws_json1_1DescribeGroupCommandError = async (output, context)
515
515
  });
516
516
  }
517
517
  };
518
- export const deserializeAws_json1_1DescribeGroupMembershipCommand = async (output, context) => {
518
+ export const de_DescribeGroupMembershipCommand = async (output, context) => {
519
519
  if (output.statusCode >= 300) {
520
- return deserializeAws_json1_1DescribeGroupMembershipCommandError(output, context);
520
+ return de_DescribeGroupMembershipCommandError(output, context);
521
521
  }
522
522
  const data = await parseBody(output.body, context);
523
523
  let contents = {};
524
- contents = deserializeAws_json1_1DescribeGroupMembershipResponse(data, context);
524
+ contents = de_DescribeGroupMembershipResponse(data, context);
525
525
  const response = {
526
526
  $metadata: deserializeMetadata(output),
527
527
  ...contents,
528
528
  };
529
529
  return Promise.resolve(response);
530
530
  };
531
- const deserializeAws_json1_1DescribeGroupMembershipCommandError = async (output, context) => {
531
+ const de_DescribeGroupMembershipCommandError = async (output, context) => {
532
532
  const parsedOutput = {
533
533
  ...output,
534
534
  body: await parseErrorBody(output.body, context),
@@ -537,19 +537,19 @@ const deserializeAws_json1_1DescribeGroupMembershipCommandError = async (output,
537
537
  switch (errorCode) {
538
538
  case "AccessDeniedException":
539
539
  case "com.amazonaws.identitystore#AccessDeniedException":
540
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
540
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
541
541
  case "InternalServerException":
542
542
  case "com.amazonaws.identitystore#InternalServerException":
543
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
543
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
544
544
  case "ResourceNotFoundException":
545
545
  case "com.amazonaws.identitystore#ResourceNotFoundException":
546
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
546
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
547
547
  case "ThrottlingException":
548
548
  case "com.amazonaws.identitystore#ThrottlingException":
549
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
549
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
550
550
  case "ValidationException":
551
551
  case "com.amazonaws.identitystore#ValidationException":
552
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
552
+ throw await de_ValidationExceptionRes(parsedOutput, context);
553
553
  default:
554
554
  const parsedBody = parsedOutput.body;
555
555
  throwDefaultError({
@@ -560,20 +560,20 @@ const deserializeAws_json1_1DescribeGroupMembershipCommandError = async (output,
560
560
  });
561
561
  }
562
562
  };
563
- export const deserializeAws_json1_1DescribeUserCommand = async (output, context) => {
563
+ export const de_DescribeUserCommand = async (output, context) => {
564
564
  if (output.statusCode >= 300) {
565
- return deserializeAws_json1_1DescribeUserCommandError(output, context);
565
+ return de_DescribeUserCommandError(output, context);
566
566
  }
567
567
  const data = await parseBody(output.body, context);
568
568
  let contents = {};
569
- contents = deserializeAws_json1_1DescribeUserResponse(data, context);
569
+ contents = de_DescribeUserResponse(data, context);
570
570
  const response = {
571
571
  $metadata: deserializeMetadata(output),
572
572
  ...contents,
573
573
  };
574
574
  return Promise.resolve(response);
575
575
  };
576
- const deserializeAws_json1_1DescribeUserCommandError = async (output, context) => {
576
+ const de_DescribeUserCommandError = async (output, context) => {
577
577
  const parsedOutput = {
578
578
  ...output,
579
579
  body: await parseErrorBody(output.body, context),
@@ -582,19 +582,19 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
582
582
  switch (errorCode) {
583
583
  case "AccessDeniedException":
584
584
  case "com.amazonaws.identitystore#AccessDeniedException":
585
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
585
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
586
586
  case "InternalServerException":
587
587
  case "com.amazonaws.identitystore#InternalServerException":
588
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
588
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
589
589
  case "ResourceNotFoundException":
590
590
  case "com.amazonaws.identitystore#ResourceNotFoundException":
591
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
591
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
592
592
  case "ThrottlingException":
593
593
  case "com.amazonaws.identitystore#ThrottlingException":
594
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
594
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
595
595
  case "ValidationException":
596
596
  case "com.amazonaws.identitystore#ValidationException":
597
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
597
+ throw await de_ValidationExceptionRes(parsedOutput, context);
598
598
  default:
599
599
  const parsedBody = parsedOutput.body;
600
600
  throwDefaultError({
@@ -605,20 +605,20 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
605
605
  });
606
606
  }
607
607
  };
608
- export const deserializeAws_json1_1GetGroupIdCommand = async (output, context) => {
608
+ export const de_GetGroupIdCommand = async (output, context) => {
609
609
  if (output.statusCode >= 300) {
610
- return deserializeAws_json1_1GetGroupIdCommandError(output, context);
610
+ return de_GetGroupIdCommandError(output, context);
611
611
  }
612
612
  const data = await parseBody(output.body, context);
613
613
  let contents = {};
614
- contents = deserializeAws_json1_1GetGroupIdResponse(data, context);
614
+ contents = de_GetGroupIdResponse(data, context);
615
615
  const response = {
616
616
  $metadata: deserializeMetadata(output),
617
617
  ...contents,
618
618
  };
619
619
  return Promise.resolve(response);
620
620
  };
621
- const deserializeAws_json1_1GetGroupIdCommandError = async (output, context) => {
621
+ const de_GetGroupIdCommandError = async (output, context) => {
622
622
  const parsedOutput = {
623
623
  ...output,
624
624
  body: await parseErrorBody(output.body, context),
@@ -627,19 +627,19 @@ const deserializeAws_json1_1GetGroupIdCommandError = async (output, context) =>
627
627
  switch (errorCode) {
628
628
  case "AccessDeniedException":
629
629
  case "com.amazonaws.identitystore#AccessDeniedException":
630
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
630
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
631
631
  case "InternalServerException":
632
632
  case "com.amazonaws.identitystore#InternalServerException":
633
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
633
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
634
634
  case "ResourceNotFoundException":
635
635
  case "com.amazonaws.identitystore#ResourceNotFoundException":
636
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
636
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
637
637
  case "ThrottlingException":
638
638
  case "com.amazonaws.identitystore#ThrottlingException":
639
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
639
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
640
640
  case "ValidationException":
641
641
  case "com.amazonaws.identitystore#ValidationException":
642
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
642
+ throw await de_ValidationExceptionRes(parsedOutput, context);
643
643
  default:
644
644
  const parsedBody = parsedOutput.body;
645
645
  throwDefaultError({
@@ -650,20 +650,20 @@ const deserializeAws_json1_1GetGroupIdCommandError = async (output, context) =>
650
650
  });
651
651
  }
652
652
  };
653
- export const deserializeAws_json1_1GetGroupMembershipIdCommand = async (output, context) => {
653
+ export const de_GetGroupMembershipIdCommand = async (output, context) => {
654
654
  if (output.statusCode >= 300) {
655
- return deserializeAws_json1_1GetGroupMembershipIdCommandError(output, context);
655
+ return de_GetGroupMembershipIdCommandError(output, context);
656
656
  }
657
657
  const data = await parseBody(output.body, context);
658
658
  let contents = {};
659
- contents = deserializeAws_json1_1GetGroupMembershipIdResponse(data, context);
659
+ contents = de_GetGroupMembershipIdResponse(data, context);
660
660
  const response = {
661
661
  $metadata: deserializeMetadata(output),
662
662
  ...contents,
663
663
  };
664
664
  return Promise.resolve(response);
665
665
  };
666
- const deserializeAws_json1_1GetGroupMembershipIdCommandError = async (output, context) => {
666
+ const de_GetGroupMembershipIdCommandError = async (output, context) => {
667
667
  const parsedOutput = {
668
668
  ...output,
669
669
  body: await parseErrorBody(output.body, context),
@@ -672,19 +672,19 @@ const deserializeAws_json1_1GetGroupMembershipIdCommandError = async (output, co
672
672
  switch (errorCode) {
673
673
  case "AccessDeniedException":
674
674
  case "com.amazonaws.identitystore#AccessDeniedException":
675
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
676
676
  case "InternalServerException":
677
677
  case "com.amazonaws.identitystore#InternalServerException":
678
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
678
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
679
679
  case "ResourceNotFoundException":
680
680
  case "com.amazonaws.identitystore#ResourceNotFoundException":
681
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
681
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
682
682
  case "ThrottlingException":
683
683
  case "com.amazonaws.identitystore#ThrottlingException":
684
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
684
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
685
685
  case "ValidationException":
686
686
  case "com.amazonaws.identitystore#ValidationException":
687
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
687
+ throw await de_ValidationExceptionRes(parsedOutput, context);
688
688
  default:
689
689
  const parsedBody = parsedOutput.body;
690
690
  throwDefaultError({
@@ -695,20 +695,20 @@ const deserializeAws_json1_1GetGroupMembershipIdCommandError = async (output, co
695
695
  });
696
696
  }
697
697
  };
698
- export const deserializeAws_json1_1GetUserIdCommand = async (output, context) => {
698
+ export const de_GetUserIdCommand = async (output, context) => {
699
699
  if (output.statusCode >= 300) {
700
- return deserializeAws_json1_1GetUserIdCommandError(output, context);
700
+ return de_GetUserIdCommandError(output, context);
701
701
  }
702
702
  const data = await parseBody(output.body, context);
703
703
  let contents = {};
704
- contents = deserializeAws_json1_1GetUserIdResponse(data, context);
704
+ contents = de_GetUserIdResponse(data, context);
705
705
  const response = {
706
706
  $metadata: deserializeMetadata(output),
707
707
  ...contents,
708
708
  };
709
709
  return Promise.resolve(response);
710
710
  };
711
- const deserializeAws_json1_1GetUserIdCommandError = async (output, context) => {
711
+ const de_GetUserIdCommandError = async (output, context) => {
712
712
  const parsedOutput = {
713
713
  ...output,
714
714
  body: await parseErrorBody(output.body, context),
@@ -717,19 +717,19 @@ const deserializeAws_json1_1GetUserIdCommandError = async (output, context) => {
717
717
  switch (errorCode) {
718
718
  case "AccessDeniedException":
719
719
  case "com.amazonaws.identitystore#AccessDeniedException":
720
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
720
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
721
721
  case "InternalServerException":
722
722
  case "com.amazonaws.identitystore#InternalServerException":
723
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
723
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
724
724
  case "ResourceNotFoundException":
725
725
  case "com.amazonaws.identitystore#ResourceNotFoundException":
726
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
726
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
727
727
  case "ThrottlingException":
728
728
  case "com.amazonaws.identitystore#ThrottlingException":
729
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
729
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
730
730
  case "ValidationException":
731
731
  case "com.amazonaws.identitystore#ValidationException":
732
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
732
+ throw await de_ValidationExceptionRes(parsedOutput, context);
733
733
  default:
734
734
  const parsedBody = parsedOutput.body;
735
735
  throwDefaultError({
@@ -740,20 +740,20 @@ const deserializeAws_json1_1GetUserIdCommandError = async (output, context) => {
740
740
  });
741
741
  }
742
742
  };
743
- export const deserializeAws_json1_1IsMemberInGroupsCommand = async (output, context) => {
743
+ export const de_IsMemberInGroupsCommand = async (output, context) => {
744
744
  if (output.statusCode >= 300) {
745
- return deserializeAws_json1_1IsMemberInGroupsCommandError(output, context);
745
+ return de_IsMemberInGroupsCommandError(output, context);
746
746
  }
747
747
  const data = await parseBody(output.body, context);
748
748
  let contents = {};
749
- contents = deserializeAws_json1_1IsMemberInGroupsResponse(data, context);
749
+ contents = de_IsMemberInGroupsResponse(data, context);
750
750
  const response = {
751
751
  $metadata: deserializeMetadata(output),
752
752
  ...contents,
753
753
  };
754
754
  return Promise.resolve(response);
755
755
  };
756
- const deserializeAws_json1_1IsMemberInGroupsCommandError = async (output, context) => {
756
+ const de_IsMemberInGroupsCommandError = async (output, context) => {
757
757
  const parsedOutput = {
758
758
  ...output,
759
759
  body: await parseErrorBody(output.body, context),
@@ -762,19 +762,19 @@ const deserializeAws_json1_1IsMemberInGroupsCommandError = async (output, contex
762
762
  switch (errorCode) {
763
763
  case "AccessDeniedException":
764
764
  case "com.amazonaws.identitystore#AccessDeniedException":
765
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
765
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
766
766
  case "InternalServerException":
767
767
  case "com.amazonaws.identitystore#InternalServerException":
768
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
768
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
769
769
  case "ResourceNotFoundException":
770
770
  case "com.amazonaws.identitystore#ResourceNotFoundException":
771
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
771
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
772
772
  case "ThrottlingException":
773
773
  case "com.amazonaws.identitystore#ThrottlingException":
774
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
774
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
775
775
  case "ValidationException":
776
776
  case "com.amazonaws.identitystore#ValidationException":
777
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
777
+ throw await de_ValidationExceptionRes(parsedOutput, context);
778
778
  default:
779
779
  const parsedBody = parsedOutput.body;
780
780
  throwDefaultError({
@@ -785,20 +785,20 @@ const deserializeAws_json1_1IsMemberInGroupsCommandError = async (output, contex
785
785
  });
786
786
  }
787
787
  };
788
- export const deserializeAws_json1_1ListGroupMembershipsCommand = async (output, context) => {
788
+ export const de_ListGroupMembershipsCommand = async (output, context) => {
789
789
  if (output.statusCode >= 300) {
790
- return deserializeAws_json1_1ListGroupMembershipsCommandError(output, context);
790
+ return de_ListGroupMembershipsCommandError(output, context);
791
791
  }
792
792
  const data = await parseBody(output.body, context);
793
793
  let contents = {};
794
- contents = deserializeAws_json1_1ListGroupMembershipsResponse(data, context);
794
+ contents = de_ListGroupMembershipsResponse(data, context);
795
795
  const response = {
796
796
  $metadata: deserializeMetadata(output),
797
797
  ...contents,
798
798
  };
799
799
  return Promise.resolve(response);
800
800
  };
801
- const deserializeAws_json1_1ListGroupMembershipsCommandError = async (output, context) => {
801
+ const de_ListGroupMembershipsCommandError = async (output, context) => {
802
802
  const parsedOutput = {
803
803
  ...output,
804
804
  body: await parseErrorBody(output.body, context),
@@ -807,19 +807,19 @@ const deserializeAws_json1_1ListGroupMembershipsCommandError = async (output, co
807
807
  switch (errorCode) {
808
808
  case "AccessDeniedException":
809
809
  case "com.amazonaws.identitystore#AccessDeniedException":
810
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
810
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
811
811
  case "InternalServerException":
812
812
  case "com.amazonaws.identitystore#InternalServerException":
813
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
813
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
814
814
  case "ResourceNotFoundException":
815
815
  case "com.amazonaws.identitystore#ResourceNotFoundException":
816
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
816
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
817
817
  case "ThrottlingException":
818
818
  case "com.amazonaws.identitystore#ThrottlingException":
819
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
819
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
820
820
  case "ValidationException":
821
821
  case "com.amazonaws.identitystore#ValidationException":
822
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
822
+ throw await de_ValidationExceptionRes(parsedOutput, context);
823
823
  default:
824
824
  const parsedBody = parsedOutput.body;
825
825
  throwDefaultError({
@@ -830,20 +830,20 @@ const deserializeAws_json1_1ListGroupMembershipsCommandError = async (output, co
830
830
  });
831
831
  }
832
832
  };
833
- export const deserializeAws_json1_1ListGroupMembershipsForMemberCommand = async (output, context) => {
833
+ export const de_ListGroupMembershipsForMemberCommand = async (output, context) => {
834
834
  if (output.statusCode >= 300) {
835
- return deserializeAws_json1_1ListGroupMembershipsForMemberCommandError(output, context);
835
+ return de_ListGroupMembershipsForMemberCommandError(output, context);
836
836
  }
837
837
  const data = await parseBody(output.body, context);
838
838
  let contents = {};
839
- contents = deserializeAws_json1_1ListGroupMembershipsForMemberResponse(data, context);
839
+ contents = de_ListGroupMembershipsForMemberResponse(data, context);
840
840
  const response = {
841
841
  $metadata: deserializeMetadata(output),
842
842
  ...contents,
843
843
  };
844
844
  return Promise.resolve(response);
845
845
  };
846
- const deserializeAws_json1_1ListGroupMembershipsForMemberCommandError = async (output, context) => {
846
+ const de_ListGroupMembershipsForMemberCommandError = async (output, context) => {
847
847
  const parsedOutput = {
848
848
  ...output,
849
849
  body: await parseErrorBody(output.body, context),
@@ -852,19 +852,19 @@ const deserializeAws_json1_1ListGroupMembershipsForMemberCommandError = async (o
852
852
  switch (errorCode) {
853
853
  case "AccessDeniedException":
854
854
  case "com.amazonaws.identitystore#AccessDeniedException":
855
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
855
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
856
856
  case "InternalServerException":
857
857
  case "com.amazonaws.identitystore#InternalServerException":
858
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
858
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
859
859
  case "ResourceNotFoundException":
860
860
  case "com.amazonaws.identitystore#ResourceNotFoundException":
861
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
861
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
862
862
  case "ThrottlingException":
863
863
  case "com.amazonaws.identitystore#ThrottlingException":
864
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
864
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
865
865
  case "ValidationException":
866
866
  case "com.amazonaws.identitystore#ValidationException":
867
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
867
+ throw await de_ValidationExceptionRes(parsedOutput, context);
868
868
  default:
869
869
  const parsedBody = parsedOutput.body;
870
870
  throwDefaultError({
@@ -875,20 +875,20 @@ const deserializeAws_json1_1ListGroupMembershipsForMemberCommandError = async (o
875
875
  });
876
876
  }
877
877
  };
878
- export const deserializeAws_json1_1ListGroupsCommand = async (output, context) => {
878
+ export const de_ListGroupsCommand = async (output, context) => {
879
879
  if (output.statusCode >= 300) {
880
- return deserializeAws_json1_1ListGroupsCommandError(output, context);
880
+ return de_ListGroupsCommandError(output, context);
881
881
  }
882
882
  const data = await parseBody(output.body, context);
883
883
  let contents = {};
884
- contents = deserializeAws_json1_1ListGroupsResponse(data, context);
884
+ contents = de_ListGroupsResponse(data, context);
885
885
  const response = {
886
886
  $metadata: deserializeMetadata(output),
887
887
  ...contents,
888
888
  };
889
889
  return Promise.resolve(response);
890
890
  };
891
- const deserializeAws_json1_1ListGroupsCommandError = async (output, context) => {
891
+ const de_ListGroupsCommandError = async (output, context) => {
892
892
  const parsedOutput = {
893
893
  ...output,
894
894
  body: await parseErrorBody(output.body, context),
@@ -897,19 +897,19 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
897
897
  switch (errorCode) {
898
898
  case "AccessDeniedException":
899
899
  case "com.amazonaws.identitystore#AccessDeniedException":
900
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
900
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
901
901
  case "InternalServerException":
902
902
  case "com.amazonaws.identitystore#InternalServerException":
903
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
903
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
904
904
  case "ResourceNotFoundException":
905
905
  case "com.amazonaws.identitystore#ResourceNotFoundException":
906
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
906
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
907
907
  case "ThrottlingException":
908
908
  case "com.amazonaws.identitystore#ThrottlingException":
909
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
909
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
910
910
  case "ValidationException":
911
911
  case "com.amazonaws.identitystore#ValidationException":
912
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
912
+ throw await de_ValidationExceptionRes(parsedOutput, context);
913
913
  default:
914
914
  const parsedBody = parsedOutput.body;
915
915
  throwDefaultError({
@@ -920,20 +920,20 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
920
920
  });
921
921
  }
922
922
  };
923
- export const deserializeAws_json1_1ListUsersCommand = async (output, context) => {
923
+ export const de_ListUsersCommand = async (output, context) => {
924
924
  if (output.statusCode >= 300) {
925
- return deserializeAws_json1_1ListUsersCommandError(output, context);
925
+ return de_ListUsersCommandError(output, context);
926
926
  }
927
927
  const data = await parseBody(output.body, context);
928
928
  let contents = {};
929
- contents = deserializeAws_json1_1ListUsersResponse(data, context);
929
+ contents = de_ListUsersResponse(data, context);
930
930
  const response = {
931
931
  $metadata: deserializeMetadata(output),
932
932
  ...contents,
933
933
  };
934
934
  return Promise.resolve(response);
935
935
  };
936
- const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
936
+ const de_ListUsersCommandError = async (output, context) => {
937
937
  const parsedOutput = {
938
938
  ...output,
939
939
  body: await parseErrorBody(output.body, context),
@@ -942,19 +942,19 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
942
942
  switch (errorCode) {
943
943
  case "AccessDeniedException":
944
944
  case "com.amazonaws.identitystore#AccessDeniedException":
945
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
945
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
946
946
  case "InternalServerException":
947
947
  case "com.amazonaws.identitystore#InternalServerException":
948
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
948
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
949
949
  case "ResourceNotFoundException":
950
950
  case "com.amazonaws.identitystore#ResourceNotFoundException":
951
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
951
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
952
952
  case "ThrottlingException":
953
953
  case "com.amazonaws.identitystore#ThrottlingException":
954
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
954
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
955
955
  case "ValidationException":
956
956
  case "com.amazonaws.identitystore#ValidationException":
957
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
957
+ throw await de_ValidationExceptionRes(parsedOutput, context);
958
958
  default:
959
959
  const parsedBody = parsedOutput.body;
960
960
  throwDefaultError({
@@ -965,20 +965,20 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
965
965
  });
966
966
  }
967
967
  };
968
- export const deserializeAws_json1_1UpdateGroupCommand = async (output, context) => {
968
+ export const de_UpdateGroupCommand = async (output, context) => {
969
969
  if (output.statusCode >= 300) {
970
- return deserializeAws_json1_1UpdateGroupCommandError(output, context);
970
+ return de_UpdateGroupCommandError(output, context);
971
971
  }
972
972
  const data = await parseBody(output.body, context);
973
973
  let contents = {};
974
- contents = deserializeAws_json1_1UpdateGroupResponse(data, context);
974
+ contents = de_UpdateGroupResponse(data, context);
975
975
  const response = {
976
976
  $metadata: deserializeMetadata(output),
977
977
  ...contents,
978
978
  };
979
979
  return Promise.resolve(response);
980
980
  };
981
- const deserializeAws_json1_1UpdateGroupCommandError = async (output, context) => {
981
+ const de_UpdateGroupCommandError = async (output, context) => {
982
982
  const parsedOutput = {
983
983
  ...output,
984
984
  body: await parseErrorBody(output.body, context),
@@ -987,25 +987,25 @@ const deserializeAws_json1_1UpdateGroupCommandError = async (output, context) =>
987
987
  switch (errorCode) {
988
988
  case "AccessDeniedException":
989
989
  case "com.amazonaws.identitystore#AccessDeniedException":
990
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
990
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
991
991
  case "ConflictException":
992
992
  case "com.amazonaws.identitystore#ConflictException":
993
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
993
+ throw await de_ConflictExceptionRes(parsedOutput, context);
994
994
  case "InternalServerException":
995
995
  case "com.amazonaws.identitystore#InternalServerException":
996
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
996
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
997
997
  case "ResourceNotFoundException":
998
998
  case "com.amazonaws.identitystore#ResourceNotFoundException":
999
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
999
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1000
1000
  case "ServiceQuotaExceededException":
1001
1001
  case "com.amazonaws.identitystore#ServiceQuotaExceededException":
1002
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1002
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1003
1003
  case "ThrottlingException":
1004
1004
  case "com.amazonaws.identitystore#ThrottlingException":
1005
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1005
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1006
1006
  case "ValidationException":
1007
1007
  case "com.amazonaws.identitystore#ValidationException":
1008
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1008
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1009
1009
  default:
1010
1010
  const parsedBody = parsedOutput.body;
1011
1011
  throwDefaultError({
@@ -1016,20 +1016,20 @@ const deserializeAws_json1_1UpdateGroupCommandError = async (output, context) =>
1016
1016
  });
1017
1017
  }
1018
1018
  };
1019
- export const deserializeAws_json1_1UpdateUserCommand = async (output, context) => {
1019
+ export const de_UpdateUserCommand = async (output, context) => {
1020
1020
  if (output.statusCode >= 300) {
1021
- return deserializeAws_json1_1UpdateUserCommandError(output, context);
1021
+ return de_UpdateUserCommandError(output, context);
1022
1022
  }
1023
1023
  const data = await parseBody(output.body, context);
1024
1024
  let contents = {};
1025
- contents = deserializeAws_json1_1UpdateUserResponse(data, context);
1025
+ contents = de_UpdateUserResponse(data, context);
1026
1026
  const response = {
1027
1027
  $metadata: deserializeMetadata(output),
1028
1028
  ...contents,
1029
1029
  };
1030
1030
  return Promise.resolve(response);
1031
1031
  };
1032
- const deserializeAws_json1_1UpdateUserCommandError = async (output, context) => {
1032
+ const de_UpdateUserCommandError = async (output, context) => {
1033
1033
  const parsedOutput = {
1034
1034
  ...output,
1035
1035
  body: await parseErrorBody(output.body, context),
@@ -1038,25 +1038,25 @@ const deserializeAws_json1_1UpdateUserCommandError = async (output, context) =>
1038
1038
  switch (errorCode) {
1039
1039
  case "AccessDeniedException":
1040
1040
  case "com.amazonaws.identitystore#AccessDeniedException":
1041
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1041
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1042
1042
  case "ConflictException":
1043
1043
  case "com.amazonaws.identitystore#ConflictException":
1044
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1044
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1045
1045
  case "InternalServerException":
1046
1046
  case "com.amazonaws.identitystore#InternalServerException":
1047
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1047
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1048
1048
  case "ResourceNotFoundException":
1049
1049
  case "com.amazonaws.identitystore#ResourceNotFoundException":
1050
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1050
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1051
1051
  case "ServiceQuotaExceededException":
1052
1052
  case "com.amazonaws.identitystore#ServiceQuotaExceededException":
1053
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1053
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1054
1054
  case "ThrottlingException":
1055
1055
  case "com.amazonaws.identitystore#ThrottlingException":
1056
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1056
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1057
1057
  case "ValidationException":
1058
1058
  case "com.amazonaws.identitystore#ValidationException":
1059
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1059
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1060
1060
  default:
1061
1061
  const parsedBody = parsedOutput.body;
1062
1062
  throwDefaultError({
@@ -1067,70 +1067,70 @@ const deserializeAws_json1_1UpdateUserCommandError = async (output, context) =>
1067
1067
  });
1068
1068
  }
1069
1069
  };
1070
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1070
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1071
1071
  const body = parsedOutput.body;
1072
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
1072
+ const deserialized = de_AccessDeniedException(body, context);
1073
1073
  const exception = new AccessDeniedException({
1074
1074
  $metadata: deserializeMetadata(parsedOutput),
1075
1075
  ...deserialized,
1076
1076
  });
1077
1077
  return __decorateServiceException(exception, body);
1078
1078
  };
1079
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
1079
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1080
1080
  const body = parsedOutput.body;
1081
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
1081
+ const deserialized = de_ConflictException(body, context);
1082
1082
  const exception = new ConflictException({
1083
1083
  $metadata: deserializeMetadata(parsedOutput),
1084
1084
  ...deserialized,
1085
1085
  });
1086
1086
  return __decorateServiceException(exception, body);
1087
1087
  };
1088
- const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
1088
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1089
1089
  const body = parsedOutput.body;
1090
- const deserialized = deserializeAws_json1_1InternalServerException(body, context);
1090
+ const deserialized = de_InternalServerException(body, context);
1091
1091
  const exception = new InternalServerException({
1092
1092
  $metadata: deserializeMetadata(parsedOutput),
1093
1093
  ...deserialized,
1094
1094
  });
1095
1095
  return __decorateServiceException(exception, body);
1096
1096
  };
1097
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1097
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1098
1098
  const body = parsedOutput.body;
1099
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
1099
+ const deserialized = de_ResourceNotFoundException(body, context);
1100
1100
  const exception = new ResourceNotFoundException({
1101
1101
  $metadata: deserializeMetadata(parsedOutput),
1102
1102
  ...deserialized,
1103
1103
  });
1104
1104
  return __decorateServiceException(exception, body);
1105
1105
  };
1106
- const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1106
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1107
1107
  const body = parsedOutput.body;
1108
- const deserialized = deserializeAws_json1_1ServiceQuotaExceededException(body, context);
1108
+ const deserialized = de_ServiceQuotaExceededException(body, context);
1109
1109
  const exception = new ServiceQuotaExceededException({
1110
1110
  $metadata: deserializeMetadata(parsedOutput),
1111
1111
  ...deserialized,
1112
1112
  });
1113
1113
  return __decorateServiceException(exception, body);
1114
1114
  };
1115
- const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1115
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1116
1116
  const body = parsedOutput.body;
1117
- const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
1117
+ const deserialized = de_ThrottlingException(body, context);
1118
1118
  const exception = new ThrottlingException({
1119
1119
  $metadata: deserializeMetadata(parsedOutput),
1120
1120
  ...deserialized,
1121
1121
  });
1122
1122
  return __decorateServiceException(exception, body);
1123
1123
  };
1124
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
1124
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1125
1125
  const body = parsedOutput.body;
1126
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
1126
+ const deserialized = de_ValidationException(body, context);
1127
1127
  const exception = new ValidationException({
1128
1128
  $metadata: deserializeMetadata(parsedOutput),
1129
1129
  ...deserialized,
1130
1130
  });
1131
1131
  return __decorateServiceException(exception, body);
1132
1132
  };
1133
- const serializeAws_json1_1Address = (input, context) => {
1133
+ const se_Address = (input, context) => {
1134
1134
  return {
1135
1135
  ...(input.Country != null && { Country: input.Country }),
1136
1136
  ...(input.Formatted != null && { Formatted: input.Formatted }),
@@ -1142,62 +1142,60 @@ const serializeAws_json1_1Address = (input, context) => {
1142
1142
  ...(input.Type != null && { Type: input.Type }),
1143
1143
  };
1144
1144
  };
1145
- const serializeAws_json1_1Addresses = (input, context) => {
1145
+ const se_Addresses = (input, context) => {
1146
1146
  return input
1147
1147
  .filter((e) => e != null)
1148
1148
  .map((entry) => {
1149
- return serializeAws_json1_1Address(entry, context);
1149
+ return se_Address(entry, context);
1150
1150
  });
1151
1151
  };
1152
- const serializeAws_json1_1AlternateIdentifier = (input, context) => {
1152
+ const se_AlternateIdentifier = (input, context) => {
1153
1153
  return AlternateIdentifier.visit(input, {
1154
- ExternalId: (value) => ({ ExternalId: serializeAws_json1_1ExternalId(value, context) }),
1155
- UniqueAttribute: (value) => ({ UniqueAttribute: serializeAws_json1_1UniqueAttribute(value, context) }),
1154
+ ExternalId: (value) => ({ ExternalId: se_ExternalId(value, context) }),
1155
+ UniqueAttribute: (value) => ({ UniqueAttribute: se_UniqueAttribute(value, context) }),
1156
1156
  _: (name, value) => ({ name: value }),
1157
1157
  });
1158
1158
  };
1159
- const serializeAws_json1_1AttributeOperation = (input, context) => {
1159
+ const se_AttributeOperation = (input, context) => {
1160
1160
  return {
1161
1161
  ...(input.AttributePath != null && { AttributePath: input.AttributePath }),
1162
- ...(input.AttributeValue != null && {
1163
- AttributeValue: serializeAws_json1_1AttributeValue(input.AttributeValue, context),
1164
- }),
1162
+ ...(input.AttributeValue != null && { AttributeValue: se_AttributeValue(input.AttributeValue, context) }),
1165
1163
  };
1166
1164
  };
1167
- const serializeAws_json1_1AttributeOperations = (input, context) => {
1165
+ const se_AttributeOperations = (input, context) => {
1168
1166
  return input
1169
1167
  .filter((e) => e != null)
1170
1168
  .map((entry) => {
1171
- return serializeAws_json1_1AttributeOperation(entry, context);
1169
+ return se_AttributeOperation(entry, context);
1172
1170
  });
1173
1171
  };
1174
- const serializeAws_json1_1AttributeValue = (input, context) => {
1172
+ const se_AttributeValue = (input, context) => {
1175
1173
  return input;
1176
1174
  };
1177
- const serializeAws_json1_1CreateGroupMembershipRequest = (input, context) => {
1175
+ const se_CreateGroupMembershipRequest = (input, context) => {
1178
1176
  return {
1179
1177
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1180
1178
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1181
- ...(input.MemberId != null && { MemberId: serializeAws_json1_1MemberId(input.MemberId, context) }),
1179
+ ...(input.MemberId != null && { MemberId: se_MemberId(input.MemberId, context) }),
1182
1180
  };
1183
1181
  };
1184
- const serializeAws_json1_1CreateGroupRequest = (input, context) => {
1182
+ const se_CreateGroupRequest = (input, context) => {
1185
1183
  return {
1186
1184
  ...(input.Description != null && { Description: input.Description }),
1187
1185
  ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
1188
1186
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1189
1187
  };
1190
1188
  };
1191
- const serializeAws_json1_1CreateUserRequest = (input, context) => {
1189
+ const se_CreateUserRequest = (input, context) => {
1192
1190
  return {
1193
- ...(input.Addresses != null && { Addresses: serializeAws_json1_1Addresses(input.Addresses, context) }),
1191
+ ...(input.Addresses != null && { Addresses: se_Addresses(input.Addresses, context) }),
1194
1192
  ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
1195
- ...(input.Emails != null && { Emails: serializeAws_json1_1Emails(input.Emails, context) }),
1193
+ ...(input.Emails != null && { Emails: se_Emails(input.Emails, context) }),
1196
1194
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1197
1195
  ...(input.Locale != null && { Locale: input.Locale }),
1198
- ...(input.Name != null && { Name: serializeAws_json1_1Name(input.Name, context) }),
1196
+ ...(input.Name != null && { Name: se_Name(input.Name, context) }),
1199
1197
  ...(input.NickName != null && { NickName: input.NickName }),
1200
- ...(input.PhoneNumbers != null && { PhoneNumbers: serializeAws_json1_1PhoneNumbers(input.PhoneNumbers, context) }),
1198
+ ...(input.PhoneNumbers != null && { PhoneNumbers: se_PhoneNumbers(input.PhoneNumbers, context) }),
1201
1199
  ...(input.PreferredLanguage != null && { PreferredLanguage: input.PreferredLanguage }),
1202
1200
  ...(input.ProfileUrl != null && { ProfileUrl: input.ProfileUrl }),
1203
1201
  ...(input.Timezone != null && { Timezone: input.Timezone }),
@@ -1206,121 +1204,121 @@ const serializeAws_json1_1CreateUserRequest = (input, context) => {
1206
1204
  ...(input.UserType != null && { UserType: input.UserType }),
1207
1205
  };
1208
1206
  };
1209
- const serializeAws_json1_1DeleteGroupMembershipRequest = (input, context) => {
1207
+ const se_DeleteGroupMembershipRequest = (input, context) => {
1210
1208
  return {
1211
1209
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1212
1210
  ...(input.MembershipId != null && { MembershipId: input.MembershipId }),
1213
1211
  };
1214
1212
  };
1215
- const serializeAws_json1_1DeleteGroupRequest = (input, context) => {
1213
+ const se_DeleteGroupRequest = (input, context) => {
1216
1214
  return {
1217
1215
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1218
1216
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1219
1217
  };
1220
1218
  };
1221
- const serializeAws_json1_1DeleteUserRequest = (input, context) => {
1219
+ const se_DeleteUserRequest = (input, context) => {
1222
1220
  return {
1223
1221
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1224
1222
  ...(input.UserId != null && { UserId: input.UserId }),
1225
1223
  };
1226
1224
  };
1227
- const serializeAws_json1_1DescribeGroupMembershipRequest = (input, context) => {
1225
+ const se_DescribeGroupMembershipRequest = (input, context) => {
1228
1226
  return {
1229
1227
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1230
1228
  ...(input.MembershipId != null && { MembershipId: input.MembershipId }),
1231
1229
  };
1232
1230
  };
1233
- const serializeAws_json1_1DescribeGroupRequest = (input, context) => {
1231
+ const se_DescribeGroupRequest = (input, context) => {
1234
1232
  return {
1235
1233
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1236
1234
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1237
1235
  };
1238
1236
  };
1239
- const serializeAws_json1_1DescribeUserRequest = (input, context) => {
1237
+ const se_DescribeUserRequest = (input, context) => {
1240
1238
  return {
1241
1239
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1242
1240
  ...(input.UserId != null && { UserId: input.UserId }),
1243
1241
  };
1244
1242
  };
1245
- const serializeAws_json1_1Email = (input, context) => {
1243
+ const se_Email = (input, context) => {
1246
1244
  return {
1247
1245
  ...(input.Primary != null && { Primary: input.Primary }),
1248
1246
  ...(input.Type != null && { Type: input.Type }),
1249
1247
  ...(input.Value != null && { Value: input.Value }),
1250
1248
  };
1251
1249
  };
1252
- const serializeAws_json1_1Emails = (input, context) => {
1250
+ const se_Emails = (input, context) => {
1253
1251
  return input
1254
1252
  .filter((e) => e != null)
1255
1253
  .map((entry) => {
1256
- return serializeAws_json1_1Email(entry, context);
1254
+ return se_Email(entry, context);
1257
1255
  });
1258
1256
  };
1259
- const serializeAws_json1_1ExternalId = (input, context) => {
1257
+ const se_ExternalId = (input, context) => {
1260
1258
  return {
1261
1259
  ...(input.Id != null && { Id: input.Id }),
1262
1260
  ...(input.Issuer != null && { Issuer: input.Issuer }),
1263
1261
  };
1264
1262
  };
1265
- const serializeAws_json1_1Filter = (input, context) => {
1263
+ const se_Filter = (input, context) => {
1266
1264
  return {
1267
1265
  ...(input.AttributePath != null && { AttributePath: input.AttributePath }),
1268
1266
  ...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
1269
1267
  };
1270
1268
  };
1271
- const serializeAws_json1_1Filters = (input, context) => {
1269
+ const se_Filters = (input, context) => {
1272
1270
  return input
1273
1271
  .filter((e) => e != null)
1274
1272
  .map((entry) => {
1275
- return serializeAws_json1_1Filter(entry, context);
1273
+ return se_Filter(entry, context);
1276
1274
  });
1277
1275
  };
1278
- const serializeAws_json1_1GetGroupIdRequest = (input, context) => {
1276
+ const se_GetGroupIdRequest = (input, context) => {
1279
1277
  return {
1280
1278
  ...(input.AlternateIdentifier != null && {
1281
- AlternateIdentifier: serializeAws_json1_1AlternateIdentifier(input.AlternateIdentifier, context),
1279
+ AlternateIdentifier: se_AlternateIdentifier(input.AlternateIdentifier, context),
1282
1280
  }),
1283
1281
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1284
1282
  };
1285
1283
  };
1286
- const serializeAws_json1_1GetGroupMembershipIdRequest = (input, context) => {
1284
+ const se_GetGroupMembershipIdRequest = (input, context) => {
1287
1285
  return {
1288
1286
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1289
1287
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1290
- ...(input.MemberId != null && { MemberId: serializeAws_json1_1MemberId(input.MemberId, context) }),
1288
+ ...(input.MemberId != null && { MemberId: se_MemberId(input.MemberId, context) }),
1291
1289
  };
1292
1290
  };
1293
- const serializeAws_json1_1GetUserIdRequest = (input, context) => {
1291
+ const se_GetUserIdRequest = (input, context) => {
1294
1292
  return {
1295
1293
  ...(input.AlternateIdentifier != null && {
1296
- AlternateIdentifier: serializeAws_json1_1AlternateIdentifier(input.AlternateIdentifier, context),
1294
+ AlternateIdentifier: se_AlternateIdentifier(input.AlternateIdentifier, context),
1297
1295
  }),
1298
1296
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1299
1297
  };
1300
1298
  };
1301
- const serializeAws_json1_1GroupIds = (input, context) => {
1299
+ const se_GroupIds = (input, context) => {
1302
1300
  return input
1303
1301
  .filter((e) => e != null)
1304
1302
  .map((entry) => {
1305
1303
  return entry;
1306
1304
  });
1307
1305
  };
1308
- const serializeAws_json1_1IsMemberInGroupsRequest = (input, context) => {
1306
+ const se_IsMemberInGroupsRequest = (input, context) => {
1309
1307
  return {
1310
- ...(input.GroupIds != null && { GroupIds: serializeAws_json1_1GroupIds(input.GroupIds, context) }),
1308
+ ...(input.GroupIds != null && { GroupIds: se_GroupIds(input.GroupIds, context) }),
1311
1309
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1312
- ...(input.MemberId != null && { MemberId: serializeAws_json1_1MemberId(input.MemberId, context) }),
1310
+ ...(input.MemberId != null && { MemberId: se_MemberId(input.MemberId, context) }),
1313
1311
  };
1314
1312
  };
1315
- const serializeAws_json1_1ListGroupMembershipsForMemberRequest = (input, context) => {
1313
+ const se_ListGroupMembershipsForMemberRequest = (input, context) => {
1316
1314
  return {
1317
1315
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1318
1316
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1319
- ...(input.MemberId != null && { MemberId: serializeAws_json1_1MemberId(input.MemberId, context) }),
1317
+ ...(input.MemberId != null && { MemberId: se_MemberId(input.MemberId, context) }),
1320
1318
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1321
1319
  };
1322
1320
  };
1323
- const serializeAws_json1_1ListGroupMembershipsRequest = (input, context) => {
1321
+ const se_ListGroupMembershipsRequest = (input, context) => {
1324
1322
  return {
1325
1323
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1326
1324
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
@@ -1328,29 +1326,29 @@ const serializeAws_json1_1ListGroupMembershipsRequest = (input, context) => {
1328
1326
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1329
1327
  };
1330
1328
  };
1331
- const serializeAws_json1_1ListGroupsRequest = (input, context) => {
1329
+ const se_ListGroupsRequest = (input, context) => {
1332
1330
  return {
1333
- ...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
1331
+ ...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
1334
1332
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1335
1333
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1336
1334
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1337
1335
  };
1338
1336
  };
1339
- const serializeAws_json1_1ListUsersRequest = (input, context) => {
1337
+ const se_ListUsersRequest = (input, context) => {
1340
1338
  return {
1341
- ...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
1339
+ ...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
1342
1340
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1343
1341
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1344
1342
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1345
1343
  };
1346
1344
  };
1347
- const serializeAws_json1_1MemberId = (input, context) => {
1345
+ const se_MemberId = (input, context) => {
1348
1346
  return MemberId.visit(input, {
1349
1347
  UserId: (value) => ({ UserId: value }),
1350
1348
  _: (name, value) => ({ name: value }),
1351
1349
  });
1352
1350
  };
1353
- const serializeAws_json1_1Name = (input, context) => {
1351
+ const se_Name = (input, context) => {
1354
1352
  return {
1355
1353
  ...(input.FamilyName != null && { FamilyName: input.FamilyName }),
1356
1354
  ...(input.Formatted != null && { Formatted: input.Formatted }),
@@ -1360,49 +1358,47 @@ const serializeAws_json1_1Name = (input, context) => {
1360
1358
  ...(input.MiddleName != null && { MiddleName: input.MiddleName }),
1361
1359
  };
1362
1360
  };
1363
- const serializeAws_json1_1PhoneNumber = (input, context) => {
1361
+ const se_PhoneNumber = (input, context) => {
1364
1362
  return {
1365
1363
  ...(input.Primary != null && { Primary: input.Primary }),
1366
1364
  ...(input.Type != null && { Type: input.Type }),
1367
1365
  ...(input.Value != null && { Value: input.Value }),
1368
1366
  };
1369
1367
  };
1370
- const serializeAws_json1_1PhoneNumbers = (input, context) => {
1368
+ const se_PhoneNumbers = (input, context) => {
1371
1369
  return input
1372
1370
  .filter((e) => e != null)
1373
1371
  .map((entry) => {
1374
- return serializeAws_json1_1PhoneNumber(entry, context);
1372
+ return se_PhoneNumber(entry, context);
1375
1373
  });
1376
1374
  };
1377
- const serializeAws_json1_1UniqueAttribute = (input, context) => {
1375
+ const se_UniqueAttribute = (input, context) => {
1378
1376
  return {
1379
1377
  ...(input.AttributePath != null && { AttributePath: input.AttributePath }),
1380
- ...(input.AttributeValue != null && {
1381
- AttributeValue: serializeAws_json1_1AttributeValue(input.AttributeValue, context),
1382
- }),
1378
+ ...(input.AttributeValue != null && { AttributeValue: se_AttributeValue(input.AttributeValue, context) }),
1383
1379
  };
1384
1380
  };
1385
- const serializeAws_json1_1UpdateGroupRequest = (input, context) => {
1381
+ const se_UpdateGroupRequest = (input, context) => {
1386
1382
  return {
1387
1383
  ...(input.GroupId != null && { GroupId: input.GroupId }),
1388
1384
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1389
- ...(input.Operations != null && { Operations: serializeAws_json1_1AttributeOperations(input.Operations, context) }),
1385
+ ...(input.Operations != null && { Operations: se_AttributeOperations(input.Operations, context) }),
1390
1386
  };
1391
1387
  };
1392
- const serializeAws_json1_1UpdateUserRequest = (input, context) => {
1388
+ const se_UpdateUserRequest = (input, context) => {
1393
1389
  return {
1394
1390
  ...(input.IdentityStoreId != null && { IdentityStoreId: input.IdentityStoreId }),
1395
- ...(input.Operations != null && { Operations: serializeAws_json1_1AttributeOperations(input.Operations, context) }),
1391
+ ...(input.Operations != null && { Operations: se_AttributeOperations(input.Operations, context) }),
1396
1392
  ...(input.UserId != null && { UserId: input.UserId }),
1397
1393
  };
1398
1394
  };
1399
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
1395
+ const de_AccessDeniedException = (output, context) => {
1400
1396
  return {
1401
1397
  Message: __expectString(output.Message),
1402
1398
  RequestId: __expectString(output.RequestId),
1403
1399
  };
1404
1400
  };
1405
- const deserializeAws_json1_1Address = (output, context) => {
1401
+ const de_Address = (output, context) => {
1406
1402
  return {
1407
1403
  Country: __expectString(output.Country),
1408
1404
  Formatted: __expectString(output.Formatted),
@@ -1414,79 +1410,79 @@ const deserializeAws_json1_1Address = (output, context) => {
1414
1410
  Type: __expectString(output.Type),
1415
1411
  };
1416
1412
  };
1417
- const deserializeAws_json1_1Addresses = (output, context) => {
1413
+ const de_Addresses = (output, context) => {
1418
1414
  const retVal = (output || [])
1419
1415
  .filter((e) => e != null)
1420
1416
  .map((entry) => {
1421
1417
  if (entry === null) {
1422
1418
  return null;
1423
1419
  }
1424
- return deserializeAws_json1_1Address(entry, context);
1420
+ return de_Address(entry, context);
1425
1421
  });
1426
1422
  return retVal;
1427
1423
  };
1428
- const deserializeAws_json1_1ConflictException = (output, context) => {
1424
+ const de_ConflictException = (output, context) => {
1429
1425
  return {
1430
1426
  Message: __expectString(output.Message),
1431
1427
  Reason: __expectString(output.Reason),
1432
1428
  RequestId: __expectString(output.RequestId),
1433
1429
  };
1434
1430
  };
1435
- const deserializeAws_json1_1CreateGroupMembershipResponse = (output, context) => {
1431
+ const de_CreateGroupMembershipResponse = (output, context) => {
1436
1432
  return {
1437
1433
  IdentityStoreId: __expectString(output.IdentityStoreId),
1438
1434
  MembershipId: __expectString(output.MembershipId),
1439
1435
  };
1440
1436
  };
1441
- const deserializeAws_json1_1CreateGroupResponse = (output, context) => {
1437
+ const de_CreateGroupResponse = (output, context) => {
1442
1438
  return {
1443
1439
  GroupId: __expectString(output.GroupId),
1444
1440
  IdentityStoreId: __expectString(output.IdentityStoreId),
1445
1441
  };
1446
1442
  };
1447
- const deserializeAws_json1_1CreateUserResponse = (output, context) => {
1443
+ const de_CreateUserResponse = (output, context) => {
1448
1444
  return {
1449
1445
  IdentityStoreId: __expectString(output.IdentityStoreId),
1450
1446
  UserId: __expectString(output.UserId),
1451
1447
  };
1452
1448
  };
1453
- const deserializeAws_json1_1DeleteGroupMembershipResponse = (output, context) => {
1449
+ const de_DeleteGroupMembershipResponse = (output, context) => {
1454
1450
  return {};
1455
1451
  };
1456
- const deserializeAws_json1_1DeleteGroupResponse = (output, context) => {
1452
+ const de_DeleteGroupResponse = (output, context) => {
1457
1453
  return {};
1458
1454
  };
1459
- const deserializeAws_json1_1DeleteUserResponse = (output, context) => {
1455
+ const de_DeleteUserResponse = (output, context) => {
1460
1456
  return {};
1461
1457
  };
1462
- const deserializeAws_json1_1DescribeGroupMembershipResponse = (output, context) => {
1458
+ const de_DescribeGroupMembershipResponse = (output, context) => {
1463
1459
  return {
1464
1460
  GroupId: __expectString(output.GroupId),
1465
1461
  IdentityStoreId: __expectString(output.IdentityStoreId),
1466
- MemberId: output.MemberId != null ? deserializeAws_json1_1MemberId(__expectUnion(output.MemberId), context) : undefined,
1462
+ MemberId: output.MemberId != null ? de_MemberId(__expectUnion(output.MemberId), context) : undefined,
1467
1463
  MembershipId: __expectString(output.MembershipId),
1468
1464
  };
1469
1465
  };
1470
- const deserializeAws_json1_1DescribeGroupResponse = (output, context) => {
1466
+ const de_DescribeGroupResponse = (output, context) => {
1471
1467
  return {
1472
1468
  Description: __expectString(output.Description),
1473
1469
  DisplayName: __expectString(output.DisplayName),
1474
- ExternalIds: output.ExternalIds != null ? deserializeAws_json1_1ExternalIds(output.ExternalIds, context) : undefined,
1470
+ ExternalIds: output.ExternalIds != null ? de_ExternalIds(output.ExternalIds, context) : undefined,
1475
1471
  GroupId: __expectString(output.GroupId),
1476
1472
  IdentityStoreId: __expectString(output.IdentityStoreId),
1477
1473
  };
1478
1474
  };
1479
- const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
1475
+ const de_DescribeUserResponse = (output, context) => {
1480
1476
  return {
1481
- Addresses: output.Addresses != null ? deserializeAws_json1_1Addresses(output.Addresses, context) : undefined,
1477
+ Addresses: output.Addresses != null ? de_Addresses(output.Addresses, context) : undefined,
1482
1478
  DisplayName: __expectString(output.DisplayName),
1483
- Emails: output.Emails != null ? deserializeAws_json1_1Emails(output.Emails, context) : undefined,
1484
- ExternalIds: output.ExternalIds != null ? deserializeAws_json1_1ExternalIds(output.ExternalIds, context) : undefined,
1479
+ Emails: output.Emails != null ? de_Emails(output.Emails, context) : undefined,
1480
+ ExternalIds: output.ExternalIds != null ? de_ExternalIds(output.ExternalIds, context) : undefined,
1485
1481
  IdentityStoreId: __expectString(output.IdentityStoreId),
1486
1482
  Locale: __expectString(output.Locale),
1487
- Name: output.Name != null ? deserializeAws_json1_1Name(output.Name, context) : undefined,
1483
+ Name: output.Name != null ? de_Name(output.Name, context) : undefined,
1488
1484
  NickName: __expectString(output.NickName),
1489
- PhoneNumbers: output.PhoneNumbers != null ? deserializeAws_json1_1PhoneNumbers(output.PhoneNumbers, context) : undefined,
1485
+ PhoneNumbers: output.PhoneNumbers != null ? de_PhoneNumbers(output.PhoneNumbers, context) : undefined,
1490
1486
  PreferredLanguage: __expectString(output.PreferredLanguage),
1491
1487
  ProfileUrl: __expectString(output.ProfileUrl),
1492
1488
  Timezone: __expectString(output.Timezone),
@@ -1496,165 +1492,159 @@ const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
1496
1492
  UserType: __expectString(output.UserType),
1497
1493
  };
1498
1494
  };
1499
- const deserializeAws_json1_1Email = (output, context) => {
1495
+ const de_Email = (output, context) => {
1500
1496
  return {
1501
1497
  Primary: __expectBoolean(output.Primary),
1502
1498
  Type: __expectString(output.Type),
1503
1499
  Value: __expectString(output.Value),
1504
1500
  };
1505
1501
  };
1506
- const deserializeAws_json1_1Emails = (output, context) => {
1502
+ const de_Emails = (output, context) => {
1507
1503
  const retVal = (output || [])
1508
1504
  .filter((e) => e != null)
1509
1505
  .map((entry) => {
1510
1506
  if (entry === null) {
1511
1507
  return null;
1512
1508
  }
1513
- return deserializeAws_json1_1Email(entry, context);
1509
+ return de_Email(entry, context);
1514
1510
  });
1515
1511
  return retVal;
1516
1512
  };
1517
- const deserializeAws_json1_1ExternalId = (output, context) => {
1513
+ const de_ExternalId = (output, context) => {
1518
1514
  return {
1519
1515
  Id: __expectString(output.Id),
1520
1516
  Issuer: __expectString(output.Issuer),
1521
1517
  };
1522
1518
  };
1523
- const deserializeAws_json1_1ExternalIds = (output, context) => {
1519
+ const de_ExternalIds = (output, context) => {
1524
1520
  const retVal = (output || [])
1525
1521
  .filter((e) => e != null)
1526
1522
  .map((entry) => {
1527
1523
  if (entry === null) {
1528
1524
  return null;
1529
1525
  }
1530
- return deserializeAws_json1_1ExternalId(entry, context);
1526
+ return de_ExternalId(entry, context);
1531
1527
  });
1532
1528
  return retVal;
1533
1529
  };
1534
- const deserializeAws_json1_1GetGroupIdResponse = (output, context) => {
1530
+ const de_GetGroupIdResponse = (output, context) => {
1535
1531
  return {
1536
1532
  GroupId: __expectString(output.GroupId),
1537
1533
  IdentityStoreId: __expectString(output.IdentityStoreId),
1538
1534
  };
1539
1535
  };
1540
- const deserializeAws_json1_1GetGroupMembershipIdResponse = (output, context) => {
1536
+ const de_GetGroupMembershipIdResponse = (output, context) => {
1541
1537
  return {
1542
1538
  IdentityStoreId: __expectString(output.IdentityStoreId),
1543
1539
  MembershipId: __expectString(output.MembershipId),
1544
1540
  };
1545
1541
  };
1546
- const deserializeAws_json1_1GetUserIdResponse = (output, context) => {
1542
+ const de_GetUserIdResponse = (output, context) => {
1547
1543
  return {
1548
1544
  IdentityStoreId: __expectString(output.IdentityStoreId),
1549
1545
  UserId: __expectString(output.UserId),
1550
1546
  };
1551
1547
  };
1552
- const deserializeAws_json1_1Group = (output, context) => {
1548
+ const de_Group = (output, context) => {
1553
1549
  return {
1554
1550
  Description: __expectString(output.Description),
1555
1551
  DisplayName: __expectString(output.DisplayName),
1556
- ExternalIds: output.ExternalIds != null ? deserializeAws_json1_1ExternalIds(output.ExternalIds, context) : undefined,
1552
+ ExternalIds: output.ExternalIds != null ? de_ExternalIds(output.ExternalIds, context) : undefined,
1557
1553
  GroupId: __expectString(output.GroupId),
1558
1554
  IdentityStoreId: __expectString(output.IdentityStoreId),
1559
1555
  };
1560
1556
  };
1561
- const deserializeAws_json1_1GroupMembership = (output, context) => {
1557
+ const de_GroupMembership = (output, context) => {
1562
1558
  return {
1563
1559
  GroupId: __expectString(output.GroupId),
1564
1560
  IdentityStoreId: __expectString(output.IdentityStoreId),
1565
- MemberId: output.MemberId != null ? deserializeAws_json1_1MemberId(__expectUnion(output.MemberId), context) : undefined,
1561
+ MemberId: output.MemberId != null ? de_MemberId(__expectUnion(output.MemberId), context) : undefined,
1566
1562
  MembershipId: __expectString(output.MembershipId),
1567
1563
  };
1568
1564
  };
1569
- const deserializeAws_json1_1GroupMembershipExistenceResult = (output, context) => {
1565
+ const de_GroupMembershipExistenceResult = (output, context) => {
1570
1566
  return {
1571
1567
  GroupId: __expectString(output.GroupId),
1572
- MemberId: output.MemberId != null ? deserializeAws_json1_1MemberId(__expectUnion(output.MemberId), context) : undefined,
1568
+ MemberId: output.MemberId != null ? de_MemberId(__expectUnion(output.MemberId), context) : undefined,
1573
1569
  MembershipExists: __expectBoolean(output.MembershipExists),
1574
1570
  };
1575
1571
  };
1576
- const deserializeAws_json1_1GroupMembershipExistenceResults = (output, context) => {
1572
+ const de_GroupMembershipExistenceResults = (output, context) => {
1577
1573
  const retVal = (output || [])
1578
1574
  .filter((e) => e != null)
1579
1575
  .map((entry) => {
1580
1576
  if (entry === null) {
1581
1577
  return null;
1582
1578
  }
1583
- return deserializeAws_json1_1GroupMembershipExistenceResult(entry, context);
1579
+ return de_GroupMembershipExistenceResult(entry, context);
1584
1580
  });
1585
1581
  return retVal;
1586
1582
  };
1587
- const deserializeAws_json1_1GroupMemberships = (output, context) => {
1583
+ const de_GroupMemberships = (output, context) => {
1588
1584
  const retVal = (output || [])
1589
1585
  .filter((e) => e != null)
1590
1586
  .map((entry) => {
1591
1587
  if (entry === null) {
1592
1588
  return null;
1593
1589
  }
1594
- return deserializeAws_json1_1GroupMembership(entry, context);
1590
+ return de_GroupMembership(entry, context);
1595
1591
  });
1596
1592
  return retVal;
1597
1593
  };
1598
- const deserializeAws_json1_1Groups = (output, context) => {
1594
+ const de_Groups = (output, context) => {
1599
1595
  const retVal = (output || [])
1600
1596
  .filter((e) => e != null)
1601
1597
  .map((entry) => {
1602
1598
  if (entry === null) {
1603
1599
  return null;
1604
1600
  }
1605
- return deserializeAws_json1_1Group(entry, context);
1601
+ return de_Group(entry, context);
1606
1602
  });
1607
1603
  return retVal;
1608
1604
  };
1609
- const deserializeAws_json1_1InternalServerException = (output, context) => {
1605
+ const de_InternalServerException = (output, context) => {
1610
1606
  return {
1611
1607
  Message: __expectString(output.Message),
1612
1608
  RequestId: __expectString(output.RequestId),
1613
1609
  RetryAfterSeconds: __expectInt32(output.RetryAfterSeconds),
1614
1610
  };
1615
1611
  };
1616
- const deserializeAws_json1_1IsMemberInGroupsResponse = (output, context) => {
1612
+ const de_IsMemberInGroupsResponse = (output, context) => {
1617
1613
  return {
1618
- Results: output.Results != null
1619
- ? deserializeAws_json1_1GroupMembershipExistenceResults(output.Results, context)
1620
- : undefined,
1614
+ Results: output.Results != null ? de_GroupMembershipExistenceResults(output.Results, context) : undefined,
1621
1615
  };
1622
1616
  };
1623
- const deserializeAws_json1_1ListGroupMembershipsForMemberResponse = (output, context) => {
1617
+ const de_ListGroupMembershipsForMemberResponse = (output, context) => {
1624
1618
  return {
1625
- GroupMemberships: output.GroupMemberships != null
1626
- ? deserializeAws_json1_1GroupMemberships(output.GroupMemberships, context)
1627
- : undefined,
1619
+ GroupMemberships: output.GroupMemberships != null ? de_GroupMemberships(output.GroupMemberships, context) : undefined,
1628
1620
  NextToken: __expectString(output.NextToken),
1629
1621
  };
1630
1622
  };
1631
- const deserializeAws_json1_1ListGroupMembershipsResponse = (output, context) => {
1623
+ const de_ListGroupMembershipsResponse = (output, context) => {
1632
1624
  return {
1633
- GroupMemberships: output.GroupMemberships != null
1634
- ? deserializeAws_json1_1GroupMemberships(output.GroupMemberships, context)
1635
- : undefined,
1625
+ GroupMemberships: output.GroupMemberships != null ? de_GroupMemberships(output.GroupMemberships, context) : undefined,
1636
1626
  NextToken: __expectString(output.NextToken),
1637
1627
  };
1638
1628
  };
1639
- const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
1629
+ const de_ListGroupsResponse = (output, context) => {
1640
1630
  return {
1641
- Groups: output.Groups != null ? deserializeAws_json1_1Groups(output.Groups, context) : undefined,
1631
+ Groups: output.Groups != null ? de_Groups(output.Groups, context) : undefined,
1642
1632
  NextToken: __expectString(output.NextToken),
1643
1633
  };
1644
1634
  };
1645
- const deserializeAws_json1_1ListUsersResponse = (output, context) => {
1635
+ const de_ListUsersResponse = (output, context) => {
1646
1636
  return {
1647
1637
  NextToken: __expectString(output.NextToken),
1648
- Users: output.Users != null ? deserializeAws_json1_1Users(output.Users, context) : undefined,
1638
+ Users: output.Users != null ? de_Users(output.Users, context) : undefined,
1649
1639
  };
1650
1640
  };
1651
- const deserializeAws_json1_1MemberId = (output, context) => {
1641
+ const de_MemberId = (output, context) => {
1652
1642
  if (__expectString(output.UserId) !== undefined) {
1653
1643
  return { UserId: __expectString(output.UserId) };
1654
1644
  }
1655
1645
  return { $unknown: Object.entries(output)[0] };
1656
1646
  };
1657
- const deserializeAws_json1_1Name = (output, context) => {
1647
+ const de_Name = (output, context) => {
1658
1648
  return {
1659
1649
  FamilyName: __expectString(output.FamilyName),
1660
1650
  Formatted: __expectString(output.Formatted),
@@ -1664,25 +1654,25 @@ const deserializeAws_json1_1Name = (output, context) => {
1664
1654
  MiddleName: __expectString(output.MiddleName),
1665
1655
  };
1666
1656
  };
1667
- const deserializeAws_json1_1PhoneNumber = (output, context) => {
1657
+ const de_PhoneNumber = (output, context) => {
1668
1658
  return {
1669
1659
  Primary: __expectBoolean(output.Primary),
1670
1660
  Type: __expectString(output.Type),
1671
1661
  Value: __expectString(output.Value),
1672
1662
  };
1673
1663
  };
1674
- const deserializeAws_json1_1PhoneNumbers = (output, context) => {
1664
+ const de_PhoneNumbers = (output, context) => {
1675
1665
  const retVal = (output || [])
1676
1666
  .filter((e) => e != null)
1677
1667
  .map((entry) => {
1678
1668
  if (entry === null) {
1679
1669
  return null;
1680
1670
  }
1681
- return deserializeAws_json1_1PhoneNumber(entry, context);
1671
+ return de_PhoneNumber(entry, context);
1682
1672
  });
1683
1673
  return retVal;
1684
1674
  };
1685
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
1675
+ const de_ResourceNotFoundException = (output, context) => {
1686
1676
  return {
1687
1677
  Message: __expectString(output.Message),
1688
1678
  RequestId: __expectString(output.RequestId),
@@ -1690,36 +1680,36 @@ const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
1690
1680
  ResourceType: __expectString(output.ResourceType),
1691
1681
  };
1692
1682
  };
1693
- const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
1683
+ const de_ServiceQuotaExceededException = (output, context) => {
1694
1684
  return {
1695
1685
  Message: __expectString(output.Message),
1696
1686
  RequestId: __expectString(output.RequestId),
1697
1687
  };
1698
1688
  };
1699
- const deserializeAws_json1_1ThrottlingException = (output, context) => {
1689
+ const de_ThrottlingException = (output, context) => {
1700
1690
  return {
1701
1691
  Message: __expectString(output.Message),
1702
1692
  RequestId: __expectString(output.RequestId),
1703
1693
  RetryAfterSeconds: __expectInt32(output.RetryAfterSeconds),
1704
1694
  };
1705
1695
  };
1706
- const deserializeAws_json1_1UpdateGroupResponse = (output, context) => {
1696
+ const de_UpdateGroupResponse = (output, context) => {
1707
1697
  return {};
1708
1698
  };
1709
- const deserializeAws_json1_1UpdateUserResponse = (output, context) => {
1699
+ const de_UpdateUserResponse = (output, context) => {
1710
1700
  return {};
1711
1701
  };
1712
- const deserializeAws_json1_1User = (output, context) => {
1702
+ const de_User = (output, context) => {
1713
1703
  return {
1714
- Addresses: output.Addresses != null ? deserializeAws_json1_1Addresses(output.Addresses, context) : undefined,
1704
+ Addresses: output.Addresses != null ? de_Addresses(output.Addresses, context) : undefined,
1715
1705
  DisplayName: __expectString(output.DisplayName),
1716
- Emails: output.Emails != null ? deserializeAws_json1_1Emails(output.Emails, context) : undefined,
1717
- ExternalIds: output.ExternalIds != null ? deserializeAws_json1_1ExternalIds(output.ExternalIds, context) : undefined,
1706
+ Emails: output.Emails != null ? de_Emails(output.Emails, context) : undefined,
1707
+ ExternalIds: output.ExternalIds != null ? de_ExternalIds(output.ExternalIds, context) : undefined,
1718
1708
  IdentityStoreId: __expectString(output.IdentityStoreId),
1719
1709
  Locale: __expectString(output.Locale),
1720
- Name: output.Name != null ? deserializeAws_json1_1Name(output.Name, context) : undefined,
1710
+ Name: output.Name != null ? de_Name(output.Name, context) : undefined,
1721
1711
  NickName: __expectString(output.NickName),
1722
- PhoneNumbers: output.PhoneNumbers != null ? deserializeAws_json1_1PhoneNumbers(output.PhoneNumbers, context) : undefined,
1712
+ PhoneNumbers: output.PhoneNumbers != null ? de_PhoneNumbers(output.PhoneNumbers, context) : undefined,
1723
1713
  PreferredLanguage: __expectString(output.PreferredLanguage),
1724
1714
  ProfileUrl: __expectString(output.ProfileUrl),
1725
1715
  Timezone: __expectString(output.Timezone),
@@ -1729,18 +1719,18 @@ const deserializeAws_json1_1User = (output, context) => {
1729
1719
  UserType: __expectString(output.UserType),
1730
1720
  };
1731
1721
  };
1732
- const deserializeAws_json1_1Users = (output, context) => {
1722
+ const de_Users = (output, context) => {
1733
1723
  const retVal = (output || [])
1734
1724
  .filter((e) => e != null)
1735
1725
  .map((entry) => {
1736
1726
  if (entry === null) {
1737
1727
  return null;
1738
1728
  }
1739
- return deserializeAws_json1_1User(entry, context);
1729
+ return de_User(entry, context);
1740
1730
  });
1741
1731
  return retVal;
1742
1732
  };
1743
- const deserializeAws_json1_1ValidationException = (output, context) => {
1733
+ const de_ValidationException = (output, context) => {
1744
1734
  return {
1745
1735
  Message: __expectString(output.Message),
1746
1736
  RequestId: __expectString(output.RequestId),