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