@aws-sdk/client-workmail 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +642 -2203
- package/dist-es/protocols/Aws_json1_1.js +643 -2204
- package/package.json +6 -6
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { DirectoryInUseException, DirectoryServiceAuthenticationFailedException, DirectoryUnavailableException, EmailAddressInUseException, EntityAlreadyRegisteredException, EntityNotFoundException, EntityStateException, InvalidConfigurationException, InvalidCustomSesConfigurationException, InvalidParameterException, InvalidPasswordException, LimitExceededException, MailDomainInUseException, MailDomainNotFoundException, MailDomainStateException, NameAvailabilityException, OrganizationNotFoundException, OrganizationStateException, ReservedNameException, ResourceNotFoundException, TooManyTagsException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
5
|
import { WorkMailServiceException as __BaseException } from "../models/WorkMailServiceException";
|
|
6
6
|
export const se_AssociateDelegateToResourceCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AssociateDelegateToResource");
|
|
8
8
|
let body;
|
|
9
|
-
body = JSON.stringify(
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
11
|
};
|
|
12
12
|
export const se_AssociateMemberToGroupCommand = async (input, context) => {
|
|
13
13
|
const headers = sharedHeaders("AssociateMemberToGroup");
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
18
|
export const se_AssumeImpersonationRoleCommand = async (input, context) => {
|
|
19
19
|
const headers = sharedHeaders("AssumeImpersonationRole");
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(_json(input));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
24
|
export const se_CancelMailboxExportJobCommand = async (input, context) => {
|
|
@@ -30,7 +30,7 @@ export const se_CancelMailboxExportJobCommand = async (input, context) => {
|
|
|
30
30
|
export const se_CreateAliasCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateAlias");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify(_json(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
export const se_CreateAvailabilityConfigurationCommand = async (input, context) => {
|
|
@@ -42,7 +42,7 @@ export const se_CreateAvailabilityConfigurationCommand = async (input, context)
|
|
|
42
42
|
export const se_CreateGroupCommand = async (input, context) => {
|
|
43
43
|
const headers = sharedHeaders("CreateGroup");
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
48
|
export const se_CreateImpersonationRoleCommand = async (input, context) => {
|
|
@@ -66,67 +66,67 @@ export const se_CreateOrganizationCommand = async (input, context) => {
|
|
|
66
66
|
export const se_CreateResourceCommand = async (input, context) => {
|
|
67
67
|
const headers = sharedHeaders("CreateResource");
|
|
68
68
|
let body;
|
|
69
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify(_json(input));
|
|
70
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
71
|
};
|
|
72
72
|
export const se_CreateUserCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("CreateUser");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(_json(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
export const se_DeleteAccessControlRuleCommand = async (input, context) => {
|
|
79
79
|
const headers = sharedHeaders("DeleteAccessControlRule");
|
|
80
80
|
let body;
|
|
81
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify(_json(input));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
84
|
export const se_DeleteAliasCommand = async (input, context) => {
|
|
85
85
|
const headers = sharedHeaders("DeleteAlias");
|
|
86
86
|
let body;
|
|
87
|
-
body = JSON.stringify(
|
|
87
|
+
body = JSON.stringify(_json(input));
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
90
|
export const se_DeleteAvailabilityConfigurationCommand = async (input, context) => {
|
|
91
91
|
const headers = sharedHeaders("DeleteAvailabilityConfiguration");
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
96
|
export const se_DeleteEmailMonitoringConfigurationCommand = async (input, context) => {
|
|
97
97
|
const headers = sharedHeaders("DeleteEmailMonitoringConfiguration");
|
|
98
98
|
let body;
|
|
99
|
-
body = JSON.stringify(
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
100
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
101
|
};
|
|
102
102
|
export const se_DeleteGroupCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("DeleteGroup");
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(_json(input));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
108
|
export const se_DeleteImpersonationRoleCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("DeleteImpersonationRole");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
export const se_DeleteMailboxPermissionsCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("DeleteMailboxPermissions");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify(_json(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
export const se_DeleteMobileDeviceAccessOverrideCommand = async (input, context) => {
|
|
121
121
|
const headers = sharedHeaders("DeleteMobileDeviceAccessOverride");
|
|
122
122
|
let body;
|
|
123
|
-
body = JSON.stringify(
|
|
123
|
+
body = JSON.stringify(_json(input));
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
126
|
export const se_DeleteMobileDeviceAccessRuleCommand = async (input, context) => {
|
|
127
127
|
const headers = sharedHeaders("DeleteMobileDeviceAccessRule");
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
132
|
export const se_DeleteOrganizationCommand = async (input, context) => {
|
|
@@ -138,265 +138,265 @@ export const se_DeleteOrganizationCommand = async (input, context) => {
|
|
|
138
138
|
export const se_DeleteResourceCommand = async (input, context) => {
|
|
139
139
|
const headers = sharedHeaders("DeleteResource");
|
|
140
140
|
let body;
|
|
141
|
-
body = JSON.stringify(
|
|
141
|
+
body = JSON.stringify(_json(input));
|
|
142
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
143
|
};
|
|
144
144
|
export const se_DeleteRetentionPolicyCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("DeleteRetentionPolicy");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(_json(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
export const se_DeleteUserCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("DeleteUser");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
export const se_DeregisterFromWorkMailCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("DeregisterFromWorkMail");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
export const se_DeregisterMailDomainCommand = async (input, context) => {
|
|
163
163
|
const headers = sharedHeaders("DeregisterMailDomain");
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(_json(input));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
168
|
export const se_DescribeEmailMonitoringConfigurationCommand = async (input, context) => {
|
|
169
169
|
const headers = sharedHeaders("DescribeEmailMonitoringConfiguration");
|
|
170
170
|
let body;
|
|
171
|
-
body = JSON.stringify(
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
174
174
|
export const se_DescribeGroupCommand = async (input, context) => {
|
|
175
175
|
const headers = sharedHeaders("DescribeGroup");
|
|
176
176
|
let body;
|
|
177
|
-
body = JSON.stringify(
|
|
177
|
+
body = JSON.stringify(_json(input));
|
|
178
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
179
|
};
|
|
180
180
|
export const se_DescribeInboundDmarcSettingsCommand = async (input, context) => {
|
|
181
181
|
const headers = sharedHeaders("DescribeInboundDmarcSettings");
|
|
182
182
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(_json(input));
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
186
|
export const se_DescribeMailboxExportJobCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("DescribeMailboxExportJob");
|
|
188
188
|
let body;
|
|
189
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
190
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
191
|
};
|
|
192
192
|
export const se_DescribeOrganizationCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("DescribeOrganization");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
export const se_DescribeResourceCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("DescribeResource");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(_json(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
export const se_DescribeUserCommand = async (input, context) => {
|
|
205
205
|
const headers = sharedHeaders("DescribeUser");
|
|
206
206
|
let body;
|
|
207
|
-
body = JSON.stringify(
|
|
207
|
+
body = JSON.stringify(_json(input));
|
|
208
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
209
|
};
|
|
210
210
|
export const se_DisassociateDelegateFromResourceCommand = async (input, context) => {
|
|
211
211
|
const headers = sharedHeaders("DisassociateDelegateFromResource");
|
|
212
212
|
let body;
|
|
213
|
-
body = JSON.stringify(
|
|
213
|
+
body = JSON.stringify(_json(input));
|
|
214
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
215
|
};
|
|
216
216
|
export const se_DisassociateMemberFromGroupCommand = async (input, context) => {
|
|
217
217
|
const headers = sharedHeaders("DisassociateMemberFromGroup");
|
|
218
218
|
let body;
|
|
219
|
-
body = JSON.stringify(
|
|
219
|
+
body = JSON.stringify(_json(input));
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
222
|
export const se_GetAccessControlEffectCommand = async (input, context) => {
|
|
223
223
|
const headers = sharedHeaders("GetAccessControlEffect");
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(_json(input));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
228
|
export const se_GetDefaultRetentionPolicyCommand = async (input, context) => {
|
|
229
229
|
const headers = sharedHeaders("GetDefaultRetentionPolicy");
|
|
230
230
|
let body;
|
|
231
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify(_json(input));
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
234
|
export const se_GetImpersonationRoleCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("GetImpersonationRole");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify(_json(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
export const se_GetImpersonationRoleEffectCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("GetImpersonationRoleEffect");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify(_json(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
export const se_GetMailboxDetailsCommand = async (input, context) => {
|
|
247
247
|
const headers = sharedHeaders("GetMailboxDetails");
|
|
248
248
|
let body;
|
|
249
|
-
body = JSON.stringify(
|
|
249
|
+
body = JSON.stringify(_json(input));
|
|
250
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
251
|
};
|
|
252
252
|
export const se_GetMailDomainCommand = async (input, context) => {
|
|
253
253
|
const headers = sharedHeaders("GetMailDomain");
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(_json(input));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
258
|
export const se_GetMobileDeviceAccessEffectCommand = async (input, context) => {
|
|
259
259
|
const headers = sharedHeaders("GetMobileDeviceAccessEffect");
|
|
260
260
|
let body;
|
|
261
|
-
body = JSON.stringify(
|
|
261
|
+
body = JSON.stringify(_json(input));
|
|
262
262
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
263
|
};
|
|
264
264
|
export const se_GetMobileDeviceAccessOverrideCommand = async (input, context) => {
|
|
265
265
|
const headers = sharedHeaders("GetMobileDeviceAccessOverride");
|
|
266
266
|
let body;
|
|
267
|
-
body = JSON.stringify(
|
|
267
|
+
body = JSON.stringify(_json(input));
|
|
268
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
269
|
};
|
|
270
270
|
export const se_ListAccessControlRulesCommand = async (input, context) => {
|
|
271
271
|
const headers = sharedHeaders("ListAccessControlRules");
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify(_json(input));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
276
|
export const se_ListAliasesCommand = async (input, context) => {
|
|
277
277
|
const headers = sharedHeaders("ListAliases");
|
|
278
278
|
let body;
|
|
279
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify(_json(input));
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
282
|
export const se_ListAvailabilityConfigurationsCommand = async (input, context) => {
|
|
283
283
|
const headers = sharedHeaders("ListAvailabilityConfigurations");
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify(_json(input));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
288
|
export const se_ListGroupMembersCommand = async (input, context) => {
|
|
289
289
|
const headers = sharedHeaders("ListGroupMembers");
|
|
290
290
|
let body;
|
|
291
|
-
body = JSON.stringify(
|
|
291
|
+
body = JSON.stringify(_json(input));
|
|
292
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
293
|
};
|
|
294
294
|
export const se_ListGroupsCommand = async (input, context) => {
|
|
295
295
|
const headers = sharedHeaders("ListGroups");
|
|
296
296
|
let body;
|
|
297
|
-
body = JSON.stringify(
|
|
297
|
+
body = JSON.stringify(_json(input));
|
|
298
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
299
|
};
|
|
300
300
|
export const se_ListImpersonationRolesCommand = async (input, context) => {
|
|
301
301
|
const headers = sharedHeaders("ListImpersonationRoles");
|
|
302
302
|
let body;
|
|
303
|
-
body = JSON.stringify(
|
|
303
|
+
body = JSON.stringify(_json(input));
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
306
306
|
export const se_ListMailboxExportJobsCommand = async (input, context) => {
|
|
307
307
|
const headers = sharedHeaders("ListMailboxExportJobs");
|
|
308
308
|
let body;
|
|
309
|
-
body = JSON.stringify(
|
|
309
|
+
body = JSON.stringify(_json(input));
|
|
310
310
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
311
|
};
|
|
312
312
|
export const se_ListMailboxPermissionsCommand = async (input, context) => {
|
|
313
313
|
const headers = sharedHeaders("ListMailboxPermissions");
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify(_json(input));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
318
|
export const se_ListMailDomainsCommand = async (input, context) => {
|
|
319
319
|
const headers = sharedHeaders("ListMailDomains");
|
|
320
320
|
let body;
|
|
321
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify(_json(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
324
|
export const se_ListMobileDeviceAccessOverridesCommand = async (input, context) => {
|
|
325
325
|
const headers = sharedHeaders("ListMobileDeviceAccessOverrides");
|
|
326
326
|
let body;
|
|
327
|
-
body = JSON.stringify(
|
|
327
|
+
body = JSON.stringify(_json(input));
|
|
328
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
329
|
};
|
|
330
330
|
export const se_ListMobileDeviceAccessRulesCommand = async (input, context) => {
|
|
331
331
|
const headers = sharedHeaders("ListMobileDeviceAccessRules");
|
|
332
332
|
let body;
|
|
333
|
-
body = JSON.stringify(
|
|
333
|
+
body = JSON.stringify(_json(input));
|
|
334
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
335
|
};
|
|
336
336
|
export const se_ListOrganizationsCommand = async (input, context) => {
|
|
337
337
|
const headers = sharedHeaders("ListOrganizations");
|
|
338
338
|
let body;
|
|
339
|
-
body = JSON.stringify(
|
|
339
|
+
body = JSON.stringify(_json(input));
|
|
340
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
341
|
};
|
|
342
342
|
export const se_ListResourceDelegatesCommand = async (input, context) => {
|
|
343
343
|
const headers = sharedHeaders("ListResourceDelegates");
|
|
344
344
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
345
|
+
body = JSON.stringify(_json(input));
|
|
346
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
347
|
};
|
|
348
348
|
export const se_ListResourcesCommand = async (input, context) => {
|
|
349
349
|
const headers = sharedHeaders("ListResources");
|
|
350
350
|
let body;
|
|
351
|
-
body = JSON.stringify(
|
|
351
|
+
body = JSON.stringify(_json(input));
|
|
352
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
353
|
};
|
|
354
354
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
355
355
|
const headers = sharedHeaders("ListTagsForResource");
|
|
356
356
|
let body;
|
|
357
|
-
body = JSON.stringify(
|
|
357
|
+
body = JSON.stringify(_json(input));
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
360
|
export const se_ListUsersCommand = async (input, context) => {
|
|
361
361
|
const headers = sharedHeaders("ListUsers");
|
|
362
362
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify(_json(input));
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
366
|
export const se_PutAccessControlRuleCommand = async (input, context) => {
|
|
367
367
|
const headers = sharedHeaders("PutAccessControlRule");
|
|
368
368
|
let body;
|
|
369
|
-
body = JSON.stringify(
|
|
369
|
+
body = JSON.stringify(_json(input));
|
|
370
370
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
371
|
};
|
|
372
372
|
export const se_PutEmailMonitoringConfigurationCommand = async (input, context) => {
|
|
373
373
|
const headers = sharedHeaders("PutEmailMonitoringConfiguration");
|
|
374
374
|
let body;
|
|
375
|
-
body = JSON.stringify(
|
|
375
|
+
body = JSON.stringify(_json(input));
|
|
376
376
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
377
|
};
|
|
378
378
|
export const se_PutInboundDmarcSettingsCommand = async (input, context) => {
|
|
379
379
|
const headers = sharedHeaders("PutInboundDmarcSettings");
|
|
380
380
|
let body;
|
|
381
|
-
body = JSON.stringify(
|
|
381
|
+
body = JSON.stringify(_json(input));
|
|
382
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
383
|
};
|
|
384
384
|
export const se_PutMailboxPermissionsCommand = async (input, context) => {
|
|
385
385
|
const headers = sharedHeaders("PutMailboxPermissions");
|
|
386
386
|
let body;
|
|
387
|
-
body = JSON.stringify(
|
|
387
|
+
body = JSON.stringify(_json(input));
|
|
388
388
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
389
|
};
|
|
390
390
|
export const se_PutMobileDeviceAccessOverrideCommand = async (input, context) => {
|
|
391
391
|
const headers = sharedHeaders("PutMobileDeviceAccessOverride");
|
|
392
392
|
let body;
|
|
393
|
-
body = JSON.stringify(
|
|
393
|
+
body = JSON.stringify(_json(input));
|
|
394
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
395
395
|
};
|
|
396
396
|
export const se_PutRetentionPolicyCommand = async (input, context) => {
|
|
397
397
|
const headers = sharedHeaders("PutRetentionPolicy");
|
|
398
398
|
let body;
|
|
399
|
-
body = JSON.stringify(
|
|
399
|
+
body = JSON.stringify(_json(input));
|
|
400
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
401
|
};
|
|
402
402
|
export const se_RegisterMailDomainCommand = async (input, context) => {
|
|
@@ -408,13 +408,13 @@ export const se_RegisterMailDomainCommand = async (input, context) => {
|
|
|
408
408
|
export const se_RegisterToWorkMailCommand = async (input, context) => {
|
|
409
409
|
const headers = sharedHeaders("RegisterToWorkMail");
|
|
410
410
|
let body;
|
|
411
|
-
body = JSON.stringify(
|
|
411
|
+
body = JSON.stringify(_json(input));
|
|
412
412
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
413
|
};
|
|
414
414
|
export const se_ResetPasswordCommand = async (input, context) => {
|
|
415
415
|
const headers = sharedHeaders("ResetPassword");
|
|
416
416
|
let body;
|
|
417
|
-
body = JSON.stringify(
|
|
417
|
+
body = JSON.stringify(_json(input));
|
|
418
418
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
419
|
};
|
|
420
420
|
export const se_StartMailboxExportJobCommand = async (input, context) => {
|
|
@@ -426,61 +426,61 @@ export const se_StartMailboxExportJobCommand = async (input, context) => {
|
|
|
426
426
|
export const se_TagResourceCommand = async (input, context) => {
|
|
427
427
|
const headers = sharedHeaders("TagResource");
|
|
428
428
|
let body;
|
|
429
|
-
body = JSON.stringify(
|
|
429
|
+
body = JSON.stringify(_json(input));
|
|
430
430
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
431
|
};
|
|
432
432
|
export const se_TestAvailabilityConfigurationCommand = async (input, context) => {
|
|
433
433
|
const headers = sharedHeaders("TestAvailabilityConfiguration");
|
|
434
434
|
let body;
|
|
435
|
-
body = JSON.stringify(
|
|
435
|
+
body = JSON.stringify(_json(input));
|
|
436
436
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
437
|
};
|
|
438
438
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
439
439
|
const headers = sharedHeaders("UntagResource");
|
|
440
440
|
let body;
|
|
441
|
-
body = JSON.stringify(
|
|
441
|
+
body = JSON.stringify(_json(input));
|
|
442
442
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
443
443
|
};
|
|
444
444
|
export const se_UpdateAvailabilityConfigurationCommand = async (input, context) => {
|
|
445
445
|
const headers = sharedHeaders("UpdateAvailabilityConfiguration");
|
|
446
446
|
let body;
|
|
447
|
-
body = JSON.stringify(
|
|
447
|
+
body = JSON.stringify(_json(input));
|
|
448
448
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
449
|
};
|
|
450
450
|
export const se_UpdateDefaultMailDomainCommand = async (input, context) => {
|
|
451
451
|
const headers = sharedHeaders("UpdateDefaultMailDomain");
|
|
452
452
|
let body;
|
|
453
|
-
body = JSON.stringify(
|
|
453
|
+
body = JSON.stringify(_json(input));
|
|
454
454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
455
455
|
};
|
|
456
456
|
export const se_UpdateImpersonationRoleCommand = async (input, context) => {
|
|
457
457
|
const headers = sharedHeaders("UpdateImpersonationRole");
|
|
458
458
|
let body;
|
|
459
|
-
body = JSON.stringify(
|
|
459
|
+
body = JSON.stringify(_json(input));
|
|
460
460
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
461
|
};
|
|
462
462
|
export const se_UpdateMailboxQuotaCommand = async (input, context) => {
|
|
463
463
|
const headers = sharedHeaders("UpdateMailboxQuota");
|
|
464
464
|
let body;
|
|
465
|
-
body = JSON.stringify(
|
|
465
|
+
body = JSON.stringify(_json(input));
|
|
466
466
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
467
|
};
|
|
468
468
|
export const se_UpdateMobileDeviceAccessRuleCommand = async (input, context) => {
|
|
469
469
|
const headers = sharedHeaders("UpdateMobileDeviceAccessRule");
|
|
470
470
|
let body;
|
|
471
|
-
body = JSON.stringify(
|
|
471
|
+
body = JSON.stringify(_json(input));
|
|
472
472
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
473
|
};
|
|
474
474
|
export const se_UpdatePrimaryEmailAddressCommand = async (input, context) => {
|
|
475
475
|
const headers = sharedHeaders("UpdatePrimaryEmailAddress");
|
|
476
476
|
let body;
|
|
477
|
-
body = JSON.stringify(
|
|
477
|
+
body = JSON.stringify(_json(input));
|
|
478
478
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
479
479
|
};
|
|
480
480
|
export const se_UpdateResourceCommand = async (input, context) => {
|
|
481
481
|
const headers = sharedHeaders("UpdateResource");
|
|
482
482
|
let body;
|
|
483
|
-
body = JSON.stringify(
|
|
483
|
+
body = JSON.stringify(_json(input));
|
|
484
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
485
|
};
|
|
486
486
|
export const de_AssociateDelegateToResourceCommand = async (output, context) => {
|
|
@@ -489,12 +489,12 @@ export const de_AssociateDelegateToResourceCommand = async (output, context) =>
|
|
|
489
489
|
}
|
|
490
490
|
const data = await parseBody(output.body, context);
|
|
491
491
|
let contents = {};
|
|
492
|
-
contents =
|
|
492
|
+
contents = _json(data);
|
|
493
493
|
const response = {
|
|
494
494
|
$metadata: deserializeMetadata(output),
|
|
495
495
|
...contents,
|
|
496
496
|
};
|
|
497
|
-
return
|
|
497
|
+
return response;
|
|
498
498
|
};
|
|
499
499
|
const de_AssociateDelegateToResourceCommandError = async (output, context) => {
|
|
500
500
|
const parsedOutput = {
|
|
@@ -520,10 +520,9 @@ const de_AssociateDelegateToResourceCommandError = async (output, context) => {
|
|
|
520
520
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
521
521
|
default:
|
|
522
522
|
const parsedBody = parsedOutput.body;
|
|
523
|
-
throwDefaultError({
|
|
523
|
+
return throwDefaultError({
|
|
524
524
|
output,
|
|
525
525
|
parsedBody,
|
|
526
|
-
exceptionCtor: __BaseException,
|
|
527
526
|
errorCode,
|
|
528
527
|
});
|
|
529
528
|
}
|
|
@@ -534,12 +533,12 @@ export const de_AssociateMemberToGroupCommand = async (output, context) => {
|
|
|
534
533
|
}
|
|
535
534
|
const data = await parseBody(output.body, context);
|
|
536
535
|
let contents = {};
|
|
537
|
-
contents =
|
|
536
|
+
contents = _json(data);
|
|
538
537
|
const response = {
|
|
539
538
|
$metadata: deserializeMetadata(output),
|
|
540
539
|
...contents,
|
|
541
540
|
};
|
|
542
|
-
return
|
|
541
|
+
return response;
|
|
543
542
|
};
|
|
544
543
|
const de_AssociateMemberToGroupCommandError = async (output, context) => {
|
|
545
544
|
const parsedOutput = {
|
|
@@ -574,10 +573,9 @@ const de_AssociateMemberToGroupCommandError = async (output, context) => {
|
|
|
574
573
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
575
574
|
default:
|
|
576
575
|
const parsedBody = parsedOutput.body;
|
|
577
|
-
throwDefaultError({
|
|
576
|
+
return throwDefaultError({
|
|
578
577
|
output,
|
|
579
578
|
parsedBody,
|
|
580
|
-
exceptionCtor: __BaseException,
|
|
581
579
|
errorCode,
|
|
582
580
|
});
|
|
583
581
|
}
|
|
@@ -588,12 +586,12 @@ export const de_AssumeImpersonationRoleCommand = async (output, context) => {
|
|
|
588
586
|
}
|
|
589
587
|
const data = await parseBody(output.body, context);
|
|
590
588
|
let contents = {};
|
|
591
|
-
contents =
|
|
589
|
+
contents = _json(data);
|
|
592
590
|
const response = {
|
|
593
591
|
$metadata: deserializeMetadata(output),
|
|
594
592
|
...contents,
|
|
595
593
|
};
|
|
596
|
-
return
|
|
594
|
+
return response;
|
|
597
595
|
};
|
|
598
596
|
const de_AssumeImpersonationRoleCommandError = async (output, context) => {
|
|
599
597
|
const parsedOutput = {
|
|
@@ -616,10 +614,9 @@ const de_AssumeImpersonationRoleCommandError = async (output, context) => {
|
|
|
616
614
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
617
615
|
default:
|
|
618
616
|
const parsedBody = parsedOutput.body;
|
|
619
|
-
throwDefaultError({
|
|
617
|
+
return throwDefaultError({
|
|
620
618
|
output,
|
|
621
619
|
parsedBody,
|
|
622
|
-
exceptionCtor: __BaseException,
|
|
623
620
|
errorCode,
|
|
624
621
|
});
|
|
625
622
|
}
|
|
@@ -630,12 +627,12 @@ export const de_CancelMailboxExportJobCommand = async (output, context) => {
|
|
|
630
627
|
}
|
|
631
628
|
const data = await parseBody(output.body, context);
|
|
632
629
|
let contents = {};
|
|
633
|
-
contents =
|
|
630
|
+
contents = _json(data);
|
|
634
631
|
const response = {
|
|
635
632
|
$metadata: deserializeMetadata(output),
|
|
636
633
|
...contents,
|
|
637
634
|
};
|
|
638
|
-
return
|
|
635
|
+
return response;
|
|
639
636
|
};
|
|
640
637
|
const de_CancelMailboxExportJobCommandError = async (output, context) => {
|
|
641
638
|
const parsedOutput = {
|
|
@@ -658,10 +655,9 @@ const de_CancelMailboxExportJobCommandError = async (output, context) => {
|
|
|
658
655
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
659
656
|
default:
|
|
660
657
|
const parsedBody = parsedOutput.body;
|
|
661
|
-
throwDefaultError({
|
|
658
|
+
return throwDefaultError({
|
|
662
659
|
output,
|
|
663
660
|
parsedBody,
|
|
664
|
-
exceptionCtor: __BaseException,
|
|
665
661
|
errorCode,
|
|
666
662
|
});
|
|
667
663
|
}
|
|
@@ -672,12 +668,12 @@ export const de_CreateAliasCommand = async (output, context) => {
|
|
|
672
668
|
}
|
|
673
669
|
const data = await parseBody(output.body, context);
|
|
674
670
|
let contents = {};
|
|
675
|
-
contents =
|
|
671
|
+
contents = _json(data);
|
|
676
672
|
const response = {
|
|
677
673
|
$metadata: deserializeMetadata(output),
|
|
678
674
|
...contents,
|
|
679
675
|
};
|
|
680
|
-
return
|
|
676
|
+
return response;
|
|
681
677
|
};
|
|
682
678
|
const de_CreateAliasCommandError = async (output, context) => {
|
|
683
679
|
const parsedOutput = {
|
|
@@ -715,10 +711,9 @@ const de_CreateAliasCommandError = async (output, context) => {
|
|
|
715
711
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
716
712
|
default:
|
|
717
713
|
const parsedBody = parsedOutput.body;
|
|
718
|
-
throwDefaultError({
|
|
714
|
+
return throwDefaultError({
|
|
719
715
|
output,
|
|
720
716
|
parsedBody,
|
|
721
|
-
exceptionCtor: __BaseException,
|
|
722
717
|
errorCode,
|
|
723
718
|
});
|
|
724
719
|
}
|
|
@@ -729,12 +724,12 @@ export const de_CreateAvailabilityConfigurationCommand = async (output, context)
|
|
|
729
724
|
}
|
|
730
725
|
const data = await parseBody(output.body, context);
|
|
731
726
|
let contents = {};
|
|
732
|
-
contents =
|
|
727
|
+
contents = _json(data);
|
|
733
728
|
const response = {
|
|
734
729
|
$metadata: deserializeMetadata(output),
|
|
735
730
|
...contents,
|
|
736
731
|
};
|
|
737
|
-
return
|
|
732
|
+
return response;
|
|
738
733
|
};
|
|
739
734
|
const de_CreateAvailabilityConfigurationCommandError = async (output, context) => {
|
|
740
735
|
const parsedOutput = {
|
|
@@ -760,10 +755,9 @@ const de_CreateAvailabilityConfigurationCommandError = async (output, context) =
|
|
|
760
755
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
761
756
|
default:
|
|
762
757
|
const parsedBody = parsedOutput.body;
|
|
763
|
-
throwDefaultError({
|
|
758
|
+
return throwDefaultError({
|
|
764
759
|
output,
|
|
765
760
|
parsedBody,
|
|
766
|
-
exceptionCtor: __BaseException,
|
|
767
761
|
errorCode,
|
|
768
762
|
});
|
|
769
763
|
}
|
|
@@ -774,12 +768,12 @@ export const de_CreateGroupCommand = async (output, context) => {
|
|
|
774
768
|
}
|
|
775
769
|
const data = await parseBody(output.body, context);
|
|
776
770
|
let contents = {};
|
|
777
|
-
contents =
|
|
771
|
+
contents = _json(data);
|
|
778
772
|
const response = {
|
|
779
773
|
$metadata: deserializeMetadata(output),
|
|
780
774
|
...contents,
|
|
781
775
|
};
|
|
782
|
-
return
|
|
776
|
+
return response;
|
|
783
777
|
};
|
|
784
778
|
const de_CreateGroupCommandError = async (output, context) => {
|
|
785
779
|
const parsedOutput = {
|
|
@@ -814,10 +808,9 @@ const de_CreateGroupCommandError = async (output, context) => {
|
|
|
814
808
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
815
809
|
default:
|
|
816
810
|
const parsedBody = parsedOutput.body;
|
|
817
|
-
throwDefaultError({
|
|
811
|
+
return throwDefaultError({
|
|
818
812
|
output,
|
|
819
813
|
parsedBody,
|
|
820
|
-
exceptionCtor: __BaseException,
|
|
821
814
|
errorCode,
|
|
822
815
|
});
|
|
823
816
|
}
|
|
@@ -828,12 +821,12 @@ export const de_CreateImpersonationRoleCommand = async (output, context) => {
|
|
|
828
821
|
}
|
|
829
822
|
const data = await parseBody(output.body, context);
|
|
830
823
|
let contents = {};
|
|
831
|
-
contents =
|
|
824
|
+
contents = _json(data);
|
|
832
825
|
const response = {
|
|
833
826
|
$metadata: deserializeMetadata(output),
|
|
834
827
|
...contents,
|
|
835
828
|
};
|
|
836
|
-
return
|
|
829
|
+
return response;
|
|
837
830
|
};
|
|
838
831
|
const de_CreateImpersonationRoleCommandError = async (output, context) => {
|
|
839
832
|
const parsedOutput = {
|
|
@@ -862,10 +855,9 @@ const de_CreateImpersonationRoleCommandError = async (output, context) => {
|
|
|
862
855
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
863
856
|
default:
|
|
864
857
|
const parsedBody = parsedOutput.body;
|
|
865
|
-
throwDefaultError({
|
|
858
|
+
return throwDefaultError({
|
|
866
859
|
output,
|
|
867
860
|
parsedBody,
|
|
868
|
-
exceptionCtor: __BaseException,
|
|
869
861
|
errorCode,
|
|
870
862
|
});
|
|
871
863
|
}
|
|
@@ -876,12 +868,12 @@ export const de_CreateMobileDeviceAccessRuleCommand = async (output, context) =>
|
|
|
876
868
|
}
|
|
877
869
|
const data = await parseBody(output.body, context);
|
|
878
870
|
let contents = {};
|
|
879
|
-
contents =
|
|
871
|
+
contents = _json(data);
|
|
880
872
|
const response = {
|
|
881
873
|
$metadata: deserializeMetadata(output),
|
|
882
874
|
...contents,
|
|
883
875
|
};
|
|
884
|
-
return
|
|
876
|
+
return response;
|
|
885
877
|
};
|
|
886
878
|
const de_CreateMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
887
879
|
const parsedOutput = {
|
|
@@ -904,10 +896,9 @@ const de_CreateMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
|
904
896
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
905
897
|
default:
|
|
906
898
|
const parsedBody = parsedOutput.body;
|
|
907
|
-
throwDefaultError({
|
|
899
|
+
return throwDefaultError({
|
|
908
900
|
output,
|
|
909
901
|
parsedBody,
|
|
910
|
-
exceptionCtor: __BaseException,
|
|
911
902
|
errorCode,
|
|
912
903
|
});
|
|
913
904
|
}
|
|
@@ -918,12 +909,12 @@ export const de_CreateOrganizationCommand = async (output, context) => {
|
|
|
918
909
|
}
|
|
919
910
|
const data = await parseBody(output.body, context);
|
|
920
911
|
let contents = {};
|
|
921
|
-
contents =
|
|
912
|
+
contents = _json(data);
|
|
922
913
|
const response = {
|
|
923
914
|
$metadata: deserializeMetadata(output),
|
|
924
915
|
...contents,
|
|
925
916
|
};
|
|
926
|
-
return
|
|
917
|
+
return response;
|
|
927
918
|
};
|
|
928
919
|
const de_CreateOrganizationCommandError = async (output, context) => {
|
|
929
920
|
const parsedOutput = {
|
|
@@ -949,10 +940,9 @@ const de_CreateOrganizationCommandError = async (output, context) => {
|
|
|
949
940
|
throw await de_NameAvailabilityExceptionRes(parsedOutput, context);
|
|
950
941
|
default:
|
|
951
942
|
const parsedBody = parsedOutput.body;
|
|
952
|
-
throwDefaultError({
|
|
943
|
+
return throwDefaultError({
|
|
953
944
|
output,
|
|
954
945
|
parsedBody,
|
|
955
|
-
exceptionCtor: __BaseException,
|
|
956
946
|
errorCode,
|
|
957
947
|
});
|
|
958
948
|
}
|
|
@@ -963,12 +953,12 @@ export const de_CreateResourceCommand = async (output, context) => {
|
|
|
963
953
|
}
|
|
964
954
|
const data = await parseBody(output.body, context);
|
|
965
955
|
let contents = {};
|
|
966
|
-
contents =
|
|
956
|
+
contents = _json(data);
|
|
967
957
|
const response = {
|
|
968
958
|
$metadata: deserializeMetadata(output),
|
|
969
959
|
...contents,
|
|
970
960
|
};
|
|
971
|
-
return
|
|
961
|
+
return response;
|
|
972
962
|
};
|
|
973
963
|
const de_CreateResourceCommandError = async (output, context) => {
|
|
974
964
|
const parsedOutput = {
|
|
@@ -1000,10 +990,9 @@ const de_CreateResourceCommandError = async (output, context) => {
|
|
|
1000
990
|
throw await de_ReservedNameExceptionRes(parsedOutput, context);
|
|
1001
991
|
default:
|
|
1002
992
|
const parsedBody = parsedOutput.body;
|
|
1003
|
-
throwDefaultError({
|
|
993
|
+
return throwDefaultError({
|
|
1004
994
|
output,
|
|
1005
995
|
parsedBody,
|
|
1006
|
-
exceptionCtor: __BaseException,
|
|
1007
996
|
errorCode,
|
|
1008
997
|
});
|
|
1009
998
|
}
|
|
@@ -1014,12 +1003,12 @@ export const de_CreateUserCommand = async (output, context) => {
|
|
|
1014
1003
|
}
|
|
1015
1004
|
const data = await parseBody(output.body, context);
|
|
1016
1005
|
let contents = {};
|
|
1017
|
-
contents =
|
|
1006
|
+
contents = _json(data);
|
|
1018
1007
|
const response = {
|
|
1019
1008
|
$metadata: deserializeMetadata(output),
|
|
1020
1009
|
...contents,
|
|
1021
1010
|
};
|
|
1022
|
-
return
|
|
1011
|
+
return response;
|
|
1023
1012
|
};
|
|
1024
1013
|
const de_CreateUserCommandError = async (output, context) => {
|
|
1025
1014
|
const parsedOutput = {
|
|
@@ -1057,10 +1046,9 @@ const de_CreateUserCommandError = async (output, context) => {
|
|
|
1057
1046
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1058
1047
|
default:
|
|
1059
1048
|
const parsedBody = parsedOutput.body;
|
|
1060
|
-
throwDefaultError({
|
|
1049
|
+
return throwDefaultError({
|
|
1061
1050
|
output,
|
|
1062
1051
|
parsedBody,
|
|
1063
|
-
exceptionCtor: __BaseException,
|
|
1064
1052
|
errorCode,
|
|
1065
1053
|
});
|
|
1066
1054
|
}
|
|
@@ -1071,12 +1059,12 @@ export const de_DeleteAccessControlRuleCommand = async (output, context) => {
|
|
|
1071
1059
|
}
|
|
1072
1060
|
const data = await parseBody(output.body, context);
|
|
1073
1061
|
let contents = {};
|
|
1074
|
-
contents =
|
|
1062
|
+
contents = _json(data);
|
|
1075
1063
|
const response = {
|
|
1076
1064
|
$metadata: deserializeMetadata(output),
|
|
1077
1065
|
...contents,
|
|
1078
1066
|
};
|
|
1079
|
-
return
|
|
1067
|
+
return response;
|
|
1080
1068
|
};
|
|
1081
1069
|
const de_DeleteAccessControlRuleCommandError = async (output, context) => {
|
|
1082
1070
|
const parsedOutput = {
|
|
@@ -1093,10 +1081,9 @@ const de_DeleteAccessControlRuleCommandError = async (output, context) => {
|
|
|
1093
1081
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1094
1082
|
default:
|
|
1095
1083
|
const parsedBody = parsedOutput.body;
|
|
1096
|
-
throwDefaultError({
|
|
1084
|
+
return throwDefaultError({
|
|
1097
1085
|
output,
|
|
1098
1086
|
parsedBody,
|
|
1099
|
-
exceptionCtor: __BaseException,
|
|
1100
1087
|
errorCode,
|
|
1101
1088
|
});
|
|
1102
1089
|
}
|
|
@@ -1107,12 +1094,12 @@ export const de_DeleteAliasCommand = async (output, context) => {
|
|
|
1107
1094
|
}
|
|
1108
1095
|
const data = await parseBody(output.body, context);
|
|
1109
1096
|
let contents = {};
|
|
1110
|
-
contents =
|
|
1097
|
+
contents = _json(data);
|
|
1111
1098
|
const response = {
|
|
1112
1099
|
$metadata: deserializeMetadata(output),
|
|
1113
1100
|
...contents,
|
|
1114
1101
|
};
|
|
1115
|
-
return
|
|
1102
|
+
return response;
|
|
1116
1103
|
};
|
|
1117
1104
|
const de_DeleteAliasCommandError = async (output, context) => {
|
|
1118
1105
|
const parsedOutput = {
|
|
@@ -1138,10 +1125,9 @@ const de_DeleteAliasCommandError = async (output, context) => {
|
|
|
1138
1125
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1139
1126
|
default:
|
|
1140
1127
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
throwDefaultError({
|
|
1128
|
+
return throwDefaultError({
|
|
1142
1129
|
output,
|
|
1143
1130
|
parsedBody,
|
|
1144
|
-
exceptionCtor: __BaseException,
|
|
1145
1131
|
errorCode,
|
|
1146
1132
|
});
|
|
1147
1133
|
}
|
|
@@ -1152,12 +1138,12 @@ export const de_DeleteAvailabilityConfigurationCommand = async (output, context)
|
|
|
1152
1138
|
}
|
|
1153
1139
|
const data = await parseBody(output.body, context);
|
|
1154
1140
|
let contents = {};
|
|
1155
|
-
contents =
|
|
1141
|
+
contents = _json(data);
|
|
1156
1142
|
const response = {
|
|
1157
1143
|
$metadata: deserializeMetadata(output),
|
|
1158
1144
|
...contents,
|
|
1159
1145
|
};
|
|
1160
|
-
return
|
|
1146
|
+
return response;
|
|
1161
1147
|
};
|
|
1162
1148
|
const de_DeleteAvailabilityConfigurationCommandError = async (output, context) => {
|
|
1163
1149
|
const parsedOutput = {
|
|
@@ -1174,10 +1160,9 @@ const de_DeleteAvailabilityConfigurationCommandError = async (output, context) =
|
|
|
1174
1160
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1175
1161
|
default:
|
|
1176
1162
|
const parsedBody = parsedOutput.body;
|
|
1177
|
-
throwDefaultError({
|
|
1163
|
+
return throwDefaultError({
|
|
1178
1164
|
output,
|
|
1179
1165
|
parsedBody,
|
|
1180
|
-
exceptionCtor: __BaseException,
|
|
1181
1166
|
errorCode,
|
|
1182
1167
|
});
|
|
1183
1168
|
}
|
|
@@ -1188,12 +1173,12 @@ export const de_DeleteEmailMonitoringConfigurationCommand = async (output, conte
|
|
|
1188
1173
|
}
|
|
1189
1174
|
const data = await parseBody(output.body, context);
|
|
1190
1175
|
let contents = {};
|
|
1191
|
-
contents =
|
|
1176
|
+
contents = _json(data);
|
|
1192
1177
|
const response = {
|
|
1193
1178
|
$metadata: deserializeMetadata(output),
|
|
1194
1179
|
...contents,
|
|
1195
1180
|
};
|
|
1196
|
-
return
|
|
1181
|
+
return response;
|
|
1197
1182
|
};
|
|
1198
1183
|
const de_DeleteEmailMonitoringConfigurationCommandError = async (output, context) => {
|
|
1199
1184
|
const parsedOutput = {
|
|
@@ -1213,10 +1198,9 @@ const de_DeleteEmailMonitoringConfigurationCommandError = async (output, context
|
|
|
1213
1198
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1214
1199
|
default:
|
|
1215
1200
|
const parsedBody = parsedOutput.body;
|
|
1216
|
-
throwDefaultError({
|
|
1201
|
+
return throwDefaultError({
|
|
1217
1202
|
output,
|
|
1218
1203
|
parsedBody,
|
|
1219
|
-
exceptionCtor: __BaseException,
|
|
1220
1204
|
errorCode,
|
|
1221
1205
|
});
|
|
1222
1206
|
}
|
|
@@ -1227,12 +1211,12 @@ export const de_DeleteGroupCommand = async (output, context) => {
|
|
|
1227
1211
|
}
|
|
1228
1212
|
const data = await parseBody(output.body, context);
|
|
1229
1213
|
let contents = {};
|
|
1230
|
-
contents =
|
|
1214
|
+
contents = _json(data);
|
|
1231
1215
|
const response = {
|
|
1232
1216
|
$metadata: deserializeMetadata(output),
|
|
1233
1217
|
...contents,
|
|
1234
1218
|
};
|
|
1235
|
-
return
|
|
1219
|
+
return response;
|
|
1236
1220
|
};
|
|
1237
1221
|
const de_DeleteGroupCommandError = async (output, context) => {
|
|
1238
1222
|
const parsedOutput = {
|
|
@@ -1264,10 +1248,9 @@ const de_DeleteGroupCommandError = async (output, context) => {
|
|
|
1264
1248
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1265
1249
|
default:
|
|
1266
1250
|
const parsedBody = parsedOutput.body;
|
|
1267
|
-
throwDefaultError({
|
|
1251
|
+
return throwDefaultError({
|
|
1268
1252
|
output,
|
|
1269
1253
|
parsedBody,
|
|
1270
|
-
exceptionCtor: __BaseException,
|
|
1271
1254
|
errorCode,
|
|
1272
1255
|
});
|
|
1273
1256
|
}
|
|
@@ -1278,12 +1261,12 @@ export const de_DeleteImpersonationRoleCommand = async (output, context) => {
|
|
|
1278
1261
|
}
|
|
1279
1262
|
const data = await parseBody(output.body, context);
|
|
1280
1263
|
let contents = {};
|
|
1281
|
-
contents =
|
|
1264
|
+
contents = _json(data);
|
|
1282
1265
|
const response = {
|
|
1283
1266
|
$metadata: deserializeMetadata(output),
|
|
1284
1267
|
...contents,
|
|
1285
1268
|
};
|
|
1286
|
-
return
|
|
1269
|
+
return response;
|
|
1287
1270
|
};
|
|
1288
1271
|
const de_DeleteImpersonationRoleCommandError = async (output, context) => {
|
|
1289
1272
|
const parsedOutput = {
|
|
@@ -1303,10 +1286,9 @@ const de_DeleteImpersonationRoleCommandError = async (output, context) => {
|
|
|
1303
1286
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1304
1287
|
default:
|
|
1305
1288
|
const parsedBody = parsedOutput.body;
|
|
1306
|
-
throwDefaultError({
|
|
1289
|
+
return throwDefaultError({
|
|
1307
1290
|
output,
|
|
1308
1291
|
parsedBody,
|
|
1309
|
-
exceptionCtor: __BaseException,
|
|
1310
1292
|
errorCode,
|
|
1311
1293
|
});
|
|
1312
1294
|
}
|
|
@@ -1317,12 +1299,12 @@ export const de_DeleteMailboxPermissionsCommand = async (output, context) => {
|
|
|
1317
1299
|
}
|
|
1318
1300
|
const data = await parseBody(output.body, context);
|
|
1319
1301
|
let contents = {};
|
|
1320
|
-
contents =
|
|
1302
|
+
contents = _json(data);
|
|
1321
1303
|
const response = {
|
|
1322
1304
|
$metadata: deserializeMetadata(output),
|
|
1323
1305
|
...contents,
|
|
1324
1306
|
};
|
|
1325
|
-
return
|
|
1307
|
+
return response;
|
|
1326
1308
|
};
|
|
1327
1309
|
const de_DeleteMailboxPermissionsCommandError = async (output, context) => {
|
|
1328
1310
|
const parsedOutput = {
|
|
@@ -1348,10 +1330,9 @@ const de_DeleteMailboxPermissionsCommandError = async (output, context) => {
|
|
|
1348
1330
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1349
1331
|
default:
|
|
1350
1332
|
const parsedBody = parsedOutput.body;
|
|
1351
|
-
throwDefaultError({
|
|
1333
|
+
return throwDefaultError({
|
|
1352
1334
|
output,
|
|
1353
1335
|
parsedBody,
|
|
1354
|
-
exceptionCtor: __BaseException,
|
|
1355
1336
|
errorCode,
|
|
1356
1337
|
});
|
|
1357
1338
|
}
|
|
@@ -1362,12 +1343,12 @@ export const de_DeleteMobileDeviceAccessOverrideCommand = async (output, context
|
|
|
1362
1343
|
}
|
|
1363
1344
|
const data = await parseBody(output.body, context);
|
|
1364
1345
|
let contents = {};
|
|
1365
|
-
contents =
|
|
1346
|
+
contents = _json(data);
|
|
1366
1347
|
const response = {
|
|
1367
1348
|
$metadata: deserializeMetadata(output),
|
|
1368
1349
|
...contents,
|
|
1369
1350
|
};
|
|
1370
|
-
return
|
|
1351
|
+
return response;
|
|
1371
1352
|
};
|
|
1372
1353
|
const de_DeleteMobileDeviceAccessOverrideCommandError = async (output, context) => {
|
|
1373
1354
|
const parsedOutput = {
|
|
@@ -1390,10 +1371,9 @@ const de_DeleteMobileDeviceAccessOverrideCommandError = async (output, context)
|
|
|
1390
1371
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1391
1372
|
default:
|
|
1392
1373
|
const parsedBody = parsedOutput.body;
|
|
1393
|
-
throwDefaultError({
|
|
1374
|
+
return throwDefaultError({
|
|
1394
1375
|
output,
|
|
1395
1376
|
parsedBody,
|
|
1396
|
-
exceptionCtor: __BaseException,
|
|
1397
1377
|
errorCode,
|
|
1398
1378
|
});
|
|
1399
1379
|
}
|
|
@@ -1404,12 +1384,12 @@ export const de_DeleteMobileDeviceAccessRuleCommand = async (output, context) =>
|
|
|
1404
1384
|
}
|
|
1405
1385
|
const data = await parseBody(output.body, context);
|
|
1406
1386
|
let contents = {};
|
|
1407
|
-
contents =
|
|
1387
|
+
contents = _json(data);
|
|
1408
1388
|
const response = {
|
|
1409
1389
|
$metadata: deserializeMetadata(output),
|
|
1410
1390
|
...contents,
|
|
1411
1391
|
};
|
|
1412
|
-
return
|
|
1392
|
+
return response;
|
|
1413
1393
|
};
|
|
1414
1394
|
const de_DeleteMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
1415
1395
|
const parsedOutput = {
|
|
@@ -1429,10 +1409,9 @@ const de_DeleteMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
|
1429
1409
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1430
1410
|
default:
|
|
1431
1411
|
const parsedBody = parsedOutput.body;
|
|
1432
|
-
throwDefaultError({
|
|
1412
|
+
return throwDefaultError({
|
|
1433
1413
|
output,
|
|
1434
1414
|
parsedBody,
|
|
1435
|
-
exceptionCtor: __BaseException,
|
|
1436
1415
|
errorCode,
|
|
1437
1416
|
});
|
|
1438
1417
|
}
|
|
@@ -1443,12 +1422,12 @@ export const de_DeleteOrganizationCommand = async (output, context) => {
|
|
|
1443
1422
|
}
|
|
1444
1423
|
const data = await parseBody(output.body, context);
|
|
1445
1424
|
let contents = {};
|
|
1446
|
-
contents =
|
|
1425
|
+
contents = _json(data);
|
|
1447
1426
|
const response = {
|
|
1448
1427
|
$metadata: deserializeMetadata(output),
|
|
1449
1428
|
...contents,
|
|
1450
1429
|
};
|
|
1451
|
-
return
|
|
1430
|
+
return response;
|
|
1452
1431
|
};
|
|
1453
1432
|
const de_DeleteOrganizationCommandError = async (output, context) => {
|
|
1454
1433
|
const parsedOutput = {
|
|
@@ -1468,10 +1447,9 @@ const de_DeleteOrganizationCommandError = async (output, context) => {
|
|
|
1468
1447
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1469
1448
|
default:
|
|
1470
1449
|
const parsedBody = parsedOutput.body;
|
|
1471
|
-
throwDefaultError({
|
|
1450
|
+
return throwDefaultError({
|
|
1472
1451
|
output,
|
|
1473
1452
|
parsedBody,
|
|
1474
|
-
exceptionCtor: __BaseException,
|
|
1475
1453
|
errorCode,
|
|
1476
1454
|
});
|
|
1477
1455
|
}
|
|
@@ -1482,12 +1460,12 @@ export const de_DeleteResourceCommand = async (output, context) => {
|
|
|
1482
1460
|
}
|
|
1483
1461
|
const data = await parseBody(output.body, context);
|
|
1484
1462
|
let contents = {};
|
|
1485
|
-
contents =
|
|
1463
|
+
contents = _json(data);
|
|
1486
1464
|
const response = {
|
|
1487
1465
|
$metadata: deserializeMetadata(output),
|
|
1488
1466
|
...contents,
|
|
1489
1467
|
};
|
|
1490
|
-
return
|
|
1468
|
+
return response;
|
|
1491
1469
|
};
|
|
1492
1470
|
const de_DeleteResourceCommandError = async (output, context) => {
|
|
1493
1471
|
const parsedOutput = {
|
|
@@ -1510,10 +1488,9 @@ const de_DeleteResourceCommandError = async (output, context) => {
|
|
|
1510
1488
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1511
1489
|
default:
|
|
1512
1490
|
const parsedBody = parsedOutput.body;
|
|
1513
|
-
throwDefaultError({
|
|
1491
|
+
return throwDefaultError({
|
|
1514
1492
|
output,
|
|
1515
1493
|
parsedBody,
|
|
1516
|
-
exceptionCtor: __BaseException,
|
|
1517
1494
|
errorCode,
|
|
1518
1495
|
});
|
|
1519
1496
|
}
|
|
@@ -1524,12 +1501,12 @@ export const de_DeleteRetentionPolicyCommand = async (output, context) => {
|
|
|
1524
1501
|
}
|
|
1525
1502
|
const data = await parseBody(output.body, context);
|
|
1526
1503
|
let contents = {};
|
|
1527
|
-
contents =
|
|
1504
|
+
contents = _json(data);
|
|
1528
1505
|
const response = {
|
|
1529
1506
|
$metadata: deserializeMetadata(output),
|
|
1530
1507
|
...contents,
|
|
1531
1508
|
};
|
|
1532
|
-
return
|
|
1509
|
+
return response;
|
|
1533
1510
|
};
|
|
1534
1511
|
const de_DeleteRetentionPolicyCommandError = async (output, context) => {
|
|
1535
1512
|
const parsedOutput = {
|
|
@@ -1549,10 +1526,9 @@ const de_DeleteRetentionPolicyCommandError = async (output, context) => {
|
|
|
1549
1526
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1550
1527
|
default:
|
|
1551
1528
|
const parsedBody = parsedOutput.body;
|
|
1552
|
-
throwDefaultError({
|
|
1529
|
+
return throwDefaultError({
|
|
1553
1530
|
output,
|
|
1554
1531
|
parsedBody,
|
|
1555
|
-
exceptionCtor: __BaseException,
|
|
1556
1532
|
errorCode,
|
|
1557
1533
|
});
|
|
1558
1534
|
}
|
|
@@ -1563,12 +1539,12 @@ export const de_DeleteUserCommand = async (output, context) => {
|
|
|
1563
1539
|
}
|
|
1564
1540
|
const data = await parseBody(output.body, context);
|
|
1565
1541
|
let contents = {};
|
|
1566
|
-
contents =
|
|
1542
|
+
contents = _json(data);
|
|
1567
1543
|
const response = {
|
|
1568
1544
|
$metadata: deserializeMetadata(output),
|
|
1569
1545
|
...contents,
|
|
1570
1546
|
};
|
|
1571
|
-
return
|
|
1547
|
+
return response;
|
|
1572
1548
|
};
|
|
1573
1549
|
const de_DeleteUserCommandError = async (output, context) => {
|
|
1574
1550
|
const parsedOutput = {
|
|
@@ -1600,10 +1576,9 @@ const de_DeleteUserCommandError = async (output, context) => {
|
|
|
1600
1576
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1601
1577
|
default:
|
|
1602
1578
|
const parsedBody = parsedOutput.body;
|
|
1603
|
-
throwDefaultError({
|
|
1579
|
+
return throwDefaultError({
|
|
1604
1580
|
output,
|
|
1605
1581
|
parsedBody,
|
|
1606
|
-
exceptionCtor: __BaseException,
|
|
1607
1582
|
errorCode,
|
|
1608
1583
|
});
|
|
1609
1584
|
}
|
|
@@ -1614,12 +1589,12 @@ export const de_DeregisterFromWorkMailCommand = async (output, context) => {
|
|
|
1614
1589
|
}
|
|
1615
1590
|
const data = await parseBody(output.body, context);
|
|
1616
1591
|
let contents = {};
|
|
1617
|
-
contents =
|
|
1592
|
+
contents = _json(data);
|
|
1618
1593
|
const response = {
|
|
1619
1594
|
$metadata: deserializeMetadata(output),
|
|
1620
1595
|
...contents,
|
|
1621
1596
|
};
|
|
1622
|
-
return
|
|
1597
|
+
return response;
|
|
1623
1598
|
};
|
|
1624
1599
|
const de_DeregisterFromWorkMailCommandError = async (output, context) => {
|
|
1625
1600
|
const parsedOutput = {
|
|
@@ -1645,10 +1620,9 @@ const de_DeregisterFromWorkMailCommandError = async (output, context) => {
|
|
|
1645
1620
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1646
1621
|
default:
|
|
1647
1622
|
const parsedBody = parsedOutput.body;
|
|
1648
|
-
throwDefaultError({
|
|
1623
|
+
return throwDefaultError({
|
|
1649
1624
|
output,
|
|
1650
1625
|
parsedBody,
|
|
1651
|
-
exceptionCtor: __BaseException,
|
|
1652
1626
|
errorCode,
|
|
1653
1627
|
});
|
|
1654
1628
|
}
|
|
@@ -1659,12 +1633,12 @@ export const de_DeregisterMailDomainCommand = async (output, context) => {
|
|
|
1659
1633
|
}
|
|
1660
1634
|
const data = await parseBody(output.body, context);
|
|
1661
1635
|
let contents = {};
|
|
1662
|
-
contents =
|
|
1636
|
+
contents = _json(data);
|
|
1663
1637
|
const response = {
|
|
1664
1638
|
$metadata: deserializeMetadata(output),
|
|
1665
1639
|
...contents,
|
|
1666
1640
|
};
|
|
1667
|
-
return
|
|
1641
|
+
return response;
|
|
1668
1642
|
};
|
|
1669
1643
|
const de_DeregisterMailDomainCommandError = async (output, context) => {
|
|
1670
1644
|
const parsedOutput = {
|
|
@@ -1690,10 +1664,9 @@ const de_DeregisterMailDomainCommandError = async (output, context) => {
|
|
|
1690
1664
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1691
1665
|
default:
|
|
1692
1666
|
const parsedBody = parsedOutput.body;
|
|
1693
|
-
throwDefaultError({
|
|
1667
|
+
return throwDefaultError({
|
|
1694
1668
|
output,
|
|
1695
1669
|
parsedBody,
|
|
1696
|
-
exceptionCtor: __BaseException,
|
|
1697
1670
|
errorCode,
|
|
1698
1671
|
});
|
|
1699
1672
|
}
|
|
@@ -1704,12 +1677,12 @@ export const de_DescribeEmailMonitoringConfigurationCommand = async (output, con
|
|
|
1704
1677
|
}
|
|
1705
1678
|
const data = await parseBody(output.body, context);
|
|
1706
1679
|
let contents = {};
|
|
1707
|
-
contents =
|
|
1680
|
+
contents = _json(data);
|
|
1708
1681
|
const response = {
|
|
1709
1682
|
$metadata: deserializeMetadata(output),
|
|
1710
1683
|
...contents,
|
|
1711
1684
|
};
|
|
1712
|
-
return
|
|
1685
|
+
return response;
|
|
1713
1686
|
};
|
|
1714
1687
|
const de_DescribeEmailMonitoringConfigurationCommandError = async (output, context) => {
|
|
1715
1688
|
const parsedOutput = {
|
|
@@ -1732,10 +1705,9 @@ const de_DescribeEmailMonitoringConfigurationCommandError = async (output, conte
|
|
|
1732
1705
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1733
1706
|
default:
|
|
1734
1707
|
const parsedBody = parsedOutput.body;
|
|
1735
|
-
throwDefaultError({
|
|
1708
|
+
return throwDefaultError({
|
|
1736
1709
|
output,
|
|
1737
1710
|
parsedBody,
|
|
1738
|
-
exceptionCtor: __BaseException,
|
|
1739
1711
|
errorCode,
|
|
1740
1712
|
});
|
|
1741
1713
|
}
|
|
@@ -1751,7 +1723,7 @@ export const de_DescribeGroupCommand = async (output, context) => {
|
|
|
1751
1723
|
$metadata: deserializeMetadata(output),
|
|
1752
1724
|
...contents,
|
|
1753
1725
|
};
|
|
1754
|
-
return
|
|
1726
|
+
return response;
|
|
1755
1727
|
};
|
|
1756
1728
|
const de_DescribeGroupCommandError = async (output, context) => {
|
|
1757
1729
|
const parsedOutput = {
|
|
@@ -1774,10 +1746,9 @@ const de_DescribeGroupCommandError = async (output, context) => {
|
|
|
1774
1746
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1775
1747
|
default:
|
|
1776
1748
|
const parsedBody = parsedOutput.body;
|
|
1777
|
-
throwDefaultError({
|
|
1749
|
+
return throwDefaultError({
|
|
1778
1750
|
output,
|
|
1779
1751
|
parsedBody,
|
|
1780
|
-
exceptionCtor: __BaseException,
|
|
1781
1752
|
errorCode,
|
|
1782
1753
|
});
|
|
1783
1754
|
}
|
|
@@ -1788,12 +1759,12 @@ export const de_DescribeInboundDmarcSettingsCommand = async (output, context) =>
|
|
|
1788
1759
|
}
|
|
1789
1760
|
const data = await parseBody(output.body, context);
|
|
1790
1761
|
let contents = {};
|
|
1791
|
-
contents =
|
|
1762
|
+
contents = _json(data);
|
|
1792
1763
|
const response = {
|
|
1793
1764
|
$metadata: deserializeMetadata(output),
|
|
1794
1765
|
...contents,
|
|
1795
1766
|
};
|
|
1796
|
-
return
|
|
1767
|
+
return response;
|
|
1797
1768
|
};
|
|
1798
1769
|
const de_DescribeInboundDmarcSettingsCommandError = async (output, context) => {
|
|
1799
1770
|
const parsedOutput = {
|
|
@@ -1810,10 +1781,9 @@ const de_DescribeInboundDmarcSettingsCommandError = async (output, context) => {
|
|
|
1810
1781
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1811
1782
|
default:
|
|
1812
1783
|
const parsedBody = parsedOutput.body;
|
|
1813
|
-
throwDefaultError({
|
|
1784
|
+
return throwDefaultError({
|
|
1814
1785
|
output,
|
|
1815
1786
|
parsedBody,
|
|
1816
|
-
exceptionCtor: __BaseException,
|
|
1817
1787
|
errorCode,
|
|
1818
1788
|
});
|
|
1819
1789
|
}
|
|
@@ -1829,7 +1799,7 @@ export const de_DescribeMailboxExportJobCommand = async (output, context) => {
|
|
|
1829
1799
|
$metadata: deserializeMetadata(output),
|
|
1830
1800
|
...contents,
|
|
1831
1801
|
};
|
|
1832
|
-
return
|
|
1802
|
+
return response;
|
|
1833
1803
|
};
|
|
1834
1804
|
const de_DescribeMailboxExportJobCommandError = async (output, context) => {
|
|
1835
1805
|
const parsedOutput = {
|
|
@@ -1852,10 +1822,9 @@ const de_DescribeMailboxExportJobCommandError = async (output, context) => {
|
|
|
1852
1822
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1853
1823
|
default:
|
|
1854
1824
|
const parsedBody = parsedOutput.body;
|
|
1855
|
-
throwDefaultError({
|
|
1825
|
+
return throwDefaultError({
|
|
1856
1826
|
output,
|
|
1857
1827
|
parsedBody,
|
|
1858
|
-
exceptionCtor: __BaseException,
|
|
1859
1828
|
errorCode,
|
|
1860
1829
|
});
|
|
1861
1830
|
}
|
|
@@ -1871,7 +1840,7 @@ export const de_DescribeOrganizationCommand = async (output, context) => {
|
|
|
1871
1840
|
$metadata: deserializeMetadata(output),
|
|
1872
1841
|
...contents,
|
|
1873
1842
|
};
|
|
1874
|
-
return
|
|
1843
|
+
return response;
|
|
1875
1844
|
};
|
|
1876
1845
|
const de_DescribeOrganizationCommandError = async (output, context) => {
|
|
1877
1846
|
const parsedOutput = {
|
|
@@ -1888,10 +1857,9 @@ const de_DescribeOrganizationCommandError = async (output, context) => {
|
|
|
1888
1857
|
throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
|
|
1889
1858
|
default:
|
|
1890
1859
|
const parsedBody = parsedOutput.body;
|
|
1891
|
-
throwDefaultError({
|
|
1860
|
+
return throwDefaultError({
|
|
1892
1861
|
output,
|
|
1893
1862
|
parsedBody,
|
|
1894
|
-
exceptionCtor: __BaseException,
|
|
1895
1863
|
errorCode,
|
|
1896
1864
|
});
|
|
1897
1865
|
}
|
|
@@ -1907,7 +1875,7 @@ export const de_DescribeResourceCommand = async (output, context) => {
|
|
|
1907
1875
|
$metadata: deserializeMetadata(output),
|
|
1908
1876
|
...contents,
|
|
1909
1877
|
};
|
|
1910
|
-
return
|
|
1878
|
+
return response;
|
|
1911
1879
|
};
|
|
1912
1880
|
const de_DescribeResourceCommandError = async (output, context) => {
|
|
1913
1881
|
const parsedOutput = {
|
|
@@ -1930,10 +1898,9 @@ const de_DescribeResourceCommandError = async (output, context) => {
|
|
|
1930
1898
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1931
1899
|
default:
|
|
1932
1900
|
const parsedBody = parsedOutput.body;
|
|
1933
|
-
throwDefaultError({
|
|
1901
|
+
return throwDefaultError({
|
|
1934
1902
|
output,
|
|
1935
1903
|
parsedBody,
|
|
1936
|
-
exceptionCtor: __BaseException,
|
|
1937
1904
|
errorCode,
|
|
1938
1905
|
});
|
|
1939
1906
|
}
|
|
@@ -1949,7 +1916,7 @@ export const de_DescribeUserCommand = async (output, context) => {
|
|
|
1949
1916
|
$metadata: deserializeMetadata(output),
|
|
1950
1917
|
...contents,
|
|
1951
1918
|
};
|
|
1952
|
-
return
|
|
1919
|
+
return response;
|
|
1953
1920
|
};
|
|
1954
1921
|
const de_DescribeUserCommandError = async (output, context) => {
|
|
1955
1922
|
const parsedOutput = {
|
|
@@ -1972,10 +1939,9 @@ const de_DescribeUserCommandError = async (output, context) => {
|
|
|
1972
1939
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
1973
1940
|
default:
|
|
1974
1941
|
const parsedBody = parsedOutput.body;
|
|
1975
|
-
throwDefaultError({
|
|
1942
|
+
return throwDefaultError({
|
|
1976
1943
|
output,
|
|
1977
1944
|
parsedBody,
|
|
1978
|
-
exceptionCtor: __BaseException,
|
|
1979
1945
|
errorCode,
|
|
1980
1946
|
});
|
|
1981
1947
|
}
|
|
@@ -1986,12 +1952,12 @@ export const de_DisassociateDelegateFromResourceCommand = async (output, context
|
|
|
1986
1952
|
}
|
|
1987
1953
|
const data = await parseBody(output.body, context);
|
|
1988
1954
|
let contents = {};
|
|
1989
|
-
contents =
|
|
1955
|
+
contents = _json(data);
|
|
1990
1956
|
const response = {
|
|
1991
1957
|
$metadata: deserializeMetadata(output),
|
|
1992
1958
|
...contents,
|
|
1993
1959
|
};
|
|
1994
|
-
return
|
|
1960
|
+
return response;
|
|
1995
1961
|
};
|
|
1996
1962
|
const de_DisassociateDelegateFromResourceCommandError = async (output, context) => {
|
|
1997
1963
|
const parsedOutput = {
|
|
@@ -2017,10 +1983,9 @@ const de_DisassociateDelegateFromResourceCommandError = async (output, context)
|
|
|
2017
1983
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2018
1984
|
default:
|
|
2019
1985
|
const parsedBody = parsedOutput.body;
|
|
2020
|
-
throwDefaultError({
|
|
1986
|
+
return throwDefaultError({
|
|
2021
1987
|
output,
|
|
2022
1988
|
parsedBody,
|
|
2023
|
-
exceptionCtor: __BaseException,
|
|
2024
1989
|
errorCode,
|
|
2025
1990
|
});
|
|
2026
1991
|
}
|
|
@@ -2031,12 +1996,12 @@ export const de_DisassociateMemberFromGroupCommand = async (output, context) =>
|
|
|
2031
1996
|
}
|
|
2032
1997
|
const data = await parseBody(output.body, context);
|
|
2033
1998
|
let contents = {};
|
|
2034
|
-
contents =
|
|
1999
|
+
contents = _json(data);
|
|
2035
2000
|
const response = {
|
|
2036
2001
|
$metadata: deserializeMetadata(output),
|
|
2037
2002
|
...contents,
|
|
2038
2003
|
};
|
|
2039
|
-
return
|
|
2004
|
+
return response;
|
|
2040
2005
|
};
|
|
2041
2006
|
const de_DisassociateMemberFromGroupCommandError = async (output, context) => {
|
|
2042
2007
|
const parsedOutput = {
|
|
@@ -2071,10 +2036,9 @@ const de_DisassociateMemberFromGroupCommandError = async (output, context) => {
|
|
|
2071
2036
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2072
2037
|
default:
|
|
2073
2038
|
const parsedBody = parsedOutput.body;
|
|
2074
|
-
throwDefaultError({
|
|
2039
|
+
return throwDefaultError({
|
|
2075
2040
|
output,
|
|
2076
2041
|
parsedBody,
|
|
2077
|
-
exceptionCtor: __BaseException,
|
|
2078
2042
|
errorCode,
|
|
2079
2043
|
});
|
|
2080
2044
|
}
|
|
@@ -2085,12 +2049,12 @@ export const de_GetAccessControlEffectCommand = async (output, context) => {
|
|
|
2085
2049
|
}
|
|
2086
2050
|
const data = await parseBody(output.body, context);
|
|
2087
2051
|
let contents = {};
|
|
2088
|
-
contents =
|
|
2052
|
+
contents = _json(data);
|
|
2089
2053
|
const response = {
|
|
2090
2054
|
$metadata: deserializeMetadata(output),
|
|
2091
2055
|
...contents,
|
|
2092
2056
|
};
|
|
2093
|
-
return
|
|
2057
|
+
return response;
|
|
2094
2058
|
};
|
|
2095
2059
|
const de_GetAccessControlEffectCommandError = async (output, context) => {
|
|
2096
2060
|
const parsedOutput = {
|
|
@@ -2116,10 +2080,9 @@ const de_GetAccessControlEffectCommandError = async (output, context) => {
|
|
|
2116
2080
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2117
2081
|
default:
|
|
2118
2082
|
const parsedBody = parsedOutput.body;
|
|
2119
|
-
throwDefaultError({
|
|
2083
|
+
return throwDefaultError({
|
|
2120
2084
|
output,
|
|
2121
2085
|
parsedBody,
|
|
2122
|
-
exceptionCtor: __BaseException,
|
|
2123
2086
|
errorCode,
|
|
2124
2087
|
});
|
|
2125
2088
|
}
|
|
@@ -2130,12 +2093,12 @@ export const de_GetDefaultRetentionPolicyCommand = async (output, context) => {
|
|
|
2130
2093
|
}
|
|
2131
2094
|
const data = await parseBody(output.body, context);
|
|
2132
2095
|
let contents = {};
|
|
2133
|
-
contents =
|
|
2096
|
+
contents = _json(data);
|
|
2134
2097
|
const response = {
|
|
2135
2098
|
$metadata: deserializeMetadata(output),
|
|
2136
2099
|
...contents,
|
|
2137
2100
|
};
|
|
2138
|
-
return
|
|
2101
|
+
return response;
|
|
2139
2102
|
};
|
|
2140
2103
|
const de_GetDefaultRetentionPolicyCommandError = async (output, context) => {
|
|
2141
2104
|
const parsedOutput = {
|
|
@@ -2158,10 +2121,9 @@ const de_GetDefaultRetentionPolicyCommandError = async (output, context) => {
|
|
|
2158
2121
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2159
2122
|
default:
|
|
2160
2123
|
const parsedBody = parsedOutput.body;
|
|
2161
|
-
throwDefaultError({
|
|
2124
|
+
return throwDefaultError({
|
|
2162
2125
|
output,
|
|
2163
2126
|
parsedBody,
|
|
2164
|
-
exceptionCtor: __BaseException,
|
|
2165
2127
|
errorCode,
|
|
2166
2128
|
});
|
|
2167
2129
|
}
|
|
@@ -2177,7 +2139,7 @@ export const de_GetImpersonationRoleCommand = async (output, context) => {
|
|
|
2177
2139
|
$metadata: deserializeMetadata(output),
|
|
2178
2140
|
...contents,
|
|
2179
2141
|
};
|
|
2180
|
-
return
|
|
2142
|
+
return response;
|
|
2181
2143
|
};
|
|
2182
2144
|
const de_GetImpersonationRoleCommandError = async (output, context) => {
|
|
2183
2145
|
const parsedOutput = {
|
|
@@ -2200,10 +2162,9 @@ const de_GetImpersonationRoleCommandError = async (output, context) => {
|
|
|
2200
2162
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2201
2163
|
default:
|
|
2202
2164
|
const parsedBody = parsedOutput.body;
|
|
2203
|
-
throwDefaultError({
|
|
2165
|
+
return throwDefaultError({
|
|
2204
2166
|
output,
|
|
2205
2167
|
parsedBody,
|
|
2206
|
-
exceptionCtor: __BaseException,
|
|
2207
2168
|
errorCode,
|
|
2208
2169
|
});
|
|
2209
2170
|
}
|
|
@@ -2214,12 +2175,12 @@ export const de_GetImpersonationRoleEffectCommand = async (output, context) => {
|
|
|
2214
2175
|
}
|
|
2215
2176
|
const data = await parseBody(output.body, context);
|
|
2216
2177
|
let contents = {};
|
|
2217
|
-
contents =
|
|
2178
|
+
contents = _json(data);
|
|
2218
2179
|
const response = {
|
|
2219
2180
|
$metadata: deserializeMetadata(output),
|
|
2220
2181
|
...contents,
|
|
2221
2182
|
};
|
|
2222
|
-
return
|
|
2183
|
+
return response;
|
|
2223
2184
|
};
|
|
2224
2185
|
const de_GetImpersonationRoleEffectCommandError = async (output, context) => {
|
|
2225
2186
|
const parsedOutput = {
|
|
@@ -2248,10 +2209,9 @@ const de_GetImpersonationRoleEffectCommandError = async (output, context) => {
|
|
|
2248
2209
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2249
2210
|
default:
|
|
2250
2211
|
const parsedBody = parsedOutput.body;
|
|
2251
|
-
throwDefaultError({
|
|
2212
|
+
return throwDefaultError({
|
|
2252
2213
|
output,
|
|
2253
2214
|
parsedBody,
|
|
2254
|
-
exceptionCtor: __BaseException,
|
|
2255
2215
|
errorCode,
|
|
2256
2216
|
});
|
|
2257
2217
|
}
|
|
@@ -2267,7 +2227,7 @@ export const de_GetMailboxDetailsCommand = async (output, context) => {
|
|
|
2267
2227
|
$metadata: deserializeMetadata(output),
|
|
2268
2228
|
...contents,
|
|
2269
2229
|
};
|
|
2270
|
-
return
|
|
2230
|
+
return response;
|
|
2271
2231
|
};
|
|
2272
2232
|
const de_GetMailboxDetailsCommandError = async (output, context) => {
|
|
2273
2233
|
const parsedOutput = {
|
|
@@ -2287,10 +2247,9 @@ const de_GetMailboxDetailsCommandError = async (output, context) => {
|
|
|
2287
2247
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2288
2248
|
default:
|
|
2289
2249
|
const parsedBody = parsedOutput.body;
|
|
2290
|
-
throwDefaultError({
|
|
2250
|
+
return throwDefaultError({
|
|
2291
2251
|
output,
|
|
2292
2252
|
parsedBody,
|
|
2293
|
-
exceptionCtor: __BaseException,
|
|
2294
2253
|
errorCode,
|
|
2295
2254
|
});
|
|
2296
2255
|
}
|
|
@@ -2301,12 +2260,12 @@ export const de_GetMailDomainCommand = async (output, context) => {
|
|
|
2301
2260
|
}
|
|
2302
2261
|
const data = await parseBody(output.body, context);
|
|
2303
2262
|
let contents = {};
|
|
2304
|
-
contents =
|
|
2263
|
+
contents = _json(data);
|
|
2305
2264
|
const response = {
|
|
2306
2265
|
$metadata: deserializeMetadata(output),
|
|
2307
2266
|
...contents,
|
|
2308
2267
|
};
|
|
2309
|
-
return
|
|
2268
|
+
return response;
|
|
2310
2269
|
};
|
|
2311
2270
|
const de_GetMailDomainCommandError = async (output, context) => {
|
|
2312
2271
|
const parsedOutput = {
|
|
@@ -2329,10 +2288,9 @@ const de_GetMailDomainCommandError = async (output, context) => {
|
|
|
2329
2288
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2330
2289
|
default:
|
|
2331
2290
|
const parsedBody = parsedOutput.body;
|
|
2332
|
-
throwDefaultError({
|
|
2291
|
+
return throwDefaultError({
|
|
2333
2292
|
output,
|
|
2334
2293
|
parsedBody,
|
|
2335
|
-
exceptionCtor: __BaseException,
|
|
2336
2294
|
errorCode,
|
|
2337
2295
|
});
|
|
2338
2296
|
}
|
|
@@ -2343,12 +2301,12 @@ export const de_GetMobileDeviceAccessEffectCommand = async (output, context) =>
|
|
|
2343
2301
|
}
|
|
2344
2302
|
const data = await parseBody(output.body, context);
|
|
2345
2303
|
let contents = {};
|
|
2346
|
-
contents =
|
|
2304
|
+
contents = _json(data);
|
|
2347
2305
|
const response = {
|
|
2348
2306
|
$metadata: deserializeMetadata(output),
|
|
2349
2307
|
...contents,
|
|
2350
2308
|
};
|
|
2351
|
-
return
|
|
2309
|
+
return response;
|
|
2352
2310
|
};
|
|
2353
2311
|
const de_GetMobileDeviceAccessEffectCommandError = async (output, context) => {
|
|
2354
2312
|
const parsedOutput = {
|
|
@@ -2368,10 +2326,9 @@ const de_GetMobileDeviceAccessEffectCommandError = async (output, context) => {
|
|
|
2368
2326
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2369
2327
|
default:
|
|
2370
2328
|
const parsedBody = parsedOutput.body;
|
|
2371
|
-
throwDefaultError({
|
|
2329
|
+
return throwDefaultError({
|
|
2372
2330
|
output,
|
|
2373
2331
|
parsedBody,
|
|
2374
|
-
exceptionCtor: __BaseException,
|
|
2375
2332
|
errorCode,
|
|
2376
2333
|
});
|
|
2377
2334
|
}
|
|
@@ -2387,7 +2344,7 @@ export const de_GetMobileDeviceAccessOverrideCommand = async (output, context) =
|
|
|
2387
2344
|
$metadata: deserializeMetadata(output),
|
|
2388
2345
|
...contents,
|
|
2389
2346
|
};
|
|
2390
|
-
return
|
|
2347
|
+
return response;
|
|
2391
2348
|
};
|
|
2392
2349
|
const de_GetMobileDeviceAccessOverrideCommandError = async (output, context) => {
|
|
2393
2350
|
const parsedOutput = {
|
|
@@ -2413,10 +2370,9 @@ const de_GetMobileDeviceAccessOverrideCommandError = async (output, context) =>
|
|
|
2413
2370
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2414
2371
|
default:
|
|
2415
2372
|
const parsedBody = parsedOutput.body;
|
|
2416
|
-
throwDefaultError({
|
|
2373
|
+
return throwDefaultError({
|
|
2417
2374
|
output,
|
|
2418
2375
|
parsedBody,
|
|
2419
|
-
exceptionCtor: __BaseException,
|
|
2420
2376
|
errorCode,
|
|
2421
2377
|
});
|
|
2422
2378
|
}
|
|
@@ -2432,7 +2388,7 @@ export const de_ListAccessControlRulesCommand = async (output, context) => {
|
|
|
2432
2388
|
$metadata: deserializeMetadata(output),
|
|
2433
2389
|
...contents,
|
|
2434
2390
|
};
|
|
2435
|
-
return
|
|
2391
|
+
return response;
|
|
2436
2392
|
};
|
|
2437
2393
|
const de_ListAccessControlRulesCommandError = async (output, context) => {
|
|
2438
2394
|
const parsedOutput = {
|
|
@@ -2449,10 +2405,9 @@ const de_ListAccessControlRulesCommandError = async (output, context) => {
|
|
|
2449
2405
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2450
2406
|
default:
|
|
2451
2407
|
const parsedBody = parsedOutput.body;
|
|
2452
|
-
throwDefaultError({
|
|
2408
|
+
return throwDefaultError({
|
|
2453
2409
|
output,
|
|
2454
2410
|
parsedBody,
|
|
2455
|
-
exceptionCtor: __BaseException,
|
|
2456
2411
|
errorCode,
|
|
2457
2412
|
});
|
|
2458
2413
|
}
|
|
@@ -2463,12 +2418,12 @@ export const de_ListAliasesCommand = async (output, context) => {
|
|
|
2463
2418
|
}
|
|
2464
2419
|
const data = await parseBody(output.body, context);
|
|
2465
2420
|
let contents = {};
|
|
2466
|
-
contents =
|
|
2421
|
+
contents = _json(data);
|
|
2467
2422
|
const response = {
|
|
2468
2423
|
$metadata: deserializeMetadata(output),
|
|
2469
2424
|
...contents,
|
|
2470
2425
|
};
|
|
2471
|
-
return
|
|
2426
|
+
return response;
|
|
2472
2427
|
};
|
|
2473
2428
|
const de_ListAliasesCommandError = async (output, context) => {
|
|
2474
2429
|
const parsedOutput = {
|
|
@@ -2494,10 +2449,9 @@ const de_ListAliasesCommandError = async (output, context) => {
|
|
|
2494
2449
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2495
2450
|
default:
|
|
2496
2451
|
const parsedBody = parsedOutput.body;
|
|
2497
|
-
throwDefaultError({
|
|
2452
|
+
return throwDefaultError({
|
|
2498
2453
|
output,
|
|
2499
2454
|
parsedBody,
|
|
2500
|
-
exceptionCtor: __BaseException,
|
|
2501
2455
|
errorCode,
|
|
2502
2456
|
});
|
|
2503
2457
|
}
|
|
@@ -2513,7 +2467,7 @@ export const de_ListAvailabilityConfigurationsCommand = async (output, context)
|
|
|
2513
2467
|
$metadata: deserializeMetadata(output),
|
|
2514
2468
|
...contents,
|
|
2515
2469
|
};
|
|
2516
|
-
return
|
|
2470
|
+
return response;
|
|
2517
2471
|
};
|
|
2518
2472
|
const de_ListAvailabilityConfigurationsCommandError = async (output, context) => {
|
|
2519
2473
|
const parsedOutput = {
|
|
@@ -2530,10 +2484,9 @@ const de_ListAvailabilityConfigurationsCommandError = async (output, context) =>
|
|
|
2530
2484
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2531
2485
|
default:
|
|
2532
2486
|
const parsedBody = parsedOutput.body;
|
|
2533
|
-
throwDefaultError({
|
|
2487
|
+
return throwDefaultError({
|
|
2534
2488
|
output,
|
|
2535
2489
|
parsedBody,
|
|
2536
|
-
exceptionCtor: __BaseException,
|
|
2537
2490
|
errorCode,
|
|
2538
2491
|
});
|
|
2539
2492
|
}
|
|
@@ -2549,7 +2502,7 @@ export const de_ListGroupMembersCommand = async (output, context) => {
|
|
|
2549
2502
|
$metadata: deserializeMetadata(output),
|
|
2550
2503
|
...contents,
|
|
2551
2504
|
};
|
|
2552
|
-
return
|
|
2505
|
+
return response;
|
|
2553
2506
|
};
|
|
2554
2507
|
const de_ListGroupMembersCommandError = async (output, context) => {
|
|
2555
2508
|
const parsedOutput = {
|
|
@@ -2575,10 +2528,9 @@ const de_ListGroupMembersCommandError = async (output, context) => {
|
|
|
2575
2528
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2576
2529
|
default:
|
|
2577
2530
|
const parsedBody = parsedOutput.body;
|
|
2578
|
-
throwDefaultError({
|
|
2531
|
+
return throwDefaultError({
|
|
2579
2532
|
output,
|
|
2580
2533
|
parsedBody,
|
|
2581
|
-
exceptionCtor: __BaseException,
|
|
2582
2534
|
errorCode,
|
|
2583
2535
|
});
|
|
2584
2536
|
}
|
|
@@ -2594,7 +2546,7 @@ export const de_ListGroupsCommand = async (output, context) => {
|
|
|
2594
2546
|
$metadata: deserializeMetadata(output),
|
|
2595
2547
|
...contents,
|
|
2596
2548
|
};
|
|
2597
|
-
return
|
|
2549
|
+
return response;
|
|
2598
2550
|
};
|
|
2599
2551
|
const de_ListGroupsCommandError = async (output, context) => {
|
|
2600
2552
|
const parsedOutput = {
|
|
@@ -2617,10 +2569,9 @@ const de_ListGroupsCommandError = async (output, context) => {
|
|
|
2617
2569
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2618
2570
|
default:
|
|
2619
2571
|
const parsedBody = parsedOutput.body;
|
|
2620
|
-
throwDefaultError({
|
|
2572
|
+
return throwDefaultError({
|
|
2621
2573
|
output,
|
|
2622
2574
|
parsedBody,
|
|
2623
|
-
exceptionCtor: __BaseException,
|
|
2624
2575
|
errorCode,
|
|
2625
2576
|
});
|
|
2626
2577
|
}
|
|
@@ -2636,7 +2587,7 @@ export const de_ListImpersonationRolesCommand = async (output, context) => {
|
|
|
2636
2587
|
$metadata: deserializeMetadata(output),
|
|
2637
2588
|
...contents,
|
|
2638
2589
|
};
|
|
2639
|
-
return
|
|
2590
|
+
return response;
|
|
2640
2591
|
};
|
|
2641
2592
|
const de_ListImpersonationRolesCommandError = async (output, context) => {
|
|
2642
2593
|
const parsedOutput = {
|
|
@@ -2656,10 +2607,9 @@ const de_ListImpersonationRolesCommandError = async (output, context) => {
|
|
|
2656
2607
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2657
2608
|
default:
|
|
2658
2609
|
const parsedBody = parsedOutput.body;
|
|
2659
|
-
throwDefaultError({
|
|
2610
|
+
return throwDefaultError({
|
|
2660
2611
|
output,
|
|
2661
2612
|
parsedBody,
|
|
2662
|
-
exceptionCtor: __BaseException,
|
|
2663
2613
|
errorCode,
|
|
2664
2614
|
});
|
|
2665
2615
|
}
|
|
@@ -2675,7 +2625,7 @@ export const de_ListMailboxExportJobsCommand = async (output, context) => {
|
|
|
2675
2625
|
$metadata: deserializeMetadata(output),
|
|
2676
2626
|
...contents,
|
|
2677
2627
|
};
|
|
2678
|
-
return
|
|
2628
|
+
return response;
|
|
2679
2629
|
};
|
|
2680
2630
|
const de_ListMailboxExportJobsCommandError = async (output, context) => {
|
|
2681
2631
|
const parsedOutput = {
|
|
@@ -2695,10 +2645,9 @@ const de_ListMailboxExportJobsCommandError = async (output, context) => {
|
|
|
2695
2645
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2696
2646
|
default:
|
|
2697
2647
|
const parsedBody = parsedOutput.body;
|
|
2698
|
-
throwDefaultError({
|
|
2648
|
+
return throwDefaultError({
|
|
2699
2649
|
output,
|
|
2700
2650
|
parsedBody,
|
|
2701
|
-
exceptionCtor: __BaseException,
|
|
2702
2651
|
errorCode,
|
|
2703
2652
|
});
|
|
2704
2653
|
}
|
|
@@ -2709,12 +2658,12 @@ export const de_ListMailboxPermissionsCommand = async (output, context) => {
|
|
|
2709
2658
|
}
|
|
2710
2659
|
const data = await parseBody(output.body, context);
|
|
2711
2660
|
let contents = {};
|
|
2712
|
-
contents =
|
|
2661
|
+
contents = _json(data);
|
|
2713
2662
|
const response = {
|
|
2714
2663
|
$metadata: deserializeMetadata(output),
|
|
2715
2664
|
...contents,
|
|
2716
2665
|
};
|
|
2717
|
-
return
|
|
2666
|
+
return response;
|
|
2718
2667
|
};
|
|
2719
2668
|
const de_ListMailboxPermissionsCommandError = async (output, context) => {
|
|
2720
2669
|
const parsedOutput = {
|
|
@@ -2737,10 +2686,9 @@ const de_ListMailboxPermissionsCommandError = async (output, context) => {
|
|
|
2737
2686
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2738
2687
|
default:
|
|
2739
2688
|
const parsedBody = parsedOutput.body;
|
|
2740
|
-
throwDefaultError({
|
|
2689
|
+
return throwDefaultError({
|
|
2741
2690
|
output,
|
|
2742
2691
|
parsedBody,
|
|
2743
|
-
exceptionCtor: __BaseException,
|
|
2744
2692
|
errorCode,
|
|
2745
2693
|
});
|
|
2746
2694
|
}
|
|
@@ -2751,12 +2699,12 @@ export const de_ListMailDomainsCommand = async (output, context) => {
|
|
|
2751
2699
|
}
|
|
2752
2700
|
const data = await parseBody(output.body, context);
|
|
2753
2701
|
let contents = {};
|
|
2754
|
-
contents =
|
|
2702
|
+
contents = _json(data);
|
|
2755
2703
|
const response = {
|
|
2756
2704
|
$metadata: deserializeMetadata(output),
|
|
2757
2705
|
...contents,
|
|
2758
2706
|
};
|
|
2759
|
-
return
|
|
2707
|
+
return response;
|
|
2760
2708
|
};
|
|
2761
2709
|
const de_ListMailDomainsCommandError = async (output, context) => {
|
|
2762
2710
|
const parsedOutput = {
|
|
@@ -2776,10 +2724,9 @@ const de_ListMailDomainsCommandError = async (output, context) => {
|
|
|
2776
2724
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2777
2725
|
default:
|
|
2778
2726
|
const parsedBody = parsedOutput.body;
|
|
2779
|
-
throwDefaultError({
|
|
2727
|
+
return throwDefaultError({
|
|
2780
2728
|
output,
|
|
2781
2729
|
parsedBody,
|
|
2782
|
-
exceptionCtor: __BaseException,
|
|
2783
2730
|
errorCode,
|
|
2784
2731
|
});
|
|
2785
2732
|
}
|
|
@@ -2795,7 +2742,7 @@ export const de_ListMobileDeviceAccessOverridesCommand = async (output, context)
|
|
|
2795
2742
|
$metadata: deserializeMetadata(output),
|
|
2796
2743
|
...contents,
|
|
2797
2744
|
};
|
|
2798
|
-
return
|
|
2745
|
+
return response;
|
|
2799
2746
|
};
|
|
2800
2747
|
const de_ListMobileDeviceAccessOverridesCommandError = async (output, context) => {
|
|
2801
2748
|
const parsedOutput = {
|
|
@@ -2818,10 +2765,9 @@ const de_ListMobileDeviceAccessOverridesCommandError = async (output, context) =
|
|
|
2818
2765
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2819
2766
|
default:
|
|
2820
2767
|
const parsedBody = parsedOutput.body;
|
|
2821
|
-
throwDefaultError({
|
|
2768
|
+
return throwDefaultError({
|
|
2822
2769
|
output,
|
|
2823
2770
|
parsedBody,
|
|
2824
|
-
exceptionCtor: __BaseException,
|
|
2825
2771
|
errorCode,
|
|
2826
2772
|
});
|
|
2827
2773
|
}
|
|
@@ -2837,7 +2783,7 @@ export const de_ListMobileDeviceAccessRulesCommand = async (output, context) =>
|
|
|
2837
2783
|
$metadata: deserializeMetadata(output),
|
|
2838
2784
|
...contents,
|
|
2839
2785
|
};
|
|
2840
|
-
return
|
|
2786
|
+
return response;
|
|
2841
2787
|
};
|
|
2842
2788
|
const de_ListMobileDeviceAccessRulesCommandError = async (output, context) => {
|
|
2843
2789
|
const parsedOutput = {
|
|
@@ -2857,10 +2803,9 @@ const de_ListMobileDeviceAccessRulesCommandError = async (output, context) => {
|
|
|
2857
2803
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2858
2804
|
default:
|
|
2859
2805
|
const parsedBody = parsedOutput.body;
|
|
2860
|
-
throwDefaultError({
|
|
2806
|
+
return throwDefaultError({
|
|
2861
2807
|
output,
|
|
2862
2808
|
parsedBody,
|
|
2863
|
-
exceptionCtor: __BaseException,
|
|
2864
2809
|
errorCode,
|
|
2865
2810
|
});
|
|
2866
2811
|
}
|
|
@@ -2871,12 +2816,12 @@ export const de_ListOrganizationsCommand = async (output, context) => {
|
|
|
2871
2816
|
}
|
|
2872
2817
|
const data = await parseBody(output.body, context);
|
|
2873
2818
|
let contents = {};
|
|
2874
|
-
contents =
|
|
2819
|
+
contents = _json(data);
|
|
2875
2820
|
const response = {
|
|
2876
2821
|
$metadata: deserializeMetadata(output),
|
|
2877
2822
|
...contents,
|
|
2878
2823
|
};
|
|
2879
|
-
return
|
|
2824
|
+
return response;
|
|
2880
2825
|
};
|
|
2881
2826
|
const de_ListOrganizationsCommandError = async (output, context) => {
|
|
2882
2827
|
const parsedOutput = {
|
|
@@ -2890,10 +2835,9 @@ const de_ListOrganizationsCommandError = async (output, context) => {
|
|
|
2890
2835
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2891
2836
|
default:
|
|
2892
2837
|
const parsedBody = parsedOutput.body;
|
|
2893
|
-
throwDefaultError({
|
|
2838
|
+
return throwDefaultError({
|
|
2894
2839
|
output,
|
|
2895
2840
|
parsedBody,
|
|
2896
|
-
exceptionCtor: __BaseException,
|
|
2897
2841
|
errorCode,
|
|
2898
2842
|
});
|
|
2899
2843
|
}
|
|
@@ -2904,12 +2848,12 @@ export const de_ListResourceDelegatesCommand = async (output, context) => {
|
|
|
2904
2848
|
}
|
|
2905
2849
|
const data = await parseBody(output.body, context);
|
|
2906
2850
|
let contents = {};
|
|
2907
|
-
contents =
|
|
2851
|
+
contents = _json(data);
|
|
2908
2852
|
const response = {
|
|
2909
2853
|
$metadata: deserializeMetadata(output),
|
|
2910
2854
|
...contents,
|
|
2911
2855
|
};
|
|
2912
|
-
return
|
|
2856
|
+
return response;
|
|
2913
2857
|
};
|
|
2914
2858
|
const de_ListResourceDelegatesCommandError = async (output, context) => {
|
|
2915
2859
|
const parsedOutput = {
|
|
@@ -2935,10 +2879,9 @@ const de_ListResourceDelegatesCommandError = async (output, context) => {
|
|
|
2935
2879
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2936
2880
|
default:
|
|
2937
2881
|
const parsedBody = parsedOutput.body;
|
|
2938
|
-
throwDefaultError({
|
|
2882
|
+
return throwDefaultError({
|
|
2939
2883
|
output,
|
|
2940
2884
|
parsedBody,
|
|
2941
|
-
exceptionCtor: __BaseException,
|
|
2942
2885
|
errorCode,
|
|
2943
2886
|
});
|
|
2944
2887
|
}
|
|
@@ -2954,7 +2897,7 @@ export const de_ListResourcesCommand = async (output, context) => {
|
|
|
2954
2897
|
$metadata: deserializeMetadata(output),
|
|
2955
2898
|
...contents,
|
|
2956
2899
|
};
|
|
2957
|
-
return
|
|
2900
|
+
return response;
|
|
2958
2901
|
};
|
|
2959
2902
|
const de_ListResourcesCommandError = async (output, context) => {
|
|
2960
2903
|
const parsedOutput = {
|
|
@@ -2974,10 +2917,9 @@ const de_ListResourcesCommandError = async (output, context) => {
|
|
|
2974
2917
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
2975
2918
|
default:
|
|
2976
2919
|
const parsedBody = parsedOutput.body;
|
|
2977
|
-
throwDefaultError({
|
|
2920
|
+
return throwDefaultError({
|
|
2978
2921
|
output,
|
|
2979
2922
|
parsedBody,
|
|
2980
|
-
exceptionCtor: __BaseException,
|
|
2981
2923
|
errorCode,
|
|
2982
2924
|
});
|
|
2983
2925
|
}
|
|
@@ -2988,12 +2930,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2988
2930
|
}
|
|
2989
2931
|
const data = await parseBody(output.body, context);
|
|
2990
2932
|
let contents = {};
|
|
2991
|
-
contents =
|
|
2933
|
+
contents = _json(data);
|
|
2992
2934
|
const response = {
|
|
2993
2935
|
$metadata: deserializeMetadata(output),
|
|
2994
2936
|
...contents,
|
|
2995
2937
|
};
|
|
2996
|
-
return
|
|
2938
|
+
return response;
|
|
2997
2939
|
};
|
|
2998
2940
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2999
2941
|
const parsedOutput = {
|
|
@@ -3007,10 +2949,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
3007
2949
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3008
2950
|
default:
|
|
3009
2951
|
const parsedBody = parsedOutput.body;
|
|
3010
|
-
throwDefaultError({
|
|
2952
|
+
return throwDefaultError({
|
|
3011
2953
|
output,
|
|
3012
2954
|
parsedBody,
|
|
3013
|
-
exceptionCtor: __BaseException,
|
|
3014
2955
|
errorCode,
|
|
3015
2956
|
});
|
|
3016
2957
|
}
|
|
@@ -3026,7 +2967,7 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
3026
2967
|
$metadata: deserializeMetadata(output),
|
|
3027
2968
|
...contents,
|
|
3028
2969
|
};
|
|
3029
|
-
return
|
|
2970
|
+
return response;
|
|
3030
2971
|
};
|
|
3031
2972
|
const de_ListUsersCommandError = async (output, context) => {
|
|
3032
2973
|
const parsedOutput = {
|
|
@@ -3046,10 +2987,9 @@ const de_ListUsersCommandError = async (output, context) => {
|
|
|
3046
2987
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3047
2988
|
default:
|
|
3048
2989
|
const parsedBody = parsedOutput.body;
|
|
3049
|
-
throwDefaultError({
|
|
2990
|
+
return throwDefaultError({
|
|
3050
2991
|
output,
|
|
3051
2992
|
parsedBody,
|
|
3052
|
-
exceptionCtor: __BaseException,
|
|
3053
2993
|
errorCode,
|
|
3054
2994
|
});
|
|
3055
2995
|
}
|
|
@@ -3060,12 +3000,12 @@ export const de_PutAccessControlRuleCommand = async (output, context) => {
|
|
|
3060
3000
|
}
|
|
3061
3001
|
const data = await parseBody(output.body, context);
|
|
3062
3002
|
let contents = {};
|
|
3063
|
-
contents =
|
|
3003
|
+
contents = _json(data);
|
|
3064
3004
|
const response = {
|
|
3065
3005
|
$metadata: deserializeMetadata(output),
|
|
3066
3006
|
...contents,
|
|
3067
3007
|
};
|
|
3068
|
-
return
|
|
3008
|
+
return response;
|
|
3069
3009
|
};
|
|
3070
3010
|
const de_PutAccessControlRuleCommandError = async (output, context) => {
|
|
3071
3011
|
const parsedOutput = {
|
|
@@ -3094,10 +3034,9 @@ const de_PutAccessControlRuleCommandError = async (output, context) => {
|
|
|
3094
3034
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3095
3035
|
default:
|
|
3096
3036
|
const parsedBody = parsedOutput.body;
|
|
3097
|
-
throwDefaultError({
|
|
3037
|
+
return throwDefaultError({
|
|
3098
3038
|
output,
|
|
3099
3039
|
parsedBody,
|
|
3100
|
-
exceptionCtor: __BaseException,
|
|
3101
3040
|
errorCode,
|
|
3102
3041
|
});
|
|
3103
3042
|
}
|
|
@@ -3108,12 +3047,12 @@ export const de_PutEmailMonitoringConfigurationCommand = async (output, context)
|
|
|
3108
3047
|
}
|
|
3109
3048
|
const data = await parseBody(output.body, context);
|
|
3110
3049
|
let contents = {};
|
|
3111
|
-
contents =
|
|
3050
|
+
contents = _json(data);
|
|
3112
3051
|
const response = {
|
|
3113
3052
|
$metadata: deserializeMetadata(output),
|
|
3114
3053
|
...contents,
|
|
3115
3054
|
};
|
|
3116
|
-
return
|
|
3055
|
+
return response;
|
|
3117
3056
|
};
|
|
3118
3057
|
const de_PutEmailMonitoringConfigurationCommandError = async (output, context) => {
|
|
3119
3058
|
const parsedOutput = {
|
|
@@ -3136,10 +3075,9 @@ const de_PutEmailMonitoringConfigurationCommandError = async (output, context) =
|
|
|
3136
3075
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3137
3076
|
default:
|
|
3138
3077
|
const parsedBody = parsedOutput.body;
|
|
3139
|
-
throwDefaultError({
|
|
3078
|
+
return throwDefaultError({
|
|
3140
3079
|
output,
|
|
3141
3080
|
parsedBody,
|
|
3142
|
-
exceptionCtor: __BaseException,
|
|
3143
3081
|
errorCode,
|
|
3144
3082
|
});
|
|
3145
3083
|
}
|
|
@@ -3150,12 +3088,12 @@ export const de_PutInboundDmarcSettingsCommand = async (output, context) => {
|
|
|
3150
3088
|
}
|
|
3151
3089
|
const data = await parseBody(output.body, context);
|
|
3152
3090
|
let contents = {};
|
|
3153
|
-
contents =
|
|
3091
|
+
contents = _json(data);
|
|
3154
3092
|
const response = {
|
|
3155
3093
|
$metadata: deserializeMetadata(output),
|
|
3156
3094
|
...contents,
|
|
3157
3095
|
};
|
|
3158
|
-
return
|
|
3096
|
+
return response;
|
|
3159
3097
|
};
|
|
3160
3098
|
const de_PutInboundDmarcSettingsCommandError = async (output, context) => {
|
|
3161
3099
|
const parsedOutput = {
|
|
@@ -3172,10 +3110,9 @@ const de_PutInboundDmarcSettingsCommandError = async (output, context) => {
|
|
|
3172
3110
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3173
3111
|
default:
|
|
3174
3112
|
const parsedBody = parsedOutput.body;
|
|
3175
|
-
throwDefaultError({
|
|
3113
|
+
return throwDefaultError({
|
|
3176
3114
|
output,
|
|
3177
3115
|
parsedBody,
|
|
3178
|
-
exceptionCtor: __BaseException,
|
|
3179
3116
|
errorCode,
|
|
3180
3117
|
});
|
|
3181
3118
|
}
|
|
@@ -3186,12 +3123,12 @@ export const de_PutMailboxPermissionsCommand = async (output, context) => {
|
|
|
3186
3123
|
}
|
|
3187
3124
|
const data = await parseBody(output.body, context);
|
|
3188
3125
|
let contents = {};
|
|
3189
|
-
contents =
|
|
3126
|
+
contents = _json(data);
|
|
3190
3127
|
const response = {
|
|
3191
3128
|
$metadata: deserializeMetadata(output),
|
|
3192
3129
|
...contents,
|
|
3193
3130
|
};
|
|
3194
|
-
return
|
|
3131
|
+
return response;
|
|
3195
3132
|
};
|
|
3196
3133
|
const de_PutMailboxPermissionsCommandError = async (output, context) => {
|
|
3197
3134
|
const parsedOutput = {
|
|
@@ -3217,10 +3154,9 @@ const de_PutMailboxPermissionsCommandError = async (output, context) => {
|
|
|
3217
3154
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3218
3155
|
default:
|
|
3219
3156
|
const parsedBody = parsedOutput.body;
|
|
3220
|
-
throwDefaultError({
|
|
3157
|
+
return throwDefaultError({
|
|
3221
3158
|
output,
|
|
3222
3159
|
parsedBody,
|
|
3223
|
-
exceptionCtor: __BaseException,
|
|
3224
3160
|
errorCode,
|
|
3225
3161
|
});
|
|
3226
3162
|
}
|
|
@@ -3231,12 +3167,12 @@ export const de_PutMobileDeviceAccessOverrideCommand = async (output, context) =
|
|
|
3231
3167
|
}
|
|
3232
3168
|
const data = await parseBody(output.body, context);
|
|
3233
3169
|
let contents = {};
|
|
3234
|
-
contents =
|
|
3170
|
+
contents = _json(data);
|
|
3235
3171
|
const response = {
|
|
3236
3172
|
$metadata: deserializeMetadata(output),
|
|
3237
3173
|
...contents,
|
|
3238
3174
|
};
|
|
3239
|
-
return
|
|
3175
|
+
return response;
|
|
3240
3176
|
};
|
|
3241
3177
|
const de_PutMobileDeviceAccessOverrideCommandError = async (output, context) => {
|
|
3242
3178
|
const parsedOutput = {
|
|
@@ -3262,10 +3198,9 @@ const de_PutMobileDeviceAccessOverrideCommandError = async (output, context) =>
|
|
|
3262
3198
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3263
3199
|
default:
|
|
3264
3200
|
const parsedBody = parsedOutput.body;
|
|
3265
|
-
throwDefaultError({
|
|
3201
|
+
return throwDefaultError({
|
|
3266
3202
|
output,
|
|
3267
3203
|
parsedBody,
|
|
3268
|
-
exceptionCtor: __BaseException,
|
|
3269
3204
|
errorCode,
|
|
3270
3205
|
});
|
|
3271
3206
|
}
|
|
@@ -3276,12 +3211,12 @@ export const de_PutRetentionPolicyCommand = async (output, context) => {
|
|
|
3276
3211
|
}
|
|
3277
3212
|
const data = await parseBody(output.body, context);
|
|
3278
3213
|
let contents = {};
|
|
3279
|
-
contents =
|
|
3214
|
+
contents = _json(data);
|
|
3280
3215
|
const response = {
|
|
3281
3216
|
$metadata: deserializeMetadata(output),
|
|
3282
3217
|
...contents,
|
|
3283
3218
|
};
|
|
3284
|
-
return
|
|
3219
|
+
return response;
|
|
3285
3220
|
};
|
|
3286
3221
|
const de_PutRetentionPolicyCommandError = async (output, context) => {
|
|
3287
3222
|
const parsedOutput = {
|
|
@@ -3304,10 +3239,9 @@ const de_PutRetentionPolicyCommandError = async (output, context) => {
|
|
|
3304
3239
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3305
3240
|
default:
|
|
3306
3241
|
const parsedBody = parsedOutput.body;
|
|
3307
|
-
throwDefaultError({
|
|
3242
|
+
return throwDefaultError({
|
|
3308
3243
|
output,
|
|
3309
3244
|
parsedBody,
|
|
3310
|
-
exceptionCtor: __BaseException,
|
|
3311
3245
|
errorCode,
|
|
3312
3246
|
});
|
|
3313
3247
|
}
|
|
@@ -3318,12 +3252,12 @@ export const de_RegisterMailDomainCommand = async (output, context) => {
|
|
|
3318
3252
|
}
|
|
3319
3253
|
const data = await parseBody(output.body, context);
|
|
3320
3254
|
let contents = {};
|
|
3321
|
-
contents =
|
|
3255
|
+
contents = _json(data);
|
|
3322
3256
|
const response = {
|
|
3323
3257
|
$metadata: deserializeMetadata(output),
|
|
3324
3258
|
...contents,
|
|
3325
3259
|
};
|
|
3326
|
-
return
|
|
3260
|
+
return response;
|
|
3327
3261
|
};
|
|
3328
3262
|
const de_RegisterMailDomainCommandError = async (output, context) => {
|
|
3329
3263
|
const parsedOutput = {
|
|
@@ -3349,10 +3283,9 @@ const de_RegisterMailDomainCommandError = async (output, context) => {
|
|
|
3349
3283
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3350
3284
|
default:
|
|
3351
3285
|
const parsedBody = parsedOutput.body;
|
|
3352
|
-
throwDefaultError({
|
|
3286
|
+
return throwDefaultError({
|
|
3353
3287
|
output,
|
|
3354
3288
|
parsedBody,
|
|
3355
|
-
exceptionCtor: __BaseException,
|
|
3356
3289
|
errorCode,
|
|
3357
3290
|
});
|
|
3358
3291
|
}
|
|
@@ -3363,12 +3296,12 @@ export const de_RegisterToWorkMailCommand = async (output, context) => {
|
|
|
3363
3296
|
}
|
|
3364
3297
|
const data = await parseBody(output.body, context);
|
|
3365
3298
|
let contents = {};
|
|
3366
|
-
contents =
|
|
3299
|
+
contents = _json(data);
|
|
3367
3300
|
const response = {
|
|
3368
3301
|
$metadata: deserializeMetadata(output),
|
|
3369
3302
|
...contents,
|
|
3370
3303
|
};
|
|
3371
|
-
return
|
|
3304
|
+
return response;
|
|
3372
3305
|
};
|
|
3373
3306
|
const de_RegisterToWorkMailCommandError = async (output, context) => {
|
|
3374
3307
|
const parsedOutput = {
|
|
@@ -3412,10 +3345,9 @@ const de_RegisterToWorkMailCommandError = async (output, context) => {
|
|
|
3412
3345
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3413
3346
|
default:
|
|
3414
3347
|
const parsedBody = parsedOutput.body;
|
|
3415
|
-
throwDefaultError({
|
|
3348
|
+
return throwDefaultError({
|
|
3416
3349
|
output,
|
|
3417
3350
|
parsedBody,
|
|
3418
|
-
exceptionCtor: __BaseException,
|
|
3419
3351
|
errorCode,
|
|
3420
3352
|
});
|
|
3421
3353
|
}
|
|
@@ -3426,12 +3358,12 @@ export const de_ResetPasswordCommand = async (output, context) => {
|
|
|
3426
3358
|
}
|
|
3427
3359
|
const data = await parseBody(output.body, context);
|
|
3428
3360
|
let contents = {};
|
|
3429
|
-
contents =
|
|
3361
|
+
contents = _json(data);
|
|
3430
3362
|
const response = {
|
|
3431
3363
|
$metadata: deserializeMetadata(output),
|
|
3432
3364
|
...contents,
|
|
3433
3365
|
};
|
|
3434
|
-
return
|
|
3366
|
+
return response;
|
|
3435
3367
|
};
|
|
3436
3368
|
const de_ResetPasswordCommandError = async (output, context) => {
|
|
3437
3369
|
const parsedOutput = {
|
|
@@ -3469,10 +3401,9 @@ const de_ResetPasswordCommandError = async (output, context) => {
|
|
|
3469
3401
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3470
3402
|
default:
|
|
3471
3403
|
const parsedBody = parsedOutput.body;
|
|
3472
|
-
throwDefaultError({
|
|
3404
|
+
return throwDefaultError({
|
|
3473
3405
|
output,
|
|
3474
3406
|
parsedBody,
|
|
3475
|
-
exceptionCtor: __BaseException,
|
|
3476
3407
|
errorCode,
|
|
3477
3408
|
});
|
|
3478
3409
|
}
|
|
@@ -3483,12 +3414,12 @@ export const de_StartMailboxExportJobCommand = async (output, context) => {
|
|
|
3483
3414
|
}
|
|
3484
3415
|
const data = await parseBody(output.body, context);
|
|
3485
3416
|
let contents = {};
|
|
3486
|
-
contents =
|
|
3417
|
+
contents = _json(data);
|
|
3487
3418
|
const response = {
|
|
3488
3419
|
$metadata: deserializeMetadata(output),
|
|
3489
3420
|
...contents,
|
|
3490
3421
|
};
|
|
3491
|
-
return
|
|
3422
|
+
return response;
|
|
3492
3423
|
};
|
|
3493
3424
|
const de_StartMailboxExportJobCommandError = async (output, context) => {
|
|
3494
3425
|
const parsedOutput = {
|
|
@@ -3514,10 +3445,9 @@ const de_StartMailboxExportJobCommandError = async (output, context) => {
|
|
|
3514
3445
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3515
3446
|
default:
|
|
3516
3447
|
const parsedBody = parsedOutput.body;
|
|
3517
|
-
throwDefaultError({
|
|
3448
|
+
return throwDefaultError({
|
|
3518
3449
|
output,
|
|
3519
3450
|
parsedBody,
|
|
3520
|
-
exceptionCtor: __BaseException,
|
|
3521
3451
|
errorCode,
|
|
3522
3452
|
});
|
|
3523
3453
|
}
|
|
@@ -3528,12 +3458,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
3528
3458
|
}
|
|
3529
3459
|
const data = await parseBody(output.body, context);
|
|
3530
3460
|
let contents = {};
|
|
3531
|
-
contents =
|
|
3461
|
+
contents = _json(data);
|
|
3532
3462
|
const response = {
|
|
3533
3463
|
$metadata: deserializeMetadata(output),
|
|
3534
3464
|
...contents,
|
|
3535
3465
|
};
|
|
3536
|
-
return
|
|
3466
|
+
return response;
|
|
3537
3467
|
};
|
|
3538
3468
|
const de_TagResourceCommandError = async (output, context) => {
|
|
3539
3469
|
const parsedOutput = {
|
|
@@ -3553,10 +3483,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3553
3483
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
3554
3484
|
default:
|
|
3555
3485
|
const parsedBody = parsedOutput.body;
|
|
3556
|
-
throwDefaultError({
|
|
3486
|
+
return throwDefaultError({
|
|
3557
3487
|
output,
|
|
3558
3488
|
parsedBody,
|
|
3559
|
-
exceptionCtor: __BaseException,
|
|
3560
3489
|
errorCode,
|
|
3561
3490
|
});
|
|
3562
3491
|
}
|
|
@@ -3567,12 +3496,12 @@ export const de_TestAvailabilityConfigurationCommand = async (output, context) =
|
|
|
3567
3496
|
}
|
|
3568
3497
|
const data = await parseBody(output.body, context);
|
|
3569
3498
|
let contents = {};
|
|
3570
|
-
contents =
|
|
3499
|
+
contents = _json(data);
|
|
3571
3500
|
const response = {
|
|
3572
3501
|
$metadata: deserializeMetadata(output),
|
|
3573
3502
|
...contents,
|
|
3574
3503
|
};
|
|
3575
|
-
return
|
|
3504
|
+
return response;
|
|
3576
3505
|
};
|
|
3577
3506
|
const de_TestAvailabilityConfigurationCommandError = async (output, context) => {
|
|
3578
3507
|
const parsedOutput = {
|
|
@@ -3595,10 +3524,9 @@ const de_TestAvailabilityConfigurationCommandError = async (output, context) =>
|
|
|
3595
3524
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3596
3525
|
default:
|
|
3597
3526
|
const parsedBody = parsedOutput.body;
|
|
3598
|
-
throwDefaultError({
|
|
3527
|
+
return throwDefaultError({
|
|
3599
3528
|
output,
|
|
3600
3529
|
parsedBody,
|
|
3601
|
-
exceptionCtor: __BaseException,
|
|
3602
3530
|
errorCode,
|
|
3603
3531
|
});
|
|
3604
3532
|
}
|
|
@@ -3609,12 +3537,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
3609
3537
|
}
|
|
3610
3538
|
const data = await parseBody(output.body, context);
|
|
3611
3539
|
let contents = {};
|
|
3612
|
-
contents =
|
|
3540
|
+
contents = _json(data);
|
|
3613
3541
|
const response = {
|
|
3614
3542
|
$metadata: deserializeMetadata(output),
|
|
3615
3543
|
...contents,
|
|
3616
3544
|
};
|
|
3617
|
-
return
|
|
3545
|
+
return response;
|
|
3618
3546
|
};
|
|
3619
3547
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
3620
3548
|
const parsedOutput = {
|
|
@@ -3628,10 +3556,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3628
3556
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3629
3557
|
default:
|
|
3630
3558
|
const parsedBody = parsedOutput.body;
|
|
3631
|
-
throwDefaultError({
|
|
3559
|
+
return throwDefaultError({
|
|
3632
3560
|
output,
|
|
3633
3561
|
parsedBody,
|
|
3634
|
-
exceptionCtor: __BaseException,
|
|
3635
3562
|
errorCode,
|
|
3636
3563
|
});
|
|
3637
3564
|
}
|
|
@@ -3642,12 +3569,12 @@ export const de_UpdateAvailabilityConfigurationCommand = async (output, context)
|
|
|
3642
3569
|
}
|
|
3643
3570
|
const data = await parseBody(output.body, context);
|
|
3644
3571
|
let contents = {};
|
|
3645
|
-
contents =
|
|
3572
|
+
contents = _json(data);
|
|
3646
3573
|
const response = {
|
|
3647
3574
|
$metadata: deserializeMetadata(output),
|
|
3648
3575
|
...contents,
|
|
3649
3576
|
};
|
|
3650
|
-
return
|
|
3577
|
+
return response;
|
|
3651
3578
|
};
|
|
3652
3579
|
const de_UpdateAvailabilityConfigurationCommandError = async (output, context) => {
|
|
3653
3580
|
const parsedOutput = {
|
|
@@ -3670,10 +3597,9 @@ const de_UpdateAvailabilityConfigurationCommandError = async (output, context) =
|
|
|
3670
3597
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3671
3598
|
default:
|
|
3672
3599
|
const parsedBody = parsedOutput.body;
|
|
3673
|
-
throwDefaultError({
|
|
3600
|
+
return throwDefaultError({
|
|
3674
3601
|
output,
|
|
3675
3602
|
parsedBody,
|
|
3676
|
-
exceptionCtor: __BaseException,
|
|
3677
3603
|
errorCode,
|
|
3678
3604
|
});
|
|
3679
3605
|
}
|
|
@@ -3684,12 +3610,12 @@ export const de_UpdateDefaultMailDomainCommand = async (output, context) => {
|
|
|
3684
3610
|
}
|
|
3685
3611
|
const data = await parseBody(output.body, context);
|
|
3686
3612
|
let contents = {};
|
|
3687
|
-
contents =
|
|
3613
|
+
contents = _json(data);
|
|
3688
3614
|
const response = {
|
|
3689
3615
|
$metadata: deserializeMetadata(output),
|
|
3690
3616
|
...contents,
|
|
3691
3617
|
};
|
|
3692
|
-
return
|
|
3618
|
+
return response;
|
|
3693
3619
|
};
|
|
3694
3620
|
const de_UpdateDefaultMailDomainCommandError = async (output, context) => {
|
|
3695
3621
|
const parsedOutput = {
|
|
@@ -3715,10 +3641,9 @@ const de_UpdateDefaultMailDomainCommandError = async (output, context) => {
|
|
|
3715
3641
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3716
3642
|
default:
|
|
3717
3643
|
const parsedBody = parsedOutput.body;
|
|
3718
|
-
throwDefaultError({
|
|
3644
|
+
return throwDefaultError({
|
|
3719
3645
|
output,
|
|
3720
3646
|
parsedBody,
|
|
3721
|
-
exceptionCtor: __BaseException,
|
|
3722
3647
|
errorCode,
|
|
3723
3648
|
});
|
|
3724
3649
|
}
|
|
@@ -3729,12 +3654,12 @@ export const de_UpdateImpersonationRoleCommand = async (output, context) => {
|
|
|
3729
3654
|
}
|
|
3730
3655
|
const data = await parseBody(output.body, context);
|
|
3731
3656
|
let contents = {};
|
|
3732
|
-
contents =
|
|
3657
|
+
contents = _json(data);
|
|
3733
3658
|
const response = {
|
|
3734
3659
|
$metadata: deserializeMetadata(output),
|
|
3735
3660
|
...contents,
|
|
3736
3661
|
};
|
|
3737
|
-
return
|
|
3662
|
+
return response;
|
|
3738
3663
|
};
|
|
3739
3664
|
const de_UpdateImpersonationRoleCommandError = async (output, context) => {
|
|
3740
3665
|
const parsedOutput = {
|
|
@@ -3766,10 +3691,9 @@ const de_UpdateImpersonationRoleCommandError = async (output, context) => {
|
|
|
3766
3691
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3767
3692
|
default:
|
|
3768
3693
|
const parsedBody = parsedOutput.body;
|
|
3769
|
-
throwDefaultError({
|
|
3694
|
+
return throwDefaultError({
|
|
3770
3695
|
output,
|
|
3771
3696
|
parsedBody,
|
|
3772
|
-
exceptionCtor: __BaseException,
|
|
3773
3697
|
errorCode,
|
|
3774
3698
|
});
|
|
3775
3699
|
}
|
|
@@ -3780,12 +3704,12 @@ export const de_UpdateMailboxQuotaCommand = async (output, context) => {
|
|
|
3780
3704
|
}
|
|
3781
3705
|
const data = await parseBody(output.body, context);
|
|
3782
3706
|
let contents = {};
|
|
3783
|
-
contents =
|
|
3707
|
+
contents = _json(data);
|
|
3784
3708
|
const response = {
|
|
3785
3709
|
$metadata: deserializeMetadata(output),
|
|
3786
3710
|
...contents,
|
|
3787
3711
|
};
|
|
3788
|
-
return
|
|
3712
|
+
return response;
|
|
3789
3713
|
};
|
|
3790
3714
|
const de_UpdateMailboxQuotaCommandError = async (output, context) => {
|
|
3791
3715
|
const parsedOutput = {
|
|
@@ -3811,10 +3735,9 @@ const de_UpdateMailboxQuotaCommandError = async (output, context) => {
|
|
|
3811
3735
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3812
3736
|
default:
|
|
3813
3737
|
const parsedBody = parsedOutput.body;
|
|
3814
|
-
throwDefaultError({
|
|
3738
|
+
return throwDefaultError({
|
|
3815
3739
|
output,
|
|
3816
3740
|
parsedBody,
|
|
3817
|
-
exceptionCtor: __BaseException,
|
|
3818
3741
|
errorCode,
|
|
3819
3742
|
});
|
|
3820
3743
|
}
|
|
@@ -3825,12 +3748,12 @@ export const de_UpdateMobileDeviceAccessRuleCommand = async (output, context) =>
|
|
|
3825
3748
|
}
|
|
3826
3749
|
const data = await parseBody(output.body, context);
|
|
3827
3750
|
let contents = {};
|
|
3828
|
-
contents =
|
|
3751
|
+
contents = _json(data);
|
|
3829
3752
|
const response = {
|
|
3830
3753
|
$metadata: deserializeMetadata(output),
|
|
3831
3754
|
...contents,
|
|
3832
3755
|
};
|
|
3833
|
-
return
|
|
3756
|
+
return response;
|
|
3834
3757
|
};
|
|
3835
3758
|
const de_UpdateMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
3836
3759
|
const parsedOutput = {
|
|
@@ -3853,10 +3776,9 @@ const de_UpdateMobileDeviceAccessRuleCommandError = async (output, context) => {
|
|
|
3853
3776
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3854
3777
|
default:
|
|
3855
3778
|
const parsedBody = parsedOutput.body;
|
|
3856
|
-
throwDefaultError({
|
|
3779
|
+
return throwDefaultError({
|
|
3857
3780
|
output,
|
|
3858
3781
|
parsedBody,
|
|
3859
|
-
exceptionCtor: __BaseException,
|
|
3860
3782
|
errorCode,
|
|
3861
3783
|
});
|
|
3862
3784
|
}
|
|
@@ -3867,12 +3789,12 @@ export const de_UpdatePrimaryEmailAddressCommand = async (output, context) => {
|
|
|
3867
3789
|
}
|
|
3868
3790
|
const data = await parseBody(output.body, context);
|
|
3869
3791
|
let contents = {};
|
|
3870
|
-
contents =
|
|
3792
|
+
contents = _json(data);
|
|
3871
3793
|
const response = {
|
|
3872
3794
|
$metadata: deserializeMetadata(output),
|
|
3873
3795
|
...contents,
|
|
3874
3796
|
};
|
|
3875
|
-
return
|
|
3797
|
+
return response;
|
|
3876
3798
|
};
|
|
3877
3799
|
const de_UpdatePrimaryEmailAddressCommandError = async (output, context) => {
|
|
3878
3800
|
const parsedOutput = {
|
|
@@ -3916,10 +3838,9 @@ const de_UpdatePrimaryEmailAddressCommandError = async (output, context) => {
|
|
|
3916
3838
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3917
3839
|
default:
|
|
3918
3840
|
const parsedBody = parsedOutput.body;
|
|
3919
|
-
throwDefaultError({
|
|
3841
|
+
return throwDefaultError({
|
|
3920
3842
|
output,
|
|
3921
3843
|
parsedBody,
|
|
3922
|
-
exceptionCtor: __BaseException,
|
|
3923
3844
|
errorCode,
|
|
3924
3845
|
});
|
|
3925
3846
|
}
|
|
@@ -3930,12 +3851,12 @@ export const de_UpdateResourceCommand = async (output, context) => {
|
|
|
3930
3851
|
}
|
|
3931
3852
|
const data = await parseBody(output.body, context);
|
|
3932
3853
|
let contents = {};
|
|
3933
|
-
contents =
|
|
3854
|
+
contents = _json(data);
|
|
3934
3855
|
const response = {
|
|
3935
3856
|
$metadata: deserializeMetadata(output),
|
|
3936
3857
|
...contents,
|
|
3937
3858
|
};
|
|
3938
|
-
return
|
|
3859
|
+
return response;
|
|
3939
3860
|
};
|
|
3940
3861
|
const de_UpdateResourceCommandError = async (output, context) => {
|
|
3941
3862
|
const parsedOutput = {
|
|
@@ -3976,17 +3897,16 @@ const de_UpdateResourceCommandError = async (output, context) => {
|
|
|
3976
3897
|
throw await de_OrganizationStateExceptionRes(parsedOutput, context);
|
|
3977
3898
|
default:
|
|
3978
3899
|
const parsedBody = parsedOutput.body;
|
|
3979
|
-
throwDefaultError({
|
|
3900
|
+
return throwDefaultError({
|
|
3980
3901
|
output,
|
|
3981
3902
|
parsedBody,
|
|
3982
|
-
exceptionCtor: __BaseException,
|
|
3983
3903
|
errorCode,
|
|
3984
3904
|
});
|
|
3985
3905
|
}
|
|
3986
3906
|
};
|
|
3987
3907
|
const de_DirectoryInUseExceptionRes = async (parsedOutput, context) => {
|
|
3988
3908
|
const body = parsedOutput.body;
|
|
3989
|
-
const deserialized =
|
|
3909
|
+
const deserialized = _json(body);
|
|
3990
3910
|
const exception = new DirectoryInUseException({
|
|
3991
3911
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3992
3912
|
...deserialized,
|
|
@@ -3995,7 +3915,7 @@ const de_DirectoryInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3995
3915
|
};
|
|
3996
3916
|
const de_DirectoryServiceAuthenticationFailedExceptionRes = async (parsedOutput, context) => {
|
|
3997
3917
|
const body = parsedOutput.body;
|
|
3998
|
-
const deserialized =
|
|
3918
|
+
const deserialized = _json(body);
|
|
3999
3919
|
const exception = new DirectoryServiceAuthenticationFailedException({
|
|
4000
3920
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4001
3921
|
...deserialized,
|
|
@@ -4004,7 +3924,7 @@ const de_DirectoryServiceAuthenticationFailedExceptionRes = async (parsedOutput,
|
|
|
4004
3924
|
};
|
|
4005
3925
|
const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
4006
3926
|
const body = parsedOutput.body;
|
|
4007
|
-
const deserialized =
|
|
3927
|
+
const deserialized = _json(body);
|
|
4008
3928
|
const exception = new DirectoryUnavailableException({
|
|
4009
3929
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4010
3930
|
...deserialized,
|
|
@@ -4013,7 +3933,7 @@ const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
4013
3933
|
};
|
|
4014
3934
|
const de_EmailAddressInUseExceptionRes = async (parsedOutput, context) => {
|
|
4015
3935
|
const body = parsedOutput.body;
|
|
4016
|
-
const deserialized =
|
|
3936
|
+
const deserialized = _json(body);
|
|
4017
3937
|
const exception = new EmailAddressInUseException({
|
|
4018
3938
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4019
3939
|
...deserialized,
|
|
@@ -4022,7 +3942,7 @@ const de_EmailAddressInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
4022
3942
|
};
|
|
4023
3943
|
const de_EntityAlreadyRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
4024
3944
|
const body = parsedOutput.body;
|
|
4025
|
-
const deserialized =
|
|
3945
|
+
const deserialized = _json(body);
|
|
4026
3946
|
const exception = new EntityAlreadyRegisteredException({
|
|
4027
3947
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4028
3948
|
...deserialized,
|
|
@@ -4031,7 +3951,7 @@ const de_EntityAlreadyRegisteredExceptionRes = async (parsedOutput, context) =>
|
|
|
4031
3951
|
};
|
|
4032
3952
|
const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4033
3953
|
const body = parsedOutput.body;
|
|
4034
|
-
const deserialized =
|
|
3954
|
+
const deserialized = _json(body);
|
|
4035
3955
|
const exception = new EntityNotFoundException({
|
|
4036
3956
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4037
3957
|
...deserialized,
|
|
@@ -4040,7 +3960,7 @@ const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
4040
3960
|
};
|
|
4041
3961
|
const de_EntityStateExceptionRes = async (parsedOutput, context) => {
|
|
4042
3962
|
const body = parsedOutput.body;
|
|
4043
|
-
const deserialized =
|
|
3963
|
+
const deserialized = _json(body);
|
|
4044
3964
|
const exception = new EntityStateException({
|
|
4045
3965
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4046
3966
|
...deserialized,
|
|
@@ -4049,7 +3969,7 @@ const de_EntityStateExceptionRes = async (parsedOutput, context) => {
|
|
|
4049
3969
|
};
|
|
4050
3970
|
const de_InvalidConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
4051
3971
|
const body = parsedOutput.body;
|
|
4052
|
-
const deserialized =
|
|
3972
|
+
const deserialized = _json(body);
|
|
4053
3973
|
const exception = new InvalidConfigurationException({
|
|
4054
3974
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4055
3975
|
...deserialized,
|
|
@@ -4058,7 +3978,7 @@ const de_InvalidConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
|
4058
3978
|
};
|
|
4059
3979
|
const de_InvalidCustomSesConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
4060
3980
|
const body = parsedOutput.body;
|
|
4061
|
-
const deserialized =
|
|
3981
|
+
const deserialized = _json(body);
|
|
4062
3982
|
const exception = new InvalidCustomSesConfigurationException({
|
|
4063
3983
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4064
3984
|
...deserialized,
|
|
@@ -4067,7 +3987,7 @@ const de_InvalidCustomSesConfigurationExceptionRes = async (parsedOutput, contex
|
|
|
4067
3987
|
};
|
|
4068
3988
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
4069
3989
|
const body = parsedOutput.body;
|
|
4070
|
-
const deserialized =
|
|
3990
|
+
const deserialized = _json(body);
|
|
4071
3991
|
const exception = new InvalidParameterException({
|
|
4072
3992
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4073
3993
|
...deserialized,
|
|
@@ -4076,7 +3996,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
4076
3996
|
};
|
|
4077
3997
|
const de_InvalidPasswordExceptionRes = async (parsedOutput, context) => {
|
|
4078
3998
|
const body = parsedOutput.body;
|
|
4079
|
-
const deserialized =
|
|
3999
|
+
const deserialized = _json(body);
|
|
4080
4000
|
const exception = new InvalidPasswordException({
|
|
4081
4001
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4082
4002
|
...deserialized,
|
|
@@ -4085,7 +4005,7 @@ const de_InvalidPasswordExceptionRes = async (parsedOutput, context) => {
|
|
|
4085
4005
|
};
|
|
4086
4006
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4087
4007
|
const body = parsedOutput.body;
|
|
4088
|
-
const deserialized =
|
|
4008
|
+
const deserialized = _json(body);
|
|
4089
4009
|
const exception = new LimitExceededException({
|
|
4090
4010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4091
4011
|
...deserialized,
|
|
@@ -4094,7 +4014,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4094
4014
|
};
|
|
4095
4015
|
const de_MailDomainInUseExceptionRes = async (parsedOutput, context) => {
|
|
4096
4016
|
const body = parsedOutput.body;
|
|
4097
|
-
const deserialized =
|
|
4017
|
+
const deserialized = _json(body);
|
|
4098
4018
|
const exception = new MailDomainInUseException({
|
|
4099
4019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4100
4020
|
...deserialized,
|
|
@@ -4103,7 +4023,7 @@ const de_MailDomainInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
4103
4023
|
};
|
|
4104
4024
|
const de_MailDomainNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4105
4025
|
const body = parsedOutput.body;
|
|
4106
|
-
const deserialized =
|
|
4026
|
+
const deserialized = _json(body);
|
|
4107
4027
|
const exception = new MailDomainNotFoundException({
|
|
4108
4028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4109
4029
|
...deserialized,
|
|
@@ -4112,7 +4032,7 @@ const de_MailDomainNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
4112
4032
|
};
|
|
4113
4033
|
const de_MailDomainStateExceptionRes = async (parsedOutput, context) => {
|
|
4114
4034
|
const body = parsedOutput.body;
|
|
4115
|
-
const deserialized =
|
|
4035
|
+
const deserialized = _json(body);
|
|
4116
4036
|
const exception = new MailDomainStateException({
|
|
4117
4037
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4118
4038
|
...deserialized,
|
|
@@ -4121,7 +4041,7 @@ const de_MailDomainStateExceptionRes = async (parsedOutput, context) => {
|
|
|
4121
4041
|
};
|
|
4122
4042
|
const de_NameAvailabilityExceptionRes = async (parsedOutput, context) => {
|
|
4123
4043
|
const body = parsedOutput.body;
|
|
4124
|
-
const deserialized =
|
|
4044
|
+
const deserialized = _json(body);
|
|
4125
4045
|
const exception = new NameAvailabilityException({
|
|
4126
4046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4127
4047
|
...deserialized,
|
|
@@ -4130,7 +4050,7 @@ const de_NameAvailabilityExceptionRes = async (parsedOutput, context) => {
|
|
|
4130
4050
|
};
|
|
4131
4051
|
const de_OrganizationNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4132
4052
|
const body = parsedOutput.body;
|
|
4133
|
-
const deserialized =
|
|
4053
|
+
const deserialized = _json(body);
|
|
4134
4054
|
const exception = new OrganizationNotFoundException({
|
|
4135
4055
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4136
4056
|
...deserialized,
|
|
@@ -4139,7 +4059,7 @@ const de_OrganizationNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
4139
4059
|
};
|
|
4140
4060
|
const de_OrganizationStateExceptionRes = async (parsedOutput, context) => {
|
|
4141
4061
|
const body = parsedOutput.body;
|
|
4142
|
-
const deserialized =
|
|
4062
|
+
const deserialized = _json(body);
|
|
4143
4063
|
const exception = new OrganizationStateException({
|
|
4144
4064
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4145
4065
|
...deserialized,
|
|
@@ -4148,7 +4068,7 @@ const de_OrganizationStateExceptionRes = async (parsedOutput, context) => {
|
|
|
4148
4068
|
};
|
|
4149
4069
|
const de_ReservedNameExceptionRes = async (parsedOutput, context) => {
|
|
4150
4070
|
const body = parsedOutput.body;
|
|
4151
|
-
const deserialized =
|
|
4071
|
+
const deserialized = _json(body);
|
|
4152
4072
|
const exception = new ReservedNameException({
|
|
4153
4073
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4154
4074
|
...deserialized,
|
|
@@ -4157,7 +4077,7 @@ const de_ReservedNameExceptionRes = async (parsedOutput, context) => {
|
|
|
4157
4077
|
};
|
|
4158
4078
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4159
4079
|
const body = parsedOutput.body;
|
|
4160
|
-
const deserialized =
|
|
4080
|
+
const deserialized = _json(body);
|
|
4161
4081
|
const exception = new ResourceNotFoundException({
|
|
4162
4082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4163
4083
|
...deserialized,
|
|
@@ -4166,7 +4086,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
4166
4086
|
};
|
|
4167
4087
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
4168
4088
|
const body = parsedOutput.body;
|
|
4169
|
-
const deserialized =
|
|
4089
|
+
const deserialized = _json(body);
|
|
4170
4090
|
const exception = new TooManyTagsException({
|
|
4171
4091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4172
4092
|
...deserialized,
|
|
@@ -4175,1918 +4095,436 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
4175
4095
|
};
|
|
4176
4096
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
4177
4097
|
const body = parsedOutput.body;
|
|
4178
|
-
const deserialized =
|
|
4098
|
+
const deserialized = _json(body);
|
|
4179
4099
|
const exception = new UnsupportedOperationException({
|
|
4180
4100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4181
4101
|
...deserialized,
|
|
4182
4102
|
});
|
|
4183
4103
|
return __decorateServiceException(exception, body);
|
|
4184
4104
|
};
|
|
4185
|
-
const
|
|
4186
|
-
return input
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
});
|
|
4191
|
-
};
|
|
4192
|
-
const se_AssociateDelegateToResourceRequest = (input, context) => {
|
|
4193
|
-
return {
|
|
4194
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4195
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4196
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4197
|
-
};
|
|
4198
|
-
};
|
|
4199
|
-
const se_AssociateMemberToGroupRequest = (input, context) => {
|
|
4200
|
-
return {
|
|
4201
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
4202
|
-
...(input.MemberId != null && { MemberId: input.MemberId }),
|
|
4203
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4204
|
-
};
|
|
4205
|
-
};
|
|
4206
|
-
const se_AssumeImpersonationRoleRequest = (input, context) => {
|
|
4207
|
-
return {
|
|
4208
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4209
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4210
|
-
};
|
|
4211
|
-
};
|
|
4212
|
-
const se_BookingOptions = (input, context) => {
|
|
4213
|
-
return {
|
|
4214
|
-
...(input.AutoAcceptRequests != null && { AutoAcceptRequests: input.AutoAcceptRequests }),
|
|
4215
|
-
...(input.AutoDeclineConflictingRequests != null && {
|
|
4216
|
-
AutoDeclineConflictingRequests: input.AutoDeclineConflictingRequests,
|
|
4217
|
-
}),
|
|
4218
|
-
...(input.AutoDeclineRecurringRequests != null && {
|
|
4219
|
-
AutoDeclineRecurringRequests: input.AutoDeclineRecurringRequests,
|
|
4220
|
-
}),
|
|
4221
|
-
};
|
|
4222
|
-
};
|
|
4223
|
-
const se_CancelMailboxExportJobRequest = (input, context) => {
|
|
4224
|
-
return {
|
|
4225
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4226
|
-
...(input.JobId != null && { JobId: input.JobId }),
|
|
4227
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4228
|
-
};
|
|
4229
|
-
};
|
|
4230
|
-
const se_CreateAliasRequest = (input, context) => {
|
|
4231
|
-
return {
|
|
4232
|
-
...(input.Alias != null && { Alias: input.Alias }),
|
|
4233
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4234
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
const se_CreateAvailabilityConfigurationRequest = (input, context) => {
|
|
4238
|
-
return {
|
|
4239
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4240
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4241
|
-
...(input.EwsProvider != null && { EwsProvider: se_EwsAvailabilityProvider(input.EwsProvider, context) }),
|
|
4242
|
-
...(input.LambdaProvider != null && {
|
|
4243
|
-
LambdaProvider: se_LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
4244
|
-
}),
|
|
4245
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4246
|
-
};
|
|
4247
|
-
};
|
|
4248
|
-
const se_CreateGroupRequest = (input, context) => {
|
|
4249
|
-
return {
|
|
4250
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4251
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4252
|
-
};
|
|
4253
|
-
};
|
|
4254
|
-
const se_CreateImpersonationRoleRequest = (input, context) => {
|
|
4255
|
-
return {
|
|
4256
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4257
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4258
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4259
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4260
|
-
...(input.Rules != null && { Rules: se_ImpersonationRuleList(input.Rules, context) }),
|
|
4261
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4262
|
-
};
|
|
4263
|
-
};
|
|
4264
|
-
const se_CreateMobileDeviceAccessRuleRequest = (input, context) => {
|
|
4265
|
-
return {
|
|
4266
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4267
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4268
|
-
...(input.DeviceModels != null && { DeviceModels: se_DeviceModelList(input.DeviceModels, context) }),
|
|
4269
|
-
...(input.DeviceOperatingSystems != null && {
|
|
4270
|
-
DeviceOperatingSystems: se_DeviceOperatingSystemList(input.DeviceOperatingSystems, context),
|
|
4271
|
-
}),
|
|
4272
|
-
...(input.DeviceTypes != null && { DeviceTypes: se_DeviceTypeList(input.DeviceTypes, context) }),
|
|
4273
|
-
...(input.DeviceUserAgents != null && {
|
|
4274
|
-
DeviceUserAgents: se_DeviceUserAgentList(input.DeviceUserAgents, context),
|
|
4275
|
-
}),
|
|
4276
|
-
...(input.Effect != null && { Effect: input.Effect }),
|
|
4277
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4278
|
-
...(input.NotDeviceModels != null && { NotDeviceModels: se_DeviceModelList(input.NotDeviceModels, context) }),
|
|
4279
|
-
...(input.NotDeviceOperatingSystems != null && {
|
|
4280
|
-
NotDeviceOperatingSystems: se_DeviceOperatingSystemList(input.NotDeviceOperatingSystems, context),
|
|
4281
|
-
}),
|
|
4282
|
-
...(input.NotDeviceTypes != null && { NotDeviceTypes: se_DeviceTypeList(input.NotDeviceTypes, context) }),
|
|
4283
|
-
...(input.NotDeviceUserAgents != null && {
|
|
4284
|
-
NotDeviceUserAgents: se_DeviceUserAgentList(input.NotDeviceUserAgents, context),
|
|
4285
|
-
}),
|
|
4286
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4287
|
-
};
|
|
4288
|
-
};
|
|
4289
|
-
const se_CreateOrganizationRequest = (input, context) => {
|
|
4290
|
-
return {
|
|
4291
|
-
...(input.Alias != null && { Alias: input.Alias }),
|
|
4292
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4293
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4294
|
-
...(input.Domains != null && { Domains: se_Domains(input.Domains, context) }),
|
|
4295
|
-
...(input.EnableInteroperability != null && { EnableInteroperability: input.EnableInteroperability }),
|
|
4296
|
-
...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
|
|
4297
|
-
};
|
|
4298
|
-
};
|
|
4299
|
-
const se_CreateResourceRequest = (input, context) => {
|
|
4300
|
-
return {
|
|
4301
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4302
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4303
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4304
|
-
};
|
|
4305
|
-
};
|
|
4306
|
-
const se_CreateUserRequest = (input, context) => {
|
|
4307
|
-
return {
|
|
4308
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
4309
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4310
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4311
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4312
|
-
};
|
|
4313
|
-
};
|
|
4314
|
-
const se_DeleteAccessControlRuleRequest = (input, context) => {
|
|
4315
|
-
return {
|
|
4316
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4317
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4318
|
-
};
|
|
4319
|
-
};
|
|
4320
|
-
const se_DeleteAliasRequest = (input, context) => {
|
|
4321
|
-
return {
|
|
4322
|
-
...(input.Alias != null && { Alias: input.Alias }),
|
|
4323
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4324
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4325
|
-
};
|
|
4326
|
-
};
|
|
4327
|
-
const se_DeleteAvailabilityConfigurationRequest = (input, context) => {
|
|
4328
|
-
return {
|
|
4329
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4330
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4331
|
-
};
|
|
4332
|
-
};
|
|
4333
|
-
const se_DeleteEmailMonitoringConfigurationRequest = (input, context) => {
|
|
4334
|
-
return {
|
|
4335
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
const se_DeleteGroupRequest = (input, context) => {
|
|
4339
|
-
return {
|
|
4340
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
4341
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4342
|
-
};
|
|
4343
|
-
};
|
|
4344
|
-
const se_DeleteImpersonationRoleRequest = (input, context) => {
|
|
4345
|
-
return {
|
|
4346
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4347
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4348
|
-
};
|
|
4349
|
-
};
|
|
4350
|
-
const se_DeleteMailboxPermissionsRequest = (input, context) => {
|
|
4351
|
-
return {
|
|
4352
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4353
|
-
...(input.GranteeId != null && { GranteeId: input.GranteeId }),
|
|
4354
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4355
|
-
};
|
|
4356
|
-
};
|
|
4357
|
-
const se_DeleteMobileDeviceAccessOverrideRequest = (input, context) => {
|
|
4358
|
-
return {
|
|
4359
|
-
...(input.DeviceId != null && { DeviceId: input.DeviceId }),
|
|
4360
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4361
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4362
|
-
};
|
|
4363
|
-
};
|
|
4364
|
-
const se_DeleteMobileDeviceAccessRuleRequest = (input, context) => {
|
|
4365
|
-
return {
|
|
4366
|
-
...(input.MobileDeviceAccessRuleId != null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId }),
|
|
4367
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4368
|
-
};
|
|
4369
|
-
};
|
|
4370
|
-
const se_DeleteOrganizationRequest = (input, context) => {
|
|
4371
|
-
return {
|
|
4372
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4373
|
-
...(input.DeleteDirectory != null && { DeleteDirectory: input.DeleteDirectory }),
|
|
4374
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4375
|
-
};
|
|
4376
|
-
};
|
|
4377
|
-
const se_DeleteResourceRequest = (input, context) => {
|
|
4378
|
-
return {
|
|
4379
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4380
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4381
|
-
};
|
|
4382
|
-
};
|
|
4383
|
-
const se_DeleteRetentionPolicyRequest = (input, context) => {
|
|
4384
|
-
return {
|
|
4385
|
-
...(input.Id != null && { Id: input.Id }),
|
|
4386
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4387
|
-
};
|
|
4388
|
-
};
|
|
4389
|
-
const se_DeleteUserRequest = (input, context) => {
|
|
4390
|
-
return {
|
|
4391
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4392
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4393
|
-
};
|
|
4394
|
-
};
|
|
4395
|
-
const se_DeregisterFromWorkMailRequest = (input, context) => {
|
|
4396
|
-
return {
|
|
4397
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4398
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4399
|
-
};
|
|
4400
|
-
};
|
|
4401
|
-
const se_DeregisterMailDomainRequest = (input, context) => {
|
|
4402
|
-
return {
|
|
4403
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4404
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4405
|
-
};
|
|
4406
|
-
};
|
|
4407
|
-
const se_DescribeEmailMonitoringConfigurationRequest = (input, context) => {
|
|
4408
|
-
return {
|
|
4409
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4410
|
-
};
|
|
4411
|
-
};
|
|
4412
|
-
const se_DescribeGroupRequest = (input, context) => {
|
|
4413
|
-
return {
|
|
4414
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
4415
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4416
|
-
};
|
|
4417
|
-
};
|
|
4418
|
-
const se_DescribeInboundDmarcSettingsRequest = (input, context) => {
|
|
4419
|
-
return {
|
|
4420
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4421
|
-
};
|
|
4422
|
-
};
|
|
4423
|
-
const se_DescribeMailboxExportJobRequest = (input, context) => {
|
|
4424
|
-
return {
|
|
4425
|
-
...(input.JobId != null && { JobId: input.JobId }),
|
|
4426
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4427
|
-
};
|
|
4428
|
-
};
|
|
4429
|
-
const se_DescribeOrganizationRequest = (input, context) => {
|
|
4430
|
-
return {
|
|
4431
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4432
|
-
};
|
|
4433
|
-
};
|
|
4434
|
-
const se_DescribeResourceRequest = (input, context) => {
|
|
4435
|
-
return {
|
|
4436
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4437
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4438
|
-
};
|
|
4439
|
-
};
|
|
4440
|
-
const se_DescribeUserRequest = (input, context) => {
|
|
4441
|
-
return {
|
|
4442
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4443
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4444
|
-
};
|
|
4445
|
-
};
|
|
4446
|
-
const se_DeviceModelList = (input, context) => {
|
|
4447
|
-
return input
|
|
4448
|
-
.filter((e) => e != null)
|
|
4449
|
-
.map((entry) => {
|
|
4450
|
-
return entry;
|
|
4451
|
-
});
|
|
4452
|
-
};
|
|
4453
|
-
const se_DeviceOperatingSystemList = (input, context) => {
|
|
4454
|
-
return input
|
|
4455
|
-
.filter((e) => e != null)
|
|
4456
|
-
.map((entry) => {
|
|
4457
|
-
return entry;
|
|
4458
|
-
});
|
|
4459
|
-
};
|
|
4460
|
-
const se_DeviceTypeList = (input, context) => {
|
|
4461
|
-
return input
|
|
4462
|
-
.filter((e) => e != null)
|
|
4463
|
-
.map((entry) => {
|
|
4464
|
-
return entry;
|
|
4465
|
-
});
|
|
4466
|
-
};
|
|
4467
|
-
const se_DeviceUserAgentList = (input, context) => {
|
|
4468
|
-
return input
|
|
4469
|
-
.filter((e) => e != null)
|
|
4470
|
-
.map((entry) => {
|
|
4471
|
-
return entry;
|
|
4472
|
-
});
|
|
4473
|
-
};
|
|
4474
|
-
const se_DisassociateDelegateFromResourceRequest = (input, context) => {
|
|
4475
|
-
return {
|
|
4476
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4477
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4478
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4479
|
-
};
|
|
4480
|
-
};
|
|
4481
|
-
const se_DisassociateMemberFromGroupRequest = (input, context) => {
|
|
4482
|
-
return {
|
|
4483
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
4484
|
-
...(input.MemberId != null && { MemberId: input.MemberId }),
|
|
4485
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4486
|
-
};
|
|
4487
|
-
};
|
|
4488
|
-
const se_Domain = (input, context) => {
|
|
4489
|
-
return {
|
|
4490
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4491
|
-
...(input.HostedZoneId != null && { HostedZoneId: input.HostedZoneId }),
|
|
4492
|
-
};
|
|
4493
|
-
};
|
|
4494
|
-
const se_Domains = (input, context) => {
|
|
4495
|
-
return input
|
|
4496
|
-
.filter((e) => e != null)
|
|
4497
|
-
.map((entry) => {
|
|
4498
|
-
return se_Domain(entry, context);
|
|
4499
|
-
});
|
|
4500
|
-
};
|
|
4501
|
-
const se_EwsAvailabilityProvider = (input, context) => {
|
|
4502
|
-
return {
|
|
4503
|
-
...(input.EwsEndpoint != null && { EwsEndpoint: input.EwsEndpoint }),
|
|
4504
|
-
...(input.EwsPassword != null && { EwsPassword: input.EwsPassword }),
|
|
4505
|
-
...(input.EwsUsername != null && { EwsUsername: input.EwsUsername }),
|
|
4506
|
-
};
|
|
4507
|
-
};
|
|
4508
|
-
const se_FolderConfiguration = (input, context) => {
|
|
4509
|
-
return {
|
|
4510
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4511
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4512
|
-
...(input.Period != null && { Period: input.Period }),
|
|
4513
|
-
};
|
|
4514
|
-
};
|
|
4515
|
-
const se_FolderConfigurations = (input, context) => {
|
|
4516
|
-
return input
|
|
4517
|
-
.filter((e) => e != null)
|
|
4518
|
-
.map((entry) => {
|
|
4519
|
-
return se_FolderConfiguration(entry, context);
|
|
4520
|
-
});
|
|
4521
|
-
};
|
|
4522
|
-
const se_GetAccessControlEffectRequest = (input, context) => {
|
|
4523
|
-
return {
|
|
4524
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4525
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4526
|
-
...(input.IpAddress != null && { IpAddress: input.IpAddress }),
|
|
4527
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4528
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4529
|
-
};
|
|
4530
|
-
};
|
|
4531
|
-
const se_GetDefaultRetentionPolicyRequest = (input, context) => {
|
|
4532
|
-
return {
|
|
4533
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4534
|
-
};
|
|
4535
|
-
};
|
|
4536
|
-
const se_GetImpersonationRoleEffectRequest = (input, context) => {
|
|
4537
|
-
return {
|
|
4538
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4539
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4540
|
-
...(input.TargetUser != null && { TargetUser: input.TargetUser }),
|
|
4541
|
-
};
|
|
4542
|
-
};
|
|
4543
|
-
const se_GetImpersonationRoleRequest = (input, context) => {
|
|
4544
|
-
return {
|
|
4545
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4546
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4547
|
-
};
|
|
4548
|
-
};
|
|
4549
|
-
const se_GetMailboxDetailsRequest = (input, context) => {
|
|
4550
|
-
return {
|
|
4551
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4552
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4553
|
-
};
|
|
4554
|
-
};
|
|
4555
|
-
const se_GetMailDomainRequest = (input, context) => {
|
|
4556
|
-
return {
|
|
4557
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4558
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4559
|
-
};
|
|
4560
|
-
};
|
|
4561
|
-
const se_GetMobileDeviceAccessEffectRequest = (input, context) => {
|
|
4562
|
-
return {
|
|
4563
|
-
...(input.DeviceModel != null && { DeviceModel: input.DeviceModel }),
|
|
4564
|
-
...(input.DeviceOperatingSystem != null && { DeviceOperatingSystem: input.DeviceOperatingSystem }),
|
|
4565
|
-
...(input.DeviceType != null && { DeviceType: input.DeviceType }),
|
|
4566
|
-
...(input.DeviceUserAgent != null && { DeviceUserAgent: input.DeviceUserAgent }),
|
|
4567
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4568
|
-
};
|
|
4569
|
-
};
|
|
4570
|
-
const se_GetMobileDeviceAccessOverrideRequest = (input, context) => {
|
|
4571
|
-
return {
|
|
4572
|
-
...(input.DeviceId != null && { DeviceId: input.DeviceId }),
|
|
4573
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4574
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4575
|
-
};
|
|
4576
|
-
};
|
|
4577
|
-
const se_ImpersonationRoleIdList = (input, context) => {
|
|
4578
|
-
return input
|
|
4579
|
-
.filter((e) => e != null)
|
|
4580
|
-
.map((entry) => {
|
|
4581
|
-
return entry;
|
|
4582
|
-
});
|
|
4583
|
-
};
|
|
4584
|
-
const se_ImpersonationRule = (input, context) => {
|
|
4585
|
-
return {
|
|
4586
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4587
|
-
...(input.Effect != null && { Effect: input.Effect }),
|
|
4588
|
-
...(input.ImpersonationRuleId != null && { ImpersonationRuleId: input.ImpersonationRuleId }),
|
|
4589
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4590
|
-
...(input.NotTargetUsers != null && { NotTargetUsers: se_TargetUsers(input.NotTargetUsers, context) }),
|
|
4591
|
-
...(input.TargetUsers != null && { TargetUsers: se_TargetUsers(input.TargetUsers, context) }),
|
|
4592
|
-
};
|
|
4593
|
-
};
|
|
4594
|
-
const se_ImpersonationRuleList = (input, context) => {
|
|
4595
|
-
return input
|
|
4596
|
-
.filter((e) => e != null)
|
|
4597
|
-
.map((entry) => {
|
|
4598
|
-
return se_ImpersonationRule(entry, context);
|
|
4599
|
-
});
|
|
4600
|
-
};
|
|
4601
|
-
const se_IpRangeList = (input, context) => {
|
|
4602
|
-
return input
|
|
4603
|
-
.filter((e) => e != null)
|
|
4604
|
-
.map((entry) => {
|
|
4605
|
-
return entry;
|
|
4606
|
-
});
|
|
4607
|
-
};
|
|
4608
|
-
const se_LambdaAvailabilityProvider = (input, context) => {
|
|
4609
|
-
return {
|
|
4610
|
-
...(input.LambdaArn != null && { LambdaArn: input.LambdaArn }),
|
|
4611
|
-
};
|
|
4612
|
-
};
|
|
4613
|
-
const se_ListAccessControlRulesRequest = (input, context) => {
|
|
4614
|
-
return {
|
|
4615
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4616
|
-
};
|
|
4617
|
-
};
|
|
4618
|
-
const se_ListAliasesRequest = (input, context) => {
|
|
4619
|
-
return {
|
|
4620
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4621
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4622
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4623
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4624
|
-
};
|
|
4625
|
-
};
|
|
4626
|
-
const se_ListAvailabilityConfigurationsRequest = (input, context) => {
|
|
4627
|
-
return {
|
|
4628
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4629
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4630
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4631
|
-
};
|
|
4632
|
-
};
|
|
4633
|
-
const se_ListGroupMembersRequest = (input, context) => {
|
|
4634
|
-
return {
|
|
4635
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
4636
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4637
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4638
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4639
|
-
};
|
|
4640
|
-
};
|
|
4641
|
-
const se_ListGroupsRequest = (input, context) => {
|
|
4642
|
-
return {
|
|
4643
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4644
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4645
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4646
|
-
};
|
|
4647
|
-
};
|
|
4648
|
-
const se_ListImpersonationRolesRequest = (input, context) => {
|
|
4649
|
-
return {
|
|
4650
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4651
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4652
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4653
|
-
};
|
|
4654
|
-
};
|
|
4655
|
-
const se_ListMailboxExportJobsRequest = (input, context) => {
|
|
4656
|
-
return {
|
|
4657
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4658
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4659
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4660
|
-
};
|
|
4661
|
-
};
|
|
4662
|
-
const se_ListMailboxPermissionsRequest = (input, context) => {
|
|
4663
|
-
return {
|
|
4664
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4665
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4666
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4667
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4668
|
-
};
|
|
4669
|
-
};
|
|
4670
|
-
const se_ListMailDomainsRequest = (input, context) => {
|
|
4671
|
-
return {
|
|
4672
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4673
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4674
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4675
|
-
};
|
|
4676
|
-
};
|
|
4677
|
-
const se_ListMobileDeviceAccessOverridesRequest = (input, context) => {
|
|
4678
|
-
return {
|
|
4679
|
-
...(input.DeviceId != null && { DeviceId: input.DeviceId }),
|
|
4680
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4681
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4682
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4683
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4684
|
-
};
|
|
4685
|
-
};
|
|
4686
|
-
const se_ListMobileDeviceAccessRulesRequest = (input, context) => {
|
|
4687
|
-
return {
|
|
4688
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4689
|
-
};
|
|
4690
|
-
};
|
|
4691
|
-
const se_ListOrganizationsRequest = (input, context) => {
|
|
4692
|
-
return {
|
|
4693
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4694
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4695
|
-
};
|
|
4696
|
-
};
|
|
4697
|
-
const se_ListResourceDelegatesRequest = (input, context) => {
|
|
4698
|
-
return {
|
|
4699
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4700
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4701
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4702
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4703
|
-
};
|
|
4704
|
-
};
|
|
4705
|
-
const se_ListResourcesRequest = (input, context) => {
|
|
4706
|
-
return {
|
|
4707
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4708
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4709
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4710
|
-
};
|
|
4711
|
-
};
|
|
4712
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
4713
|
-
return {
|
|
4714
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4715
|
-
};
|
|
4716
|
-
};
|
|
4717
|
-
const se_ListUsersRequest = (input, context) => {
|
|
4718
|
-
return {
|
|
4719
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4720
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4721
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4722
|
-
};
|
|
4723
|
-
};
|
|
4724
|
-
const se_PermissionValues = (input, context) => {
|
|
4725
|
-
return input
|
|
4726
|
-
.filter((e) => e != null)
|
|
4727
|
-
.map((entry) => {
|
|
4728
|
-
return entry;
|
|
4729
|
-
});
|
|
4730
|
-
};
|
|
4731
|
-
const se_PutAccessControlRuleRequest = (input, context) => {
|
|
4732
|
-
return {
|
|
4733
|
-
...(input.Actions != null && { Actions: se_ActionsList(input.Actions, context) }),
|
|
4734
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4735
|
-
...(input.Effect != null && { Effect: input.Effect }),
|
|
4736
|
-
...(input.ImpersonationRoleIds != null && {
|
|
4737
|
-
ImpersonationRoleIds: se_ImpersonationRoleIdList(input.ImpersonationRoleIds, context),
|
|
4738
|
-
}),
|
|
4739
|
-
...(input.IpRanges != null && { IpRanges: se_IpRangeList(input.IpRanges, context) }),
|
|
4740
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4741
|
-
...(input.NotActions != null && { NotActions: se_ActionsList(input.NotActions, context) }),
|
|
4742
|
-
...(input.NotImpersonationRoleIds != null && {
|
|
4743
|
-
NotImpersonationRoleIds: se_ImpersonationRoleIdList(input.NotImpersonationRoleIds, context),
|
|
4744
|
-
}),
|
|
4745
|
-
...(input.NotIpRanges != null && { NotIpRanges: se_IpRangeList(input.NotIpRanges, context) }),
|
|
4746
|
-
...(input.NotUserIds != null && { NotUserIds: se_UserIdList(input.NotUserIds, context) }),
|
|
4747
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4748
|
-
...(input.UserIds != null && { UserIds: se_UserIdList(input.UserIds, context) }),
|
|
4749
|
-
};
|
|
4750
|
-
};
|
|
4751
|
-
const se_PutEmailMonitoringConfigurationRequest = (input, context) => {
|
|
4752
|
-
return {
|
|
4753
|
-
...(input.LogGroupArn != null && { LogGroupArn: input.LogGroupArn }),
|
|
4754
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4755
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
4756
|
-
};
|
|
4757
|
-
};
|
|
4758
|
-
const se_PutInboundDmarcSettingsRequest = (input, context) => {
|
|
4759
|
-
return {
|
|
4760
|
-
...(input.Enforced != null && { Enforced: input.Enforced }),
|
|
4761
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4762
|
-
};
|
|
4763
|
-
};
|
|
4764
|
-
const se_PutMailboxPermissionsRequest = (input, context) => {
|
|
4765
|
-
return {
|
|
4766
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4767
|
-
...(input.GranteeId != null && { GranteeId: input.GranteeId }),
|
|
4768
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4769
|
-
...(input.PermissionValues != null && { PermissionValues: se_PermissionValues(input.PermissionValues, context) }),
|
|
4770
|
-
};
|
|
4771
|
-
};
|
|
4772
|
-
const se_PutMobileDeviceAccessOverrideRequest = (input, context) => {
|
|
4773
|
-
return {
|
|
4774
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4775
|
-
...(input.DeviceId != null && { DeviceId: input.DeviceId }),
|
|
4776
|
-
...(input.Effect != null && { Effect: input.Effect }),
|
|
4777
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4778
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4779
|
-
};
|
|
4780
|
-
};
|
|
4781
|
-
const se_PutRetentionPolicyRequest = (input, context) => {
|
|
4782
|
-
return {
|
|
4783
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4784
|
-
...(input.FolderConfigurations != null && {
|
|
4785
|
-
FolderConfigurations: se_FolderConfigurations(input.FolderConfigurations, context),
|
|
4786
|
-
}),
|
|
4787
|
-
...(input.Id != null && { Id: input.Id }),
|
|
4788
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4789
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4790
|
-
};
|
|
4791
|
-
};
|
|
4792
|
-
const se_RegisterMailDomainRequest = (input, context) => {
|
|
4793
|
-
return {
|
|
4794
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4795
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4796
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4797
|
-
};
|
|
4798
|
-
};
|
|
4799
|
-
const se_RegisterToWorkMailRequest = (input, context) => {
|
|
4800
|
-
return {
|
|
4801
|
-
...(input.Email != null && { Email: input.Email }),
|
|
4802
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4803
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4804
|
-
};
|
|
4805
|
-
};
|
|
4806
|
-
const se_ResetPasswordRequest = (input, context) => {
|
|
4807
|
-
return {
|
|
4808
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4809
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4810
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
|
-
const se_StartMailboxExportJobRequest = (input, context) => {
|
|
4814
|
-
return {
|
|
4815
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
4816
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4817
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4818
|
-
...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
|
|
4819
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4820
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
4821
|
-
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
4822
|
-
...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
|
-
const se_Tag = (input, context) => {
|
|
4826
|
-
return {
|
|
4827
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4828
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4829
|
-
};
|
|
4830
|
-
};
|
|
4831
|
-
const se_TagKeyList = (input, context) => {
|
|
4832
|
-
return input
|
|
4833
|
-
.filter((e) => e != null)
|
|
4834
|
-
.map((entry) => {
|
|
4835
|
-
return entry;
|
|
4836
|
-
});
|
|
4837
|
-
};
|
|
4838
|
-
const se_TagList = (input, context) => {
|
|
4839
|
-
return input
|
|
4840
|
-
.filter((e) => e != null)
|
|
4841
|
-
.map((entry) => {
|
|
4842
|
-
return se_Tag(entry, context);
|
|
4843
|
-
});
|
|
4844
|
-
};
|
|
4845
|
-
const se_TagResourceRequest = (input, context) => {
|
|
4846
|
-
return {
|
|
4847
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4848
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4849
|
-
};
|
|
4850
|
-
};
|
|
4851
|
-
const se_TargetUsers = (input, context) => {
|
|
4852
|
-
return input
|
|
4853
|
-
.filter((e) => e != null)
|
|
4854
|
-
.map((entry) => {
|
|
4855
|
-
return entry;
|
|
4856
|
-
});
|
|
4857
|
-
};
|
|
4858
|
-
const se_TestAvailabilityConfigurationRequest = (input, context) => {
|
|
4859
|
-
return {
|
|
4860
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4861
|
-
...(input.EwsProvider != null && { EwsProvider: se_EwsAvailabilityProvider(input.EwsProvider, context) }),
|
|
4862
|
-
...(input.LambdaProvider != null && {
|
|
4863
|
-
LambdaProvider: se_LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
4864
|
-
}),
|
|
4865
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4866
|
-
};
|
|
4867
|
-
};
|
|
4868
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
4869
|
-
return {
|
|
4870
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4871
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
4872
|
-
};
|
|
4873
|
-
};
|
|
4874
|
-
const se_UpdateAvailabilityConfigurationRequest = (input, context) => {
|
|
4875
|
-
return {
|
|
4876
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4877
|
-
...(input.EwsProvider != null && { EwsProvider: se_EwsAvailabilityProvider(input.EwsProvider, context) }),
|
|
4878
|
-
...(input.LambdaProvider != null && {
|
|
4879
|
-
LambdaProvider: se_LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
4880
|
-
}),
|
|
4881
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4882
|
-
};
|
|
4883
|
-
};
|
|
4884
|
-
const se_UpdateDefaultMailDomainRequest = (input, context) => {
|
|
4885
|
-
return {
|
|
4886
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4887
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4888
|
-
};
|
|
4889
|
-
};
|
|
4890
|
-
const se_UpdateImpersonationRoleRequest = (input, context) => {
|
|
4891
|
-
return {
|
|
4892
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4893
|
-
...(input.ImpersonationRoleId != null && { ImpersonationRoleId: input.ImpersonationRoleId }),
|
|
4894
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4895
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4896
|
-
...(input.Rules != null && { Rules: se_ImpersonationRuleList(input.Rules, context) }),
|
|
4897
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4898
|
-
};
|
|
4899
|
-
};
|
|
4900
|
-
const se_UpdateMailboxQuotaRequest = (input, context) => {
|
|
4901
|
-
return {
|
|
4902
|
-
...(input.MailboxQuota != null && { MailboxQuota: input.MailboxQuota }),
|
|
4903
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4904
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
4905
|
-
};
|
|
4906
|
-
};
|
|
4907
|
-
const se_UpdateMobileDeviceAccessRuleRequest = (input, context) => {
|
|
4908
|
-
return {
|
|
4909
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4910
|
-
...(input.DeviceModels != null && { DeviceModels: se_DeviceModelList(input.DeviceModels, context) }),
|
|
4911
|
-
...(input.DeviceOperatingSystems != null && {
|
|
4912
|
-
DeviceOperatingSystems: se_DeviceOperatingSystemList(input.DeviceOperatingSystems, context),
|
|
4913
|
-
}),
|
|
4914
|
-
...(input.DeviceTypes != null && { DeviceTypes: se_DeviceTypeList(input.DeviceTypes, context) }),
|
|
4915
|
-
...(input.DeviceUserAgents != null && {
|
|
4916
|
-
DeviceUserAgents: se_DeviceUserAgentList(input.DeviceUserAgents, context),
|
|
4917
|
-
}),
|
|
4918
|
-
...(input.Effect != null && { Effect: input.Effect }),
|
|
4919
|
-
...(input.MobileDeviceAccessRuleId != null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId }),
|
|
4920
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4921
|
-
...(input.NotDeviceModels != null && { NotDeviceModels: se_DeviceModelList(input.NotDeviceModels, context) }),
|
|
4922
|
-
...(input.NotDeviceOperatingSystems != null && {
|
|
4923
|
-
NotDeviceOperatingSystems: se_DeviceOperatingSystemList(input.NotDeviceOperatingSystems, context),
|
|
4924
|
-
}),
|
|
4925
|
-
...(input.NotDeviceTypes != null && { NotDeviceTypes: se_DeviceTypeList(input.NotDeviceTypes, context) }),
|
|
4926
|
-
...(input.NotDeviceUserAgents != null && {
|
|
4927
|
-
NotDeviceUserAgents: se_DeviceUserAgentList(input.NotDeviceUserAgents, context),
|
|
4928
|
-
}),
|
|
4929
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4930
|
-
};
|
|
4931
|
-
};
|
|
4932
|
-
const se_UpdatePrimaryEmailAddressRequest = (input, context) => {
|
|
4933
|
-
return {
|
|
4934
|
-
...(input.Email != null && { Email: input.Email }),
|
|
4935
|
-
...(input.EntityId != null && { EntityId: input.EntityId }),
|
|
4936
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4937
|
-
};
|
|
4938
|
-
};
|
|
4939
|
-
const se_UpdateResourceRequest = (input, context) => {
|
|
4940
|
-
return {
|
|
4941
|
-
...(input.BookingOptions != null && { BookingOptions: se_BookingOptions(input.BookingOptions, context) }),
|
|
4942
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4943
|
-
...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
|
|
4944
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4945
|
-
};
|
|
4946
|
-
};
|
|
4947
|
-
const se_UserIdList = (input, context) => {
|
|
4948
|
-
return input
|
|
4949
|
-
.filter((e) => e != null)
|
|
4950
|
-
.map((entry) => {
|
|
4951
|
-
return entry;
|
|
4952
|
-
});
|
|
4953
|
-
};
|
|
4954
|
-
const de_AccessControlRule = (output, context) => {
|
|
4955
|
-
return {
|
|
4956
|
-
Actions: output.Actions != null ? de_ActionsList(output.Actions, context) : undefined,
|
|
4957
|
-
DateCreated: output.DateCreated != null
|
|
4958
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
4959
|
-
: undefined,
|
|
4960
|
-
DateModified: output.DateModified != null
|
|
4961
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
4962
|
-
: undefined,
|
|
4963
|
-
Description: __expectString(output.Description),
|
|
4964
|
-
Effect: __expectString(output.Effect),
|
|
4965
|
-
ImpersonationRoleIds: output.ImpersonationRoleIds != null
|
|
4966
|
-
? de_ImpersonationRoleIdList(output.ImpersonationRoleIds, context)
|
|
4967
|
-
: undefined,
|
|
4968
|
-
IpRanges: output.IpRanges != null ? de_IpRangeList(output.IpRanges, context) : undefined,
|
|
4969
|
-
Name: __expectString(output.Name),
|
|
4970
|
-
NotActions: output.NotActions != null ? de_ActionsList(output.NotActions, context) : undefined,
|
|
4971
|
-
NotImpersonationRoleIds: output.NotImpersonationRoleIds != null
|
|
4972
|
-
? de_ImpersonationRoleIdList(output.NotImpersonationRoleIds, context)
|
|
4973
|
-
: undefined,
|
|
4974
|
-
NotIpRanges: output.NotIpRanges != null ? de_IpRangeList(output.NotIpRanges, context) : undefined,
|
|
4975
|
-
NotUserIds: output.NotUserIds != null ? de_UserIdList(output.NotUserIds, context) : undefined,
|
|
4976
|
-
UserIds: output.UserIds != null ? de_UserIdList(output.UserIds, context) : undefined,
|
|
4977
|
-
};
|
|
4978
|
-
};
|
|
4979
|
-
const de_AccessControlRuleNameList = (output, context) => {
|
|
4980
|
-
const retVal = (output || [])
|
|
4981
|
-
.filter((e) => e != null)
|
|
4982
|
-
.map((entry) => {
|
|
4983
|
-
if (entry === null) {
|
|
4984
|
-
return null;
|
|
4985
|
-
}
|
|
4986
|
-
return __expectString(entry);
|
|
4987
|
-
});
|
|
4988
|
-
return retVal;
|
|
4989
|
-
};
|
|
4990
|
-
const de_AccessControlRulesList = (output, context) => {
|
|
4991
|
-
const retVal = (output || [])
|
|
4992
|
-
.filter((e) => e != null)
|
|
4993
|
-
.map((entry) => {
|
|
4994
|
-
if (entry === null) {
|
|
4995
|
-
return null;
|
|
4996
|
-
}
|
|
4997
|
-
return de_AccessControlRule(entry, context);
|
|
4998
|
-
});
|
|
4999
|
-
return retVal;
|
|
5000
|
-
};
|
|
5001
|
-
const de_ActionsList = (output, context) => {
|
|
5002
|
-
const retVal = (output || [])
|
|
5003
|
-
.filter((e) => e != null)
|
|
5004
|
-
.map((entry) => {
|
|
5005
|
-
if (entry === null) {
|
|
5006
|
-
return null;
|
|
5007
|
-
}
|
|
5008
|
-
return __expectString(entry);
|
|
5009
|
-
});
|
|
5010
|
-
return retVal;
|
|
5011
|
-
};
|
|
5012
|
-
const de_Aliases = (output, context) => {
|
|
5013
|
-
const retVal = (output || [])
|
|
5014
|
-
.filter((e) => e != null)
|
|
5015
|
-
.map((entry) => {
|
|
5016
|
-
if (entry === null) {
|
|
5017
|
-
return null;
|
|
5018
|
-
}
|
|
5019
|
-
return __expectString(entry);
|
|
5020
|
-
});
|
|
5021
|
-
return retVal;
|
|
5022
|
-
};
|
|
5023
|
-
const de_AssociateDelegateToResourceResponse = (output, context) => {
|
|
5024
|
-
return {};
|
|
5025
|
-
};
|
|
5026
|
-
const de_AssociateMemberToGroupResponse = (output, context) => {
|
|
5027
|
-
return {};
|
|
5028
|
-
};
|
|
5029
|
-
const de_AssumeImpersonationRoleResponse = (output, context) => {
|
|
5030
|
-
return {
|
|
5031
|
-
ExpiresIn: __expectLong(output.ExpiresIn),
|
|
5032
|
-
Token: __expectString(output.Token),
|
|
5033
|
-
};
|
|
5034
|
-
};
|
|
5035
|
-
const de_AvailabilityConfiguration = (output, context) => {
|
|
5036
|
-
return {
|
|
5037
|
-
DateCreated: output.DateCreated != null
|
|
5038
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
5039
|
-
: undefined,
|
|
5040
|
-
DateModified: output.DateModified != null
|
|
5041
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
5042
|
-
: undefined,
|
|
5043
|
-
DomainName: __expectString(output.DomainName),
|
|
5044
|
-
EwsProvider: output.EwsProvider != null ? de_RedactedEwsAvailabilityProvider(output.EwsProvider, context) : undefined,
|
|
5045
|
-
LambdaProvider: output.LambdaProvider != null ? de_LambdaAvailabilityProvider(output.LambdaProvider, context) : undefined,
|
|
5046
|
-
ProviderType: __expectString(output.ProviderType),
|
|
5047
|
-
};
|
|
5048
|
-
};
|
|
5049
|
-
const de_AvailabilityConfigurationList = (output, context) => {
|
|
5050
|
-
const retVal = (output || [])
|
|
5051
|
-
.filter((e) => e != null)
|
|
5052
|
-
.map((entry) => {
|
|
5053
|
-
if (entry === null) {
|
|
5054
|
-
return null;
|
|
5055
|
-
}
|
|
5056
|
-
return de_AvailabilityConfiguration(entry, context);
|
|
5057
|
-
});
|
|
5058
|
-
return retVal;
|
|
5059
|
-
};
|
|
5060
|
-
const de_BookingOptions = (output, context) => {
|
|
5061
|
-
return {
|
|
5062
|
-
AutoAcceptRequests: __expectBoolean(output.AutoAcceptRequests),
|
|
5063
|
-
AutoDeclineConflictingRequests: __expectBoolean(output.AutoDeclineConflictingRequests),
|
|
5064
|
-
AutoDeclineRecurringRequests: __expectBoolean(output.AutoDeclineRecurringRequests),
|
|
5065
|
-
};
|
|
5066
|
-
};
|
|
5067
|
-
const de_CancelMailboxExportJobResponse = (output, context) => {
|
|
5068
|
-
return {};
|
|
5069
|
-
};
|
|
5070
|
-
const de_CreateAliasResponse = (output, context) => {
|
|
5071
|
-
return {};
|
|
5072
|
-
};
|
|
5073
|
-
const de_CreateAvailabilityConfigurationResponse = (output, context) => {
|
|
5074
|
-
return {};
|
|
5075
|
-
};
|
|
5076
|
-
const de_CreateGroupResponse = (output, context) => {
|
|
5077
|
-
return {
|
|
5078
|
-
GroupId: __expectString(output.GroupId),
|
|
5079
|
-
};
|
|
5080
|
-
};
|
|
5081
|
-
const de_CreateImpersonationRoleResponse = (output, context) => {
|
|
5082
|
-
return {
|
|
5083
|
-
ImpersonationRoleId: __expectString(output.ImpersonationRoleId),
|
|
5084
|
-
};
|
|
5085
|
-
};
|
|
5086
|
-
const de_CreateMobileDeviceAccessRuleResponse = (output, context) => {
|
|
5087
|
-
return {
|
|
5088
|
-
MobileDeviceAccessRuleId: __expectString(output.MobileDeviceAccessRuleId),
|
|
5089
|
-
};
|
|
5090
|
-
};
|
|
5091
|
-
const de_CreateOrganizationResponse = (output, context) => {
|
|
5092
|
-
return {
|
|
5093
|
-
OrganizationId: __expectString(output.OrganizationId),
|
|
5094
|
-
};
|
|
5095
|
-
};
|
|
5096
|
-
const de_CreateResourceResponse = (output, context) => {
|
|
5097
|
-
return {
|
|
5098
|
-
ResourceId: __expectString(output.ResourceId),
|
|
5099
|
-
};
|
|
5100
|
-
};
|
|
5101
|
-
const de_CreateUserResponse = (output, context) => {
|
|
5102
|
-
return {
|
|
5103
|
-
UserId: __expectString(output.UserId),
|
|
5104
|
-
};
|
|
5105
|
-
};
|
|
5106
|
-
const de_Delegate = (output, context) => {
|
|
5107
|
-
return {
|
|
5108
|
-
Id: __expectString(output.Id),
|
|
5109
|
-
Type: __expectString(output.Type),
|
|
5110
|
-
};
|
|
5111
|
-
};
|
|
5112
|
-
const de_DeleteAccessControlRuleResponse = (output, context) => {
|
|
5113
|
-
return {};
|
|
5114
|
-
};
|
|
5115
|
-
const de_DeleteAliasResponse = (output, context) => {
|
|
5116
|
-
return {};
|
|
5117
|
-
};
|
|
5118
|
-
const de_DeleteAvailabilityConfigurationResponse = (output, context) => {
|
|
5119
|
-
return {};
|
|
5120
|
-
};
|
|
5121
|
-
const de_DeleteEmailMonitoringConfigurationResponse = (output, context) => {
|
|
5122
|
-
return {};
|
|
5123
|
-
};
|
|
5124
|
-
const de_DeleteGroupResponse = (output, context) => {
|
|
5125
|
-
return {};
|
|
5126
|
-
};
|
|
5127
|
-
const de_DeleteImpersonationRoleResponse = (output, context) => {
|
|
5128
|
-
return {};
|
|
5129
|
-
};
|
|
5130
|
-
const de_DeleteMailboxPermissionsResponse = (output, context) => {
|
|
5131
|
-
return {};
|
|
5132
|
-
};
|
|
5133
|
-
const de_DeleteMobileDeviceAccessOverrideResponse = (output, context) => {
|
|
5134
|
-
return {};
|
|
5135
|
-
};
|
|
5136
|
-
const de_DeleteMobileDeviceAccessRuleResponse = (output, context) => {
|
|
5137
|
-
return {};
|
|
5138
|
-
};
|
|
5139
|
-
const de_DeleteOrganizationResponse = (output, context) => {
|
|
5140
|
-
return {
|
|
5141
|
-
OrganizationId: __expectString(output.OrganizationId),
|
|
5142
|
-
State: __expectString(output.State),
|
|
5143
|
-
};
|
|
5144
|
-
};
|
|
5145
|
-
const de_DeleteResourceResponse = (output, context) => {
|
|
5146
|
-
return {};
|
|
5147
|
-
};
|
|
5148
|
-
const de_DeleteRetentionPolicyResponse = (output, context) => {
|
|
5149
|
-
return {};
|
|
5150
|
-
};
|
|
5151
|
-
const de_DeleteUserResponse = (output, context) => {
|
|
5152
|
-
return {};
|
|
5153
|
-
};
|
|
5154
|
-
const de_DeregisterFromWorkMailResponse = (output, context) => {
|
|
5155
|
-
return {};
|
|
5156
|
-
};
|
|
5157
|
-
const de_DeregisterMailDomainResponse = (output, context) => {
|
|
5158
|
-
return {};
|
|
5159
|
-
};
|
|
5160
|
-
const de_DescribeEmailMonitoringConfigurationResponse = (output, context) => {
|
|
5161
|
-
return {
|
|
5162
|
-
LogGroupArn: __expectString(output.LogGroupArn),
|
|
5163
|
-
RoleArn: __expectString(output.RoleArn),
|
|
5164
|
-
};
|
|
5165
|
-
};
|
|
5166
|
-
const de_DescribeGroupResponse = (output, context) => {
|
|
5167
|
-
return {
|
|
5168
|
-
DisabledDate: output.DisabledDate != null
|
|
5169
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
5170
|
-
: undefined,
|
|
5171
|
-
Email: __expectString(output.Email),
|
|
5172
|
-
EnabledDate: output.EnabledDate != null
|
|
5173
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
5174
|
-
: undefined,
|
|
5175
|
-
GroupId: __expectString(output.GroupId),
|
|
5176
|
-
Name: __expectString(output.Name),
|
|
5177
|
-
State: __expectString(output.State),
|
|
5178
|
-
};
|
|
5179
|
-
};
|
|
5180
|
-
const de_DescribeInboundDmarcSettingsResponse = (output, context) => {
|
|
5181
|
-
return {
|
|
5182
|
-
Enforced: __expectBoolean(output.Enforced),
|
|
5183
|
-
};
|
|
5184
|
-
};
|
|
5185
|
-
const de_DescribeMailboxExportJobResponse = (output, context) => {
|
|
5186
|
-
return {
|
|
5187
|
-
Description: __expectString(output.Description),
|
|
5188
|
-
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
5189
|
-
EntityId: __expectString(output.EntityId),
|
|
5190
|
-
ErrorInfo: __expectString(output.ErrorInfo),
|
|
5191
|
-
EstimatedProgress: __expectInt32(output.EstimatedProgress),
|
|
5192
|
-
KmsKeyArn: __expectString(output.KmsKeyArn),
|
|
5193
|
-
RoleArn: __expectString(output.RoleArn),
|
|
5194
|
-
S3BucketName: __expectString(output.S3BucketName),
|
|
5195
|
-
S3Path: __expectString(output.S3Path),
|
|
5196
|
-
S3Prefix: __expectString(output.S3Prefix),
|
|
5197
|
-
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
5198
|
-
State: __expectString(output.State),
|
|
5199
|
-
};
|
|
5200
|
-
};
|
|
5201
|
-
const de_DescribeOrganizationResponse = (output, context) => {
|
|
5202
|
-
return {
|
|
5203
|
-
ARN: __expectString(output.ARN),
|
|
5204
|
-
Alias: __expectString(output.Alias),
|
|
5205
|
-
CompletedDate: output.CompletedDate != null
|
|
5206
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletedDate)))
|
|
5207
|
-
: undefined,
|
|
5208
|
-
DefaultMailDomain: __expectString(output.DefaultMailDomain),
|
|
5209
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
5210
|
-
DirectoryType: __expectString(output.DirectoryType),
|
|
5211
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
5212
|
-
OrganizationId: __expectString(output.OrganizationId),
|
|
5213
|
-
State: __expectString(output.State),
|
|
5214
|
-
};
|
|
5215
|
-
};
|
|
5216
|
-
const de_DescribeResourceResponse = (output, context) => {
|
|
5217
|
-
return {
|
|
5218
|
-
BookingOptions: output.BookingOptions != null ? de_BookingOptions(output.BookingOptions, context) : undefined,
|
|
5219
|
-
DisabledDate: output.DisabledDate != null
|
|
5220
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
5221
|
-
: undefined,
|
|
5222
|
-
Email: __expectString(output.Email),
|
|
5223
|
-
EnabledDate: output.EnabledDate != null
|
|
5224
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
5225
|
-
: undefined,
|
|
5226
|
-
Name: __expectString(output.Name),
|
|
5227
|
-
ResourceId: __expectString(output.ResourceId),
|
|
5228
|
-
State: __expectString(output.State),
|
|
5229
|
-
Type: __expectString(output.Type),
|
|
5230
|
-
};
|
|
5231
|
-
};
|
|
5232
|
-
const de_DescribeUserResponse = (output, context) => {
|
|
5233
|
-
return {
|
|
5234
|
-
DisabledDate: output.DisabledDate != null
|
|
5235
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
5236
|
-
: undefined,
|
|
5237
|
-
DisplayName: __expectString(output.DisplayName),
|
|
5238
|
-
Email: __expectString(output.Email),
|
|
5239
|
-
EnabledDate: output.EnabledDate != null
|
|
5240
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
5241
|
-
: undefined,
|
|
5242
|
-
Name: __expectString(output.Name),
|
|
5243
|
-
State: __expectString(output.State),
|
|
5244
|
-
UserId: __expectString(output.UserId),
|
|
5245
|
-
UserRole: __expectString(output.UserRole),
|
|
5246
|
-
};
|
|
5247
|
-
};
|
|
5248
|
-
const de_DeviceModelList = (output, context) => {
|
|
5249
|
-
const retVal = (output || [])
|
|
5250
|
-
.filter((e) => e != null)
|
|
5251
|
-
.map((entry) => {
|
|
5252
|
-
if (entry === null) {
|
|
5253
|
-
return null;
|
|
5254
|
-
}
|
|
5255
|
-
return __expectString(entry);
|
|
5256
|
-
});
|
|
5257
|
-
return retVal;
|
|
5258
|
-
};
|
|
5259
|
-
const de_DeviceOperatingSystemList = (output, context) => {
|
|
5260
|
-
const retVal = (output || [])
|
|
5261
|
-
.filter((e) => e != null)
|
|
5262
|
-
.map((entry) => {
|
|
5263
|
-
if (entry === null) {
|
|
5264
|
-
return null;
|
|
5265
|
-
}
|
|
5266
|
-
return __expectString(entry);
|
|
5267
|
-
});
|
|
5268
|
-
return retVal;
|
|
5269
|
-
};
|
|
5270
|
-
const de_DeviceTypeList = (output, context) => {
|
|
5271
|
-
const retVal = (output || [])
|
|
5272
|
-
.filter((e) => e != null)
|
|
5273
|
-
.map((entry) => {
|
|
5274
|
-
if (entry === null) {
|
|
5275
|
-
return null;
|
|
5276
|
-
}
|
|
5277
|
-
return __expectString(entry);
|
|
5278
|
-
});
|
|
5279
|
-
return retVal;
|
|
5280
|
-
};
|
|
5281
|
-
const de_DeviceUserAgentList = (output, context) => {
|
|
5282
|
-
const retVal = (output || [])
|
|
5283
|
-
.filter((e) => e != null)
|
|
5284
|
-
.map((entry) => {
|
|
5285
|
-
if (entry === null) {
|
|
5286
|
-
return null;
|
|
5287
|
-
}
|
|
5288
|
-
return __expectString(entry);
|
|
5289
|
-
});
|
|
5290
|
-
return retVal;
|
|
5291
|
-
};
|
|
5292
|
-
const de_DirectoryInUseException = (output, context) => {
|
|
5293
|
-
return {
|
|
5294
|
-
Message: __expectString(output.Message),
|
|
5295
|
-
};
|
|
5296
|
-
};
|
|
5297
|
-
const de_DirectoryServiceAuthenticationFailedException = (output, context) => {
|
|
5298
|
-
return {
|
|
5299
|
-
Message: __expectString(output.Message),
|
|
5300
|
-
};
|
|
5301
|
-
};
|
|
5302
|
-
const de_DirectoryUnavailableException = (output, context) => {
|
|
5303
|
-
return {
|
|
5304
|
-
Message: __expectString(output.Message),
|
|
5305
|
-
};
|
|
5306
|
-
};
|
|
5307
|
-
const de_DisassociateDelegateFromResourceResponse = (output, context) => {
|
|
5308
|
-
return {};
|
|
5309
|
-
};
|
|
5310
|
-
const de_DisassociateMemberFromGroupResponse = (output, context) => {
|
|
5311
|
-
return {};
|
|
5312
|
-
};
|
|
5313
|
-
const de_DnsRecord = (output, context) => {
|
|
5314
|
-
return {
|
|
5315
|
-
Hostname: __expectString(output.Hostname),
|
|
5316
|
-
Type: __expectString(output.Type),
|
|
5317
|
-
Value: __expectString(output.Value),
|
|
5318
|
-
};
|
|
5319
|
-
};
|
|
5320
|
-
const de_DnsRecords = (output, context) => {
|
|
5321
|
-
const retVal = (output || [])
|
|
5322
|
-
.filter((e) => e != null)
|
|
5323
|
-
.map((entry) => {
|
|
5324
|
-
if (entry === null) {
|
|
5325
|
-
return null;
|
|
5326
|
-
}
|
|
5327
|
-
return de_DnsRecord(entry, context);
|
|
5328
|
-
});
|
|
5329
|
-
return retVal;
|
|
5330
|
-
};
|
|
5331
|
-
const de_EmailAddressInUseException = (output, context) => {
|
|
5332
|
-
return {
|
|
5333
|
-
Message: __expectString(output.Message),
|
|
5334
|
-
};
|
|
5335
|
-
};
|
|
5336
|
-
const de_EntityAlreadyRegisteredException = (output, context) => {
|
|
5337
|
-
return {
|
|
5338
|
-
Message: __expectString(output.Message),
|
|
5339
|
-
};
|
|
5340
|
-
};
|
|
5341
|
-
const de_EntityNotFoundException = (output, context) => {
|
|
5342
|
-
return {
|
|
5343
|
-
Message: __expectString(output.Message),
|
|
5344
|
-
};
|
|
5345
|
-
};
|
|
5346
|
-
const de_EntityStateException = (output, context) => {
|
|
5347
|
-
return {
|
|
5348
|
-
Message: __expectString(output.Message),
|
|
5349
|
-
};
|
|
5350
|
-
};
|
|
5351
|
-
const de_FolderConfiguration = (output, context) => {
|
|
5352
|
-
return {
|
|
5353
|
-
Action: __expectString(output.Action),
|
|
5354
|
-
Name: __expectString(output.Name),
|
|
5355
|
-
Period: __expectInt32(output.Period),
|
|
5356
|
-
};
|
|
5357
|
-
};
|
|
5358
|
-
const de_FolderConfigurations = (output, context) => {
|
|
5359
|
-
const retVal = (output || [])
|
|
5360
|
-
.filter((e) => e != null)
|
|
5361
|
-
.map((entry) => {
|
|
5362
|
-
if (entry === null) {
|
|
5363
|
-
return null;
|
|
5364
|
-
}
|
|
5365
|
-
return de_FolderConfiguration(entry, context);
|
|
5366
|
-
});
|
|
5367
|
-
return retVal;
|
|
5368
|
-
};
|
|
5369
|
-
const de_GetAccessControlEffectResponse = (output, context) => {
|
|
5370
|
-
return {
|
|
5371
|
-
Effect: __expectString(output.Effect),
|
|
5372
|
-
MatchedRules: output.MatchedRules != null ? de_AccessControlRuleNameList(output.MatchedRules, context) : undefined,
|
|
5373
|
-
};
|
|
5374
|
-
};
|
|
5375
|
-
const de_GetDefaultRetentionPolicyResponse = (output, context) => {
|
|
5376
|
-
return {
|
|
5377
|
-
Description: __expectString(output.Description),
|
|
5378
|
-
FolderConfigurations: output.FolderConfigurations != null ? de_FolderConfigurations(output.FolderConfigurations, context) : undefined,
|
|
5379
|
-
Id: __expectString(output.Id),
|
|
5380
|
-
Name: __expectString(output.Name),
|
|
5381
|
-
};
|
|
5382
|
-
};
|
|
5383
|
-
const de_GetImpersonationRoleEffectResponse = (output, context) => {
|
|
5384
|
-
return {
|
|
5385
|
-
Effect: __expectString(output.Effect),
|
|
5386
|
-
MatchedRules: output.MatchedRules != null ? de_ImpersonationMatchedRuleList(output.MatchedRules, context) : undefined,
|
|
5387
|
-
Type: __expectString(output.Type),
|
|
5388
|
-
};
|
|
5389
|
-
};
|
|
5390
|
-
const de_GetImpersonationRoleResponse = (output, context) => {
|
|
5391
|
-
return {
|
|
5392
|
-
DateCreated: output.DateCreated != null
|
|
5393
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
5394
|
-
: undefined,
|
|
5395
|
-
DateModified: output.DateModified != null
|
|
5396
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
5397
|
-
: undefined,
|
|
5398
|
-
Description: __expectString(output.Description),
|
|
5399
|
-
ImpersonationRoleId: __expectString(output.ImpersonationRoleId),
|
|
5400
|
-
Name: __expectString(output.Name),
|
|
5401
|
-
Rules: output.Rules != null ? de_ImpersonationRuleList(output.Rules, context) : undefined,
|
|
5402
|
-
Type: __expectString(output.Type),
|
|
5403
|
-
};
|
|
5404
|
-
};
|
|
5405
|
-
const de_GetMailboxDetailsResponse = (output, context) => {
|
|
5406
|
-
return {
|
|
5407
|
-
MailboxQuota: __expectInt32(output.MailboxQuota),
|
|
5408
|
-
MailboxSize: __limitedParseDouble(output.MailboxSize),
|
|
5409
|
-
};
|
|
5410
|
-
};
|
|
5411
|
-
const de_GetMailDomainResponse = (output, context) => {
|
|
5412
|
-
return {
|
|
5413
|
-
DkimVerificationStatus: __expectString(output.DkimVerificationStatus),
|
|
5414
|
-
IsDefault: __expectBoolean(output.IsDefault),
|
|
5415
|
-
IsTestDomain: __expectBoolean(output.IsTestDomain),
|
|
5416
|
-
OwnershipVerificationStatus: __expectString(output.OwnershipVerificationStatus),
|
|
5417
|
-
Records: output.Records != null ? de_DnsRecords(output.Records, context) : undefined,
|
|
5418
|
-
};
|
|
5419
|
-
};
|
|
5420
|
-
const de_GetMobileDeviceAccessEffectResponse = (output, context) => {
|
|
5421
|
-
return {
|
|
5422
|
-
Effect: __expectString(output.Effect),
|
|
5423
|
-
MatchedRules: output.MatchedRules != null ? de_MobileDeviceAccessMatchedRuleList(output.MatchedRules, context) : undefined,
|
|
5424
|
-
};
|
|
5425
|
-
};
|
|
5426
|
-
const de_GetMobileDeviceAccessOverrideResponse = (output, context) => {
|
|
5427
|
-
return {
|
|
5428
|
-
DateCreated: output.DateCreated != null
|
|
5429
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
5430
|
-
: undefined,
|
|
5431
|
-
DateModified: output.DateModified != null
|
|
5432
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
5433
|
-
: undefined,
|
|
5434
|
-
Description: __expectString(output.Description),
|
|
5435
|
-
DeviceId: __expectString(output.DeviceId),
|
|
5436
|
-
Effect: __expectString(output.Effect),
|
|
5437
|
-
UserId: __expectString(output.UserId),
|
|
5438
|
-
};
|
|
5439
|
-
};
|
|
5440
|
-
const de_Group = (output, context) => {
|
|
5441
|
-
return {
|
|
5442
|
-
DisabledDate: output.DisabledDate != null
|
|
5443
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
5444
|
-
: undefined,
|
|
5445
|
-
Email: __expectString(output.Email),
|
|
5446
|
-
EnabledDate: output.EnabledDate != null
|
|
5447
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
5448
|
-
: undefined,
|
|
5449
|
-
Id: __expectString(output.Id),
|
|
5450
|
-
Name: __expectString(output.Name),
|
|
5451
|
-
State: __expectString(output.State),
|
|
5452
|
-
};
|
|
5453
|
-
};
|
|
5454
|
-
const de_Groups = (output, context) => {
|
|
5455
|
-
const retVal = (output || [])
|
|
5456
|
-
.filter((e) => e != null)
|
|
5457
|
-
.map((entry) => {
|
|
5458
|
-
if (entry === null) {
|
|
5459
|
-
return null;
|
|
5460
|
-
}
|
|
5461
|
-
return de_Group(entry, context);
|
|
5462
|
-
});
|
|
5463
|
-
return retVal;
|
|
5464
|
-
};
|
|
5465
|
-
const de_ImpersonationMatchedRule = (output, context) => {
|
|
5466
|
-
return {
|
|
5467
|
-
ImpersonationRuleId: __expectString(output.ImpersonationRuleId),
|
|
5468
|
-
Name: __expectString(output.Name),
|
|
5469
|
-
};
|
|
5470
|
-
};
|
|
5471
|
-
const de_ImpersonationMatchedRuleList = (output, context) => {
|
|
5472
|
-
const retVal = (output || [])
|
|
5473
|
-
.filter((e) => e != null)
|
|
5474
|
-
.map((entry) => {
|
|
5475
|
-
if (entry === null) {
|
|
5476
|
-
return null;
|
|
5477
|
-
}
|
|
5478
|
-
return de_ImpersonationMatchedRule(entry, context);
|
|
5479
|
-
});
|
|
5480
|
-
return retVal;
|
|
5481
|
-
};
|
|
5482
|
-
const de_ImpersonationRole = (output, context) => {
|
|
5483
|
-
return {
|
|
5484
|
-
DateCreated: output.DateCreated != null
|
|
5485
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
5486
|
-
: undefined,
|
|
5487
|
-
DateModified: output.DateModified != null
|
|
5488
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
5489
|
-
: undefined,
|
|
5490
|
-
ImpersonationRoleId: __expectString(output.ImpersonationRoleId),
|
|
5491
|
-
Name: __expectString(output.Name),
|
|
5492
|
-
Type: __expectString(output.Type),
|
|
5493
|
-
};
|
|
5494
|
-
};
|
|
5495
|
-
const de_ImpersonationRoleIdList = (output, context) => {
|
|
5496
|
-
const retVal = (output || [])
|
|
5497
|
-
.filter((e) => e != null)
|
|
5498
|
-
.map((entry) => {
|
|
5499
|
-
if (entry === null) {
|
|
5500
|
-
return null;
|
|
5501
|
-
}
|
|
5502
|
-
return __expectString(entry);
|
|
5503
|
-
});
|
|
5504
|
-
return retVal;
|
|
5505
|
-
};
|
|
5506
|
-
const de_ImpersonationRoleList = (output, context) => {
|
|
5507
|
-
const retVal = (output || [])
|
|
5508
|
-
.filter((e) => e != null)
|
|
5509
|
-
.map((entry) => {
|
|
5510
|
-
if (entry === null) {
|
|
5511
|
-
return null;
|
|
5512
|
-
}
|
|
5513
|
-
return de_ImpersonationRole(entry, context);
|
|
5514
|
-
});
|
|
5515
|
-
return retVal;
|
|
5516
|
-
};
|
|
5517
|
-
const de_ImpersonationRule = (output, context) => {
|
|
5518
|
-
return {
|
|
5519
|
-
Description: __expectString(output.Description),
|
|
5520
|
-
Effect: __expectString(output.Effect),
|
|
5521
|
-
ImpersonationRuleId: __expectString(output.ImpersonationRuleId),
|
|
5522
|
-
Name: __expectString(output.Name),
|
|
5523
|
-
NotTargetUsers: output.NotTargetUsers != null ? de_TargetUsers(output.NotTargetUsers, context) : undefined,
|
|
5524
|
-
TargetUsers: output.TargetUsers != null ? de_TargetUsers(output.TargetUsers, context) : undefined,
|
|
5525
|
-
};
|
|
5526
|
-
};
|
|
5527
|
-
const de_ImpersonationRuleList = (output, context) => {
|
|
5528
|
-
const retVal = (output || [])
|
|
5529
|
-
.filter((e) => e != null)
|
|
5530
|
-
.map((entry) => {
|
|
5531
|
-
if (entry === null) {
|
|
5532
|
-
return null;
|
|
5533
|
-
}
|
|
5534
|
-
return de_ImpersonationRule(entry, context);
|
|
5535
|
-
});
|
|
5536
|
-
return retVal;
|
|
5537
|
-
};
|
|
5538
|
-
const de_InvalidConfigurationException = (output, context) => {
|
|
5539
|
-
return {
|
|
5540
|
-
Message: __expectString(output.Message),
|
|
5541
|
-
};
|
|
5542
|
-
};
|
|
5543
|
-
const de_InvalidCustomSesConfigurationException = (output, context) => {
|
|
5544
|
-
return {
|
|
5545
|
-
Message: __expectString(output.Message),
|
|
5546
|
-
};
|
|
5547
|
-
};
|
|
5548
|
-
const de_InvalidParameterException = (output, context) => {
|
|
5549
|
-
return {
|
|
5550
|
-
Message: __expectString(output.Message),
|
|
5551
|
-
};
|
|
5552
|
-
};
|
|
5553
|
-
const de_InvalidPasswordException = (output, context) => {
|
|
5554
|
-
return {
|
|
5555
|
-
Message: __expectString(output.Message),
|
|
5556
|
-
};
|
|
5557
|
-
};
|
|
5558
|
-
const de_IpRangeList = (output, context) => {
|
|
5559
|
-
const retVal = (output || [])
|
|
5560
|
-
.filter((e) => e != null)
|
|
5561
|
-
.map((entry) => {
|
|
5562
|
-
if (entry === null) {
|
|
5563
|
-
return null;
|
|
5564
|
-
}
|
|
5565
|
-
return __expectString(entry);
|
|
5566
|
-
});
|
|
5567
|
-
return retVal;
|
|
5568
|
-
};
|
|
5569
|
-
const de_Jobs = (output, context) => {
|
|
5570
|
-
const retVal = (output || [])
|
|
5571
|
-
.filter((e) => e != null)
|
|
5572
|
-
.map((entry) => {
|
|
5573
|
-
if (entry === null) {
|
|
5574
|
-
return null;
|
|
5575
|
-
}
|
|
5576
|
-
return de_MailboxExportJob(entry, context);
|
|
5577
|
-
});
|
|
5578
|
-
return retVal;
|
|
5579
|
-
};
|
|
5580
|
-
const de_LambdaAvailabilityProvider = (output, context) => {
|
|
5581
|
-
return {
|
|
5582
|
-
LambdaArn: __expectString(output.LambdaArn),
|
|
5583
|
-
};
|
|
5584
|
-
};
|
|
5585
|
-
const de_LimitExceededException = (output, context) => {
|
|
5586
|
-
return {
|
|
5587
|
-
Message: __expectString(output.Message),
|
|
5588
|
-
};
|
|
5589
|
-
};
|
|
5590
|
-
const de_ListAccessControlRulesResponse = (output, context) => {
|
|
5591
|
-
return {
|
|
5592
|
-
Rules: output.Rules != null ? de_AccessControlRulesList(output.Rules, context) : undefined,
|
|
5593
|
-
};
|
|
5594
|
-
};
|
|
5595
|
-
const de_ListAliasesResponse = (output, context) => {
|
|
5596
|
-
return {
|
|
5597
|
-
Aliases: output.Aliases != null ? de_Aliases(output.Aliases, context) : undefined,
|
|
5598
|
-
NextToken: __expectString(output.NextToken),
|
|
5599
|
-
};
|
|
5600
|
-
};
|
|
5601
|
-
const de_ListAvailabilityConfigurationsResponse = (output, context) => {
|
|
5602
|
-
return {
|
|
5603
|
-
AvailabilityConfigurations: output.AvailabilityConfigurations != null
|
|
5604
|
-
? de_AvailabilityConfigurationList(output.AvailabilityConfigurations, context)
|
|
5605
|
-
: undefined,
|
|
5606
|
-
NextToken: __expectString(output.NextToken),
|
|
5607
|
-
};
|
|
5608
|
-
};
|
|
5609
|
-
const de_ListGroupMembersResponse = (output, context) => {
|
|
5610
|
-
return {
|
|
5611
|
-
Members: output.Members != null ? de_Members(output.Members, context) : undefined,
|
|
5612
|
-
NextToken: __expectString(output.NextToken),
|
|
5613
|
-
};
|
|
5614
|
-
};
|
|
5615
|
-
const de_ListGroupsResponse = (output, context) => {
|
|
5616
|
-
return {
|
|
5617
|
-
Groups: output.Groups != null ? de_Groups(output.Groups, context) : undefined,
|
|
5618
|
-
NextToken: __expectString(output.NextToken),
|
|
5619
|
-
};
|
|
5620
|
-
};
|
|
5621
|
-
const de_ListImpersonationRolesResponse = (output, context) => {
|
|
5622
|
-
return {
|
|
5623
|
-
NextToken: __expectString(output.NextToken),
|
|
5624
|
-
Roles: output.Roles != null ? de_ImpersonationRoleList(output.Roles, context) : undefined,
|
|
5625
|
-
};
|
|
5626
|
-
};
|
|
5627
|
-
const de_ListMailboxExportJobsResponse = (output, context) => {
|
|
5628
|
-
return {
|
|
5629
|
-
Jobs: output.Jobs != null ? de_Jobs(output.Jobs, context) : undefined,
|
|
5630
|
-
NextToken: __expectString(output.NextToken),
|
|
5631
|
-
};
|
|
5632
|
-
};
|
|
5633
|
-
const de_ListMailboxPermissionsResponse = (output, context) => {
|
|
5634
|
-
return {
|
|
5635
|
-
NextToken: __expectString(output.NextToken),
|
|
5636
|
-
Permissions: output.Permissions != null ? de_Permissions(output.Permissions, context) : undefined,
|
|
5637
|
-
};
|
|
5638
|
-
};
|
|
5639
|
-
const de_ListMailDomainsResponse = (output, context) => {
|
|
5640
|
-
return {
|
|
5641
|
-
MailDomains: output.MailDomains != null ? de_MailDomains(output.MailDomains, context) : undefined,
|
|
5642
|
-
NextToken: __expectString(output.NextToken),
|
|
5643
|
-
};
|
|
5644
|
-
};
|
|
5645
|
-
const de_ListMobileDeviceAccessOverridesResponse = (output, context) => {
|
|
5646
|
-
return {
|
|
5647
|
-
NextToken: __expectString(output.NextToken),
|
|
5648
|
-
Overrides: output.Overrides != null ? de_MobileDeviceAccessOverridesList(output.Overrides, context) : undefined,
|
|
5649
|
-
};
|
|
4105
|
+
const se_CancelMailboxExportJobRequest = (input, context) => {
|
|
4106
|
+
return take(input, {
|
|
4107
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4108
|
+
JobId: [],
|
|
4109
|
+
OrganizationId: [],
|
|
4110
|
+
});
|
|
5650
4111
|
};
|
|
5651
|
-
const
|
|
5652
|
-
return {
|
|
5653
|
-
|
|
5654
|
-
|
|
4112
|
+
const se_CreateAvailabilityConfigurationRequest = (input, context) => {
|
|
4113
|
+
return take(input, {
|
|
4114
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4115
|
+
DomainName: [],
|
|
4116
|
+
EwsProvider: _json,
|
|
4117
|
+
LambdaProvider: _json,
|
|
4118
|
+
OrganizationId: [],
|
|
4119
|
+
});
|
|
5655
4120
|
};
|
|
5656
|
-
const
|
|
5657
|
-
return {
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
4121
|
+
const se_CreateImpersonationRoleRequest = (input, context) => {
|
|
4122
|
+
return take(input, {
|
|
4123
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4124
|
+
Description: [],
|
|
4125
|
+
Name: [],
|
|
4126
|
+
OrganizationId: [],
|
|
4127
|
+
Rules: _json,
|
|
4128
|
+
Type: [],
|
|
4129
|
+
});
|
|
5663
4130
|
};
|
|
5664
|
-
const
|
|
5665
|
-
return {
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
4131
|
+
const se_CreateMobileDeviceAccessRuleRequest = (input, context) => {
|
|
4132
|
+
return take(input, {
|
|
4133
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4134
|
+
Description: [],
|
|
4135
|
+
DeviceModels: _json,
|
|
4136
|
+
DeviceOperatingSystems: _json,
|
|
4137
|
+
DeviceTypes: _json,
|
|
4138
|
+
DeviceUserAgents: _json,
|
|
4139
|
+
Effect: [],
|
|
4140
|
+
Name: [],
|
|
4141
|
+
NotDeviceModels: _json,
|
|
4142
|
+
NotDeviceOperatingSystems: _json,
|
|
4143
|
+
NotDeviceTypes: _json,
|
|
4144
|
+
NotDeviceUserAgents: _json,
|
|
4145
|
+
OrganizationId: [],
|
|
4146
|
+
});
|
|
5669
4147
|
};
|
|
5670
|
-
const
|
|
5671
|
-
return {
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
4148
|
+
const se_CreateOrganizationRequest = (input, context) => {
|
|
4149
|
+
return take(input, {
|
|
4150
|
+
Alias: [],
|
|
4151
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4152
|
+
DirectoryId: [],
|
|
4153
|
+
Domains: _json,
|
|
4154
|
+
EnableInteroperability: [],
|
|
4155
|
+
KmsKeyArn: [],
|
|
4156
|
+
});
|
|
5675
4157
|
};
|
|
5676
|
-
const
|
|
5677
|
-
return {
|
|
5678
|
-
|
|
5679
|
-
|
|
4158
|
+
const se_DeleteOrganizationRequest = (input, context) => {
|
|
4159
|
+
return take(input, {
|
|
4160
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4161
|
+
DeleteDirectory: [],
|
|
4162
|
+
OrganizationId: [],
|
|
4163
|
+
});
|
|
5680
4164
|
};
|
|
5681
|
-
const
|
|
5682
|
-
return {
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
4165
|
+
const se_RegisterMailDomainRequest = (input, context) => {
|
|
4166
|
+
return take(input, {
|
|
4167
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4168
|
+
DomainName: [],
|
|
4169
|
+
OrganizationId: [],
|
|
4170
|
+
});
|
|
5686
4171
|
};
|
|
5687
|
-
const
|
|
5688
|
-
return {
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
EntityId:
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
};
|
|
5699
|
-
};
|
|
5700
|
-
const de_MailDomainInUseException = (output, context) => {
|
|
5701
|
-
return {
|
|
5702
|
-
Message: __expectString(output.Message),
|
|
5703
|
-
};
|
|
4172
|
+
const se_StartMailboxExportJobRequest = (input, context) => {
|
|
4173
|
+
return take(input, {
|
|
4174
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
4175
|
+
Description: [],
|
|
4176
|
+
EntityId: [],
|
|
4177
|
+
KmsKeyArn: [],
|
|
4178
|
+
OrganizationId: [],
|
|
4179
|
+
RoleArn: [],
|
|
4180
|
+
S3BucketName: [],
|
|
4181
|
+
S3Prefix: [],
|
|
4182
|
+
});
|
|
5704
4183
|
};
|
|
5705
|
-
const
|
|
5706
|
-
return {
|
|
5707
|
-
|
|
5708
|
-
|
|
4184
|
+
const de_AccessControlRule = (output, context) => {
|
|
4185
|
+
return take(output, {
|
|
4186
|
+
Actions: _json,
|
|
4187
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4188
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4189
|
+
Description: __expectString,
|
|
4190
|
+
Effect: __expectString,
|
|
4191
|
+
ImpersonationRoleIds: _json,
|
|
4192
|
+
IpRanges: _json,
|
|
4193
|
+
Name: __expectString,
|
|
4194
|
+
NotActions: _json,
|
|
4195
|
+
NotImpersonationRoleIds: _json,
|
|
4196
|
+
NotIpRanges: _json,
|
|
4197
|
+
NotUserIds: _json,
|
|
4198
|
+
UserIds: _json,
|
|
4199
|
+
});
|
|
5709
4200
|
};
|
|
5710
|
-
const
|
|
4201
|
+
const de_AccessControlRulesList = (output, context) => {
|
|
5711
4202
|
const retVal = (output || [])
|
|
5712
4203
|
.filter((e) => e != null)
|
|
5713
4204
|
.map((entry) => {
|
|
5714
|
-
|
|
5715
|
-
return null;
|
|
5716
|
-
}
|
|
5717
|
-
return de_MailDomainSummary(entry, context);
|
|
4205
|
+
return de_AccessControlRule(entry, context);
|
|
5718
4206
|
});
|
|
5719
4207
|
return retVal;
|
|
5720
4208
|
};
|
|
5721
|
-
const
|
|
5722
|
-
return {
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
};
|
|
5731
|
-
};
|
|
5732
|
-
const de_Member = (output, context) => {
|
|
5733
|
-
return {
|
|
5734
|
-
DisabledDate: output.DisabledDate != null
|
|
5735
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
5736
|
-
: undefined,
|
|
5737
|
-
EnabledDate: output.EnabledDate != null
|
|
5738
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
5739
|
-
: undefined,
|
|
5740
|
-
Id: __expectString(output.Id),
|
|
5741
|
-
Name: __expectString(output.Name),
|
|
5742
|
-
State: __expectString(output.State),
|
|
5743
|
-
Type: __expectString(output.Type),
|
|
5744
|
-
};
|
|
4209
|
+
const de_AvailabilityConfiguration = (output, context) => {
|
|
4210
|
+
return take(output, {
|
|
4211
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4212
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4213
|
+
DomainName: __expectString,
|
|
4214
|
+
EwsProvider: _json,
|
|
4215
|
+
LambdaProvider: _json,
|
|
4216
|
+
ProviderType: __expectString,
|
|
4217
|
+
});
|
|
5745
4218
|
};
|
|
5746
|
-
const
|
|
4219
|
+
const de_AvailabilityConfigurationList = (output, context) => {
|
|
5747
4220
|
const retVal = (output || [])
|
|
5748
4221
|
.filter((e) => e != null)
|
|
5749
4222
|
.map((entry) => {
|
|
5750
|
-
|
|
5751
|
-
return null;
|
|
5752
|
-
}
|
|
5753
|
-
return de_Member(entry, context);
|
|
4223
|
+
return de_AvailabilityConfiguration(entry, context);
|
|
5754
4224
|
});
|
|
5755
4225
|
return retVal;
|
|
5756
4226
|
};
|
|
5757
|
-
const
|
|
5758
|
-
return {
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
4227
|
+
const de_DescribeGroupResponse = (output, context) => {
|
|
4228
|
+
return take(output, {
|
|
4229
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4230
|
+
Email: __expectString,
|
|
4231
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4232
|
+
GroupId: __expectString,
|
|
4233
|
+
Name: __expectString,
|
|
4234
|
+
State: __expectString,
|
|
4235
|
+
});
|
|
5762
4236
|
};
|
|
5763
|
-
const
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
4237
|
+
const de_DescribeMailboxExportJobResponse = (output, context) => {
|
|
4238
|
+
return take(output, {
|
|
4239
|
+
Description: __expectString,
|
|
4240
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4241
|
+
EntityId: __expectString,
|
|
4242
|
+
ErrorInfo: __expectString,
|
|
4243
|
+
EstimatedProgress: __expectInt32,
|
|
4244
|
+
KmsKeyArn: __expectString,
|
|
4245
|
+
RoleArn: __expectString,
|
|
4246
|
+
S3BucketName: __expectString,
|
|
4247
|
+
S3Path: __expectString,
|
|
4248
|
+
S3Prefix: __expectString,
|
|
4249
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4250
|
+
State: __expectString,
|
|
5771
4251
|
});
|
|
5772
|
-
return retVal;
|
|
5773
4252
|
};
|
|
5774
|
-
const
|
|
5775
|
-
return {
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
};
|
|
4253
|
+
const de_DescribeOrganizationResponse = (output, context) => {
|
|
4254
|
+
return take(output, {
|
|
4255
|
+
ARN: __expectString,
|
|
4256
|
+
Alias: __expectString,
|
|
4257
|
+
CompletedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4258
|
+
DefaultMailDomain: __expectString,
|
|
4259
|
+
DirectoryId: __expectString,
|
|
4260
|
+
DirectoryType: __expectString,
|
|
4261
|
+
ErrorMessage: __expectString,
|
|
4262
|
+
OrganizationId: __expectString,
|
|
4263
|
+
State: __expectString,
|
|
4264
|
+
});
|
|
5787
4265
|
};
|
|
5788
|
-
const
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
4266
|
+
const de_DescribeResourceResponse = (output, context) => {
|
|
4267
|
+
return take(output, {
|
|
4268
|
+
BookingOptions: _json,
|
|
4269
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4270
|
+
Email: __expectString,
|
|
4271
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4272
|
+
Name: __expectString,
|
|
4273
|
+
ResourceId: __expectString,
|
|
4274
|
+
State: __expectString,
|
|
4275
|
+
Type: __expectString,
|
|
5796
4276
|
});
|
|
5797
|
-
return retVal;
|
|
5798
4277
|
};
|
|
5799
|
-
const
|
|
5800
|
-
return {
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
? de_DeviceOperatingSystemList(output.DeviceOperatingSystems, context)
|
|
5811
|
-
: undefined,
|
|
5812
|
-
DeviceTypes: output.DeviceTypes != null ? de_DeviceTypeList(output.DeviceTypes, context) : undefined,
|
|
5813
|
-
DeviceUserAgents: output.DeviceUserAgents != null ? de_DeviceUserAgentList(output.DeviceUserAgents, context) : undefined,
|
|
5814
|
-
Effect: __expectString(output.Effect),
|
|
5815
|
-
MobileDeviceAccessRuleId: __expectString(output.MobileDeviceAccessRuleId),
|
|
5816
|
-
Name: __expectString(output.Name),
|
|
5817
|
-
NotDeviceModels: output.NotDeviceModels != null ? de_DeviceModelList(output.NotDeviceModels, context) : undefined,
|
|
5818
|
-
NotDeviceOperatingSystems: output.NotDeviceOperatingSystems != null
|
|
5819
|
-
? de_DeviceOperatingSystemList(output.NotDeviceOperatingSystems, context)
|
|
5820
|
-
: undefined,
|
|
5821
|
-
NotDeviceTypes: output.NotDeviceTypes != null ? de_DeviceTypeList(output.NotDeviceTypes, context) : undefined,
|
|
5822
|
-
NotDeviceUserAgents: output.NotDeviceUserAgents != null ? de_DeviceUserAgentList(output.NotDeviceUserAgents, context) : undefined,
|
|
5823
|
-
};
|
|
4278
|
+
const de_DescribeUserResponse = (output, context) => {
|
|
4279
|
+
return take(output, {
|
|
4280
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4281
|
+
DisplayName: __expectString,
|
|
4282
|
+
Email: __expectString,
|
|
4283
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4284
|
+
Name: __expectString,
|
|
4285
|
+
State: __expectString,
|
|
4286
|
+
UserId: __expectString,
|
|
4287
|
+
UserRole: __expectString,
|
|
4288
|
+
});
|
|
5824
4289
|
};
|
|
5825
|
-
const
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
4290
|
+
const de_GetImpersonationRoleResponse = (output, context) => {
|
|
4291
|
+
return take(output, {
|
|
4292
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4293
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4294
|
+
Description: __expectString,
|
|
4295
|
+
ImpersonationRoleId: __expectString,
|
|
4296
|
+
Name: __expectString,
|
|
4297
|
+
Rules: _json,
|
|
4298
|
+
Type: __expectString,
|
|
5833
4299
|
});
|
|
5834
|
-
return retVal;
|
|
5835
4300
|
};
|
|
5836
|
-
const
|
|
5837
|
-
return {
|
|
5838
|
-
|
|
5839
|
-
|
|
4301
|
+
const de_GetMailboxDetailsResponse = (output, context) => {
|
|
4302
|
+
return take(output, {
|
|
4303
|
+
MailboxQuota: __expectInt32,
|
|
4304
|
+
MailboxSize: __limitedParseDouble,
|
|
4305
|
+
});
|
|
5840
4306
|
};
|
|
5841
|
-
const
|
|
5842
|
-
return {
|
|
5843
|
-
|
|
5844
|
-
|
|
4307
|
+
const de_GetMobileDeviceAccessOverrideResponse = (output, context) => {
|
|
4308
|
+
return take(output, {
|
|
4309
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4310
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4311
|
+
Description: __expectString,
|
|
4312
|
+
DeviceId: __expectString,
|
|
4313
|
+
Effect: __expectString,
|
|
4314
|
+
UserId: __expectString,
|
|
4315
|
+
});
|
|
5845
4316
|
};
|
|
5846
|
-
const
|
|
5847
|
-
return {
|
|
5848
|
-
|
|
5849
|
-
|
|
4317
|
+
const de_Group = (output, context) => {
|
|
4318
|
+
return take(output, {
|
|
4319
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4320
|
+
Email: __expectString,
|
|
4321
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4322
|
+
Id: __expectString,
|
|
4323
|
+
Name: __expectString,
|
|
4324
|
+
State: __expectString,
|
|
4325
|
+
});
|
|
5850
4326
|
};
|
|
5851
|
-
const
|
|
4327
|
+
const de_Groups = (output, context) => {
|
|
5852
4328
|
const retVal = (output || [])
|
|
5853
4329
|
.filter((e) => e != null)
|
|
5854
4330
|
.map((entry) => {
|
|
5855
|
-
|
|
5856
|
-
return null;
|
|
5857
|
-
}
|
|
5858
|
-
return de_OrganizationSummary(entry, context);
|
|
4331
|
+
return de_Group(entry, context);
|
|
5859
4332
|
});
|
|
5860
4333
|
return retVal;
|
|
5861
4334
|
};
|
|
5862
|
-
const
|
|
5863
|
-
return {
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
};
|
|
5870
|
-
};
|
|
5871
|
-
const de_Permission = (output, context) => {
|
|
5872
|
-
return {
|
|
5873
|
-
GranteeId: __expectString(output.GranteeId),
|
|
5874
|
-
GranteeType: __expectString(output.GranteeType),
|
|
5875
|
-
PermissionValues: output.PermissionValues != null ? de_PermissionValues(output.PermissionValues, context) : undefined,
|
|
5876
|
-
};
|
|
4335
|
+
const de_ImpersonationRole = (output, context) => {
|
|
4336
|
+
return take(output, {
|
|
4337
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4338
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4339
|
+
ImpersonationRoleId: __expectString,
|
|
4340
|
+
Name: __expectString,
|
|
4341
|
+
Type: __expectString,
|
|
4342
|
+
});
|
|
5877
4343
|
};
|
|
5878
|
-
const
|
|
4344
|
+
const de_ImpersonationRoleList = (output, context) => {
|
|
5879
4345
|
const retVal = (output || [])
|
|
5880
4346
|
.filter((e) => e != null)
|
|
5881
4347
|
.map((entry) => {
|
|
5882
|
-
|
|
5883
|
-
return null;
|
|
5884
|
-
}
|
|
5885
|
-
return de_Permission(entry, context);
|
|
4348
|
+
return de_ImpersonationRole(entry, context);
|
|
5886
4349
|
});
|
|
5887
4350
|
return retVal;
|
|
5888
4351
|
};
|
|
5889
|
-
const
|
|
4352
|
+
const de_Jobs = (output, context) => {
|
|
5890
4353
|
const retVal = (output || [])
|
|
5891
4354
|
.filter((e) => e != null)
|
|
5892
4355
|
.map((entry) => {
|
|
5893
|
-
|
|
5894
|
-
return null;
|
|
5895
|
-
}
|
|
5896
|
-
return __expectString(entry);
|
|
4356
|
+
return de_MailboxExportJob(entry, context);
|
|
5897
4357
|
});
|
|
5898
4358
|
return retVal;
|
|
5899
4359
|
};
|
|
5900
|
-
const
|
|
5901
|
-
return {
|
|
4360
|
+
const de_ListAccessControlRulesResponse = (output, context) => {
|
|
4361
|
+
return take(output, {
|
|
4362
|
+
Rules: (_) => de_AccessControlRulesList(_, context),
|
|
4363
|
+
});
|
|
5902
4364
|
};
|
|
5903
|
-
const
|
|
5904
|
-
return {
|
|
4365
|
+
const de_ListAvailabilityConfigurationsResponse = (output, context) => {
|
|
4366
|
+
return take(output, {
|
|
4367
|
+
AvailabilityConfigurations: (_) => de_AvailabilityConfigurationList(_, context),
|
|
4368
|
+
NextToken: __expectString,
|
|
4369
|
+
});
|
|
5905
4370
|
};
|
|
5906
|
-
const
|
|
5907
|
-
return {
|
|
4371
|
+
const de_ListGroupMembersResponse = (output, context) => {
|
|
4372
|
+
return take(output, {
|
|
4373
|
+
Members: (_) => de_Members(_, context),
|
|
4374
|
+
NextToken: __expectString,
|
|
4375
|
+
});
|
|
5908
4376
|
};
|
|
5909
|
-
const
|
|
5910
|
-
return {
|
|
4377
|
+
const de_ListGroupsResponse = (output, context) => {
|
|
4378
|
+
return take(output, {
|
|
4379
|
+
Groups: (_) => de_Groups(_, context),
|
|
4380
|
+
NextToken: __expectString,
|
|
4381
|
+
});
|
|
5911
4382
|
};
|
|
5912
|
-
const
|
|
5913
|
-
return {
|
|
4383
|
+
const de_ListImpersonationRolesResponse = (output, context) => {
|
|
4384
|
+
return take(output, {
|
|
4385
|
+
NextToken: __expectString,
|
|
4386
|
+
Roles: (_) => de_ImpersonationRoleList(_, context),
|
|
4387
|
+
});
|
|
5914
4388
|
};
|
|
5915
|
-
const
|
|
5916
|
-
return {
|
|
4389
|
+
const de_ListMailboxExportJobsResponse = (output, context) => {
|
|
4390
|
+
return take(output, {
|
|
4391
|
+
Jobs: (_) => de_Jobs(_, context),
|
|
4392
|
+
NextToken: __expectString,
|
|
4393
|
+
});
|
|
5917
4394
|
};
|
|
5918
|
-
const
|
|
5919
|
-
return {
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
};
|
|
4395
|
+
const de_ListMobileDeviceAccessOverridesResponse = (output, context) => {
|
|
4396
|
+
return take(output, {
|
|
4397
|
+
NextToken: __expectString,
|
|
4398
|
+
Overrides: (_) => de_MobileDeviceAccessOverridesList(_, context),
|
|
4399
|
+
});
|
|
5923
4400
|
};
|
|
5924
|
-
const
|
|
5925
|
-
return {
|
|
4401
|
+
const de_ListMobileDeviceAccessRulesResponse = (output, context) => {
|
|
4402
|
+
return take(output, {
|
|
4403
|
+
Rules: (_) => de_MobileDeviceAccessRulesList(_, context),
|
|
4404
|
+
});
|
|
5926
4405
|
};
|
|
5927
|
-
const
|
|
5928
|
-
return {
|
|
4406
|
+
const de_ListResourcesResponse = (output, context) => {
|
|
4407
|
+
return take(output, {
|
|
4408
|
+
NextToken: __expectString,
|
|
4409
|
+
Resources: (_) => de_Resources(_, context),
|
|
4410
|
+
});
|
|
5929
4411
|
};
|
|
5930
|
-
const
|
|
5931
|
-
return {
|
|
5932
|
-
|
|
5933
|
-
|
|
4412
|
+
const de_ListUsersResponse = (output, context) => {
|
|
4413
|
+
return take(output, {
|
|
4414
|
+
NextToken: __expectString,
|
|
4415
|
+
Users: (_) => de_Users(_, context),
|
|
4416
|
+
});
|
|
5934
4417
|
};
|
|
5935
|
-
const
|
|
5936
|
-
return {
|
|
4418
|
+
const de_MailboxExportJob = (output, context) => {
|
|
4419
|
+
return take(output, {
|
|
4420
|
+
Description: __expectString,
|
|
4421
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4422
|
+
EntityId: __expectString,
|
|
4423
|
+
EstimatedProgress: __expectInt32,
|
|
4424
|
+
JobId: __expectString,
|
|
4425
|
+
S3BucketName: __expectString,
|
|
4426
|
+
S3Path: __expectString,
|
|
4427
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4428
|
+
State: __expectString,
|
|
4429
|
+
});
|
|
5937
4430
|
};
|
|
5938
|
-
const
|
|
5939
|
-
return {
|
|
5940
|
-
DisabledDate:
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
State: __expectString(output.State),
|
|
5950
|
-
Type: __expectString(output.Type),
|
|
5951
|
-
};
|
|
5952
|
-
};
|
|
5953
|
-
const de_ResourceDelegates = (output, context) => {
|
|
4431
|
+
const de_Member = (output, context) => {
|
|
4432
|
+
return take(output, {
|
|
4433
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4434
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4435
|
+
Id: __expectString,
|
|
4436
|
+
Name: __expectString,
|
|
4437
|
+
State: __expectString,
|
|
4438
|
+
Type: __expectString,
|
|
4439
|
+
});
|
|
4440
|
+
};
|
|
4441
|
+
const de_Members = (output, context) => {
|
|
5954
4442
|
const retVal = (output || [])
|
|
5955
4443
|
.filter((e) => e != null)
|
|
5956
4444
|
.map((entry) => {
|
|
5957
|
-
|
|
5958
|
-
return null;
|
|
5959
|
-
}
|
|
5960
|
-
return de_Delegate(entry, context);
|
|
4445
|
+
return de_Member(entry, context);
|
|
5961
4446
|
});
|
|
5962
4447
|
return retVal;
|
|
5963
4448
|
};
|
|
5964
|
-
const
|
|
5965
|
-
return {
|
|
5966
|
-
|
|
5967
|
-
|
|
4449
|
+
const de_MobileDeviceAccessOverride = (output, context) => {
|
|
4450
|
+
return take(output, {
|
|
4451
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4452
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4453
|
+
Description: __expectString,
|
|
4454
|
+
DeviceId: __expectString,
|
|
4455
|
+
Effect: __expectString,
|
|
4456
|
+
UserId: __expectString,
|
|
4457
|
+
});
|
|
5968
4458
|
};
|
|
5969
|
-
const
|
|
4459
|
+
const de_MobileDeviceAccessOverridesList = (output, context) => {
|
|
5970
4460
|
const retVal = (output || [])
|
|
5971
4461
|
.filter((e) => e != null)
|
|
5972
4462
|
.map((entry) => {
|
|
5973
|
-
|
|
5974
|
-
return null;
|
|
5975
|
-
}
|
|
5976
|
-
return de_Resource(entry, context);
|
|
4463
|
+
return de_MobileDeviceAccessOverride(entry, context);
|
|
5977
4464
|
});
|
|
5978
4465
|
return retVal;
|
|
5979
4466
|
};
|
|
5980
|
-
const
|
|
5981
|
-
return {
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
4467
|
+
const de_MobileDeviceAccessRule = (output, context) => {
|
|
4468
|
+
return take(output, {
|
|
4469
|
+
DateCreated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4470
|
+
DateModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4471
|
+
Description: __expectString,
|
|
4472
|
+
DeviceModels: _json,
|
|
4473
|
+
DeviceOperatingSystems: _json,
|
|
4474
|
+
DeviceTypes: _json,
|
|
4475
|
+
DeviceUserAgents: _json,
|
|
4476
|
+
Effect: __expectString,
|
|
4477
|
+
MobileDeviceAccessRuleId: __expectString,
|
|
4478
|
+
Name: __expectString,
|
|
4479
|
+
NotDeviceModels: _json,
|
|
4480
|
+
NotDeviceOperatingSystems: _json,
|
|
4481
|
+
NotDeviceTypes: _json,
|
|
4482
|
+
NotDeviceUserAgents: _json,
|
|
4483
|
+
});
|
|
5990
4484
|
};
|
|
5991
|
-
const
|
|
4485
|
+
const de_MobileDeviceAccessRulesList = (output, context) => {
|
|
5992
4486
|
const retVal = (output || [])
|
|
5993
4487
|
.filter((e) => e != null)
|
|
5994
4488
|
.map((entry) => {
|
|
5995
|
-
|
|
5996
|
-
return null;
|
|
5997
|
-
}
|
|
5998
|
-
return de_Tag(entry, context);
|
|
4489
|
+
return de_MobileDeviceAccessRule(entry, context);
|
|
5999
4490
|
});
|
|
6000
4491
|
return retVal;
|
|
6001
4492
|
};
|
|
6002
|
-
const
|
|
6003
|
-
return {
|
|
4493
|
+
const de_Resource = (output, context) => {
|
|
4494
|
+
return take(output, {
|
|
4495
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4496
|
+
Email: __expectString,
|
|
4497
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4498
|
+
Id: __expectString,
|
|
4499
|
+
Name: __expectString,
|
|
4500
|
+
State: __expectString,
|
|
4501
|
+
Type: __expectString,
|
|
4502
|
+
});
|
|
6004
4503
|
};
|
|
6005
|
-
const
|
|
4504
|
+
const de_Resources = (output, context) => {
|
|
6006
4505
|
const retVal = (output || [])
|
|
6007
4506
|
.filter((e) => e != null)
|
|
6008
4507
|
.map((entry) => {
|
|
6009
|
-
|
|
6010
|
-
return null;
|
|
6011
|
-
}
|
|
6012
|
-
return __expectString(entry);
|
|
4508
|
+
return de_Resource(entry, context);
|
|
6013
4509
|
});
|
|
6014
4510
|
return retVal;
|
|
6015
4511
|
};
|
|
6016
|
-
const de_TestAvailabilityConfigurationResponse = (output, context) => {
|
|
6017
|
-
return {
|
|
6018
|
-
FailureReason: __expectString(output.FailureReason),
|
|
6019
|
-
TestPassed: __expectBoolean(output.TestPassed),
|
|
6020
|
-
};
|
|
6021
|
-
};
|
|
6022
|
-
const de_TooManyTagsException = (output, context) => {
|
|
6023
|
-
return {
|
|
6024
|
-
Message: __expectString(output.Message),
|
|
6025
|
-
};
|
|
6026
|
-
};
|
|
6027
|
-
const de_UnsupportedOperationException = (output, context) => {
|
|
6028
|
-
return {
|
|
6029
|
-
Message: __expectString(output.Message),
|
|
6030
|
-
};
|
|
6031
|
-
};
|
|
6032
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
6033
|
-
return {};
|
|
6034
|
-
};
|
|
6035
|
-
const de_UpdateAvailabilityConfigurationResponse = (output, context) => {
|
|
6036
|
-
return {};
|
|
6037
|
-
};
|
|
6038
|
-
const de_UpdateDefaultMailDomainResponse = (output, context) => {
|
|
6039
|
-
return {};
|
|
6040
|
-
};
|
|
6041
|
-
const de_UpdateImpersonationRoleResponse = (output, context) => {
|
|
6042
|
-
return {};
|
|
6043
|
-
};
|
|
6044
|
-
const de_UpdateMailboxQuotaResponse = (output, context) => {
|
|
6045
|
-
return {};
|
|
6046
|
-
};
|
|
6047
|
-
const de_UpdateMobileDeviceAccessRuleResponse = (output, context) => {
|
|
6048
|
-
return {};
|
|
6049
|
-
};
|
|
6050
|
-
const de_UpdatePrimaryEmailAddressResponse = (output, context) => {
|
|
6051
|
-
return {};
|
|
6052
|
-
};
|
|
6053
|
-
const de_UpdateResourceResponse = (output, context) => {
|
|
6054
|
-
return {};
|
|
6055
|
-
};
|
|
6056
4512
|
const de_User = (output, context) => {
|
|
6057
|
-
return {
|
|
6058
|
-
DisabledDate:
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
Id: __expectString(output.Id),
|
|
6067
|
-
Name: __expectString(output.Name),
|
|
6068
|
-
State: __expectString(output.State),
|
|
6069
|
-
UserRole: __expectString(output.UserRole),
|
|
6070
|
-
};
|
|
6071
|
-
};
|
|
6072
|
-
const de_UserIdList = (output, context) => {
|
|
6073
|
-
const retVal = (output || [])
|
|
6074
|
-
.filter((e) => e != null)
|
|
6075
|
-
.map((entry) => {
|
|
6076
|
-
if (entry === null) {
|
|
6077
|
-
return null;
|
|
6078
|
-
}
|
|
6079
|
-
return __expectString(entry);
|
|
4513
|
+
return take(output, {
|
|
4514
|
+
DisabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4515
|
+
DisplayName: __expectString,
|
|
4516
|
+
Email: __expectString,
|
|
4517
|
+
EnabledDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4518
|
+
Id: __expectString,
|
|
4519
|
+
Name: __expectString,
|
|
4520
|
+
State: __expectString,
|
|
4521
|
+
UserRole: __expectString,
|
|
6080
4522
|
});
|
|
6081
|
-
return retVal;
|
|
6082
4523
|
};
|
|
6083
4524
|
const de_Users = (output, context) => {
|
|
6084
4525
|
const retVal = (output || [])
|
|
6085
4526
|
.filter((e) => e != null)
|
|
6086
4527
|
.map((entry) => {
|
|
6087
|
-
if (entry === null) {
|
|
6088
|
-
return null;
|
|
6089
|
-
}
|
|
6090
4528
|
return de_User(entry, context);
|
|
6091
4529
|
});
|
|
6092
4530
|
return retVal;
|
|
@@ -6104,6 +4542,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
6104
4542
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6105
4543
|
};
|
|
6106
4544
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4545
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
6107
4546
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6108
4547
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
6109
4548
|
const contents = {
|