@aws-sdk/client-directory-service-data 3.927.0 → 3.929.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/index.js +922 -1021
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/DirectoryServiceDataClient.js +2 -0
- package/dist-es/commands/AddGroupMemberCommand.js +3 -9
- package/dist-es/commands/CreateGroupCommand.js +3 -10
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DescribeGroupCommand.js +3 -10
- package/dist-es/commands/DescribeUserCommand.js +3 -10
- package/dist-es/commands/DisableUserCommand.js +3 -9
- package/dist-es/commands/ListGroupMembersCommand.js +3 -10
- package/dist-es/commands/ListGroupsCommand.js +3 -10
- package/dist-es/commands/ListGroupsForMemberCommand.js +3 -10
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/RemoveGroupMemberCommand.js +3 -9
- package/dist-es/commands/SearchGroupsCommand.js +3 -10
- package/dist-es/commands/SearchUsersCommand.js +3 -10
- package/dist-es/commands/UpdateGroupCommand.js +3 -10
- package/dist-es/commands/UpdateUserCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -137
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +869 -0
- package/dist-types/DirectoryServiceDataClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -88
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +85 -0
- package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -60
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -726
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class DirectoryServiceDataClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,19 +110,19 @@ class DirectoryServiceDataClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class DirectoryServiceDataServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let DirectoryServiceDataServiceException$1 = class DirectoryServiceDataServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, DirectoryServiceDataServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
120
|
const AccessDeniedReason = {
|
|
122
121
|
DATA_DISABLED: "DATA_DISABLED",
|
|
123
122
|
DIRECTORY_AUTH: "DIRECTORY_AUTH",
|
|
124
123
|
IAM_AUTH: "IAM_AUTH",
|
|
125
124
|
};
|
|
126
|
-
class AccessDeniedException extends DirectoryServiceDataServiceException {
|
|
125
|
+
let AccessDeniedException$1 = class AccessDeniedException extends DirectoryServiceDataServiceException$1 {
|
|
127
126
|
name = "AccessDeniedException";
|
|
128
127
|
$fault = "client";
|
|
129
128
|
Message;
|
|
@@ -138,8 +137,8 @@ class AccessDeniedException extends DirectoryServiceDataServiceException {
|
|
|
138
137
|
this.Message = opts.Message;
|
|
139
138
|
this.Reason = opts.Reason;
|
|
140
139
|
}
|
|
141
|
-
}
|
|
142
|
-
class ConflictException extends DirectoryServiceDataServiceException {
|
|
140
|
+
};
|
|
141
|
+
let ConflictException$1 = class ConflictException extends DirectoryServiceDataServiceException$1 {
|
|
143
142
|
name = "ConflictException";
|
|
144
143
|
$fault = "client";
|
|
145
144
|
Message;
|
|
@@ -152,7 +151,7 @@ class ConflictException extends DirectoryServiceDataServiceException {
|
|
|
152
151
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
153
152
|
this.Message = opts.Message;
|
|
154
153
|
}
|
|
155
|
-
}
|
|
154
|
+
};
|
|
156
155
|
const DirectoryUnavailableReason = {
|
|
157
156
|
DIRECTORY_RESOURCES_EXCEEDED: "DIRECTORY_RESOURCES_EXCEEDED",
|
|
158
157
|
DIRECTORY_TIMEOUT: "DIRECTORY_TIMEOUT",
|
|
@@ -160,7 +159,7 @@ const DirectoryUnavailableReason = {
|
|
|
160
159
|
NO_DISK_SPACE: "NO_DISK_SPACE",
|
|
161
160
|
TRUST_AUTH_FAILURE: "TRUST_AUTH_FAILURE",
|
|
162
161
|
};
|
|
163
|
-
class DirectoryUnavailableException extends DirectoryServiceDataServiceException {
|
|
162
|
+
let DirectoryUnavailableException$1 = class DirectoryUnavailableException extends DirectoryServiceDataServiceException$1 {
|
|
164
163
|
name = "DirectoryUnavailableException";
|
|
165
164
|
$fault = "client";
|
|
166
165
|
$retryable = {};
|
|
@@ -176,8 +175,8 @@ class DirectoryUnavailableException extends DirectoryServiceDataServiceException
|
|
|
176
175
|
this.Message = opts.Message;
|
|
177
176
|
this.Reason = opts.Reason;
|
|
178
177
|
}
|
|
179
|
-
}
|
|
180
|
-
class InternalServerException extends DirectoryServiceDataServiceException {
|
|
178
|
+
};
|
|
179
|
+
let InternalServerException$1 = class InternalServerException extends DirectoryServiceDataServiceException$1 {
|
|
181
180
|
name = "InternalServerException";
|
|
182
181
|
$fault = "server";
|
|
183
182
|
$retryable = {};
|
|
@@ -191,8 +190,8 @@ class InternalServerException extends DirectoryServiceDataServiceException {
|
|
|
191
190
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
192
191
|
this.Message = opts.Message;
|
|
193
192
|
}
|
|
194
|
-
}
|
|
195
|
-
class ResourceNotFoundException extends DirectoryServiceDataServiceException {
|
|
193
|
+
};
|
|
194
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends DirectoryServiceDataServiceException$1 {
|
|
196
195
|
name = "ResourceNotFoundException";
|
|
197
196
|
$fault = "client";
|
|
198
197
|
Message;
|
|
@@ -205,8 +204,8 @@ class ResourceNotFoundException extends DirectoryServiceDataServiceException {
|
|
|
205
204
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
206
205
|
this.Message = opts.Message;
|
|
207
206
|
}
|
|
208
|
-
}
|
|
209
|
-
class ThrottlingException extends DirectoryServiceDataServiceException {
|
|
207
|
+
};
|
|
208
|
+
let ThrottlingException$1 = class ThrottlingException extends DirectoryServiceDataServiceException$1 {
|
|
210
209
|
name = "ThrottlingException";
|
|
211
210
|
$fault = "client";
|
|
212
211
|
$retryable = {
|
|
@@ -224,7 +223,7 @@ class ThrottlingException extends DirectoryServiceDataServiceException {
|
|
|
224
223
|
this.Message = opts.Message;
|
|
225
224
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
226
225
|
}
|
|
227
|
-
}
|
|
226
|
+
};
|
|
228
227
|
const ValidationExceptionReason = {
|
|
229
228
|
ATTRIBUTE_EXISTS: "ATTRIBUTE_EXISTS",
|
|
230
229
|
DUPLICATE_ATTRIBUTE: "DUPLICATE_ATTRIBUTE",
|
|
@@ -242,7 +241,7 @@ const ValidationExceptionReason = {
|
|
|
242
241
|
LDAP_UNSUPPORTED_OPERATION: "LDAP_UNSUPPORTED_OPERATION",
|
|
243
242
|
MISSING_ATTRIBUTE: "MISSING_ATTRIBUTE",
|
|
244
243
|
};
|
|
245
|
-
class ValidationException extends DirectoryServiceDataServiceException {
|
|
244
|
+
let ValidationException$1 = class ValidationException extends DirectoryServiceDataServiceException$1 {
|
|
246
245
|
name = "ValidationException";
|
|
247
246
|
$fault = "client";
|
|
248
247
|
Message;
|
|
@@ -257,7 +256,7 @@ class ValidationException extends DirectoryServiceDataServiceException {
|
|
|
257
256
|
this.Message = opts.Message;
|
|
258
257
|
this.Reason = opts.Reason;
|
|
259
258
|
}
|
|
260
|
-
}
|
|
259
|
+
};
|
|
261
260
|
exports.AttributeValue = void 0;
|
|
262
261
|
(function (AttributeValue) {
|
|
263
262
|
AttributeValue.visit = (value, visitor) => {
|
|
@@ -292,877 +291,881 @@ const UpdateType = {
|
|
|
292
291
|
REMOVE: "REMOVE",
|
|
293
292
|
REPLACE: "REPLACE",
|
|
294
293
|
};
|
|
295
|
-
const AttributeValueFilterSensitiveLog = (obj) => {
|
|
296
|
-
if (obj.S !== undefined)
|
|
297
|
-
return { S: smithyClient.SENSITIVE_STRING };
|
|
298
|
-
if (obj.N !== undefined)
|
|
299
|
-
return { N: smithyClient.SENSITIVE_STRING };
|
|
300
|
-
if (obj.BOOL !== undefined)
|
|
301
|
-
return { BOOL: smithyClient.SENSITIVE_STRING };
|
|
302
|
-
if (obj.SS !== undefined)
|
|
303
|
-
return { SS: smithyClient.SENSITIVE_STRING };
|
|
304
|
-
if (obj.$unknown !== undefined)
|
|
305
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
306
|
-
};
|
|
307
|
-
const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
...(obj.OtherAttributes && {
|
|
310
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
311
|
-
}),
|
|
312
|
-
});
|
|
313
|
-
const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
316
|
-
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
317
|
-
...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
|
|
318
|
-
...(obj.OtherAttributes && {
|
|
319
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
320
|
-
}),
|
|
321
|
-
});
|
|
322
|
-
const DescribeGroupResultFilterSensitiveLog = (obj) => ({
|
|
323
|
-
...obj,
|
|
324
|
-
...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
|
|
325
|
-
...(obj.OtherAttributes && {
|
|
326
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
327
|
-
}),
|
|
328
|
-
});
|
|
329
|
-
const DescribeUserResultFilterSensitiveLog = (obj) => ({
|
|
330
|
-
...obj,
|
|
331
|
-
...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
|
|
332
|
-
...(obj.UserPrincipalName && { UserPrincipalName: smithyClient.SENSITIVE_STRING }),
|
|
333
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
334
|
-
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
335
|
-
...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
|
|
336
|
-
...(obj.OtherAttributes && {
|
|
337
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
338
|
-
}),
|
|
339
|
-
});
|
|
340
|
-
const ListGroupMembersRequestFilterSensitiveLog = (obj) => ({
|
|
341
|
-
...obj,
|
|
342
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
343
|
-
});
|
|
344
|
-
const ListGroupMembersResultFilterSensitiveLog = (obj) => ({
|
|
345
|
-
...obj,
|
|
346
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
347
|
-
});
|
|
348
|
-
const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
351
|
-
});
|
|
352
|
-
const ListGroupsResultFilterSensitiveLog = (obj) => ({
|
|
353
|
-
...obj,
|
|
354
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
355
|
-
});
|
|
356
|
-
const ListGroupsForMemberRequestFilterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
359
|
-
});
|
|
360
|
-
const ListGroupsForMemberResultFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
363
|
-
});
|
|
364
|
-
const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
367
|
-
});
|
|
368
|
-
const UserSummaryFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
371
|
-
...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
|
|
372
|
-
});
|
|
373
|
-
const ListUsersResultFilterSensitiveLog = (obj) => ({
|
|
374
|
-
...obj,
|
|
375
|
-
...(obj.Users && { Users: obj.Users.map((item) => UserSummaryFilterSensitiveLog(item)) }),
|
|
376
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
377
|
-
});
|
|
378
|
-
const SearchGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
...(obj.SearchString && { SearchString: smithyClient.SENSITIVE_STRING }),
|
|
381
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
382
|
-
});
|
|
383
|
-
const GroupFilterSensitiveLog = (obj) => ({
|
|
384
|
-
...obj,
|
|
385
|
-
...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
|
|
386
|
-
...(obj.OtherAttributes && {
|
|
387
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
388
|
-
}),
|
|
389
|
-
});
|
|
390
|
-
const SearchGroupsResultFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
393
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
394
|
-
});
|
|
395
|
-
const SearchUsersRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.SearchString && { SearchString: smithyClient.SENSITIVE_STRING }),
|
|
398
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
399
|
-
});
|
|
400
|
-
const UserFilterSensitiveLog = (obj) => ({
|
|
401
|
-
...obj,
|
|
402
|
-
...(obj.DistinguishedName && { DistinguishedName: smithyClient.SENSITIVE_STRING }),
|
|
403
|
-
...(obj.UserPrincipalName && { UserPrincipalName: smithyClient.SENSITIVE_STRING }),
|
|
404
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
405
|
-
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
406
|
-
...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
|
|
407
|
-
...(obj.OtherAttributes && {
|
|
408
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
409
|
-
}),
|
|
410
|
-
});
|
|
411
|
-
const SearchUsersResultFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
414
|
-
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
415
|
-
});
|
|
416
|
-
const UpdateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
417
|
-
...obj,
|
|
418
|
-
...(obj.OtherAttributes && {
|
|
419
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
420
|
-
}),
|
|
421
|
-
});
|
|
422
|
-
const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
425
|
-
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
426
|
-
...(obj.Surname && { Surname: smithyClient.SENSITIVE_STRING }),
|
|
427
|
-
...(obj.OtherAttributes && {
|
|
428
|
-
OtherAttributes: Object.entries(obj.OtherAttributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
429
|
-
}),
|
|
430
|
-
});
|
|
431
294
|
|
|
432
|
-
const
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
const
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
"content-type": "application/json",
|
|
455
|
-
};
|
|
456
|
-
b.bp("/Groups/CreateGroup");
|
|
457
|
-
const query = smithyClient.map({
|
|
458
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
459
|
-
});
|
|
460
|
-
let body;
|
|
461
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
462
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
463
|
-
GroupScope: [],
|
|
464
|
-
GroupType: [],
|
|
465
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
466
|
-
SAMAccountName: [],
|
|
467
|
-
}));
|
|
468
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
469
|
-
return b.build();
|
|
470
|
-
};
|
|
471
|
-
const se_CreateUserCommand = async (input, context) => {
|
|
472
|
-
const b = core.requestBuilder(input, context);
|
|
473
|
-
const headers = {
|
|
474
|
-
"content-type": "application/json",
|
|
475
|
-
};
|
|
476
|
-
b.bp("/Users/CreateUser");
|
|
477
|
-
const query = smithyClient.map({
|
|
478
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
479
|
-
});
|
|
480
|
-
let body;
|
|
481
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
482
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
483
|
-
EmailAddress: [],
|
|
484
|
-
GivenName: [],
|
|
485
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
486
|
-
SAMAccountName: [],
|
|
487
|
-
Surname: [],
|
|
488
|
-
}));
|
|
489
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
490
|
-
return b.build();
|
|
491
|
-
};
|
|
492
|
-
const se_DeleteGroupCommand = async (input, context) => {
|
|
493
|
-
const b = core.requestBuilder(input, context);
|
|
494
|
-
const headers = {
|
|
495
|
-
"content-type": "application/json",
|
|
496
|
-
};
|
|
497
|
-
b.bp("/Groups/DeleteGroup");
|
|
498
|
-
const query = smithyClient.map({
|
|
499
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
500
|
-
});
|
|
501
|
-
let body;
|
|
502
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
503
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
504
|
-
SAMAccountName: [],
|
|
505
|
-
}));
|
|
506
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
507
|
-
return b.build();
|
|
508
|
-
};
|
|
509
|
-
const se_DeleteUserCommand = async (input, context) => {
|
|
510
|
-
const b = core.requestBuilder(input, context);
|
|
511
|
-
const headers = {
|
|
512
|
-
"content-type": "application/json",
|
|
513
|
-
};
|
|
514
|
-
b.bp("/Users/DeleteUser");
|
|
515
|
-
const query = smithyClient.map({
|
|
516
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
517
|
-
});
|
|
518
|
-
let body;
|
|
519
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
520
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
521
|
-
SAMAccountName: [],
|
|
522
|
-
}));
|
|
523
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
524
|
-
return b.build();
|
|
525
|
-
};
|
|
526
|
-
const se_DescribeGroupCommand = async (input, context) => {
|
|
527
|
-
const b = core.requestBuilder(input, context);
|
|
528
|
-
const headers = {
|
|
529
|
-
"content-type": "application/json",
|
|
530
|
-
};
|
|
531
|
-
b.bp("/Groups/DescribeGroup");
|
|
532
|
-
const query = smithyClient.map({
|
|
533
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
534
|
-
});
|
|
535
|
-
let body;
|
|
536
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
537
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
538
|
-
Realm: [],
|
|
539
|
-
SAMAccountName: [],
|
|
540
|
-
}));
|
|
541
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
542
|
-
return b.build();
|
|
543
|
-
};
|
|
544
|
-
const se_DescribeUserCommand = async (input, context) => {
|
|
545
|
-
const b = core.requestBuilder(input, context);
|
|
546
|
-
const headers = {
|
|
547
|
-
"content-type": "application/json",
|
|
548
|
-
};
|
|
549
|
-
b.bp("/Users/DescribeUser");
|
|
550
|
-
const query = smithyClient.map({
|
|
551
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
552
|
-
});
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
555
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
556
|
-
Realm: [],
|
|
557
|
-
SAMAccountName: [],
|
|
558
|
-
}));
|
|
559
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
560
|
-
return b.build();
|
|
561
|
-
};
|
|
562
|
-
const se_DisableUserCommand = async (input, context) => {
|
|
563
|
-
const b = core.requestBuilder(input, context);
|
|
564
|
-
const headers = {
|
|
565
|
-
"content-type": "application/json",
|
|
566
|
-
};
|
|
567
|
-
b.bp("/Users/DisableUser");
|
|
568
|
-
const query = smithyClient.map({
|
|
569
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
570
|
-
});
|
|
571
|
-
let body;
|
|
572
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
573
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
574
|
-
SAMAccountName: [],
|
|
575
|
-
}));
|
|
576
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
577
|
-
return b.build();
|
|
578
|
-
};
|
|
579
|
-
const se_ListGroupMembersCommand = async (input, context) => {
|
|
580
|
-
const b = core.requestBuilder(input, context);
|
|
581
|
-
const headers = {
|
|
582
|
-
"content-type": "application/json",
|
|
583
|
-
};
|
|
584
|
-
b.bp("/GroupMemberships/ListGroupMembers");
|
|
585
|
-
const query = smithyClient.map({
|
|
586
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
587
|
-
});
|
|
588
|
-
let body;
|
|
589
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
590
|
-
MaxResults: [],
|
|
591
|
-
MemberRealm: [],
|
|
592
|
-
NextToken: [],
|
|
593
|
-
Realm: [],
|
|
594
|
-
SAMAccountName: [],
|
|
595
|
-
}));
|
|
596
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
597
|
-
return b.build();
|
|
598
|
-
};
|
|
599
|
-
const se_ListGroupsCommand = async (input, context) => {
|
|
600
|
-
const b = core.requestBuilder(input, context);
|
|
601
|
-
const headers = {
|
|
602
|
-
"content-type": "application/json",
|
|
603
|
-
};
|
|
604
|
-
b.bp("/Groups/ListGroups");
|
|
605
|
-
const query = smithyClient.map({
|
|
606
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
607
|
-
});
|
|
608
|
-
let body;
|
|
609
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
610
|
-
MaxResults: [],
|
|
611
|
-
NextToken: [],
|
|
612
|
-
Realm: [],
|
|
613
|
-
}));
|
|
614
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
615
|
-
return b.build();
|
|
616
|
-
};
|
|
617
|
-
const se_ListGroupsForMemberCommand = async (input, context) => {
|
|
618
|
-
const b = core.requestBuilder(input, context);
|
|
619
|
-
const headers = {
|
|
620
|
-
"content-type": "application/json",
|
|
621
|
-
};
|
|
622
|
-
b.bp("/GroupMemberships/ListGroupsForMember");
|
|
623
|
-
const query = smithyClient.map({
|
|
624
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
625
|
-
});
|
|
626
|
-
let body;
|
|
627
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
628
|
-
MaxResults: [],
|
|
629
|
-
MemberRealm: [],
|
|
630
|
-
NextToken: [],
|
|
631
|
-
Realm: [],
|
|
632
|
-
SAMAccountName: [],
|
|
633
|
-
}));
|
|
634
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
635
|
-
return b.build();
|
|
636
|
-
};
|
|
637
|
-
const se_ListUsersCommand = async (input, context) => {
|
|
638
|
-
const b = core.requestBuilder(input, context);
|
|
639
|
-
const headers = {
|
|
640
|
-
"content-type": "application/json",
|
|
641
|
-
};
|
|
642
|
-
b.bp("/Users/ListUsers");
|
|
643
|
-
const query = smithyClient.map({
|
|
644
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
645
|
-
});
|
|
646
|
-
let body;
|
|
647
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
648
|
-
MaxResults: [],
|
|
649
|
-
NextToken: [],
|
|
650
|
-
Realm: [],
|
|
651
|
-
}));
|
|
652
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
653
|
-
return b.build();
|
|
654
|
-
};
|
|
655
|
-
const se_RemoveGroupMemberCommand = async (input, context) => {
|
|
656
|
-
const b = core.requestBuilder(input, context);
|
|
657
|
-
const headers = {
|
|
658
|
-
"content-type": "application/json",
|
|
659
|
-
};
|
|
660
|
-
b.bp("/GroupMemberships/RemoveGroupMember");
|
|
661
|
-
const query = smithyClient.map({
|
|
662
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
663
|
-
});
|
|
664
|
-
let body;
|
|
665
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
666
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
667
|
-
GroupName: [],
|
|
668
|
-
MemberName: [],
|
|
669
|
-
MemberRealm: [],
|
|
670
|
-
}));
|
|
671
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
672
|
-
return b.build();
|
|
673
|
-
};
|
|
674
|
-
const se_SearchGroupsCommand = async (input, context) => {
|
|
675
|
-
const b = core.requestBuilder(input, context);
|
|
676
|
-
const headers = {
|
|
677
|
-
"content-type": "application/json",
|
|
678
|
-
};
|
|
679
|
-
b.bp("/Groups/SearchGroups");
|
|
680
|
-
const query = smithyClient.map({
|
|
681
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
682
|
-
});
|
|
683
|
-
let body;
|
|
684
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
685
|
-
MaxResults: [],
|
|
686
|
-
NextToken: [],
|
|
687
|
-
Realm: [],
|
|
688
|
-
SearchAttributes: (_) => smithyClient._json(_),
|
|
689
|
-
SearchString: [],
|
|
690
|
-
}));
|
|
691
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
692
|
-
return b.build();
|
|
693
|
-
};
|
|
694
|
-
const se_SearchUsersCommand = async (input, context) => {
|
|
695
|
-
const b = core.requestBuilder(input, context);
|
|
696
|
-
const headers = {
|
|
697
|
-
"content-type": "application/json",
|
|
698
|
-
};
|
|
699
|
-
b.bp("/Users/SearchUsers");
|
|
700
|
-
const query = smithyClient.map({
|
|
701
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
702
|
-
});
|
|
703
|
-
let body;
|
|
704
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
705
|
-
MaxResults: [],
|
|
706
|
-
NextToken: [],
|
|
707
|
-
Realm: [],
|
|
708
|
-
SearchAttributes: (_) => smithyClient._json(_),
|
|
709
|
-
SearchString: [],
|
|
710
|
-
}));
|
|
711
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
712
|
-
return b.build();
|
|
713
|
-
};
|
|
714
|
-
const se_UpdateGroupCommand = async (input, context) => {
|
|
715
|
-
const b = core.requestBuilder(input, context);
|
|
716
|
-
const headers = {
|
|
717
|
-
"content-type": "application/json",
|
|
718
|
-
};
|
|
719
|
-
b.bp("/Groups/UpdateGroup");
|
|
720
|
-
const query = smithyClient.map({
|
|
721
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
722
|
-
});
|
|
723
|
-
let body;
|
|
724
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
725
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
726
|
-
GroupScope: [],
|
|
727
|
-
GroupType: [],
|
|
728
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
729
|
-
SAMAccountName: [],
|
|
730
|
-
UpdateType: [],
|
|
731
|
-
}));
|
|
732
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
733
|
-
return b.build();
|
|
734
|
-
};
|
|
735
|
-
const se_UpdateUserCommand = async (input, context) => {
|
|
736
|
-
const b = core.requestBuilder(input, context);
|
|
737
|
-
const headers = {
|
|
738
|
-
"content-type": "application/json",
|
|
739
|
-
};
|
|
740
|
-
b.bp("/Users/UpdateUser");
|
|
741
|
-
const query = smithyClient.map({
|
|
742
|
-
[_DI]: [, smithyClient.expectNonNull(input[_DI], `DirectoryId`)],
|
|
743
|
-
});
|
|
744
|
-
let body;
|
|
745
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
746
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
747
|
-
EmailAddress: [],
|
|
748
|
-
GivenName: [],
|
|
749
|
-
OtherAttributes: (_) => smithyClient._json(_),
|
|
750
|
-
SAMAccountName: [],
|
|
751
|
-
Surname: [],
|
|
752
|
-
UpdateType: [],
|
|
753
|
-
}));
|
|
754
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
755
|
-
return b.build();
|
|
756
|
-
};
|
|
757
|
-
const de_AddGroupMemberCommand = async (output, context) => {
|
|
758
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
-
return de_CommandError(output, context);
|
|
760
|
-
}
|
|
761
|
-
const contents = smithyClient.map({
|
|
762
|
-
$metadata: deserializeMetadata(output),
|
|
763
|
-
});
|
|
764
|
-
await smithyClient.collectBody(output.body, context);
|
|
765
|
-
return contents;
|
|
766
|
-
};
|
|
767
|
-
const de_CreateGroupCommand = async (output, context) => {
|
|
768
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
769
|
-
return de_CommandError(output, context);
|
|
770
|
-
}
|
|
771
|
-
const contents = smithyClient.map({
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
});
|
|
774
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
775
|
-
const doc = smithyClient.take(data, {
|
|
776
|
-
DirectoryId: smithyClient.expectString,
|
|
777
|
-
SAMAccountName: smithyClient.expectString,
|
|
778
|
-
SID: smithyClient.expectString,
|
|
779
|
-
});
|
|
780
|
-
Object.assign(contents, doc);
|
|
781
|
-
return contents;
|
|
782
|
-
};
|
|
783
|
-
const de_CreateUserCommand = async (output, context) => {
|
|
784
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
785
|
-
return de_CommandError(output, context);
|
|
786
|
-
}
|
|
787
|
-
const contents = smithyClient.map({
|
|
788
|
-
$metadata: deserializeMetadata(output),
|
|
789
|
-
});
|
|
790
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
791
|
-
const doc = smithyClient.take(data, {
|
|
792
|
-
DirectoryId: smithyClient.expectString,
|
|
793
|
-
SAMAccountName: smithyClient.expectString,
|
|
794
|
-
SID: smithyClient.expectString,
|
|
795
|
-
});
|
|
796
|
-
Object.assign(contents, doc);
|
|
797
|
-
return contents;
|
|
798
|
-
};
|
|
799
|
-
const de_DeleteGroupCommand = async (output, context) => {
|
|
800
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
801
|
-
return de_CommandError(output, context);
|
|
802
|
-
}
|
|
803
|
-
const contents = smithyClient.map({
|
|
804
|
-
$metadata: deserializeMetadata(output),
|
|
805
|
-
});
|
|
806
|
-
await smithyClient.collectBody(output.body, context);
|
|
807
|
-
return contents;
|
|
808
|
-
};
|
|
809
|
-
const de_DeleteUserCommand = async (output, context) => {
|
|
810
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
811
|
-
return de_CommandError(output, context);
|
|
812
|
-
}
|
|
813
|
-
const contents = smithyClient.map({
|
|
814
|
-
$metadata: deserializeMetadata(output),
|
|
815
|
-
});
|
|
816
|
-
await smithyClient.collectBody(output.body, context);
|
|
817
|
-
return contents;
|
|
818
|
-
};
|
|
819
|
-
const de_DescribeGroupCommand = async (output, context) => {
|
|
820
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
821
|
-
return de_CommandError(output, context);
|
|
822
|
-
}
|
|
823
|
-
const contents = smithyClient.map({
|
|
824
|
-
$metadata: deserializeMetadata(output),
|
|
825
|
-
});
|
|
826
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
827
|
-
const doc = smithyClient.take(data, {
|
|
828
|
-
DirectoryId: smithyClient.expectString,
|
|
829
|
-
DistinguishedName: smithyClient.expectString,
|
|
830
|
-
GroupScope: smithyClient.expectString,
|
|
831
|
-
GroupType: smithyClient.expectString,
|
|
832
|
-
OtherAttributes: smithyClient._json,
|
|
833
|
-
Realm: smithyClient.expectString,
|
|
834
|
-
SAMAccountName: smithyClient.expectString,
|
|
835
|
-
SID: smithyClient.expectString,
|
|
836
|
-
});
|
|
837
|
-
Object.assign(contents, doc);
|
|
838
|
-
return contents;
|
|
839
|
-
};
|
|
840
|
-
const de_DescribeUserCommand = async (output, context) => {
|
|
841
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
842
|
-
return de_CommandError(output, context);
|
|
843
|
-
}
|
|
844
|
-
const contents = smithyClient.map({
|
|
845
|
-
$metadata: deserializeMetadata(output),
|
|
846
|
-
});
|
|
847
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
848
|
-
const doc = smithyClient.take(data, {
|
|
849
|
-
DirectoryId: smithyClient.expectString,
|
|
850
|
-
DistinguishedName: smithyClient.expectString,
|
|
851
|
-
EmailAddress: smithyClient.expectString,
|
|
852
|
-
Enabled: smithyClient.expectBoolean,
|
|
853
|
-
GivenName: smithyClient.expectString,
|
|
854
|
-
OtherAttributes: smithyClient._json,
|
|
855
|
-
Realm: smithyClient.expectString,
|
|
856
|
-
SAMAccountName: smithyClient.expectString,
|
|
857
|
-
SID: smithyClient.expectString,
|
|
858
|
-
Surname: smithyClient.expectString,
|
|
859
|
-
UserPrincipalName: smithyClient.expectString,
|
|
860
|
-
});
|
|
861
|
-
Object.assign(contents, doc);
|
|
862
|
-
return contents;
|
|
863
|
-
};
|
|
864
|
-
const de_DisableUserCommand = async (output, context) => {
|
|
865
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
-
return de_CommandError(output, context);
|
|
867
|
-
}
|
|
868
|
-
const contents = smithyClient.map({
|
|
869
|
-
$metadata: deserializeMetadata(output),
|
|
870
|
-
});
|
|
871
|
-
await smithyClient.collectBody(output.body, context);
|
|
872
|
-
return contents;
|
|
873
|
-
};
|
|
874
|
-
const de_ListGroupMembersCommand = async (output, context) => {
|
|
875
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
876
|
-
return de_CommandError(output, context);
|
|
877
|
-
}
|
|
878
|
-
const contents = smithyClient.map({
|
|
879
|
-
$metadata: deserializeMetadata(output),
|
|
880
|
-
});
|
|
881
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
882
|
-
const doc = smithyClient.take(data, {
|
|
883
|
-
DirectoryId: smithyClient.expectString,
|
|
884
|
-
MemberRealm: smithyClient.expectString,
|
|
885
|
-
Members: smithyClient._json,
|
|
886
|
-
NextToken: smithyClient.expectString,
|
|
887
|
-
Realm: smithyClient.expectString,
|
|
888
|
-
});
|
|
889
|
-
Object.assign(contents, doc);
|
|
890
|
-
return contents;
|
|
891
|
-
};
|
|
892
|
-
const de_ListGroupsCommand = async (output, context) => {
|
|
893
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
894
|
-
return de_CommandError(output, context);
|
|
895
|
-
}
|
|
896
|
-
const contents = smithyClient.map({
|
|
897
|
-
$metadata: deserializeMetadata(output),
|
|
898
|
-
});
|
|
899
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
900
|
-
const doc = smithyClient.take(data, {
|
|
901
|
-
DirectoryId: smithyClient.expectString,
|
|
902
|
-
Groups: smithyClient._json,
|
|
903
|
-
NextToken: smithyClient.expectString,
|
|
904
|
-
Realm: smithyClient.expectString,
|
|
905
|
-
});
|
|
906
|
-
Object.assign(contents, doc);
|
|
907
|
-
return contents;
|
|
908
|
-
};
|
|
909
|
-
const de_ListGroupsForMemberCommand = async (output, context) => {
|
|
910
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
911
|
-
return de_CommandError(output, context);
|
|
912
|
-
}
|
|
913
|
-
const contents = smithyClient.map({
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
});
|
|
916
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
917
|
-
const doc = smithyClient.take(data, {
|
|
918
|
-
DirectoryId: smithyClient.expectString,
|
|
919
|
-
Groups: smithyClient._json,
|
|
920
|
-
MemberRealm: smithyClient.expectString,
|
|
921
|
-
NextToken: smithyClient.expectString,
|
|
922
|
-
Realm: smithyClient.expectString,
|
|
923
|
-
});
|
|
924
|
-
Object.assign(contents, doc);
|
|
925
|
-
return contents;
|
|
926
|
-
};
|
|
927
|
-
const de_ListUsersCommand = async (output, context) => {
|
|
928
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
929
|
-
return de_CommandError(output, context);
|
|
930
|
-
}
|
|
931
|
-
const contents = smithyClient.map({
|
|
932
|
-
$metadata: deserializeMetadata(output),
|
|
933
|
-
});
|
|
934
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
935
|
-
const doc = smithyClient.take(data, {
|
|
936
|
-
DirectoryId: smithyClient.expectString,
|
|
937
|
-
NextToken: smithyClient.expectString,
|
|
938
|
-
Realm: smithyClient.expectString,
|
|
939
|
-
Users: smithyClient._json,
|
|
940
|
-
});
|
|
941
|
-
Object.assign(contents, doc);
|
|
942
|
-
return contents;
|
|
943
|
-
};
|
|
944
|
-
const de_RemoveGroupMemberCommand = async (output, context) => {
|
|
945
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
946
|
-
return de_CommandError(output, context);
|
|
947
|
-
}
|
|
948
|
-
const contents = smithyClient.map({
|
|
949
|
-
$metadata: deserializeMetadata(output),
|
|
950
|
-
});
|
|
951
|
-
await smithyClient.collectBody(output.body, context);
|
|
952
|
-
return contents;
|
|
953
|
-
};
|
|
954
|
-
const de_SearchGroupsCommand = async (output, context) => {
|
|
955
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
956
|
-
return de_CommandError(output, context);
|
|
957
|
-
}
|
|
958
|
-
const contents = smithyClient.map({
|
|
959
|
-
$metadata: deserializeMetadata(output),
|
|
960
|
-
});
|
|
961
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
962
|
-
const doc = smithyClient.take(data, {
|
|
963
|
-
DirectoryId: smithyClient.expectString,
|
|
964
|
-
Groups: smithyClient._json,
|
|
965
|
-
NextToken: smithyClient.expectString,
|
|
966
|
-
Realm: smithyClient.expectString,
|
|
967
|
-
});
|
|
968
|
-
Object.assign(contents, doc);
|
|
969
|
-
return contents;
|
|
970
|
-
};
|
|
971
|
-
const de_SearchUsersCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const contents = smithyClient.map({
|
|
976
|
-
$metadata: deserializeMetadata(output),
|
|
977
|
-
});
|
|
978
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
979
|
-
const doc = smithyClient.take(data, {
|
|
980
|
-
DirectoryId: smithyClient.expectString,
|
|
981
|
-
NextToken: smithyClient.expectString,
|
|
982
|
-
Realm: smithyClient.expectString,
|
|
983
|
-
Users: smithyClient._json,
|
|
984
|
-
});
|
|
985
|
-
Object.assign(contents, doc);
|
|
986
|
-
return contents;
|
|
987
|
-
};
|
|
988
|
-
const de_UpdateGroupCommand = async (output, context) => {
|
|
989
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
990
|
-
return de_CommandError(output, context);
|
|
991
|
-
}
|
|
992
|
-
const contents = smithyClient.map({
|
|
993
|
-
$metadata: deserializeMetadata(output),
|
|
994
|
-
});
|
|
995
|
-
await smithyClient.collectBody(output.body, context);
|
|
996
|
-
return contents;
|
|
997
|
-
};
|
|
998
|
-
const de_UpdateUserCommand = async (output, context) => {
|
|
999
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1000
|
-
return de_CommandError(output, context);
|
|
1001
|
-
}
|
|
1002
|
-
const contents = smithyClient.map({
|
|
1003
|
-
$metadata: deserializeMetadata(output),
|
|
1004
|
-
});
|
|
1005
|
-
await smithyClient.collectBody(output.body, context);
|
|
1006
|
-
return contents;
|
|
1007
|
-
};
|
|
1008
|
-
const de_CommandError = async (output, context) => {
|
|
1009
|
-
const parsedOutput = {
|
|
1010
|
-
...output,
|
|
1011
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1012
|
-
};
|
|
1013
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1014
|
-
switch (errorCode) {
|
|
1015
|
-
case "AccessDeniedException":
|
|
1016
|
-
case "com.amazonaws.directoryservicedata#AccessDeniedException":
|
|
1017
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1018
|
-
case "ConflictException":
|
|
1019
|
-
case "com.amazonaws.directoryservicedata#ConflictException":
|
|
1020
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1021
|
-
case "DirectoryUnavailableException":
|
|
1022
|
-
case "com.amazonaws.directoryservicedata#DirectoryUnavailableException":
|
|
1023
|
-
throw await de_DirectoryUnavailableExceptionRes(parsedOutput);
|
|
1024
|
-
case "InternalServerException":
|
|
1025
|
-
case "com.amazonaws.directoryservicedata#InternalServerException":
|
|
1026
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1027
|
-
case "ResourceNotFoundException":
|
|
1028
|
-
case "com.amazonaws.directoryservicedata#ResourceNotFoundException":
|
|
1029
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1030
|
-
case "ThrottlingException":
|
|
1031
|
-
case "com.amazonaws.directoryservicedata#ThrottlingException":
|
|
1032
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1033
|
-
case "ValidationException":
|
|
1034
|
-
case "com.amazonaws.directoryservicedata#ValidationException":
|
|
1035
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1036
|
-
default:
|
|
1037
|
-
const parsedBody = parsedOutput.body;
|
|
1038
|
-
return throwDefaultError({
|
|
1039
|
-
output,
|
|
1040
|
-
parsedBody,
|
|
1041
|
-
errorCode,
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
};
|
|
1045
|
-
const throwDefaultError = smithyClient.withBaseException(DirectoryServiceDataServiceException);
|
|
1046
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1047
|
-
const contents = smithyClient.map({});
|
|
1048
|
-
const data = parsedOutput.body;
|
|
1049
|
-
const doc = smithyClient.take(data, {
|
|
1050
|
-
Message: smithyClient.expectString,
|
|
1051
|
-
Reason: smithyClient.expectString,
|
|
1052
|
-
});
|
|
1053
|
-
Object.assign(contents, doc);
|
|
1054
|
-
const exception = new AccessDeniedException({
|
|
1055
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1056
|
-
...contents,
|
|
1057
|
-
});
|
|
1058
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1059
|
-
};
|
|
1060
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1061
|
-
const contents = smithyClient.map({});
|
|
1062
|
-
const data = parsedOutput.body;
|
|
1063
|
-
const doc = smithyClient.take(data, {
|
|
1064
|
-
Message: smithyClient.expectString,
|
|
1065
|
-
});
|
|
1066
|
-
Object.assign(contents, doc);
|
|
1067
|
-
const exception = new ConflictException({
|
|
1068
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1069
|
-
...contents,
|
|
1070
|
-
});
|
|
1071
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1072
|
-
};
|
|
1073
|
-
const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1074
|
-
const contents = smithyClient.map({});
|
|
1075
|
-
const data = parsedOutput.body;
|
|
1076
|
-
const doc = smithyClient.take(data, {
|
|
1077
|
-
Message: smithyClient.expectString,
|
|
1078
|
-
Reason: smithyClient.expectString,
|
|
1079
|
-
});
|
|
1080
|
-
Object.assign(contents, doc);
|
|
1081
|
-
const exception = new DirectoryUnavailableException({
|
|
1082
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1083
|
-
...contents,
|
|
1084
|
-
});
|
|
1085
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1086
|
-
};
|
|
1087
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1088
|
-
const contents = smithyClient.map({});
|
|
1089
|
-
const data = parsedOutput.body;
|
|
1090
|
-
const doc = smithyClient.take(data, {
|
|
1091
|
-
Message: smithyClient.expectString,
|
|
1092
|
-
});
|
|
1093
|
-
Object.assign(contents, doc);
|
|
1094
|
-
const exception = new InternalServerException({
|
|
1095
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1096
|
-
...contents,
|
|
1097
|
-
});
|
|
1098
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1099
|
-
};
|
|
1100
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1101
|
-
const contents = smithyClient.map({});
|
|
1102
|
-
const data = parsedOutput.body;
|
|
1103
|
-
const doc = smithyClient.take(data, {
|
|
1104
|
-
Message: smithyClient.expectString,
|
|
1105
|
-
});
|
|
1106
|
-
Object.assign(contents, doc);
|
|
1107
|
-
const exception = new ResourceNotFoundException({
|
|
1108
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1109
|
-
...contents,
|
|
1110
|
-
});
|
|
1111
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1112
|
-
};
|
|
1113
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1114
|
-
const contents = smithyClient.map({
|
|
1115
|
-
[_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1116
|
-
});
|
|
1117
|
-
const data = parsedOutput.body;
|
|
1118
|
-
const doc = smithyClient.take(data, {
|
|
1119
|
-
Message: smithyClient.expectString,
|
|
1120
|
-
});
|
|
1121
|
-
Object.assign(contents, doc);
|
|
1122
|
-
const exception = new ThrottlingException({
|
|
1123
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1124
|
-
...contents,
|
|
1125
|
-
});
|
|
1126
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1127
|
-
};
|
|
1128
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1129
|
-
const contents = smithyClient.map({});
|
|
1130
|
-
const data = parsedOutput.body;
|
|
1131
|
-
const doc = smithyClient.take(data, {
|
|
1132
|
-
Message: smithyClient.expectString,
|
|
1133
|
-
Reason: smithyClient.expectString,
|
|
1134
|
-
});
|
|
1135
|
-
Object.assign(contents, doc);
|
|
1136
|
-
const exception = new ValidationException({
|
|
1137
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1138
|
-
...contents,
|
|
1139
|
-
});
|
|
1140
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1141
|
-
};
|
|
1142
|
-
const deserializeMetadata = (output) => ({
|
|
1143
|
-
httpStatusCode: output.statusCode,
|
|
1144
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1145
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1146
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1147
|
-
});
|
|
295
|
+
const _A = "Attributes";
|
|
296
|
+
const _ADE = "AccessDeniedException";
|
|
297
|
+
const _AGM = "AddGroupMember";
|
|
298
|
+
const _AGMR = "AddGroupMemberRequest";
|
|
299
|
+
const _AGMRd = "AddGroupMemberResult";
|
|
300
|
+
const _AV = "AttributeValue";
|
|
301
|
+
const _BAV = "BooleanAttributeValue";
|
|
302
|
+
const _BOOL = "BOOL";
|
|
303
|
+
const _CE = "ConflictException";
|
|
304
|
+
const _CG = "CreateGroup";
|
|
305
|
+
const _CGR = "CreateGroupRequest";
|
|
306
|
+
const _CGRr = "CreateGroupResult";
|
|
307
|
+
const _CT = "ClientToken";
|
|
308
|
+
const _CU = "CreateUser";
|
|
309
|
+
const _CUR = "CreateUserRequest";
|
|
310
|
+
const _CURr = "CreateUserResult";
|
|
311
|
+
const _DG = "DeleteGroup";
|
|
312
|
+
const _DGR = "DeleteGroupRequest";
|
|
313
|
+
const _DGRe = "DeleteGroupResult";
|
|
314
|
+
const _DGRes = "DescribeGroupRequest";
|
|
315
|
+
const _DGResc = "DescribeGroupResult";
|
|
316
|
+
const _DGe = "DescribeGroup";
|
|
1148
317
|
const _DI = "DirectoryId";
|
|
318
|
+
const _DN = "DistinguishedName";
|
|
319
|
+
const _DU = "DeleteUser";
|
|
320
|
+
const _DUE = "DirectoryUnavailableException";
|
|
321
|
+
const _DUR = "DeleteUserRequest";
|
|
322
|
+
const _DURe = "DeleteUserResult";
|
|
323
|
+
const _DURes = "DescribeUserRequest";
|
|
324
|
+
const _DUResc = "DescribeUserResult";
|
|
325
|
+
const _DURi = "DisableUserRequest";
|
|
326
|
+
const _DURis = "DisableUserResult";
|
|
327
|
+
const _DUe = "DescribeUser";
|
|
328
|
+
const _DUi = "DisableUser";
|
|
329
|
+
const _E = "Enabled";
|
|
330
|
+
const _EA = "EmailAddress";
|
|
331
|
+
const _G = "Group";
|
|
332
|
+
const _GL = "GroupList";
|
|
333
|
+
const _GN = "GivenName";
|
|
334
|
+
const _GNr = "GroupName";
|
|
335
|
+
const _GS = "GroupScope";
|
|
336
|
+
const _GSL = "GroupSummaryList";
|
|
337
|
+
const _GSr = "GroupSummary";
|
|
338
|
+
const _GT = "GroupType";
|
|
339
|
+
const _Gr = "Groups";
|
|
340
|
+
const _ISE = "InternalServerException";
|
|
341
|
+
const _LG = "ListGroups";
|
|
342
|
+
const _LGFM = "ListGroupsForMember";
|
|
343
|
+
const _LGFMR = "ListGroupsForMemberRequest";
|
|
344
|
+
const _LGFMRi = "ListGroupsForMemberResult";
|
|
345
|
+
const _LGM = "ListGroupMembers";
|
|
346
|
+
const _LGMR = "ListGroupMembersRequest";
|
|
347
|
+
const _LGMRi = "ListGroupMembersResult";
|
|
348
|
+
const _LGR = "ListGroupsRequest";
|
|
349
|
+
const _LGRi = "ListGroupsResult";
|
|
350
|
+
const _LU = "ListUsers";
|
|
351
|
+
const _LUR = "ListUsersRequest";
|
|
352
|
+
const _LURi = "ListUsersResult";
|
|
353
|
+
const _M = "Message";
|
|
354
|
+
const _ML = "MemberList";
|
|
355
|
+
const _MN = "MemberName";
|
|
356
|
+
const _MR = "MemberRealm";
|
|
357
|
+
const _MRa = "MaxResults";
|
|
358
|
+
const _MT = "MemberType";
|
|
359
|
+
const _Me = "Members";
|
|
360
|
+
const _Mem = "Member";
|
|
361
|
+
const _N = "N";
|
|
362
|
+
const _NAV = "NumberAttributeValue";
|
|
363
|
+
const _NT = "NextToken";
|
|
364
|
+
const _OA = "OtherAttributes";
|
|
365
|
+
const _R = "Reason";
|
|
366
|
+
const _RA = "Retry-After";
|
|
1149
367
|
const _RAS = "RetryAfterSeconds";
|
|
1150
|
-
const
|
|
368
|
+
const _RGM = "RemoveGroupMember";
|
|
369
|
+
const _RGMR = "RemoveGroupMemberRequest";
|
|
370
|
+
const _RGMRe = "RemoveGroupMemberResult";
|
|
371
|
+
const _RNFE = "ResourceNotFoundException";
|
|
372
|
+
const _Re = "Realm";
|
|
373
|
+
const _S = "Surname";
|
|
374
|
+
const _SA = "SearchAttributes";
|
|
375
|
+
const _SAMAN = "SAMAccountName";
|
|
376
|
+
const _SAV = "StringAttributeValue";
|
|
377
|
+
const _SG = "SearchGroups";
|
|
378
|
+
const _SGR = "SearchGroupsRequest";
|
|
379
|
+
const _SGRe = "SearchGroupsResult";
|
|
380
|
+
const _SID = "SID";
|
|
381
|
+
const _SS = "SearchString";
|
|
382
|
+
const _SSAV = "StringSetAttributeValue";
|
|
383
|
+
const _SS_ = "SS";
|
|
384
|
+
const _SU = "SearchUsers";
|
|
385
|
+
const _SUR = "SearchUsersRequest";
|
|
386
|
+
const _SURe = "SearchUsersResult";
|
|
387
|
+
const _S_ = "S";
|
|
388
|
+
const _TE = "ThrottlingException";
|
|
389
|
+
const _U = "Users";
|
|
390
|
+
const _UG = "UpdateGroup";
|
|
391
|
+
const _UGR = "UpdateGroupRequest";
|
|
392
|
+
const _UGRp = "UpdateGroupResult";
|
|
393
|
+
const _UL = "UserList";
|
|
394
|
+
const _UPN = "UserPrincipalName";
|
|
395
|
+
const _US = "UserSummary";
|
|
396
|
+
const _USL = "UserSummaryList";
|
|
397
|
+
const _UT = "UpdateType";
|
|
398
|
+
const _UU = "UpdateUser";
|
|
399
|
+
const _UUR = "UpdateUserRequest";
|
|
400
|
+
const _UURp = "UpdateUserResult";
|
|
401
|
+
const _Us = "User";
|
|
402
|
+
const _VE = "ValidationException";
|
|
403
|
+
const _c = "client";
|
|
404
|
+
const _e = "error";
|
|
405
|
+
const _h = "http";
|
|
406
|
+
const _hE = "httpError";
|
|
407
|
+
const _hH = "httpHeader";
|
|
408
|
+
const _hQ = "httpQuery";
|
|
409
|
+
const _s = "server";
|
|
410
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.directoryservicedata";
|
|
411
|
+
const n0 = "com.amazonaws.directoryservicedata";
|
|
412
|
+
var BooleanAttributeValue = [0, n0, _BAV, 8, 2];
|
|
413
|
+
var DistinguishedName = [0, n0, _DN, 8, 0];
|
|
414
|
+
var EmailAddress = [0, n0, _EA, 8, 0];
|
|
415
|
+
var GivenName = [0, n0, _GN, 8, 0];
|
|
416
|
+
var NextToken = [0, n0, _NT, 8, 0];
|
|
417
|
+
var NumberAttributeValue = [0, n0, _NAV, 8, 1];
|
|
418
|
+
var SearchString = [0, n0, _SS, 8, 0];
|
|
419
|
+
var StringAttributeValue = [0, n0, _SAV, 8, 0];
|
|
420
|
+
var Surname = [0, n0, _S, 8, 0];
|
|
421
|
+
var UserPrincipalName = [0, n0, _UPN, 8, 0];
|
|
422
|
+
var AccessDeniedException = [
|
|
423
|
+
-3,
|
|
424
|
+
n0,
|
|
425
|
+
_ADE,
|
|
426
|
+
{
|
|
427
|
+
[_e]: _c,
|
|
428
|
+
[_hE]: 403,
|
|
429
|
+
},
|
|
430
|
+
[_M, _R],
|
|
431
|
+
[0, 0],
|
|
432
|
+
];
|
|
433
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
434
|
+
var AddGroupMemberRequest = [
|
|
435
|
+
3,
|
|
436
|
+
n0,
|
|
437
|
+
_AGMR,
|
|
438
|
+
0,
|
|
439
|
+
[_DI, _GNr, _MN, _MR, _CT],
|
|
440
|
+
[
|
|
441
|
+
[
|
|
442
|
+
0,
|
|
443
|
+
{
|
|
444
|
+
[_hQ]: _DI,
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
0,
|
|
448
|
+
0,
|
|
449
|
+
0,
|
|
450
|
+
[0, 4],
|
|
451
|
+
],
|
|
452
|
+
];
|
|
453
|
+
var AddGroupMemberResult = [3, n0, _AGMRd, 0, [], []];
|
|
454
|
+
var ConflictException = [
|
|
455
|
+
-3,
|
|
456
|
+
n0,
|
|
457
|
+
_CE,
|
|
458
|
+
{
|
|
459
|
+
[_e]: _c,
|
|
460
|
+
[_hE]: 409,
|
|
461
|
+
},
|
|
462
|
+
[_M],
|
|
463
|
+
[0],
|
|
464
|
+
];
|
|
465
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
466
|
+
var CreateGroupRequest = [
|
|
467
|
+
3,
|
|
468
|
+
n0,
|
|
469
|
+
_CGR,
|
|
470
|
+
0,
|
|
471
|
+
[_DI, _SAMAN, _GT, _GS, _OA, _CT],
|
|
472
|
+
[
|
|
473
|
+
[
|
|
474
|
+
0,
|
|
475
|
+
{
|
|
476
|
+
[_hQ]: _DI,
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
0,
|
|
480
|
+
0,
|
|
481
|
+
0,
|
|
482
|
+
[() => Attributes, 0],
|
|
483
|
+
[0, 4],
|
|
484
|
+
],
|
|
485
|
+
];
|
|
486
|
+
var CreateGroupResult = [3, n0, _CGRr, 0, [_DI, _SAMAN, _SID], [0, 0, 0]];
|
|
487
|
+
var CreateUserRequest = [
|
|
488
|
+
3,
|
|
489
|
+
n0,
|
|
490
|
+
_CUR,
|
|
491
|
+
0,
|
|
492
|
+
[_DI, _SAMAN, _EA, _GN, _S, _OA, _CT],
|
|
493
|
+
[
|
|
494
|
+
[
|
|
495
|
+
0,
|
|
496
|
+
{
|
|
497
|
+
[_hQ]: _DI,
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
0,
|
|
501
|
+
[() => EmailAddress, 0],
|
|
502
|
+
[() => GivenName, 0],
|
|
503
|
+
[() => Surname, 0],
|
|
504
|
+
[() => Attributes, 0],
|
|
505
|
+
[0, 4],
|
|
506
|
+
],
|
|
507
|
+
];
|
|
508
|
+
var CreateUserResult = [3, n0, _CURr, 0, [_DI, _SID, _SAMAN], [0, 0, 0]];
|
|
509
|
+
var DeleteGroupRequest = [
|
|
510
|
+
3,
|
|
511
|
+
n0,
|
|
512
|
+
_DGR,
|
|
513
|
+
0,
|
|
514
|
+
[_DI, _SAMAN, _CT],
|
|
515
|
+
[
|
|
516
|
+
[
|
|
517
|
+
0,
|
|
518
|
+
{
|
|
519
|
+
[_hQ]: _DI,
|
|
520
|
+
},
|
|
521
|
+
],
|
|
522
|
+
0,
|
|
523
|
+
[0, 4],
|
|
524
|
+
],
|
|
525
|
+
];
|
|
526
|
+
var DeleteGroupResult = [3, n0, _DGRe, 0, [], []];
|
|
527
|
+
var DeleteUserRequest = [
|
|
528
|
+
3,
|
|
529
|
+
n0,
|
|
530
|
+
_DUR,
|
|
531
|
+
0,
|
|
532
|
+
[_DI, _SAMAN, _CT],
|
|
533
|
+
[
|
|
534
|
+
[
|
|
535
|
+
0,
|
|
536
|
+
{
|
|
537
|
+
[_hQ]: _DI,
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
0,
|
|
541
|
+
[0, 4],
|
|
542
|
+
],
|
|
543
|
+
];
|
|
544
|
+
var DeleteUserResult = [3, n0, _DURe, 0, [], []];
|
|
545
|
+
var DescribeGroupRequest = [
|
|
546
|
+
3,
|
|
547
|
+
n0,
|
|
548
|
+
_DGRes,
|
|
549
|
+
0,
|
|
550
|
+
[_DI, _Re, _SAMAN, _OA],
|
|
551
|
+
[
|
|
552
|
+
[
|
|
553
|
+
0,
|
|
554
|
+
{
|
|
555
|
+
[_hQ]: _DI,
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
0,
|
|
559
|
+
0,
|
|
560
|
+
64 | 0,
|
|
561
|
+
],
|
|
562
|
+
];
|
|
563
|
+
var DescribeGroupResult = [
|
|
564
|
+
3,
|
|
565
|
+
n0,
|
|
566
|
+
_DGResc,
|
|
567
|
+
0,
|
|
568
|
+
[_DI, _Re, _SID, _SAMAN, _DN, _GT, _GS, _OA],
|
|
569
|
+
[0, 0, 0, 0, [() => DistinguishedName, 0], 0, 0, [() => Attributes, 0]],
|
|
570
|
+
];
|
|
571
|
+
var DescribeUserRequest = [
|
|
572
|
+
3,
|
|
573
|
+
n0,
|
|
574
|
+
_DURes,
|
|
575
|
+
0,
|
|
576
|
+
[_DI, _SAMAN, _OA, _Re],
|
|
577
|
+
[
|
|
578
|
+
[
|
|
579
|
+
0,
|
|
580
|
+
{
|
|
581
|
+
[_hQ]: _DI,
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
0,
|
|
585
|
+
64 | 0,
|
|
586
|
+
0,
|
|
587
|
+
],
|
|
588
|
+
];
|
|
589
|
+
var DescribeUserResult = [
|
|
590
|
+
3,
|
|
591
|
+
n0,
|
|
592
|
+
_DUResc,
|
|
593
|
+
0,
|
|
594
|
+
[_DI, _Re, _SID, _SAMAN, _DN, _UPN, _EA, _GN, _S, _E, _OA],
|
|
595
|
+
[
|
|
596
|
+
0,
|
|
597
|
+
0,
|
|
598
|
+
0,
|
|
599
|
+
0,
|
|
600
|
+
[() => DistinguishedName, 0],
|
|
601
|
+
[() => UserPrincipalName, 0],
|
|
602
|
+
[() => EmailAddress, 0],
|
|
603
|
+
[() => GivenName, 0],
|
|
604
|
+
[() => Surname, 0],
|
|
605
|
+
2,
|
|
606
|
+
[() => Attributes, 0],
|
|
607
|
+
],
|
|
608
|
+
];
|
|
609
|
+
var DirectoryUnavailableException = [
|
|
610
|
+
-3,
|
|
611
|
+
n0,
|
|
612
|
+
_DUE,
|
|
613
|
+
{
|
|
614
|
+
[_e]: _c,
|
|
615
|
+
[_hE]: 400,
|
|
616
|
+
},
|
|
617
|
+
[_M, _R],
|
|
618
|
+
[0, 0],
|
|
619
|
+
];
|
|
620
|
+
schema.TypeRegistry.for(n0).registerError(DirectoryUnavailableException, DirectoryUnavailableException$1);
|
|
621
|
+
var DisableUserRequest = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_DURi,
|
|
625
|
+
0,
|
|
626
|
+
[_DI, _SAMAN, _CT],
|
|
627
|
+
[
|
|
628
|
+
[
|
|
629
|
+
0,
|
|
630
|
+
{
|
|
631
|
+
[_hQ]: _DI,
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
0,
|
|
635
|
+
[0, 4],
|
|
636
|
+
],
|
|
637
|
+
];
|
|
638
|
+
var DisableUserResult = [3, n0, _DURis, 0, [], []];
|
|
639
|
+
var Group = [
|
|
640
|
+
3,
|
|
641
|
+
n0,
|
|
642
|
+
_G,
|
|
643
|
+
0,
|
|
644
|
+
[_SID, _SAMAN, _DN, _GT, _GS, _OA],
|
|
645
|
+
[0, 0, [() => DistinguishedName, 0], 0, 0, [() => Attributes, 0]],
|
|
646
|
+
];
|
|
647
|
+
var GroupSummary = [3, n0, _GSr, 0, [_SID, _SAMAN, _GT, _GS], [0, 0, 0, 0]];
|
|
648
|
+
var InternalServerException = [
|
|
649
|
+
-3,
|
|
650
|
+
n0,
|
|
651
|
+
_ISE,
|
|
652
|
+
{
|
|
653
|
+
[_e]: _s,
|
|
654
|
+
[_hE]: 500,
|
|
655
|
+
},
|
|
656
|
+
[_M],
|
|
657
|
+
[0],
|
|
658
|
+
];
|
|
659
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
660
|
+
var ListGroupMembersRequest = [
|
|
661
|
+
3,
|
|
662
|
+
n0,
|
|
663
|
+
_LGMR,
|
|
664
|
+
0,
|
|
665
|
+
[_DI, _Re, _MR, _SAMAN, _NT, _MRa],
|
|
666
|
+
[
|
|
667
|
+
[
|
|
668
|
+
0,
|
|
669
|
+
{
|
|
670
|
+
[_hQ]: _DI,
|
|
671
|
+
},
|
|
672
|
+
],
|
|
673
|
+
0,
|
|
674
|
+
0,
|
|
675
|
+
0,
|
|
676
|
+
[() => NextToken, 0],
|
|
677
|
+
1,
|
|
678
|
+
],
|
|
679
|
+
];
|
|
680
|
+
var ListGroupMembersResult = [
|
|
681
|
+
3,
|
|
682
|
+
n0,
|
|
683
|
+
_LGMRi,
|
|
684
|
+
0,
|
|
685
|
+
[_DI, _Re, _MR, _Me, _NT],
|
|
686
|
+
[0, 0, 0, () => MemberList, [() => NextToken, 0]],
|
|
687
|
+
];
|
|
688
|
+
var ListGroupsForMemberRequest = [
|
|
689
|
+
3,
|
|
690
|
+
n0,
|
|
691
|
+
_LGFMR,
|
|
692
|
+
0,
|
|
693
|
+
[_DI, _Re, _MR, _SAMAN, _NT, _MRa],
|
|
694
|
+
[
|
|
695
|
+
[
|
|
696
|
+
0,
|
|
697
|
+
{
|
|
698
|
+
[_hQ]: _DI,
|
|
699
|
+
},
|
|
700
|
+
],
|
|
701
|
+
0,
|
|
702
|
+
0,
|
|
703
|
+
0,
|
|
704
|
+
[() => NextToken, 0],
|
|
705
|
+
1,
|
|
706
|
+
],
|
|
707
|
+
];
|
|
708
|
+
var ListGroupsForMemberResult = [
|
|
709
|
+
3,
|
|
710
|
+
n0,
|
|
711
|
+
_LGFMRi,
|
|
712
|
+
0,
|
|
713
|
+
[_DI, _Re, _MR, _Gr, _NT],
|
|
714
|
+
[0, 0, 0, () => GroupSummaryList, [() => NextToken, 0]],
|
|
715
|
+
];
|
|
716
|
+
var ListGroupsRequest = [
|
|
717
|
+
3,
|
|
718
|
+
n0,
|
|
719
|
+
_LGR,
|
|
720
|
+
0,
|
|
721
|
+
[_DI, _Re, _NT, _MRa],
|
|
722
|
+
[
|
|
723
|
+
[
|
|
724
|
+
0,
|
|
725
|
+
{
|
|
726
|
+
[_hQ]: _DI,
|
|
727
|
+
},
|
|
728
|
+
],
|
|
729
|
+
0,
|
|
730
|
+
[() => NextToken, 0],
|
|
731
|
+
1,
|
|
732
|
+
],
|
|
733
|
+
];
|
|
734
|
+
var ListGroupsResult = [
|
|
735
|
+
3,
|
|
736
|
+
n0,
|
|
737
|
+
_LGRi,
|
|
738
|
+
0,
|
|
739
|
+
[_DI, _Re, _Gr, _NT],
|
|
740
|
+
[0, 0, () => GroupSummaryList, [() => NextToken, 0]],
|
|
741
|
+
];
|
|
742
|
+
var ListUsersRequest = [
|
|
743
|
+
3,
|
|
744
|
+
n0,
|
|
745
|
+
_LUR,
|
|
746
|
+
0,
|
|
747
|
+
[_DI, _Re, _NT, _MRa],
|
|
748
|
+
[
|
|
749
|
+
[
|
|
750
|
+
0,
|
|
751
|
+
{
|
|
752
|
+
[_hQ]: _DI,
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
0,
|
|
756
|
+
[() => NextToken, 0],
|
|
757
|
+
1,
|
|
758
|
+
],
|
|
759
|
+
];
|
|
760
|
+
var ListUsersResult = [
|
|
761
|
+
3,
|
|
762
|
+
n0,
|
|
763
|
+
_LURi,
|
|
764
|
+
0,
|
|
765
|
+
[_DI, _Re, _U, _NT],
|
|
766
|
+
[0, 0, [() => UserSummaryList, 0], [() => NextToken, 0]],
|
|
767
|
+
];
|
|
768
|
+
var Member = [3, n0, _Mem, 0, [_SID, _SAMAN, _MT], [0, 0, 0]];
|
|
769
|
+
var RemoveGroupMemberRequest = [
|
|
770
|
+
3,
|
|
771
|
+
n0,
|
|
772
|
+
_RGMR,
|
|
773
|
+
0,
|
|
774
|
+
[_DI, _GNr, _MN, _MR, _CT],
|
|
775
|
+
[
|
|
776
|
+
[
|
|
777
|
+
0,
|
|
778
|
+
{
|
|
779
|
+
[_hQ]: _DI,
|
|
780
|
+
},
|
|
781
|
+
],
|
|
782
|
+
0,
|
|
783
|
+
0,
|
|
784
|
+
0,
|
|
785
|
+
[0, 4],
|
|
786
|
+
],
|
|
787
|
+
];
|
|
788
|
+
var RemoveGroupMemberResult = [3, n0, _RGMRe, 0, [], []];
|
|
789
|
+
var ResourceNotFoundException = [
|
|
790
|
+
-3,
|
|
791
|
+
n0,
|
|
792
|
+
_RNFE,
|
|
793
|
+
{
|
|
794
|
+
[_e]: _c,
|
|
795
|
+
[_hE]: 404,
|
|
796
|
+
},
|
|
797
|
+
[_M],
|
|
798
|
+
[0],
|
|
799
|
+
];
|
|
800
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
801
|
+
var SearchGroupsRequest = [
|
|
802
|
+
3,
|
|
803
|
+
n0,
|
|
804
|
+
_SGR,
|
|
805
|
+
0,
|
|
806
|
+
[_DI, _SS, _SA, _Re, _NT, _MRa],
|
|
807
|
+
[
|
|
808
|
+
[
|
|
809
|
+
0,
|
|
810
|
+
{
|
|
811
|
+
[_hQ]: _DI,
|
|
812
|
+
},
|
|
813
|
+
],
|
|
814
|
+
[() => SearchString, 0],
|
|
815
|
+
64 | 0,
|
|
816
|
+
0,
|
|
817
|
+
[() => NextToken, 0],
|
|
818
|
+
1,
|
|
819
|
+
],
|
|
820
|
+
];
|
|
821
|
+
var SearchGroupsResult = [
|
|
822
|
+
3,
|
|
823
|
+
n0,
|
|
824
|
+
_SGRe,
|
|
825
|
+
0,
|
|
826
|
+
[_DI, _Re, _Gr, _NT],
|
|
827
|
+
[0, 0, [() => GroupList, 0], [() => NextToken, 0]],
|
|
828
|
+
];
|
|
829
|
+
var SearchUsersRequest = [
|
|
830
|
+
3,
|
|
831
|
+
n0,
|
|
832
|
+
_SUR,
|
|
833
|
+
0,
|
|
834
|
+
[_DI, _Re, _SS, _SA, _NT, _MRa],
|
|
835
|
+
[
|
|
836
|
+
[
|
|
837
|
+
0,
|
|
838
|
+
{
|
|
839
|
+
[_hQ]: _DI,
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
0,
|
|
843
|
+
[() => SearchString, 0],
|
|
844
|
+
64 | 0,
|
|
845
|
+
[() => NextToken, 0],
|
|
846
|
+
1,
|
|
847
|
+
],
|
|
848
|
+
];
|
|
849
|
+
var SearchUsersResult = [
|
|
850
|
+
3,
|
|
851
|
+
n0,
|
|
852
|
+
_SURe,
|
|
853
|
+
0,
|
|
854
|
+
[_DI, _Re, _U, _NT],
|
|
855
|
+
[0, 0, [() => UserList, 0], [() => NextToken, 0]],
|
|
856
|
+
];
|
|
857
|
+
var ThrottlingException = [
|
|
858
|
+
-3,
|
|
859
|
+
n0,
|
|
860
|
+
_TE,
|
|
861
|
+
{
|
|
862
|
+
[_e]: _c,
|
|
863
|
+
[_hE]: 429,
|
|
864
|
+
},
|
|
865
|
+
[_M, _RAS],
|
|
866
|
+
[
|
|
867
|
+
0,
|
|
868
|
+
[
|
|
869
|
+
1,
|
|
870
|
+
{
|
|
871
|
+
[_hH]: _RA,
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
],
|
|
875
|
+
];
|
|
876
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
877
|
+
var UpdateGroupRequest = [
|
|
878
|
+
3,
|
|
879
|
+
n0,
|
|
880
|
+
_UGR,
|
|
881
|
+
0,
|
|
882
|
+
[_DI, _SAMAN, _GT, _GS, _OA, _UT, _CT],
|
|
883
|
+
[
|
|
884
|
+
[
|
|
885
|
+
0,
|
|
886
|
+
{
|
|
887
|
+
[_hQ]: _DI,
|
|
888
|
+
},
|
|
889
|
+
],
|
|
890
|
+
0,
|
|
891
|
+
0,
|
|
892
|
+
0,
|
|
893
|
+
[() => Attributes, 0],
|
|
894
|
+
0,
|
|
895
|
+
[0, 4],
|
|
896
|
+
],
|
|
897
|
+
];
|
|
898
|
+
var UpdateGroupResult = [3, n0, _UGRp, 0, [], []];
|
|
899
|
+
var UpdateUserRequest = [
|
|
900
|
+
3,
|
|
901
|
+
n0,
|
|
902
|
+
_UUR,
|
|
903
|
+
0,
|
|
904
|
+
[_DI, _SAMAN, _EA, _GN, _S, _OA, _UT, _CT],
|
|
905
|
+
[
|
|
906
|
+
[
|
|
907
|
+
0,
|
|
908
|
+
{
|
|
909
|
+
[_hQ]: _DI,
|
|
910
|
+
},
|
|
911
|
+
],
|
|
912
|
+
0,
|
|
913
|
+
[() => EmailAddress, 0],
|
|
914
|
+
[() => GivenName, 0],
|
|
915
|
+
[() => Surname, 0],
|
|
916
|
+
[() => Attributes, 0],
|
|
917
|
+
0,
|
|
918
|
+
[0, 4],
|
|
919
|
+
],
|
|
920
|
+
];
|
|
921
|
+
var UpdateUserResult = [3, n0, _UURp, 0, [], []];
|
|
922
|
+
var User = [
|
|
923
|
+
3,
|
|
924
|
+
n0,
|
|
925
|
+
_Us,
|
|
926
|
+
0,
|
|
927
|
+
[_SID, _SAMAN, _DN, _UPN, _EA, _GN, _S, _E, _OA],
|
|
928
|
+
[
|
|
929
|
+
0,
|
|
930
|
+
0,
|
|
931
|
+
[() => DistinguishedName, 0],
|
|
932
|
+
[() => UserPrincipalName, 0],
|
|
933
|
+
[() => EmailAddress, 0],
|
|
934
|
+
[() => GivenName, 0],
|
|
935
|
+
[() => Surname, 0],
|
|
936
|
+
2,
|
|
937
|
+
[() => Attributes, 0],
|
|
938
|
+
],
|
|
939
|
+
];
|
|
940
|
+
var UserSummary = [
|
|
941
|
+
3,
|
|
942
|
+
n0,
|
|
943
|
+
_US,
|
|
944
|
+
0,
|
|
945
|
+
[_SID, _SAMAN, _GN, _S, _E],
|
|
946
|
+
[0, 0, [() => GivenName, 0], [() => Surname, 0], 2],
|
|
947
|
+
];
|
|
948
|
+
var ValidationException = [
|
|
949
|
+
-3,
|
|
950
|
+
n0,
|
|
951
|
+
_VE,
|
|
952
|
+
{
|
|
953
|
+
[_e]: _c,
|
|
954
|
+
[_hE]: 400,
|
|
955
|
+
},
|
|
956
|
+
[_M, _R],
|
|
957
|
+
[0, 0],
|
|
958
|
+
];
|
|
959
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
960
|
+
var DirectoryServiceDataServiceException = [
|
|
961
|
+
-3,
|
|
962
|
+
_sm,
|
|
963
|
+
"DirectoryServiceDataServiceException",
|
|
964
|
+
0,
|
|
965
|
+
[],
|
|
966
|
+
[],
|
|
967
|
+
];
|
|
968
|
+
schema.TypeRegistry.for(_sm).registerError(DirectoryServiceDataServiceException, DirectoryServiceDataServiceException$1);
|
|
969
|
+
var GroupList = [1, n0, _GL, 0, [() => Group, 0]];
|
|
970
|
+
var GroupSummaryList = [1, n0, _GSL, 0, () => GroupSummary];
|
|
971
|
+
var MemberList = [1, n0, _ML, 0, () => Member];
|
|
972
|
+
var StringSetAttributeValue = [1, n0, _SSAV, 8, [() => StringAttributeValue, 0]];
|
|
973
|
+
var UserList = [1, n0, _UL, 0, [() => User, 0]];
|
|
974
|
+
var UserSummaryList = [1, n0, _USL, 0, [() => UserSummary, 0]];
|
|
975
|
+
var Attributes = [2, n0, _A, 0, [0, 0], [() => AttributeValue, 0]];
|
|
976
|
+
var AttributeValue = [
|
|
977
|
+
3,
|
|
978
|
+
n0,
|
|
979
|
+
_AV,
|
|
980
|
+
0,
|
|
981
|
+
[_S_, _N, _BOOL, _SS_],
|
|
982
|
+
[
|
|
983
|
+
[() => StringAttributeValue, 0],
|
|
984
|
+
[() => NumberAttributeValue, 0],
|
|
985
|
+
[() => BooleanAttributeValue, 0],
|
|
986
|
+
[() => StringSetAttributeValue, 0],
|
|
987
|
+
],
|
|
988
|
+
];
|
|
989
|
+
var AddGroupMember = [
|
|
990
|
+
9,
|
|
991
|
+
n0,
|
|
992
|
+
_AGM,
|
|
993
|
+
{
|
|
994
|
+
[_h]: ["POST", "/GroupMemberships/AddGroupMember", 200],
|
|
995
|
+
},
|
|
996
|
+
() => AddGroupMemberRequest,
|
|
997
|
+
() => AddGroupMemberResult,
|
|
998
|
+
];
|
|
999
|
+
var CreateGroup = [
|
|
1000
|
+
9,
|
|
1001
|
+
n0,
|
|
1002
|
+
_CG,
|
|
1003
|
+
{
|
|
1004
|
+
[_h]: ["POST", "/Groups/CreateGroup", 200],
|
|
1005
|
+
},
|
|
1006
|
+
() => CreateGroupRequest,
|
|
1007
|
+
() => CreateGroupResult,
|
|
1008
|
+
];
|
|
1009
|
+
var CreateUser = [
|
|
1010
|
+
9,
|
|
1011
|
+
n0,
|
|
1012
|
+
_CU,
|
|
1013
|
+
{
|
|
1014
|
+
[_h]: ["POST", "/Users/CreateUser", 200],
|
|
1015
|
+
},
|
|
1016
|
+
() => CreateUserRequest,
|
|
1017
|
+
() => CreateUserResult,
|
|
1018
|
+
];
|
|
1019
|
+
var DeleteGroup = [
|
|
1020
|
+
9,
|
|
1021
|
+
n0,
|
|
1022
|
+
_DG,
|
|
1023
|
+
{
|
|
1024
|
+
[_h]: ["POST", "/Groups/DeleteGroup", 200],
|
|
1025
|
+
},
|
|
1026
|
+
() => DeleteGroupRequest,
|
|
1027
|
+
() => DeleteGroupResult,
|
|
1028
|
+
];
|
|
1029
|
+
var DeleteUser = [
|
|
1030
|
+
9,
|
|
1031
|
+
n0,
|
|
1032
|
+
_DU,
|
|
1033
|
+
{
|
|
1034
|
+
[_h]: ["POST", "/Users/DeleteUser", 200],
|
|
1035
|
+
},
|
|
1036
|
+
() => DeleteUserRequest,
|
|
1037
|
+
() => DeleteUserResult,
|
|
1038
|
+
];
|
|
1039
|
+
var DescribeGroup = [
|
|
1040
|
+
9,
|
|
1041
|
+
n0,
|
|
1042
|
+
_DGe,
|
|
1043
|
+
{
|
|
1044
|
+
[_h]: ["POST", "/Groups/DescribeGroup", 200],
|
|
1045
|
+
},
|
|
1046
|
+
() => DescribeGroupRequest,
|
|
1047
|
+
() => DescribeGroupResult,
|
|
1048
|
+
];
|
|
1049
|
+
var DescribeUser = [
|
|
1050
|
+
9,
|
|
1051
|
+
n0,
|
|
1052
|
+
_DUe,
|
|
1053
|
+
{
|
|
1054
|
+
[_h]: ["POST", "/Users/DescribeUser", 200],
|
|
1055
|
+
},
|
|
1056
|
+
() => DescribeUserRequest,
|
|
1057
|
+
() => DescribeUserResult,
|
|
1058
|
+
];
|
|
1059
|
+
var DisableUser = [
|
|
1060
|
+
9,
|
|
1061
|
+
n0,
|
|
1062
|
+
_DUi,
|
|
1063
|
+
{
|
|
1064
|
+
[_h]: ["POST", "/Users/DisableUser", 200],
|
|
1065
|
+
},
|
|
1066
|
+
() => DisableUserRequest,
|
|
1067
|
+
() => DisableUserResult,
|
|
1068
|
+
];
|
|
1069
|
+
var ListGroupMembers = [
|
|
1070
|
+
9,
|
|
1071
|
+
n0,
|
|
1072
|
+
_LGM,
|
|
1073
|
+
{
|
|
1074
|
+
[_h]: ["POST", "/GroupMemberships/ListGroupMembers", 200],
|
|
1075
|
+
},
|
|
1076
|
+
() => ListGroupMembersRequest,
|
|
1077
|
+
() => ListGroupMembersResult,
|
|
1078
|
+
];
|
|
1079
|
+
var ListGroups = [
|
|
1080
|
+
9,
|
|
1081
|
+
n0,
|
|
1082
|
+
_LG,
|
|
1083
|
+
{
|
|
1084
|
+
[_h]: ["POST", "/Groups/ListGroups", 200],
|
|
1085
|
+
},
|
|
1086
|
+
() => ListGroupsRequest,
|
|
1087
|
+
() => ListGroupsResult,
|
|
1088
|
+
];
|
|
1089
|
+
var ListGroupsForMember = [
|
|
1090
|
+
9,
|
|
1091
|
+
n0,
|
|
1092
|
+
_LGFM,
|
|
1093
|
+
{
|
|
1094
|
+
[_h]: ["POST", "/GroupMemberships/ListGroupsForMember", 200],
|
|
1095
|
+
},
|
|
1096
|
+
() => ListGroupsForMemberRequest,
|
|
1097
|
+
() => ListGroupsForMemberResult,
|
|
1098
|
+
];
|
|
1099
|
+
var ListUsers = [
|
|
1100
|
+
9,
|
|
1101
|
+
n0,
|
|
1102
|
+
_LU,
|
|
1103
|
+
{
|
|
1104
|
+
[_h]: ["POST", "/Users/ListUsers", 200],
|
|
1105
|
+
},
|
|
1106
|
+
() => ListUsersRequest,
|
|
1107
|
+
() => ListUsersResult,
|
|
1108
|
+
];
|
|
1109
|
+
var RemoveGroupMember = [
|
|
1110
|
+
9,
|
|
1111
|
+
n0,
|
|
1112
|
+
_RGM,
|
|
1113
|
+
{
|
|
1114
|
+
[_h]: ["POST", "/GroupMemberships/RemoveGroupMember", 200],
|
|
1115
|
+
},
|
|
1116
|
+
() => RemoveGroupMemberRequest,
|
|
1117
|
+
() => RemoveGroupMemberResult,
|
|
1118
|
+
];
|
|
1119
|
+
var SearchGroups = [
|
|
1120
|
+
9,
|
|
1121
|
+
n0,
|
|
1122
|
+
_SG,
|
|
1123
|
+
{
|
|
1124
|
+
[_h]: ["POST", "/Groups/SearchGroups", 200],
|
|
1125
|
+
},
|
|
1126
|
+
() => SearchGroupsRequest,
|
|
1127
|
+
() => SearchGroupsResult,
|
|
1128
|
+
];
|
|
1129
|
+
var SearchUsers = [
|
|
1130
|
+
9,
|
|
1131
|
+
n0,
|
|
1132
|
+
_SU,
|
|
1133
|
+
{
|
|
1134
|
+
[_h]: ["POST", "/Users/SearchUsers", 200],
|
|
1135
|
+
},
|
|
1136
|
+
() => SearchUsersRequest,
|
|
1137
|
+
() => SearchUsersResult,
|
|
1138
|
+
];
|
|
1139
|
+
var UpdateGroup = [
|
|
1140
|
+
9,
|
|
1141
|
+
n0,
|
|
1142
|
+
_UG,
|
|
1143
|
+
{
|
|
1144
|
+
[_h]: ["POST", "/Groups/UpdateGroup", 200],
|
|
1145
|
+
},
|
|
1146
|
+
() => UpdateGroupRequest,
|
|
1147
|
+
() => UpdateGroupResult,
|
|
1148
|
+
];
|
|
1149
|
+
var UpdateUser = [
|
|
1150
|
+
9,
|
|
1151
|
+
n0,
|
|
1152
|
+
_UU,
|
|
1153
|
+
{
|
|
1154
|
+
[_h]: ["POST", "/Users/UpdateUser", 200],
|
|
1155
|
+
},
|
|
1156
|
+
() => UpdateUserRequest,
|
|
1157
|
+
() => UpdateUserResult,
|
|
1158
|
+
];
|
|
1151
1159
|
|
|
1152
1160
|
class AddGroupMemberCommand extends smithyClient.Command
|
|
1153
1161
|
.classBuilder()
|
|
1154
1162
|
.ep(commonParams)
|
|
1155
1163
|
.m(function (Command, cs, config, o) {
|
|
1156
|
-
return [
|
|
1157
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1158
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1159
|
-
];
|
|
1164
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1160
1165
|
})
|
|
1161
1166
|
.s("DirectoryServiceData", "AddGroupMember", {})
|
|
1162
1167
|
.n("DirectoryServiceDataClient", "AddGroupMemberCommand")
|
|
1163
|
-
.
|
|
1164
|
-
.ser(se_AddGroupMemberCommand)
|
|
1165
|
-
.de(de_AddGroupMemberCommand)
|
|
1168
|
+
.sc(AddGroupMember)
|
|
1166
1169
|
.build() {
|
|
1167
1170
|
}
|
|
1168
1171
|
|
|
@@ -1170,16 +1173,11 @@ class CreateGroupCommand extends smithyClient.Command
|
|
|
1170
1173
|
.classBuilder()
|
|
1171
1174
|
.ep(commonParams)
|
|
1172
1175
|
.m(function (Command, cs, config, o) {
|
|
1173
|
-
return [
|
|
1174
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1175
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1176
|
-
];
|
|
1176
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1177
1177
|
})
|
|
1178
1178
|
.s("DirectoryServiceData", "CreateGroup", {})
|
|
1179
1179
|
.n("DirectoryServiceDataClient", "CreateGroupCommand")
|
|
1180
|
-
.
|
|
1181
|
-
.ser(se_CreateGroupCommand)
|
|
1182
|
-
.de(de_CreateGroupCommand)
|
|
1180
|
+
.sc(CreateGroup)
|
|
1183
1181
|
.build() {
|
|
1184
1182
|
}
|
|
1185
1183
|
|
|
@@ -1187,16 +1185,11 @@ class CreateUserCommand extends smithyClient.Command
|
|
|
1187
1185
|
.classBuilder()
|
|
1188
1186
|
.ep(commonParams)
|
|
1189
1187
|
.m(function (Command, cs, config, o) {
|
|
1190
|
-
return [
|
|
1191
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1192
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1193
|
-
];
|
|
1188
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1194
1189
|
})
|
|
1195
1190
|
.s("DirectoryServiceData", "CreateUser", {})
|
|
1196
1191
|
.n("DirectoryServiceDataClient", "CreateUserCommand")
|
|
1197
|
-
.
|
|
1198
|
-
.ser(se_CreateUserCommand)
|
|
1199
|
-
.de(de_CreateUserCommand)
|
|
1192
|
+
.sc(CreateUser)
|
|
1200
1193
|
.build() {
|
|
1201
1194
|
}
|
|
1202
1195
|
|
|
@@ -1204,16 +1197,11 @@ class DeleteGroupCommand extends smithyClient.Command
|
|
|
1204
1197
|
.classBuilder()
|
|
1205
1198
|
.ep(commonParams)
|
|
1206
1199
|
.m(function (Command, cs, config, o) {
|
|
1207
|
-
return [
|
|
1208
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1209
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1210
|
-
];
|
|
1200
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1211
1201
|
})
|
|
1212
1202
|
.s("DirectoryServiceData", "DeleteGroup", {})
|
|
1213
1203
|
.n("DirectoryServiceDataClient", "DeleteGroupCommand")
|
|
1214
|
-
.
|
|
1215
|
-
.ser(se_DeleteGroupCommand)
|
|
1216
|
-
.de(de_DeleteGroupCommand)
|
|
1204
|
+
.sc(DeleteGroup)
|
|
1217
1205
|
.build() {
|
|
1218
1206
|
}
|
|
1219
1207
|
|
|
@@ -1221,16 +1209,11 @@ class DeleteUserCommand extends smithyClient.Command
|
|
|
1221
1209
|
.classBuilder()
|
|
1222
1210
|
.ep(commonParams)
|
|
1223
1211
|
.m(function (Command, cs, config, o) {
|
|
1224
|
-
return [
|
|
1225
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1226
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1227
|
-
];
|
|
1212
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1228
1213
|
})
|
|
1229
1214
|
.s("DirectoryServiceData", "DeleteUser", {})
|
|
1230
1215
|
.n("DirectoryServiceDataClient", "DeleteUserCommand")
|
|
1231
|
-
.
|
|
1232
|
-
.ser(se_DeleteUserCommand)
|
|
1233
|
-
.de(de_DeleteUserCommand)
|
|
1216
|
+
.sc(DeleteUser)
|
|
1234
1217
|
.build() {
|
|
1235
1218
|
}
|
|
1236
1219
|
|
|
@@ -1238,16 +1221,11 @@ class DescribeGroupCommand extends smithyClient.Command
|
|
|
1238
1221
|
.classBuilder()
|
|
1239
1222
|
.ep(commonParams)
|
|
1240
1223
|
.m(function (Command, cs, config, o) {
|
|
1241
|
-
return [
|
|
1242
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1243
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1244
|
-
];
|
|
1224
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1245
1225
|
})
|
|
1246
1226
|
.s("DirectoryServiceData", "DescribeGroup", {})
|
|
1247
1227
|
.n("DirectoryServiceDataClient", "DescribeGroupCommand")
|
|
1248
|
-
.
|
|
1249
|
-
.ser(se_DescribeGroupCommand)
|
|
1250
|
-
.de(de_DescribeGroupCommand)
|
|
1228
|
+
.sc(DescribeGroup)
|
|
1251
1229
|
.build() {
|
|
1252
1230
|
}
|
|
1253
1231
|
|
|
@@ -1255,16 +1233,11 @@ class DescribeUserCommand extends smithyClient.Command
|
|
|
1255
1233
|
.classBuilder()
|
|
1256
1234
|
.ep(commonParams)
|
|
1257
1235
|
.m(function (Command, cs, config, o) {
|
|
1258
|
-
return [
|
|
1259
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1260
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1261
|
-
];
|
|
1236
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1262
1237
|
})
|
|
1263
1238
|
.s("DirectoryServiceData", "DescribeUser", {})
|
|
1264
1239
|
.n("DirectoryServiceDataClient", "DescribeUserCommand")
|
|
1265
|
-
.
|
|
1266
|
-
.ser(se_DescribeUserCommand)
|
|
1267
|
-
.de(de_DescribeUserCommand)
|
|
1240
|
+
.sc(DescribeUser)
|
|
1268
1241
|
.build() {
|
|
1269
1242
|
}
|
|
1270
1243
|
|
|
@@ -1272,16 +1245,11 @@ class DisableUserCommand extends smithyClient.Command
|
|
|
1272
1245
|
.classBuilder()
|
|
1273
1246
|
.ep(commonParams)
|
|
1274
1247
|
.m(function (Command, cs, config, o) {
|
|
1275
|
-
return [
|
|
1276
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1277
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1278
|
-
];
|
|
1248
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1279
1249
|
})
|
|
1280
1250
|
.s("DirectoryServiceData", "DisableUser", {})
|
|
1281
1251
|
.n("DirectoryServiceDataClient", "DisableUserCommand")
|
|
1282
|
-
.
|
|
1283
|
-
.ser(se_DisableUserCommand)
|
|
1284
|
-
.de(de_DisableUserCommand)
|
|
1252
|
+
.sc(DisableUser)
|
|
1285
1253
|
.build() {
|
|
1286
1254
|
}
|
|
1287
1255
|
|
|
@@ -1289,16 +1257,11 @@ class ListGroupMembersCommand extends smithyClient.Command
|
|
|
1289
1257
|
.classBuilder()
|
|
1290
1258
|
.ep(commonParams)
|
|
1291
1259
|
.m(function (Command, cs, config, o) {
|
|
1292
|
-
return [
|
|
1293
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1294
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1295
|
-
];
|
|
1260
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1296
1261
|
})
|
|
1297
1262
|
.s("DirectoryServiceData", "ListGroupMembers", {})
|
|
1298
1263
|
.n("DirectoryServiceDataClient", "ListGroupMembersCommand")
|
|
1299
|
-
.
|
|
1300
|
-
.ser(se_ListGroupMembersCommand)
|
|
1301
|
-
.de(de_ListGroupMembersCommand)
|
|
1264
|
+
.sc(ListGroupMembers)
|
|
1302
1265
|
.build() {
|
|
1303
1266
|
}
|
|
1304
1267
|
|
|
@@ -1306,16 +1269,11 @@ class ListGroupsCommand extends smithyClient.Command
|
|
|
1306
1269
|
.classBuilder()
|
|
1307
1270
|
.ep(commonParams)
|
|
1308
1271
|
.m(function (Command, cs, config, o) {
|
|
1309
|
-
return [
|
|
1310
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1311
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1312
|
-
];
|
|
1272
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1313
1273
|
})
|
|
1314
1274
|
.s("DirectoryServiceData", "ListGroups", {})
|
|
1315
1275
|
.n("DirectoryServiceDataClient", "ListGroupsCommand")
|
|
1316
|
-
.
|
|
1317
|
-
.ser(se_ListGroupsCommand)
|
|
1318
|
-
.de(de_ListGroupsCommand)
|
|
1276
|
+
.sc(ListGroups)
|
|
1319
1277
|
.build() {
|
|
1320
1278
|
}
|
|
1321
1279
|
|
|
@@ -1323,16 +1281,11 @@ class ListGroupsForMemberCommand extends smithyClient.Command
|
|
|
1323
1281
|
.classBuilder()
|
|
1324
1282
|
.ep(commonParams)
|
|
1325
1283
|
.m(function (Command, cs, config, o) {
|
|
1326
|
-
return [
|
|
1327
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1328
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1329
|
-
];
|
|
1284
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1330
1285
|
})
|
|
1331
1286
|
.s("DirectoryServiceData", "ListGroupsForMember", {})
|
|
1332
1287
|
.n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
|
|
1333
|
-
.
|
|
1334
|
-
.ser(se_ListGroupsForMemberCommand)
|
|
1335
|
-
.de(de_ListGroupsForMemberCommand)
|
|
1288
|
+
.sc(ListGroupsForMember)
|
|
1336
1289
|
.build() {
|
|
1337
1290
|
}
|
|
1338
1291
|
|
|
@@ -1340,16 +1293,11 @@ class ListUsersCommand extends smithyClient.Command
|
|
|
1340
1293
|
.classBuilder()
|
|
1341
1294
|
.ep(commonParams)
|
|
1342
1295
|
.m(function (Command, cs, config, o) {
|
|
1343
|
-
return [
|
|
1344
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1345
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1346
|
-
];
|
|
1296
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1347
1297
|
})
|
|
1348
1298
|
.s("DirectoryServiceData", "ListUsers", {})
|
|
1349
1299
|
.n("DirectoryServiceDataClient", "ListUsersCommand")
|
|
1350
|
-
.
|
|
1351
|
-
.ser(se_ListUsersCommand)
|
|
1352
|
-
.de(de_ListUsersCommand)
|
|
1300
|
+
.sc(ListUsers)
|
|
1353
1301
|
.build() {
|
|
1354
1302
|
}
|
|
1355
1303
|
|
|
@@ -1357,16 +1305,11 @@ class RemoveGroupMemberCommand extends smithyClient.Command
|
|
|
1357
1305
|
.classBuilder()
|
|
1358
1306
|
.ep(commonParams)
|
|
1359
1307
|
.m(function (Command, cs, config, o) {
|
|
1360
|
-
return [
|
|
1361
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1362
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1363
|
-
];
|
|
1308
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1364
1309
|
})
|
|
1365
1310
|
.s("DirectoryServiceData", "RemoveGroupMember", {})
|
|
1366
1311
|
.n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
|
|
1367
|
-
.
|
|
1368
|
-
.ser(se_RemoveGroupMemberCommand)
|
|
1369
|
-
.de(de_RemoveGroupMemberCommand)
|
|
1312
|
+
.sc(RemoveGroupMember)
|
|
1370
1313
|
.build() {
|
|
1371
1314
|
}
|
|
1372
1315
|
|
|
@@ -1374,16 +1317,11 @@ class SearchGroupsCommand extends smithyClient.Command
|
|
|
1374
1317
|
.classBuilder()
|
|
1375
1318
|
.ep(commonParams)
|
|
1376
1319
|
.m(function (Command, cs, config, o) {
|
|
1377
|
-
return [
|
|
1378
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1379
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1380
|
-
];
|
|
1320
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1381
1321
|
})
|
|
1382
1322
|
.s("DirectoryServiceData", "SearchGroups", {})
|
|
1383
1323
|
.n("DirectoryServiceDataClient", "SearchGroupsCommand")
|
|
1384
|
-
.
|
|
1385
|
-
.ser(se_SearchGroupsCommand)
|
|
1386
|
-
.de(de_SearchGroupsCommand)
|
|
1324
|
+
.sc(SearchGroups)
|
|
1387
1325
|
.build() {
|
|
1388
1326
|
}
|
|
1389
1327
|
|
|
@@ -1391,16 +1329,11 @@ class SearchUsersCommand extends smithyClient.Command
|
|
|
1391
1329
|
.classBuilder()
|
|
1392
1330
|
.ep(commonParams)
|
|
1393
1331
|
.m(function (Command, cs, config, o) {
|
|
1394
|
-
return [
|
|
1395
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1396
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1397
|
-
];
|
|
1332
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1398
1333
|
})
|
|
1399
1334
|
.s("DirectoryServiceData", "SearchUsers", {})
|
|
1400
1335
|
.n("DirectoryServiceDataClient", "SearchUsersCommand")
|
|
1401
|
-
.
|
|
1402
|
-
.ser(se_SearchUsersCommand)
|
|
1403
|
-
.de(de_SearchUsersCommand)
|
|
1336
|
+
.sc(SearchUsers)
|
|
1404
1337
|
.build() {
|
|
1405
1338
|
}
|
|
1406
1339
|
|
|
@@ -1408,16 +1341,11 @@ class UpdateGroupCommand extends smithyClient.Command
|
|
|
1408
1341
|
.classBuilder()
|
|
1409
1342
|
.ep(commonParams)
|
|
1410
1343
|
.m(function (Command, cs, config, o) {
|
|
1411
|
-
return [
|
|
1412
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1413
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1414
|
-
];
|
|
1344
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1415
1345
|
})
|
|
1416
1346
|
.s("DirectoryServiceData", "UpdateGroup", {})
|
|
1417
1347
|
.n("DirectoryServiceDataClient", "UpdateGroupCommand")
|
|
1418
|
-
.
|
|
1419
|
-
.ser(se_UpdateGroupCommand)
|
|
1420
|
-
.de(de_UpdateGroupCommand)
|
|
1348
|
+
.sc(UpdateGroup)
|
|
1421
1349
|
.build() {
|
|
1422
1350
|
}
|
|
1423
1351
|
|
|
@@ -1425,16 +1353,11 @@ class UpdateUserCommand extends smithyClient.Command
|
|
|
1425
1353
|
.classBuilder()
|
|
1426
1354
|
.ep(commonParams)
|
|
1427
1355
|
.m(function (Command, cs, config, o) {
|
|
1428
|
-
return [
|
|
1429
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1430
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1431
|
-
];
|
|
1356
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1432
1357
|
})
|
|
1433
1358
|
.s("DirectoryServiceData", "UpdateUser", {})
|
|
1434
1359
|
.n("DirectoryServiceDataClient", "UpdateUserCommand")
|
|
1435
|
-
.
|
|
1436
|
-
.ser(se_UpdateUserCommand)
|
|
1437
|
-
.de(de_UpdateUserCommand)
|
|
1360
|
+
.sc(UpdateUser)
|
|
1438
1361
|
.build() {
|
|
1439
1362
|
}
|
|
1440
1363
|
|
|
@@ -1481,61 +1404,39 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1481
1404
|
enumerable: true,
|
|
1482
1405
|
get: function () { return smithyClient.Client; }
|
|
1483
1406
|
});
|
|
1484
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1407
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1485
1408
|
exports.AccessDeniedReason = AccessDeniedReason;
|
|
1486
1409
|
exports.AddGroupMemberCommand = AddGroupMemberCommand;
|
|
1487
|
-
exports.
|
|
1488
|
-
exports.ConflictException = ConflictException;
|
|
1410
|
+
exports.ConflictException = ConflictException$1;
|
|
1489
1411
|
exports.CreateGroupCommand = CreateGroupCommand;
|
|
1490
|
-
exports.CreateGroupRequestFilterSensitiveLog = CreateGroupRequestFilterSensitiveLog;
|
|
1491
1412
|
exports.CreateUserCommand = CreateUserCommand;
|
|
1492
|
-
exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
|
|
1493
1413
|
exports.DeleteGroupCommand = DeleteGroupCommand;
|
|
1494
1414
|
exports.DeleteUserCommand = DeleteUserCommand;
|
|
1495
1415
|
exports.DescribeGroupCommand = DescribeGroupCommand;
|
|
1496
|
-
exports.DescribeGroupResultFilterSensitiveLog = DescribeGroupResultFilterSensitiveLog;
|
|
1497
1416
|
exports.DescribeUserCommand = DescribeUserCommand;
|
|
1498
|
-
exports.DescribeUserResultFilterSensitiveLog = DescribeUserResultFilterSensitiveLog;
|
|
1499
1417
|
exports.DirectoryServiceData = DirectoryServiceData;
|
|
1500
1418
|
exports.DirectoryServiceDataClient = DirectoryServiceDataClient;
|
|
1501
|
-
exports.DirectoryServiceDataServiceException = DirectoryServiceDataServiceException;
|
|
1502
|
-
exports.DirectoryUnavailableException = DirectoryUnavailableException;
|
|
1419
|
+
exports.DirectoryServiceDataServiceException = DirectoryServiceDataServiceException$1;
|
|
1420
|
+
exports.DirectoryUnavailableException = DirectoryUnavailableException$1;
|
|
1503
1421
|
exports.DirectoryUnavailableReason = DirectoryUnavailableReason;
|
|
1504
1422
|
exports.DisableUserCommand = DisableUserCommand;
|
|
1505
|
-
exports.GroupFilterSensitiveLog = GroupFilterSensitiveLog;
|
|
1506
1423
|
exports.GroupScope = GroupScope;
|
|
1507
1424
|
exports.GroupType = GroupType;
|
|
1508
|
-
exports.InternalServerException = InternalServerException;
|
|
1425
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1509
1426
|
exports.ListGroupMembersCommand = ListGroupMembersCommand;
|
|
1510
|
-
exports.ListGroupMembersRequestFilterSensitiveLog = ListGroupMembersRequestFilterSensitiveLog;
|
|
1511
|
-
exports.ListGroupMembersResultFilterSensitiveLog = ListGroupMembersResultFilterSensitiveLog;
|
|
1512
1427
|
exports.ListGroupsCommand = ListGroupsCommand;
|
|
1513
1428
|
exports.ListGroupsForMemberCommand = ListGroupsForMemberCommand;
|
|
1514
|
-
exports.ListGroupsForMemberRequestFilterSensitiveLog = ListGroupsForMemberRequestFilterSensitiveLog;
|
|
1515
|
-
exports.ListGroupsForMemberResultFilterSensitiveLog = ListGroupsForMemberResultFilterSensitiveLog;
|
|
1516
|
-
exports.ListGroupsRequestFilterSensitiveLog = ListGroupsRequestFilterSensitiveLog;
|
|
1517
|
-
exports.ListGroupsResultFilterSensitiveLog = ListGroupsResultFilterSensitiveLog;
|
|
1518
1429
|
exports.ListUsersCommand = ListUsersCommand;
|
|
1519
|
-
exports.ListUsersRequestFilterSensitiveLog = ListUsersRequestFilterSensitiveLog;
|
|
1520
|
-
exports.ListUsersResultFilterSensitiveLog = ListUsersResultFilterSensitiveLog;
|
|
1521
1430
|
exports.MemberType = MemberType;
|
|
1522
1431
|
exports.RemoveGroupMemberCommand = RemoveGroupMemberCommand;
|
|
1523
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1432
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1524
1433
|
exports.SearchGroupsCommand = SearchGroupsCommand;
|
|
1525
|
-
exports.SearchGroupsRequestFilterSensitiveLog = SearchGroupsRequestFilterSensitiveLog;
|
|
1526
|
-
exports.SearchGroupsResultFilterSensitiveLog = SearchGroupsResultFilterSensitiveLog;
|
|
1527
1434
|
exports.SearchUsersCommand = SearchUsersCommand;
|
|
1528
|
-
exports.
|
|
1529
|
-
exports.SearchUsersResultFilterSensitiveLog = SearchUsersResultFilterSensitiveLog;
|
|
1530
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1435
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1531
1436
|
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
1532
|
-
exports.UpdateGroupRequestFilterSensitiveLog = UpdateGroupRequestFilterSensitiveLog;
|
|
1533
1437
|
exports.UpdateType = UpdateType;
|
|
1534
1438
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
1535
|
-
exports.
|
|
1536
|
-
exports.UserFilterSensitiveLog = UserFilterSensitiveLog;
|
|
1537
|
-
exports.UserSummaryFilterSensitiveLog = UserSummaryFilterSensitiveLog;
|
|
1538
|
-
exports.ValidationException = ValidationException;
|
|
1439
|
+
exports.ValidationException = ValidationException$1;
|
|
1539
1440
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1540
1441
|
exports.paginateListGroupMembers = paginateListGroupMembers;
|
|
1541
1442
|
exports.paginateListGroups = paginateListGroups;
|