@aws-sdk/client-detective 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.
Files changed (53) hide show
  1. package/dist-cjs/index.js +933 -1345
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DetectiveClient.js +2 -0
  4. package/dist-es/commands/AcceptInvitationCommand.js +3 -9
  5. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +3 -9
  6. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +3 -9
  7. package/dist-es/commands/CreateGraphCommand.js +3 -9
  8. package/dist-es/commands/CreateMembersCommand.js +3 -10
  9. package/dist-es/commands/DeleteGraphCommand.js +3 -9
  10. package/dist-es/commands/DeleteMembersCommand.js +3 -9
  11. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  12. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
  13. package/dist-es/commands/DisassociateMembershipCommand.js +3 -9
  14. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
  15. package/dist-es/commands/GetInvestigationCommand.js +3 -9
  16. package/dist-es/commands/GetMembersCommand.js +3 -10
  17. package/dist-es/commands/ListDatasourcePackagesCommand.js +3 -9
  18. package/dist-es/commands/ListGraphsCommand.js +3 -9
  19. package/dist-es/commands/ListIndicatorsCommand.js +3 -9
  20. package/dist-es/commands/ListInvestigationsCommand.js +3 -9
  21. package/dist-es/commands/ListInvitationsCommand.js +3 -10
  22. package/dist-es/commands/ListMembersCommand.js +3 -10
  23. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/RejectInvitationCommand.js +3 -9
  26. package/dist-es/commands/StartInvestigationCommand.js +3 -9
  27. package/dist-es/commands/StartMonitoringMemberCommand.js +3 -9
  28. package/dist-es/commands/TagResourceCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +3 -9
  31. package/dist-es/commands/UpdateInvestigationStateCommand.js +3 -9
  32. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  33. package/dist-es/models/models_0.js +0 -30
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-es/schemas/schemas_0.js +862 -0
  36. package/dist-types/DetectiveClient.d.ts +10 -1
  37. package/dist-types/models/models_0.d.ts +0 -28
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  42. package/dist-types/schemas/schemas_0.d.ts +134 -0
  43. package/dist-types/ts3.4/DetectiveClient.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +0 -17
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -0
  50. package/package.json +5 -5
  51. package/dist-es/protocols/Aws_restJson1.js +0 -1088
  52. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -353
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class DetectiveClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,19 +110,19 @@ class DetectiveClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class DetectiveServiceException extends smithyClient.ServiceException {
113
+ let DetectiveServiceException$1 = class DetectiveServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, DetectiveServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const ErrorCode = {
121
121
  InternalError: "INTERNAL_ERROR",
122
122
  InvalidGraphArn: "INVALID_GRAPH_ARN",
123
123
  InvalidRequestBody: "INVALID_REQUEST_BODY",
124
124
  };
125
- class AccessDeniedException extends DetectiveServiceException {
125
+ let AccessDeniedException$1 = class AccessDeniedException extends DetectiveServiceException$1 {
126
126
  name = "AccessDeniedException";
127
127
  $fault = "client";
128
128
  Message;
@@ -143,8 +143,8 @@ class AccessDeniedException extends DetectiveServiceException {
143
143
  this.SubErrorCode = opts.SubErrorCode;
144
144
  this.SubErrorCodeReason = opts.SubErrorCodeReason;
145
145
  }
146
- }
147
- class ConflictException extends DetectiveServiceException {
146
+ };
147
+ let ConflictException$1 = class ConflictException extends DetectiveServiceException$1 {
148
148
  name = "ConflictException";
149
149
  $fault = "client";
150
150
  Message;
@@ -157,8 +157,8 @@ class ConflictException extends DetectiveServiceException {
157
157
  Object.setPrototypeOf(this, ConflictException.prototype);
158
158
  this.Message = opts.Message;
159
159
  }
160
- }
161
- class InternalServerException extends DetectiveServiceException {
160
+ };
161
+ let InternalServerException$1 = class InternalServerException extends DetectiveServiceException$1 {
162
162
  name = "InternalServerException";
163
163
  $fault = "server";
164
164
  Message;
@@ -171,8 +171,8 @@ class InternalServerException extends DetectiveServiceException {
171
171
  Object.setPrototypeOf(this, InternalServerException.prototype);
172
172
  this.Message = opts.Message;
173
173
  }
174
- }
175
- class ResourceNotFoundException extends DetectiveServiceException {
174
+ };
175
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DetectiveServiceException$1 {
176
176
  name = "ResourceNotFoundException";
177
177
  $fault = "client";
178
178
  Message;
@@ -185,8 +185,8 @@ class ResourceNotFoundException extends DetectiveServiceException {
185
185
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
186
186
  this.Message = opts.Message;
187
187
  }
188
- }
189
- class ValidationException extends DetectiveServiceException {
188
+ };
189
+ let ValidationException$1 = class ValidationException extends DetectiveServiceException$1 {
190
190
  name = "ValidationException";
191
191
  $fault = "client";
192
192
  Message;
@@ -203,7 +203,7 @@ class ValidationException extends DetectiveServiceException {
203
203
  this.ErrorCode = opts.ErrorCode;
204
204
  this.ErrorCodeReason = opts.ErrorCodeReason;
205
205
  }
206
- }
206
+ };
207
207
  const DatasourcePackage = {
208
208
  ASFF_SECURITYHUB_FINDING: "ASFF_SECURITYHUB_FINDING",
209
209
  DETECTIVE_CORE: "DETECTIVE_CORE",
@@ -214,7 +214,7 @@ const DatasourcePackageIngestState = {
214
214
  STARTED: "STARTED",
215
215
  STOPPED: "STOPPED",
216
216
  };
217
- class ServiceQuotaExceededException extends DetectiveServiceException {
217
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends DetectiveServiceException$1 {
218
218
  name = "ServiceQuotaExceededException";
219
219
  $fault = "client";
220
220
  Message;
@@ -229,7 +229,7 @@ class ServiceQuotaExceededException extends DetectiveServiceException {
229
229
  this.Message = opts.Message;
230
230
  this.Resources = opts.Resources;
231
231
  }
232
- }
232
+ };
233
233
  const MemberDisabledReason = {
234
234
  VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
235
235
  VOLUME_UNKNOWN: "VOLUME_UNKNOWN",
@@ -245,7 +245,7 @@ const MemberStatus = {
245
245
  VERIFICATION_FAILED: "VERIFICATION_FAILED",
246
246
  VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS",
247
247
  };
248
- class TooManyRequestsException extends DetectiveServiceException {
248
+ let TooManyRequestsException$1 = class TooManyRequestsException extends DetectiveServiceException$1 {
249
249
  name = "TooManyRequestsException";
250
250
  $fault = "client";
251
251
  Message;
@@ -258,7 +258,7 @@ class TooManyRequestsException extends DetectiveServiceException {
258
258
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
259
259
  this.Message = opts.Message;
260
260
  }
261
- }
261
+ };
262
262
  const EntityType = {
263
263
  IAM_ROLE: "IAM_ROLE",
264
264
  IAM_USER: "IAM_USER",
@@ -301,1133 +301,868 @@ const SortOrder = {
301
301
  ASC: "ASC",
302
302
  DESC: "DESC",
303
303
  };
304
- const AccountFilterSensitiveLog = (obj) => ({
305
- ...obj,
306
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
307
- });
308
- const CreateMembersRequestFilterSensitiveLog = (obj) => ({
309
- ...obj,
310
- ...(obj.Message && { Message: smithyClient.SENSITIVE_STRING }),
311
- ...(obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }),
312
- });
313
- const MemberDetailFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- ...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
316
- });
317
- const CreateMembersResponseFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- ...(obj.Members && { Members: obj.Members.map((item) => MemberDetailFilterSensitiveLog(item)) }),
320
- });
321
- const GetMembersResponseFilterSensitiveLog = (obj) => ({
322
- ...obj,
323
- ...(obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => MemberDetailFilterSensitiveLog(item)) }),
324
- });
325
- const ListInvitationsResponseFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.Invitations && { Invitations: obj.Invitations.map((item) => MemberDetailFilterSensitiveLog(item)) }),
328
- });
329
- const ListMembersResponseFilterSensitiveLog = (obj) => ({
330
- ...obj,
331
- ...(obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => MemberDetailFilterSensitiveLog(item)) }),
332
- });
333
304
 
334
- const se_AcceptInvitationCommand = async (input, context) => {
335
- const b = core.requestBuilder(input, context);
336
- const headers = {
337
- "content-type": "application/json",
338
- };
339
- b.bp("/invitation");
340
- let body;
341
- body = JSON.stringify(smithyClient.take(input, {
342
- GraphArn: [],
343
- }));
344
- b.m("PUT").h(headers).b(body);
345
- return b.build();
346
- };
347
- const se_BatchGetGraphMemberDatasourcesCommand = async (input, context) => {
348
- const b = core.requestBuilder(input, context);
349
- const headers = {
350
- "content-type": "application/json",
351
- };
352
- b.bp("/graph/datasources/get");
353
- let body;
354
- body = JSON.stringify(smithyClient.take(input, {
355
- AccountIds: (_) => smithyClient._json(_),
356
- GraphArn: [],
357
- }));
358
- b.m("POST").h(headers).b(body);
359
- return b.build();
360
- };
361
- const se_BatchGetMembershipDatasourcesCommand = async (input, context) => {
362
- const b = core.requestBuilder(input, context);
363
- const headers = {
364
- "content-type": "application/json",
365
- };
366
- b.bp("/membership/datasources/get");
367
- let body;
368
- body = JSON.stringify(smithyClient.take(input, {
369
- GraphArns: (_) => smithyClient._json(_),
370
- }));
371
- b.m("POST").h(headers).b(body);
372
- return b.build();
373
- };
374
- const se_CreateGraphCommand = async (input, context) => {
375
- const b = core.requestBuilder(input, context);
376
- const headers = {
377
- "content-type": "application/json",
378
- };
379
- b.bp("/graph");
380
- let body;
381
- body = JSON.stringify(smithyClient.take(input, {
382
- Tags: (_) => smithyClient._json(_),
383
- }));
384
- b.m("POST").h(headers).b(body);
385
- return b.build();
386
- };
387
- const se_CreateMembersCommand = async (input, context) => {
388
- const b = core.requestBuilder(input, context);
389
- const headers = {
390
- "content-type": "application/json",
391
- };
392
- b.bp("/graph/members");
393
- let body;
394
- body = JSON.stringify(smithyClient.take(input, {
395
- Accounts: (_) => smithyClient._json(_),
396
- DisableEmailNotification: [],
397
- GraphArn: [],
398
- Message: [],
399
- }));
400
- b.m("POST").h(headers).b(body);
401
- return b.build();
402
- };
403
- const se_DeleteGraphCommand = async (input, context) => {
404
- const b = core.requestBuilder(input, context);
405
- const headers = {
406
- "content-type": "application/json",
407
- };
408
- b.bp("/graph/removal");
409
- let body;
410
- body = JSON.stringify(smithyClient.take(input, {
411
- GraphArn: [],
412
- }));
413
- b.m("POST").h(headers).b(body);
414
- return b.build();
415
- };
416
- const se_DeleteMembersCommand = async (input, context) => {
417
- const b = core.requestBuilder(input, context);
418
- const headers = {
419
- "content-type": "application/json",
420
- };
421
- b.bp("/graph/members/removal");
422
- let body;
423
- body = JSON.stringify(smithyClient.take(input, {
424
- AccountIds: (_) => smithyClient._json(_),
425
- GraphArn: [],
426
- }));
427
- b.m("POST").h(headers).b(body);
428
- return b.build();
429
- };
430
- const se_DescribeOrganizationConfigurationCommand = async (input, context) => {
431
- const b = core.requestBuilder(input, context);
432
- const headers = {
433
- "content-type": "application/json",
434
- };
435
- b.bp("/orgs/describeOrganizationConfiguration");
436
- let body;
437
- body = JSON.stringify(smithyClient.take(input, {
438
- GraphArn: [],
439
- }));
440
- b.m("POST").h(headers).b(body);
441
- return b.build();
442
- };
443
- const se_DisableOrganizationAdminAccountCommand = async (input, context) => {
444
- const b = core.requestBuilder(input, context);
445
- const headers = {};
446
- b.bp("/orgs/disableAdminAccount");
447
- let body;
448
- b.m("POST").h(headers).b(body);
449
- return b.build();
450
- };
451
- const se_DisassociateMembershipCommand = async (input, context) => {
452
- const b = core.requestBuilder(input, context);
453
- const headers = {
454
- "content-type": "application/json",
455
- };
456
- b.bp("/membership/removal");
457
- let body;
458
- body = JSON.stringify(smithyClient.take(input, {
459
- GraphArn: [],
460
- }));
461
- b.m("POST").h(headers).b(body);
462
- return b.build();
463
- };
464
- const se_EnableOrganizationAdminAccountCommand = async (input, context) => {
465
- const b = core.requestBuilder(input, context);
466
- const headers = {
467
- "content-type": "application/json",
468
- };
469
- b.bp("/orgs/enableAdminAccount");
470
- let body;
471
- body = JSON.stringify(smithyClient.take(input, {
472
- AccountId: [],
473
- }));
474
- b.m("POST").h(headers).b(body);
475
- return b.build();
476
- };
477
- const se_GetInvestigationCommand = async (input, context) => {
478
- const b = core.requestBuilder(input, context);
479
- const headers = {
480
- "content-type": "application/json",
481
- };
482
- b.bp("/investigations/getInvestigation");
483
- let body;
484
- body = JSON.stringify(smithyClient.take(input, {
485
- GraphArn: [],
486
- InvestigationId: [],
487
- }));
488
- b.m("POST").h(headers).b(body);
489
- return b.build();
490
- };
491
- const se_GetMembersCommand = async (input, context) => {
492
- const b = core.requestBuilder(input, context);
493
- const headers = {
494
- "content-type": "application/json",
495
- };
496
- b.bp("/graph/members/get");
497
- let body;
498
- body = JSON.stringify(smithyClient.take(input, {
499
- AccountIds: (_) => smithyClient._json(_),
500
- GraphArn: [],
501
- }));
502
- b.m("POST").h(headers).b(body);
503
- return b.build();
504
- };
505
- const se_ListDatasourcePackagesCommand = async (input, context) => {
506
- const b = core.requestBuilder(input, context);
507
- const headers = {
508
- "content-type": "application/json",
509
- };
510
- b.bp("/graph/datasources/list");
511
- let body;
512
- body = JSON.stringify(smithyClient.take(input, {
513
- GraphArn: [],
514
- MaxResults: [],
515
- NextToken: [],
516
- }));
517
- b.m("POST").h(headers).b(body);
518
- return b.build();
519
- };
520
- const se_ListGraphsCommand = async (input, context) => {
521
- const b = core.requestBuilder(input, context);
522
- const headers = {
523
- "content-type": "application/json",
524
- };
525
- b.bp("/graphs/list");
526
- let body;
527
- body = JSON.stringify(smithyClient.take(input, {
528
- MaxResults: [],
529
- NextToken: [],
530
- }));
531
- b.m("POST").h(headers).b(body);
532
- return b.build();
533
- };
534
- const se_ListIndicatorsCommand = async (input, context) => {
535
- const b = core.requestBuilder(input, context);
536
- const headers = {
537
- "content-type": "application/json",
538
- };
539
- b.bp("/investigations/listIndicators");
540
- let body;
541
- body = JSON.stringify(smithyClient.take(input, {
542
- GraphArn: [],
543
- IndicatorType: [],
544
- InvestigationId: [],
545
- MaxResults: [],
546
- NextToken: [],
547
- }));
548
- b.m("POST").h(headers).b(body);
549
- return b.build();
550
- };
551
- const se_ListInvestigationsCommand = async (input, context) => {
552
- const b = core.requestBuilder(input, context);
553
- const headers = {
554
- "content-type": "application/json",
555
- };
556
- b.bp("/investigations/listInvestigations");
557
- let body;
558
- body = JSON.stringify(smithyClient.take(input, {
559
- FilterCriteria: (_) => se_FilterCriteria(_),
560
- GraphArn: [],
561
- MaxResults: [],
562
- NextToken: [],
563
- SortCriteria: (_) => smithyClient._json(_),
564
- }));
565
- b.m("POST").h(headers).b(body);
566
- return b.build();
567
- };
568
- const se_ListInvitationsCommand = async (input, context) => {
569
- const b = core.requestBuilder(input, context);
570
- const headers = {
571
- "content-type": "application/json",
572
- };
573
- b.bp("/invitations/list");
574
- let body;
575
- body = JSON.stringify(smithyClient.take(input, {
576
- MaxResults: [],
577
- NextToken: [],
578
- }));
579
- b.m("POST").h(headers).b(body);
580
- return b.build();
581
- };
582
- const se_ListMembersCommand = async (input, context) => {
583
- const b = core.requestBuilder(input, context);
584
- const headers = {
585
- "content-type": "application/json",
586
- };
587
- b.bp("/graph/members/list");
588
- let body;
589
- body = JSON.stringify(smithyClient.take(input, {
590
- GraphArn: [],
591
- MaxResults: [],
592
- NextToken: [],
593
- }));
594
- b.m("POST").h(headers).b(body);
595
- return b.build();
596
- };
597
- const se_ListOrganizationAdminAccountsCommand = async (input, context) => {
598
- const b = core.requestBuilder(input, context);
599
- const headers = {
600
- "content-type": "application/json",
601
- };
602
- b.bp("/orgs/adminAccountslist");
603
- let body;
604
- body = JSON.stringify(smithyClient.take(input, {
605
- MaxResults: [],
606
- NextToken: [],
607
- }));
608
- b.m("POST").h(headers).b(body);
609
- return b.build();
610
- };
611
- const se_ListTagsForResourceCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = {};
614
- b.bp("/tags/{ResourceArn}");
615
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
616
- let body;
617
- b.m("GET").h(headers).b(body);
618
- return b.build();
619
- };
620
- const se_RejectInvitationCommand = async (input, context) => {
621
- const b = core.requestBuilder(input, context);
622
- const headers = {
623
- "content-type": "application/json",
624
- };
625
- b.bp("/invitation/removal");
626
- let body;
627
- body = JSON.stringify(smithyClient.take(input, {
628
- GraphArn: [],
629
- }));
630
- b.m("POST").h(headers).b(body);
631
- return b.build();
632
- };
633
- const se_StartInvestigationCommand = async (input, context) => {
634
- const b = core.requestBuilder(input, context);
635
- const headers = {
636
- "content-type": "application/json",
637
- };
638
- b.bp("/investigations/startInvestigation");
639
- let body;
640
- body = JSON.stringify(smithyClient.take(input, {
641
- EntityArn: [],
642
- GraphArn: [],
643
- ScopeEndTime: (_) => smithyClient.serializeDateTime(_),
644
- ScopeStartTime: (_) => smithyClient.serializeDateTime(_),
645
- }));
646
- b.m("POST").h(headers).b(body);
647
- return b.build();
648
- };
649
- const se_StartMonitoringMemberCommand = async (input, context) => {
650
- const b = core.requestBuilder(input, context);
651
- const headers = {
652
- "content-type": "application/json",
653
- };
654
- b.bp("/graph/member/monitoringstate");
655
- let body;
656
- body = JSON.stringify(smithyClient.take(input, {
657
- AccountId: [],
658
- GraphArn: [],
659
- }));
660
- b.m("POST").h(headers).b(body);
661
- return b.build();
662
- };
663
- const se_TagResourceCommand = async (input, context) => {
664
- const b = core.requestBuilder(input, context);
665
- const headers = {
666
- "content-type": "application/json",
667
- };
668
- b.bp("/tags/{ResourceArn}");
669
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
670
- let body;
671
- body = JSON.stringify(smithyClient.take(input, {
672
- Tags: (_) => smithyClient._json(_),
673
- }));
674
- b.m("POST").h(headers).b(body);
675
- return b.build();
676
- };
677
- const se_UntagResourceCommand = async (input, context) => {
678
- const b = core.requestBuilder(input, context);
679
- const headers = {};
680
- b.bp("/tags/{ResourceArn}");
681
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
682
- const query = smithyClient.map({
683
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
684
- });
685
- let body;
686
- b.m("DELETE").h(headers).q(query).b(body);
687
- return b.build();
688
- };
689
- const se_UpdateDatasourcePackagesCommand = async (input, context) => {
690
- const b = core.requestBuilder(input, context);
691
- const headers = {
692
- "content-type": "application/json",
693
- };
694
- b.bp("/graph/datasources/update");
695
- let body;
696
- body = JSON.stringify(smithyClient.take(input, {
697
- DatasourcePackages: (_) => smithyClient._json(_),
698
- GraphArn: [],
699
- }));
700
- b.m("POST").h(headers).b(body);
701
- return b.build();
702
- };
703
- const se_UpdateInvestigationStateCommand = async (input, context) => {
704
- const b = core.requestBuilder(input, context);
705
- const headers = {
706
- "content-type": "application/json",
707
- };
708
- b.bp("/investigations/updateInvestigationState");
709
- let body;
710
- body = JSON.stringify(smithyClient.take(input, {
711
- GraphArn: [],
712
- InvestigationId: [],
713
- State: [],
714
- }));
715
- b.m("POST").h(headers).b(body);
716
- return b.build();
717
- };
718
- const se_UpdateOrganizationConfigurationCommand = async (input, context) => {
719
- const b = core.requestBuilder(input, context);
720
- const headers = {
721
- "content-type": "application/json",
722
- };
723
- b.bp("/orgs/updateOrganizationConfiguration");
724
- let body;
725
- body = JSON.stringify(smithyClient.take(input, {
726
- AutoEnable: [],
727
- GraphArn: [],
728
- }));
729
- b.m("POST").h(headers).b(body);
730
- return b.build();
731
- };
732
- const de_AcceptInvitationCommand = async (output, context) => {
733
- if (output.statusCode !== 200 && output.statusCode >= 300) {
734
- return de_CommandError(output, context);
735
- }
736
- const contents = smithyClient.map({
737
- $metadata: deserializeMetadata(output),
738
- });
739
- await smithyClient.collectBody(output.body, context);
740
- return contents;
741
- };
742
- const de_BatchGetGraphMemberDatasourcesCommand = async (output, context) => {
743
- if (output.statusCode !== 200 && output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const contents = smithyClient.map({
747
- $metadata: deserializeMetadata(output),
748
- });
749
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
750
- const doc = smithyClient.take(data, {
751
- MemberDatasources: (_) => de_MembershipDatasourcesList(_),
752
- UnprocessedAccounts: smithyClient._json,
753
- });
754
- Object.assign(contents, doc);
755
- return contents;
756
- };
757
- const de_BatchGetMembershipDatasourcesCommand = 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
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
765
- const doc = smithyClient.take(data, {
766
- MembershipDatasources: (_) => de_MembershipDatasourcesList(_),
767
- UnprocessedGraphs: smithyClient._json,
768
- });
769
- Object.assign(contents, doc);
770
- return contents;
771
- };
772
- const de_CreateGraphCommand = async (output, context) => {
773
- if (output.statusCode !== 200 && output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const contents = smithyClient.map({
777
- $metadata: deserializeMetadata(output),
778
- });
779
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
780
- const doc = smithyClient.take(data, {
781
- GraphArn: smithyClient.expectString,
782
- });
783
- Object.assign(contents, doc);
784
- return contents;
785
- };
786
- const de_CreateMembersCommand = async (output, context) => {
787
- if (output.statusCode !== 200 && output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const contents = smithyClient.map({
791
- $metadata: deserializeMetadata(output),
792
- });
793
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
- const doc = smithyClient.take(data, {
795
- Members: (_) => de_MemberDetailList(_),
796
- UnprocessedAccounts: smithyClient._json,
797
- });
798
- Object.assign(contents, doc);
799
- return contents;
800
- };
801
- const de_DeleteGraphCommand = async (output, context) => {
802
- if (output.statusCode !== 200 && output.statusCode >= 300) {
803
- return de_CommandError(output, context);
804
- }
805
- const contents = smithyClient.map({
806
- $metadata: deserializeMetadata(output),
807
- });
808
- await smithyClient.collectBody(output.body, context);
809
- return contents;
810
- };
811
- const de_DeleteMembersCommand = async (output, context) => {
812
- if (output.statusCode !== 200 && output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const contents = smithyClient.map({
816
- $metadata: deserializeMetadata(output),
817
- });
818
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
819
- const doc = smithyClient.take(data, {
820
- AccountIds: smithyClient._json,
821
- UnprocessedAccounts: smithyClient._json,
822
- });
823
- Object.assign(contents, doc);
824
- return contents;
825
- };
826
- const de_DescribeOrganizationConfigurationCommand = async (output, context) => {
827
- if (output.statusCode !== 200 && output.statusCode >= 300) {
828
- return de_CommandError(output, context);
829
- }
830
- const contents = smithyClient.map({
831
- $metadata: deserializeMetadata(output),
832
- });
833
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
834
- const doc = smithyClient.take(data, {
835
- AutoEnable: smithyClient.expectBoolean,
836
- });
837
- Object.assign(contents, doc);
838
- return contents;
839
- };
840
- const de_DisableOrganizationAdminAccountCommand = 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
- await smithyClient.collectBody(output.body, context);
848
- return contents;
849
- };
850
- const de_DisassociateMembershipCommand = async (output, context) => {
851
- if (output.statusCode !== 200 && output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const contents = smithyClient.map({
855
- $metadata: deserializeMetadata(output),
856
- });
857
- await smithyClient.collectBody(output.body, context);
858
- return contents;
859
- };
860
- const de_EnableOrganizationAdminAccountCommand = async (output, context) => {
861
- if (output.statusCode !== 200 && output.statusCode >= 300) {
862
- return de_CommandError(output, context);
863
- }
864
- const contents = smithyClient.map({
865
- $metadata: deserializeMetadata(output),
866
- });
867
- await smithyClient.collectBody(output.body, context);
868
- return contents;
869
- };
870
- const de_GetInvestigationCommand = async (output, context) => {
871
- if (output.statusCode !== 200 && output.statusCode >= 300) {
872
- return de_CommandError(output, context);
873
- }
874
- const contents = smithyClient.map({
875
- $metadata: deserializeMetadata(output),
876
- });
877
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
878
- const doc = smithyClient.take(data, {
879
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
880
- EntityArn: smithyClient.expectString,
881
- EntityType: smithyClient.expectString,
882
- GraphArn: smithyClient.expectString,
883
- InvestigationId: smithyClient.expectString,
884
- ScopeEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
885
- ScopeStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
886
- Severity: smithyClient.expectString,
887
- State: smithyClient.expectString,
888
- Status: smithyClient.expectString,
889
- });
890
- Object.assign(contents, doc);
891
- return contents;
892
- };
893
- const de_GetMembersCommand = async (output, context) => {
894
- if (output.statusCode !== 200 && output.statusCode >= 300) {
895
- return de_CommandError(output, context);
896
- }
897
- const contents = smithyClient.map({
898
- $metadata: deserializeMetadata(output),
899
- });
900
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
901
- const doc = smithyClient.take(data, {
902
- MemberDetails: (_) => de_MemberDetailList(_),
903
- UnprocessedAccounts: smithyClient._json,
904
- });
905
- Object.assign(contents, doc);
906
- return contents;
907
- };
908
- const de_ListDatasourcePackagesCommand = async (output, context) => {
909
- if (output.statusCode !== 200 && output.statusCode >= 300) {
910
- return de_CommandError(output, context);
911
- }
912
- const contents = smithyClient.map({
913
- $metadata: deserializeMetadata(output),
914
- });
915
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
916
- const doc = smithyClient.take(data, {
917
- DatasourcePackages: (_) => de_DatasourcePackageIngestDetails(_),
918
- NextToken: smithyClient.expectString,
919
- });
920
- Object.assign(contents, doc);
921
- return contents;
922
- };
923
- const de_ListGraphsCommand = async (output, context) => {
924
- if (output.statusCode !== 200 && output.statusCode >= 300) {
925
- return de_CommandError(output, context);
926
- }
927
- const contents = smithyClient.map({
928
- $metadata: deserializeMetadata(output),
929
- });
930
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
931
- const doc = smithyClient.take(data, {
932
- GraphList: (_) => de_GraphList(_),
933
- NextToken: smithyClient.expectString,
934
- });
935
- Object.assign(contents, doc);
936
- return contents;
937
- };
938
- const de_ListIndicatorsCommand = async (output, context) => {
939
- if (output.statusCode !== 200 && output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const contents = smithyClient.map({
943
- $metadata: deserializeMetadata(output),
944
- });
945
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
946
- const doc = smithyClient.take(data, {
947
- GraphArn: smithyClient.expectString,
948
- Indicators: smithyClient._json,
949
- InvestigationId: smithyClient.expectString,
950
- NextToken: smithyClient.expectString,
951
- });
952
- Object.assign(contents, doc);
953
- return contents;
954
- };
955
- const de_ListInvestigationsCommand = async (output, context) => {
956
- if (output.statusCode !== 200 && output.statusCode >= 300) {
957
- return de_CommandError(output, context);
958
- }
959
- const contents = smithyClient.map({
960
- $metadata: deserializeMetadata(output),
961
- });
962
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
963
- const doc = smithyClient.take(data, {
964
- InvestigationDetails: (_) => de_InvestigationDetails(_),
965
- NextToken: smithyClient.expectString,
966
- });
967
- Object.assign(contents, doc);
968
- return contents;
969
- };
970
- const de_ListInvitationsCommand = async (output, context) => {
971
- if (output.statusCode !== 200 && output.statusCode >= 300) {
972
- return de_CommandError(output, context);
973
- }
974
- const contents = smithyClient.map({
975
- $metadata: deserializeMetadata(output),
976
- });
977
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
978
- const doc = smithyClient.take(data, {
979
- Invitations: (_) => de_MemberDetailList(_),
980
- NextToken: smithyClient.expectString,
981
- });
982
- Object.assign(contents, doc);
983
- return contents;
984
- };
985
- const de_ListMembersCommand = async (output, context) => {
986
- if (output.statusCode !== 200 && output.statusCode >= 300) {
987
- return de_CommandError(output, context);
988
- }
989
- const contents = smithyClient.map({
990
- $metadata: deserializeMetadata(output),
991
- });
992
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
993
- const doc = smithyClient.take(data, {
994
- MemberDetails: (_) => de_MemberDetailList(_),
995
- NextToken: smithyClient.expectString,
996
- });
997
- Object.assign(contents, doc);
998
- return contents;
999
- };
1000
- const de_ListOrganizationAdminAccountsCommand = async (output, context) => {
1001
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1002
- return de_CommandError(output, context);
1003
- }
1004
- const contents = smithyClient.map({
1005
- $metadata: deserializeMetadata(output),
1006
- });
1007
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1008
- const doc = smithyClient.take(data, {
1009
- Administrators: (_) => de_AdministratorList(_),
1010
- NextToken: smithyClient.expectString,
1011
- });
1012
- Object.assign(contents, doc);
1013
- return contents;
1014
- };
1015
- const de_ListTagsForResourceCommand = async (output, context) => {
1016
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1017
- return de_CommandError(output, context);
1018
- }
1019
- const contents = smithyClient.map({
1020
- $metadata: deserializeMetadata(output),
1021
- });
1022
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1023
- const doc = smithyClient.take(data, {
1024
- Tags: smithyClient._json,
1025
- });
1026
- Object.assign(contents, doc);
1027
- return contents;
1028
- };
1029
- const de_RejectInvitationCommand = async (output, context) => {
1030
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1031
- return de_CommandError(output, context);
1032
- }
1033
- const contents = smithyClient.map({
1034
- $metadata: deserializeMetadata(output),
1035
- });
1036
- await smithyClient.collectBody(output.body, context);
1037
- return contents;
1038
- };
1039
- const de_StartInvestigationCommand = async (output, context) => {
1040
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1041
- return de_CommandError(output, context);
1042
- }
1043
- const contents = smithyClient.map({
1044
- $metadata: deserializeMetadata(output),
1045
- });
1046
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1047
- const doc = smithyClient.take(data, {
1048
- InvestigationId: smithyClient.expectString,
1049
- });
1050
- Object.assign(contents, doc);
1051
- return contents;
1052
- };
1053
- const de_StartMonitoringMemberCommand = async (output, context) => {
1054
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1055
- return de_CommandError(output, context);
1056
- }
1057
- const contents = smithyClient.map({
1058
- $metadata: deserializeMetadata(output),
1059
- });
1060
- await smithyClient.collectBody(output.body, context);
1061
- return contents;
1062
- };
1063
- const de_TagResourceCommand = async (output, context) => {
1064
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1065
- return de_CommandError(output, context);
1066
- }
1067
- const contents = smithyClient.map({
1068
- $metadata: deserializeMetadata(output),
1069
- });
1070
- await smithyClient.collectBody(output.body, context);
1071
- return contents;
1072
- };
1073
- const de_UntagResourceCommand = async (output, context) => {
1074
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1075
- return de_CommandError(output, context);
1076
- }
1077
- const contents = smithyClient.map({
1078
- $metadata: deserializeMetadata(output),
1079
- });
1080
- await smithyClient.collectBody(output.body, context);
1081
- return contents;
1082
- };
1083
- const de_UpdateDatasourcePackagesCommand = async (output, context) => {
1084
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
- return de_CommandError(output, context);
1086
- }
1087
- const contents = smithyClient.map({
1088
- $metadata: deserializeMetadata(output),
1089
- });
1090
- await smithyClient.collectBody(output.body, context);
1091
- return contents;
1092
- };
1093
- const de_UpdateInvestigationStateCommand = async (output, context) => {
1094
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1095
- return de_CommandError(output, context);
1096
- }
1097
- const contents = smithyClient.map({
1098
- $metadata: deserializeMetadata(output),
1099
- });
1100
- await smithyClient.collectBody(output.body, context);
1101
- return contents;
1102
- };
1103
- const de_UpdateOrganizationConfigurationCommand = async (output, context) => {
1104
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1105
- return de_CommandError(output, context);
1106
- }
1107
- const contents = smithyClient.map({
1108
- $metadata: deserializeMetadata(output),
1109
- });
1110
- await smithyClient.collectBody(output.body, context);
1111
- return contents;
1112
- };
1113
- const de_CommandError = async (output, context) => {
1114
- const parsedOutput = {
1115
- ...output,
1116
- body: await core$1.parseJsonErrorBody(output.body, context),
1117
- };
1118
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1119
- switch (errorCode) {
1120
- case "AccessDeniedException":
1121
- case "com.amazonaws.detective#AccessDeniedException":
1122
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1123
- case "ConflictException":
1124
- case "com.amazonaws.detective#ConflictException":
1125
- throw await de_ConflictExceptionRes(parsedOutput);
1126
- case "InternalServerException":
1127
- case "com.amazonaws.detective#InternalServerException":
1128
- throw await de_InternalServerExceptionRes(parsedOutput);
1129
- case "ResourceNotFoundException":
1130
- case "com.amazonaws.detective#ResourceNotFoundException":
1131
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1132
- case "ValidationException":
1133
- case "com.amazonaws.detective#ValidationException":
1134
- throw await de_ValidationExceptionRes(parsedOutput);
1135
- case "ServiceQuotaExceededException":
1136
- case "com.amazonaws.detective#ServiceQuotaExceededException":
1137
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1138
- case "TooManyRequestsException":
1139
- case "com.amazonaws.detective#TooManyRequestsException":
1140
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
1141
- default:
1142
- const parsedBody = parsedOutput.body;
1143
- return throwDefaultError({
1144
- output,
1145
- parsedBody,
1146
- errorCode,
1147
- });
1148
- }
1149
- };
1150
- const throwDefaultError = smithyClient.withBaseException(DetectiveServiceException);
1151
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1152
- const contents = smithyClient.map({});
1153
- const data = parsedOutput.body;
1154
- const doc = smithyClient.take(data, {
1155
- ErrorCode: smithyClient.expectString,
1156
- ErrorCodeReason: smithyClient.expectString,
1157
- Message: smithyClient.expectString,
1158
- SubErrorCode: smithyClient.expectString,
1159
- SubErrorCodeReason: smithyClient.expectString,
1160
- });
1161
- Object.assign(contents, doc);
1162
- const exception = new AccessDeniedException({
1163
- $metadata: deserializeMetadata(parsedOutput),
1164
- ...contents,
1165
- });
1166
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1167
- };
1168
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1169
- const contents = smithyClient.map({});
1170
- const data = parsedOutput.body;
1171
- const doc = smithyClient.take(data, {
1172
- Message: smithyClient.expectString,
1173
- });
1174
- Object.assign(contents, doc);
1175
- const exception = new ConflictException({
1176
- $metadata: deserializeMetadata(parsedOutput),
1177
- ...contents,
1178
- });
1179
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1180
- };
1181
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1182
- const contents = smithyClient.map({});
1183
- const data = parsedOutput.body;
1184
- const doc = smithyClient.take(data, {
1185
- Message: smithyClient.expectString,
1186
- });
1187
- Object.assign(contents, doc);
1188
- const exception = new InternalServerException({
1189
- $metadata: deserializeMetadata(parsedOutput),
1190
- ...contents,
1191
- });
1192
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1193
- };
1194
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1195
- const contents = smithyClient.map({});
1196
- const data = parsedOutput.body;
1197
- const doc = smithyClient.take(data, {
1198
- Message: smithyClient.expectString,
1199
- });
1200
- Object.assign(contents, doc);
1201
- const exception = new ResourceNotFoundException({
1202
- $metadata: deserializeMetadata(parsedOutput),
1203
- ...contents,
1204
- });
1205
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1206
- };
1207
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1208
- const contents = smithyClient.map({});
1209
- const data = parsedOutput.body;
1210
- const doc = smithyClient.take(data, {
1211
- Message: smithyClient.expectString,
1212
- Resources: smithyClient._json,
1213
- });
1214
- Object.assign(contents, doc);
1215
- const exception = new ServiceQuotaExceededException({
1216
- $metadata: deserializeMetadata(parsedOutput),
1217
- ...contents,
1218
- });
1219
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1220
- };
1221
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1222
- const contents = smithyClient.map({});
1223
- const data = parsedOutput.body;
1224
- const doc = smithyClient.take(data, {
1225
- Message: smithyClient.expectString,
1226
- });
1227
- Object.assign(contents, doc);
1228
- const exception = new TooManyRequestsException({
1229
- $metadata: deserializeMetadata(parsedOutput),
1230
- ...contents,
1231
- });
1232
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1233
- };
1234
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1235
- const contents = smithyClient.map({});
1236
- const data = parsedOutput.body;
1237
- const doc = smithyClient.take(data, {
1238
- ErrorCode: smithyClient.expectString,
1239
- ErrorCodeReason: smithyClient.expectString,
1240
- Message: smithyClient.expectString,
1241
- });
1242
- Object.assign(contents, doc);
1243
- const exception = new ValidationException({
1244
- $metadata: deserializeMetadata(parsedOutput),
1245
- ...contents,
1246
- });
1247
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1248
- };
1249
- const se_DateFilter = (input, context) => {
1250
- return smithyClient.take(input, {
1251
- EndInclusive: smithyClient.serializeDateTime,
1252
- StartInclusive: smithyClient.serializeDateTime,
1253
- });
1254
- };
1255
- const se_FilterCriteria = (input, context) => {
1256
- return smithyClient.take(input, {
1257
- CreatedTime: (_) => se_DateFilter(_),
1258
- EntityArn: smithyClient._json,
1259
- Severity: smithyClient._json,
1260
- State: smithyClient._json,
1261
- Status: smithyClient._json,
1262
- });
1263
- };
1264
- const de_Administrator = (output, context) => {
1265
- return smithyClient.take(output, {
1266
- AccountId: smithyClient.expectString,
1267
- DelegationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1268
- GraphArn: smithyClient.expectString,
1269
- });
1270
- };
1271
- const de_AdministratorList = (output, context) => {
1272
- const retVal = (output || [])
1273
- .filter((e) => e != null)
1274
- .map((entry) => {
1275
- return de_Administrator(entry);
1276
- });
1277
- return retVal;
1278
- };
1279
- const de_DatasourcePackageIngestDetail = (output, context) => {
1280
- return smithyClient.take(output, {
1281
- DatasourcePackageIngestState: smithyClient.expectString,
1282
- LastIngestStateChange: (_) => de_LastIngestStateChangeDates(_),
1283
- });
1284
- };
1285
- const de_DatasourcePackageIngestDetails = (output, context) => {
1286
- return Object.entries(output).reduce((acc, [key, value]) => {
1287
- if (value === null) {
1288
- return acc;
1289
- }
1290
- acc[key] = de_DatasourcePackageIngestDetail(value);
1291
- return acc;
1292
- }, {});
1293
- };
1294
- const de_DatasourcePackageIngestHistory = (output, context) => {
1295
- return Object.entries(output).reduce((acc, [key, value]) => {
1296
- if (value === null) {
1297
- return acc;
1298
- }
1299
- acc[key] = de_LastIngestStateChangeDates(value);
1300
- return acc;
1301
- }, {});
1302
- };
1303
- const de_DatasourcePackageUsageInfo = (output, context) => {
1304
- return smithyClient.take(output, {
1305
- VolumeUsageInBytes: smithyClient.expectLong,
1306
- VolumeUsageUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1307
- });
1308
- };
1309
- const de_Graph = (output, context) => {
1310
- return smithyClient.take(output, {
1311
- Arn: smithyClient.expectString,
1312
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1313
- });
1314
- };
1315
- const de_GraphList = (output, context) => {
1316
- const retVal = (output || [])
1317
- .filter((e) => e != null)
1318
- .map((entry) => {
1319
- return de_Graph(entry);
1320
- });
1321
- return retVal;
1322
- };
1323
- const de_InvestigationDetail = (output, context) => {
1324
- return smithyClient.take(output, {
1325
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1326
- EntityArn: smithyClient.expectString,
1327
- EntityType: smithyClient.expectString,
1328
- InvestigationId: smithyClient.expectString,
1329
- Severity: smithyClient.expectString,
1330
- State: smithyClient.expectString,
1331
- Status: smithyClient.expectString,
1332
- });
1333
- };
1334
- const de_InvestigationDetails = (output, context) => {
1335
- const retVal = (output || [])
1336
- .filter((e) => e != null)
1337
- .map((entry) => {
1338
- return de_InvestigationDetail(entry);
1339
- });
1340
- return retVal;
1341
- };
1342
- const de_LastIngestStateChangeDates = (output, context) => {
1343
- return Object.entries(output).reduce((acc, [key, value]) => {
1344
- if (value === null) {
1345
- return acc;
1346
- }
1347
- acc[key] = de_TimestampForCollection(value);
1348
- return acc;
1349
- }, {});
1350
- };
1351
- const de_MemberDetail = (output, context) => {
1352
- return smithyClient.take(output, {
1353
- AccountId: smithyClient.expectString,
1354
- AdministratorId: smithyClient.expectString,
1355
- DatasourcePackageIngestStates: smithyClient._json,
1356
- DisabledReason: smithyClient.expectString,
1357
- EmailAddress: smithyClient.expectString,
1358
- GraphArn: smithyClient.expectString,
1359
- InvitationType: smithyClient.expectString,
1360
- InvitedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1361
- MasterId: smithyClient.expectString,
1362
- PercentOfGraphUtilization: smithyClient.limitedParseDouble,
1363
- PercentOfGraphUtilizationUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1364
- Status: smithyClient.expectString,
1365
- UpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1366
- VolumeUsageByDatasourcePackage: (_) => de_VolumeUsageByDatasourcePackage(_),
1367
- VolumeUsageInBytes: smithyClient.expectLong,
1368
- VolumeUsageUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1369
- });
1370
- };
1371
- const de_MemberDetailList = (output, context) => {
1372
- const retVal = (output || [])
1373
- .filter((e) => e != null)
1374
- .map((entry) => {
1375
- return de_MemberDetail(entry);
1376
- });
1377
- return retVal;
1378
- };
1379
- const de_MembershipDatasources = (output, context) => {
1380
- return smithyClient.take(output, {
1381
- AccountId: smithyClient.expectString,
1382
- DatasourcePackageIngestHistory: (_) => de_DatasourcePackageIngestHistory(_),
1383
- GraphArn: smithyClient.expectString,
1384
- });
1385
- };
1386
- const de_MembershipDatasourcesList = (output, context) => {
1387
- const retVal = (output || [])
1388
- .filter((e) => e != null)
1389
- .map((entry) => {
1390
- return de_MembershipDatasources(entry);
1391
- });
1392
- return retVal;
1393
- };
1394
- const de_TimestampForCollection = (output, context) => {
1395
- return smithyClient.take(output, {
1396
- Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1397
- });
1398
- };
1399
- const de_VolumeUsageByDatasourcePackage = (output, context) => {
1400
- return Object.entries(output).reduce((acc, [key, value]) => {
1401
- if (value === null) {
1402
- return acc;
1403
- }
1404
- acc[key] = de_DatasourcePackageUsageInfo(value);
1405
- return acc;
1406
- }, {});
1407
- };
1408
- const deserializeMetadata = (output) => ({
1409
- httpStatusCode: output.statusCode,
1410
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1411
- extendedRequestId: output.headers["x-amz-id-2"],
1412
- cfId: output.headers["x-amz-cf-id"],
1413
- });
305
+ const _A = "Account";
306
+ const _ADE = "AccessDeniedException";
307
+ const _AE = "AutoEnable";
308
+ const _AI = "AccountId";
309
+ const _AIR = "AcceptInvitationRequest";
310
+ const _AIc = "AccountIds";
311
+ const _AIcc = "AcceptInvitation";
312
+ const _AId = "AdministratorId";
313
+ const _AL = "AccountList";
314
+ const _ALd = "AdministratorList";
315
+ const _APIFC = "APIFailureCount";
316
+ const _APIN = "APIName";
317
+ const _APISC = "APISuccessCount";
318
+ const _Ac = "Accounts";
319
+ const _Ad = "Administrator";
320
+ const _Adm = "Administrators";
321
+ const _Ar = "Arn";
322
+ const _As = "Aso";
323
+ const _BGGMD = "BatchGetGraphMemberDatasources";
324
+ const _BGGMDR = "BatchGetGraphMemberDatasourcesRequest";
325
+ const _BGGMDRa = "BatchGetGraphMemberDatasourcesResponse";
326
+ const _BGMD = "BatchGetMembershipDatasources";
327
+ const _BGMDR = "BatchGetMembershipDatasourcesRequest";
328
+ const _BGMDRa = "BatchGetMembershipDatasourcesResponse";
329
+ const _CE = "ConflictException";
330
+ const _CG = "CreateGraph";
331
+ const _CGR = "CreateGraphRequest";
332
+ const _CGRr = "CreateGraphResponse";
333
+ const _CM = "CreateMembers";
334
+ const _CMR = "CreateMembersRequest";
335
+ const _CMRr = "CreateMembersResponse";
336
+ const _CT = "CreatedTime";
337
+ const _DEN = "DisableEmailNotification";
338
+ const _DF = "DateFilter";
339
+ const _DG = "DeleteGraph";
340
+ const _DGR = "DeleteGraphRequest";
341
+ const _DM = "DeleteMembers";
342
+ const _DMR = "DeleteMembersRequest";
343
+ const _DMRe = "DeleteMembersResponse";
344
+ const _DMRi = "DisassociateMembershipRequest";
345
+ const _DMi = "DisassociateMembership";
346
+ const _DOAA = "DisableOrganizationAdminAccount";
347
+ const _DOC = "DescribeOrganizationConfiguration";
348
+ const _DOCR = "DescribeOrganizationConfigurationRequest";
349
+ const _DOCRe = "DescribeOrganizationConfigurationResponse";
350
+ const _DP = "DatasourcePackages";
351
+ const _DPID = "DatasourcePackageIngestDetail";
352
+ const _DPIDa = "DatasourcePackageIngestDetails";
353
+ const _DPIH = "DatasourcePackageIngestHistory";
354
+ const _DPIS = "DatasourcePackageIngestState";
355
+ const _DPISa = "DatasourcePackageIngestStates";
356
+ const _DPUI = "DatasourcePackageUsageInfo";
357
+ const _DR = "DisabledReason";
358
+ const _DT = "DelegationTime";
359
+ const _EA = "EmailAddress";
360
+ const _EAn = "EntityArn";
361
+ const _EC = "ErrorCode";
362
+ const _ECR = "ErrorCodeReason";
363
+ const _EI = "EndInclusive";
364
+ const _EIA = "EndingIpAddress";
365
+ const _EL = "EndingLocation";
366
+ const _EM = "EmailMessage";
367
+ const _EOAA = "EnableOrganizationAdminAccount";
368
+ const _EOAAR = "EnableOrganizationAdminAccountRequest";
369
+ const _ET = "EntityType";
370
+ const _F = "Field";
371
+ const _FC = "FilterCriteria";
372
+ const _FIAD = "FlaggedIpAddressDetail";
373
+ const _G = "Graph";
374
+ const _GA = "GraphArn";
375
+ const _GAr = "GraphArns";
376
+ const _GI = "GetInvestigation";
377
+ const _GIR = "GetInvestigationRequest";
378
+ const _GIRe = "GetInvestigationResponse";
379
+ const _GL = "GraphList";
380
+ const _GM = "GetMembers";
381
+ const _GMR = "GetMembersRequest";
382
+ const _GMRe = "GetMembersResponse";
383
+ const _HTD = "HourlyTimeDelta";
384
+ const _I = "Indicator";
385
+ const _IA = "IpAddress";
386
+ const _ID = "IndicatorDetail";
387
+ const _IDn = "InvestigationDetail";
388
+ const _IDnv = "InvestigationDetails";
389
+ const _II = "InvestigationId";
390
+ const _INFEA = "IsNewForEntireAccount";
391
+ const _ISE = "InternalServerException";
392
+ const _IT = "IndicatorType";
393
+ const _ITD = "ImpossibleTravelDetail";
394
+ const _ITn = "InvitedTime";
395
+ const _ITnv = "InvitationType";
396
+ const _Id = "Id";
397
+ const _In = "Indicators";
398
+ const _Inv = "Invitations";
399
+ const _L = "Location";
400
+ const _LDP = "ListDatasourcePackages";
401
+ const _LDPR = "ListDatasourcePackagesRequest";
402
+ const _LDPRi = "ListDatasourcePackagesResponse";
403
+ const _LG = "ListGraphs";
404
+ const _LGR = "ListGraphsRequest";
405
+ const _LGRi = "ListGraphsResponse";
406
+ const _LI = "ListIndicators";
407
+ const _LIR = "ListIndicatorsRequest";
408
+ const _LIRi = "ListIndicatorsResponse";
409
+ const _LIRis = "ListInvestigationsRequest";
410
+ const _LIRist = "ListInvestigationsResponse";
411
+ const _LIRistn = "ListInvitationsRequest";
412
+ const _LIRistnv = "ListInvitationsResponse";
413
+ const _LISC = "LastIngestStateChange";
414
+ const _LISCD = "LastIngestStateChangeDates";
415
+ const _LIi = "ListInvestigations";
416
+ const _LIis = "ListInvitations";
417
+ const _LM = "ListMembers";
418
+ const _LMR = "ListMembersRequest";
419
+ const _LMRi = "ListMembersResponse";
420
+ const _LOAA = "ListOrganizationAdminAccounts";
421
+ const _LOAAR = "ListOrganizationAdminAccountsRequest";
422
+ const _LOAARi = "ListOrganizationAdminAccountsResponse";
423
+ const _LTFR = "ListTagsForResource";
424
+ const _LTFRR = "ListTagsForResourceRequest";
425
+ const _LTFRRi = "ListTagsForResourceResponse";
426
+ const _M = "Message";
427
+ const _MD = "MemberDatasources";
428
+ const _MDL = "MemberDetailList";
429
+ const _MDLe = "MembershipDatasourcesList";
430
+ const _MDe = "MembershipDatasources";
431
+ const _MDem = "MemberDetails";
432
+ const _MDemb = "MemberDetail";
433
+ const _MI = "MasterId";
434
+ const _MR = "MaxResults";
435
+ const _Me = "Members";
436
+ const _NAD = "NewAsoDetail";
437
+ const _NGD = "NewGeolocationDetail";
438
+ const _NT = "NextToken";
439
+ const _NUAD = "NewUserAgentDetail";
440
+ const _P = "Procedure";
441
+ const _POGU = "PercentOfGraphUtilization";
442
+ const _POGUUT = "PercentOfGraphUtilizationUpdatedTime";
443
+ const _R = "Reason";
444
+ const _RA = "ResourceArn";
445
+ const _RFD = "RelatedFindingDetail";
446
+ const _RFGD = "RelatedFindingGroupDetail";
447
+ const _RI = "RejectInvitation";
448
+ const _RIR = "RejectInvitationRequest";
449
+ const _RNFE = "ResourceNotFoundException";
450
+ const _Re = "Resources";
451
+ const _S = "Severity";
452
+ const _SC = "SortCriteria";
453
+ const _SEC = "SubErrorCode";
454
+ const _SECR = "SubErrorCodeReason";
455
+ const _SET = "ScopeEndTime";
456
+ const _SF = "StringFilter";
457
+ const _SI = "StartInclusive";
458
+ const _SIA = "StartingIpAddress";
459
+ const _SIR = "StartInvestigationRequest";
460
+ const _SIRt = "StartInvestigationResponse";
461
+ const _SIt = "StartInvestigation";
462
+ const _SL = "StartingLocation";
463
+ const _SMM = "StartMonitoringMember";
464
+ const _SMMR = "StartMonitoringMemberRequest";
465
+ const _SO = "SortOrder";
466
+ const _SQEE = "ServiceQuotaExceededException";
467
+ const _SST = "ScopeStartTime";
468
+ const _St = "Status";
469
+ const _Sta = "State";
470
+ const _T = "Tags";
471
+ const _TFC = "TimestampForCollection";
1414
472
  const _TK = "TagKeys";
473
+ const _TMRE = "TooManyRequestsException";
474
+ const _TR = "TagResource";
475
+ const _TRR = "TagResourceRequest";
476
+ const _TRRa = "TagResourceResponse";
477
+ const _TTPOD = "TTPsObservedDetail";
478
+ const _Ta = "Tactic";
479
+ const _Te = "Technique";
480
+ const _Ti = "Timestamp";
481
+ const _Ty = "Type";
482
+ const _UA = "UnprocessedAccounts";
483
+ const _UAL = "UnprocessedAccountList";
484
+ const _UAn = "UnprocessedAccount";
485
+ const _UAs = "UserAgent";
486
+ const _UDP = "UpdateDatasourcePackages";
487
+ const _UDPR = "UpdateDatasourcePackagesRequest";
488
+ const _UG = "UnprocessedGraphs";
489
+ const _UGL = "UnprocessedGraphList";
490
+ const _UGn = "UnprocessedGraph";
491
+ const _UIS = "UpdateInvestigationState";
492
+ const _UISR = "UpdateInvestigationStateRequest";
493
+ const _UOC = "UpdateOrganizationConfiguration";
494
+ const _UOCR = "UpdateOrganizationConfigurationRequest";
495
+ const _UR = "UntagResource";
496
+ const _URR = "UntagResourceRequest";
497
+ const _URRn = "UntagResourceResponse";
498
+ const _UT = "UpdatedTime";
499
+ const _V = "Value";
500
+ const _VE = "ValidationException";
501
+ const _VUBDP = "VolumeUsageByDatasourcePackage";
502
+ const _VUIB = "VolumeUsageInBytes";
503
+ const _VUUT = "VolumeUsageUpdateTime";
504
+ const _VUUTo = "VolumeUsageUpdatedTime";
505
+ const _c = "client";
506
+ const _e = "error";
507
+ const _h = "http";
508
+ const _hE = "httpError";
509
+ const _hQ = "httpQuery";
510
+ const _s = "server";
511
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.detective";
1415
512
  const _tK = "tagKeys";
513
+ const n0 = "com.amazonaws.detective";
514
+ var EmailAddress = [0, n0, _EA, 8, 0];
515
+ var EmailMessage = [0, n0, _EM, 8, 0];
516
+ var AcceptInvitationRequest = [3, n0, _AIR, 0, [_GA], [0]];
517
+ var AccessDeniedException = [
518
+ -3,
519
+ n0,
520
+ _ADE,
521
+ {
522
+ [_e]: _c,
523
+ [_hE]: 403,
524
+ },
525
+ [_M, _EC, _ECR, _SEC, _SECR],
526
+ [0, 0, 0, 0, 0],
527
+ ];
528
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
529
+ var Account = [3, n0, _A, 0, [_AI, _EA], [0, [() => EmailAddress, 0]]];
530
+ var Administrator = [3, n0, _Ad, 0, [_AI, _GA, _DT], [0, 0, 5]];
531
+ var BatchGetGraphMemberDatasourcesRequest = [3, n0, _BGGMDR, 0, [_GA, _AIc], [0, 64 | 0]];
532
+ var BatchGetGraphMemberDatasourcesResponse = [
533
+ 3,
534
+ n0,
535
+ _BGGMDRa,
536
+ 0,
537
+ [_MD, _UA],
538
+ [() => MembershipDatasourcesList, () => UnprocessedAccountList],
539
+ ];
540
+ var BatchGetMembershipDatasourcesRequest = [3, n0, _BGMDR, 0, [_GAr], [64 | 0]];
541
+ var BatchGetMembershipDatasourcesResponse = [
542
+ 3,
543
+ n0,
544
+ _BGMDRa,
545
+ 0,
546
+ [_MDe, _UG],
547
+ [() => MembershipDatasourcesList, () => UnprocessedGraphList],
548
+ ];
549
+ var ConflictException = [
550
+ -3,
551
+ n0,
552
+ _CE,
553
+ {
554
+ [_e]: _c,
555
+ [_hE]: 409,
556
+ },
557
+ [_M],
558
+ [0],
559
+ ];
560
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
561
+ var CreateGraphRequest = [3, n0, _CGR, 0, [_T], [128 | 0]];
562
+ var CreateGraphResponse = [3, n0, _CGRr, 0, [_GA], [0]];
563
+ var CreateMembersRequest = [
564
+ 3,
565
+ n0,
566
+ _CMR,
567
+ 0,
568
+ [_GA, _M, _DEN, _Ac],
569
+ [0, [() => EmailMessage, 0], 2, [() => AccountList, 0]],
570
+ ];
571
+ var CreateMembersResponse = [
572
+ 3,
573
+ n0,
574
+ _CMRr,
575
+ 0,
576
+ [_Me, _UA],
577
+ [[() => MemberDetailList, 0], () => UnprocessedAccountList],
578
+ ];
579
+ var DatasourcePackageIngestDetail = [
580
+ 3,
581
+ n0,
582
+ _DPID,
583
+ 0,
584
+ [_DPIS, _LISC],
585
+ [0, () => LastIngestStateChangeDates],
586
+ ];
587
+ var DatasourcePackageUsageInfo = [3, n0, _DPUI, 0, [_VUIB, _VUUT], [1, 5]];
588
+ var DateFilter = [3, n0, _DF, 0, [_SI, _EI], [5, 5]];
589
+ var DeleteGraphRequest = [3, n0, _DGR, 0, [_GA], [0]];
590
+ var DeleteMembersRequest = [3, n0, _DMR, 0, [_GA, _AIc], [0, 64 | 0]];
591
+ var DeleteMembersResponse = [
592
+ 3,
593
+ n0,
594
+ _DMRe,
595
+ 0,
596
+ [_AIc, _UA],
597
+ [64 | 0, () => UnprocessedAccountList],
598
+ ];
599
+ var DescribeOrganizationConfigurationRequest = [3, n0, _DOCR, 0, [_GA], [0]];
600
+ var DescribeOrganizationConfigurationResponse = [3, n0, _DOCRe, 0, [_AE], [2]];
601
+ var DisassociateMembershipRequest = [3, n0, _DMRi, 0, [_GA], [0]];
602
+ var EnableOrganizationAdminAccountRequest = [3, n0, _EOAAR, 0, [_AI], [0]];
603
+ var FilterCriteria = [
604
+ 3,
605
+ n0,
606
+ _FC,
607
+ 0,
608
+ [_S, _St, _Sta, _EAn, _CT],
609
+ [() => StringFilter, () => StringFilter, () => StringFilter, () => StringFilter, () => DateFilter],
610
+ ];
611
+ var FlaggedIpAddressDetail = [3, n0, _FIAD, 0, [_IA, _R], [0, 0]];
612
+ var GetInvestigationRequest = [3, n0, _GIR, 0, [_GA, _II], [0, 0]];
613
+ var GetInvestigationResponse = [
614
+ 3,
615
+ n0,
616
+ _GIRe,
617
+ 0,
618
+ [_GA, _II, _EAn, _ET, _CT, _SST, _SET, _St, _S, _Sta],
619
+ [0, 0, 0, 0, 5, 5, 5, 0, 0, 0],
620
+ ];
621
+ var GetMembersRequest = [3, n0, _GMR, 0, [_GA, _AIc], [0, 64 | 0]];
622
+ var GetMembersResponse = [
623
+ 3,
624
+ n0,
625
+ _GMRe,
626
+ 0,
627
+ [_MDem, _UA],
628
+ [[() => MemberDetailList, 0], () => UnprocessedAccountList],
629
+ ];
630
+ var Graph = [3, n0, _G, 0, [_Ar, _CT], [0, 5]];
631
+ var ImpossibleTravelDetail = [
632
+ 3,
633
+ n0,
634
+ _ITD,
635
+ 0,
636
+ [_SIA, _EIA, _SL, _EL, _HTD],
637
+ [0, 0, 0, 0, 1],
638
+ ];
639
+ var Indicator = [3, n0, _I, 0, [_IT, _ID], [0, () => IndicatorDetail]];
640
+ var IndicatorDetail = [
641
+ 3,
642
+ n0,
643
+ _ID,
644
+ 0,
645
+ [_TTPOD, _ITD, _FIAD, _NGD, _NAD, _NUAD, _RFD, _RFGD],
646
+ [
647
+ () => TTPsObservedDetail,
648
+ () => ImpossibleTravelDetail,
649
+ () => FlaggedIpAddressDetail,
650
+ () => NewGeolocationDetail,
651
+ () => NewAsoDetail,
652
+ () => NewUserAgentDetail,
653
+ () => RelatedFindingDetail,
654
+ () => RelatedFindingGroupDetail,
655
+ ],
656
+ ];
657
+ var InternalServerException = [
658
+ -3,
659
+ n0,
660
+ _ISE,
661
+ {
662
+ [_e]: _s,
663
+ [_hE]: 500,
664
+ },
665
+ [_M],
666
+ [0],
667
+ ];
668
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
669
+ var InvestigationDetail = [
670
+ 3,
671
+ n0,
672
+ _IDn,
673
+ 0,
674
+ [_II, _S, _St, _Sta, _CT, _EAn, _ET],
675
+ [0, 0, 0, 0, 5, 0, 0],
676
+ ];
677
+ var ListDatasourcePackagesRequest = [3, n0, _LDPR, 0, [_GA, _NT, _MR], [0, 0, 1]];
678
+ var ListDatasourcePackagesResponse = [
679
+ 3,
680
+ n0,
681
+ _LDPRi,
682
+ 0,
683
+ [_DP, _NT],
684
+ [() => DatasourcePackageIngestDetails, 0],
685
+ ];
686
+ var ListGraphsRequest = [3, n0, _LGR, 0, [_NT, _MR], [0, 1]];
687
+ var ListGraphsResponse = [3, n0, _LGRi, 0, [_GL, _NT], [() => GraphList, 0]];
688
+ var ListIndicatorsRequest = [3, n0, _LIR, 0, [_GA, _II, _IT, _NT, _MR], [0, 0, 0, 0, 1]];
689
+ var ListIndicatorsResponse = [
690
+ 3,
691
+ n0,
692
+ _LIRi,
693
+ 0,
694
+ [_GA, _II, _NT, _In],
695
+ [0, 0, 0, () => Indicators],
696
+ ];
697
+ var ListInvestigationsRequest = [
698
+ 3,
699
+ n0,
700
+ _LIRis,
701
+ 0,
702
+ [_GA, _NT, _MR, _FC, _SC],
703
+ [0, 0, 1, () => FilterCriteria, () => SortCriteria],
704
+ ];
705
+ var ListInvestigationsResponse = [
706
+ 3,
707
+ n0,
708
+ _LIRist,
709
+ 0,
710
+ [_IDnv, _NT],
711
+ [() => InvestigationDetails, 0],
712
+ ];
713
+ var ListInvitationsRequest = [3, n0, _LIRistn, 0, [_NT, _MR], [0, 1]];
714
+ var ListInvitationsResponse = [
715
+ 3,
716
+ n0,
717
+ _LIRistnv,
718
+ 0,
719
+ [_Inv, _NT],
720
+ [[() => MemberDetailList, 0], 0],
721
+ ];
722
+ var ListMembersRequest = [3, n0, _LMR, 0, [_GA, _NT, _MR], [0, 0, 1]];
723
+ var ListMembersResponse = [
724
+ 3,
725
+ n0,
726
+ _LMRi,
727
+ 0,
728
+ [_MDem, _NT],
729
+ [[() => MemberDetailList, 0], 0],
730
+ ];
731
+ var ListOrganizationAdminAccountsRequest = [3, n0, _LOAAR, 0, [_NT, _MR], [0, 1]];
732
+ var ListOrganizationAdminAccountsResponse = [
733
+ 3,
734
+ n0,
735
+ _LOAARi,
736
+ 0,
737
+ [_Adm, _NT],
738
+ [() => AdministratorList, 0],
739
+ ];
740
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
741
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
742
+ var MemberDetail = [
743
+ 3,
744
+ n0,
745
+ _MDemb,
746
+ 0,
747
+ [_AI, _EA, _GA, _MI, _AId, _St, _DR, _ITn, _UT, _VUIB, _VUUTo, _POGU, _POGUUT, _ITnv, _VUBDP, _DPISa],
748
+ [0, [() => EmailAddress, 0], 0, 0, 0, 0, 0, 5, 5, 1, 5, 1, 5, 0, () => VolumeUsageByDatasourcePackage, 128 | 0],
749
+ ];
750
+ var MembershipDatasources = [
751
+ 3,
752
+ n0,
753
+ _MDe,
754
+ 0,
755
+ [_AI, _GA, _DPIH],
756
+ [0, 0, () => DatasourcePackageIngestHistory],
757
+ ];
758
+ var NewAsoDetail = [3, n0, _NAD, 0, [_As, _INFEA], [0, 2]];
759
+ var NewGeolocationDetail = [3, n0, _NGD, 0, [_L, _IA, _INFEA], [0, 0, 2]];
760
+ var NewUserAgentDetail = [3, n0, _NUAD, 0, [_UAs, _INFEA], [0, 2]];
761
+ var RejectInvitationRequest = [3, n0, _RIR, 0, [_GA], [0]];
762
+ var RelatedFindingDetail = [3, n0, _RFD, 0, [_Ar, _Ty, _IA], [0, 0, 0]];
763
+ var RelatedFindingGroupDetail = [3, n0, _RFGD, 0, [_Id], [0]];
764
+ var ResourceNotFoundException = [
765
+ -3,
766
+ n0,
767
+ _RNFE,
768
+ {
769
+ [_e]: _c,
770
+ [_hE]: 404,
771
+ },
772
+ [_M],
773
+ [0],
774
+ ];
775
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
776
+ var ServiceQuotaExceededException = [
777
+ -3,
778
+ n0,
779
+ _SQEE,
780
+ {
781
+ [_e]: _c,
782
+ [_hE]: 402,
783
+ },
784
+ [_M, _Re],
785
+ [0, 64 | 0],
786
+ ];
787
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
788
+ var SortCriteria = [3, n0, _SC, 0, [_F, _SO], [0, 0]];
789
+ var StartInvestigationRequest = [3, n0, _SIR, 0, [_GA, _EAn, _SST, _SET], [0, 0, 5, 5]];
790
+ var StartInvestigationResponse = [3, n0, _SIRt, 0, [_II], [0]];
791
+ var StartMonitoringMemberRequest = [3, n0, _SMMR, 0, [_GA, _AI], [0, 0]];
792
+ var StringFilter = [3, n0, _SF, 0, [_V], [0]];
793
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
794
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
795
+ var TimestampForCollection = [3, n0, _TFC, 0, [_Ti], [5]];
796
+ var TooManyRequestsException = [
797
+ -3,
798
+ n0,
799
+ _TMRE,
800
+ {
801
+ [_e]: _c,
802
+ [_hE]: 429,
803
+ },
804
+ [_M],
805
+ [0],
806
+ ];
807
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
808
+ var TTPsObservedDetail = [
809
+ 3,
810
+ n0,
811
+ _TTPOD,
812
+ 0,
813
+ [_Ta, _Te, _P, _IA, _APIN, _APISC, _APIFC],
814
+ [0, 0, 0, 0, 0, 1, 1],
815
+ ];
816
+ var UnprocessedAccount = [3, n0, _UAn, 0, [_AI, _R], [0, 0]];
817
+ var UnprocessedGraph = [3, n0, _UGn, 0, [_GA, _R], [0, 0]];
818
+ var UntagResourceRequest = [
819
+ 3,
820
+ n0,
821
+ _URR,
822
+ 0,
823
+ [_RA, _TK],
824
+ [
825
+ [0, 1],
826
+ [
827
+ 64 | 0,
828
+ {
829
+ [_hQ]: _tK,
830
+ },
831
+ ],
832
+ ],
833
+ ];
834
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
835
+ var UpdateDatasourcePackagesRequest = [3, n0, _UDPR, 0, [_GA, _DP], [0, 64 | 0]];
836
+ var UpdateInvestigationStateRequest = [3, n0, _UISR, 0, [_GA, _II, _Sta], [0, 0, 0]];
837
+ var UpdateOrganizationConfigurationRequest = [3, n0, _UOCR, 0, [_GA, _AE], [0, 2]];
838
+ var ValidationException = [
839
+ -3,
840
+ n0,
841
+ _VE,
842
+ {
843
+ [_e]: _c,
844
+ [_hE]: 400,
845
+ },
846
+ [_M, _EC, _ECR],
847
+ [0, 0, 0],
848
+ ];
849
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
850
+ var __Unit = "unit";
851
+ var DetectiveServiceException = [-3, _sm, "DetectiveServiceException", 0, [], []];
852
+ schema.TypeRegistry.for(_sm).registerError(DetectiveServiceException, DetectiveServiceException$1);
853
+ var AccountList = [1, n0, _AL, 0, [() => Account, 0]];
854
+ var AdministratorList = [1, n0, _ALd, 0, () => Administrator];
855
+ var GraphList = [1, n0, _GL, 0, () => Graph];
856
+ var Indicators = [1, n0, _In, 0, () => Indicator];
857
+ var InvestigationDetails = [1, n0, _IDnv, 0, () => InvestigationDetail];
858
+ var MemberDetailList = [1, n0, _MDL, 0, [() => MemberDetail, 0]];
859
+ var MembershipDatasourcesList = [1, n0, _MDLe, 0, () => MembershipDatasources];
860
+ var UnprocessedAccountList = [1, n0, _UAL, 0, () => UnprocessedAccount];
861
+ var UnprocessedGraphList = [1, n0, _UGL, 0, () => UnprocessedGraph];
862
+ var DatasourcePackageIngestDetails = [2, n0, _DPIDa, 0, 0, () => DatasourcePackageIngestDetail];
863
+ var DatasourcePackageIngestHistory = [2, n0, _DPIH, 0, 0, () => LastIngestStateChangeDates];
864
+ var LastIngestStateChangeDates = [2, n0, _LISCD, 0, 0, () => TimestampForCollection];
865
+ var VolumeUsageByDatasourcePackage = [2, n0, _VUBDP, 0, 0, () => DatasourcePackageUsageInfo];
866
+ var AcceptInvitation = [
867
+ 9,
868
+ n0,
869
+ _AIcc,
870
+ {
871
+ [_h]: ["PUT", "/invitation", 200],
872
+ },
873
+ () => AcceptInvitationRequest,
874
+ () => __Unit,
875
+ ];
876
+ var BatchGetGraphMemberDatasources = [
877
+ 9,
878
+ n0,
879
+ _BGGMD,
880
+ {
881
+ [_h]: ["POST", "/graph/datasources/get", 200],
882
+ },
883
+ () => BatchGetGraphMemberDatasourcesRequest,
884
+ () => BatchGetGraphMemberDatasourcesResponse,
885
+ ];
886
+ var BatchGetMembershipDatasources = [
887
+ 9,
888
+ n0,
889
+ _BGMD,
890
+ {
891
+ [_h]: ["POST", "/membership/datasources/get", 200],
892
+ },
893
+ () => BatchGetMembershipDatasourcesRequest,
894
+ () => BatchGetMembershipDatasourcesResponse,
895
+ ];
896
+ var CreateGraph = [
897
+ 9,
898
+ n0,
899
+ _CG,
900
+ {
901
+ [_h]: ["POST", "/graph", 200],
902
+ },
903
+ () => CreateGraphRequest,
904
+ () => CreateGraphResponse,
905
+ ];
906
+ var CreateMembers = [
907
+ 9,
908
+ n0,
909
+ _CM,
910
+ {
911
+ [_h]: ["POST", "/graph/members", 200],
912
+ },
913
+ () => CreateMembersRequest,
914
+ () => CreateMembersResponse,
915
+ ];
916
+ var DeleteGraph = [
917
+ 9,
918
+ n0,
919
+ _DG,
920
+ {
921
+ [_h]: ["POST", "/graph/removal", 200],
922
+ },
923
+ () => DeleteGraphRequest,
924
+ () => __Unit,
925
+ ];
926
+ var DeleteMembers = [
927
+ 9,
928
+ n0,
929
+ _DM,
930
+ {
931
+ [_h]: ["POST", "/graph/members/removal", 200],
932
+ },
933
+ () => DeleteMembersRequest,
934
+ () => DeleteMembersResponse,
935
+ ];
936
+ var DescribeOrganizationConfiguration = [
937
+ 9,
938
+ n0,
939
+ _DOC,
940
+ {
941
+ [_h]: ["POST", "/orgs/describeOrganizationConfiguration", 200],
942
+ },
943
+ () => DescribeOrganizationConfigurationRequest,
944
+ () => DescribeOrganizationConfigurationResponse,
945
+ ];
946
+ var DisableOrganizationAdminAccount = [
947
+ 9,
948
+ n0,
949
+ _DOAA,
950
+ {
951
+ [_h]: ["POST", "/orgs/disableAdminAccount", 200],
952
+ },
953
+ () => __Unit,
954
+ () => __Unit,
955
+ ];
956
+ var DisassociateMembership = [
957
+ 9,
958
+ n0,
959
+ _DMi,
960
+ {
961
+ [_h]: ["POST", "/membership/removal", 200],
962
+ },
963
+ () => DisassociateMembershipRequest,
964
+ () => __Unit,
965
+ ];
966
+ var EnableOrganizationAdminAccount = [
967
+ 9,
968
+ n0,
969
+ _EOAA,
970
+ {
971
+ [_h]: ["POST", "/orgs/enableAdminAccount", 200],
972
+ },
973
+ () => EnableOrganizationAdminAccountRequest,
974
+ () => __Unit,
975
+ ];
976
+ var GetInvestigation = [
977
+ 9,
978
+ n0,
979
+ _GI,
980
+ {
981
+ [_h]: ["POST", "/investigations/getInvestigation", 200],
982
+ },
983
+ () => GetInvestigationRequest,
984
+ () => GetInvestigationResponse,
985
+ ];
986
+ var GetMembers = [
987
+ 9,
988
+ n0,
989
+ _GM,
990
+ {
991
+ [_h]: ["POST", "/graph/members/get", 200],
992
+ },
993
+ () => GetMembersRequest,
994
+ () => GetMembersResponse,
995
+ ];
996
+ var ListDatasourcePackages = [
997
+ 9,
998
+ n0,
999
+ _LDP,
1000
+ {
1001
+ [_h]: ["POST", "/graph/datasources/list", 200],
1002
+ },
1003
+ () => ListDatasourcePackagesRequest,
1004
+ () => ListDatasourcePackagesResponse,
1005
+ ];
1006
+ var ListGraphs = [
1007
+ 9,
1008
+ n0,
1009
+ _LG,
1010
+ {
1011
+ [_h]: ["POST", "/graphs/list", 200],
1012
+ },
1013
+ () => ListGraphsRequest,
1014
+ () => ListGraphsResponse,
1015
+ ];
1016
+ var ListIndicators = [
1017
+ 9,
1018
+ n0,
1019
+ _LI,
1020
+ {
1021
+ [_h]: ["POST", "/investigations/listIndicators", 200],
1022
+ },
1023
+ () => ListIndicatorsRequest,
1024
+ () => ListIndicatorsResponse,
1025
+ ];
1026
+ var ListInvestigations = [
1027
+ 9,
1028
+ n0,
1029
+ _LIi,
1030
+ {
1031
+ [_h]: ["POST", "/investigations/listInvestigations", 200],
1032
+ },
1033
+ () => ListInvestigationsRequest,
1034
+ () => ListInvestigationsResponse,
1035
+ ];
1036
+ var ListInvitations = [
1037
+ 9,
1038
+ n0,
1039
+ _LIis,
1040
+ {
1041
+ [_h]: ["POST", "/invitations/list", 200],
1042
+ },
1043
+ () => ListInvitationsRequest,
1044
+ () => ListInvitationsResponse,
1045
+ ];
1046
+ var ListMembers = [
1047
+ 9,
1048
+ n0,
1049
+ _LM,
1050
+ {
1051
+ [_h]: ["POST", "/graph/members/list", 200],
1052
+ },
1053
+ () => ListMembersRequest,
1054
+ () => ListMembersResponse,
1055
+ ];
1056
+ var ListOrganizationAdminAccounts = [
1057
+ 9,
1058
+ n0,
1059
+ _LOAA,
1060
+ {
1061
+ [_h]: ["POST", "/orgs/adminAccountslist", 200],
1062
+ },
1063
+ () => ListOrganizationAdminAccountsRequest,
1064
+ () => ListOrganizationAdminAccountsResponse,
1065
+ ];
1066
+ var ListTagsForResource = [
1067
+ 9,
1068
+ n0,
1069
+ _LTFR,
1070
+ {
1071
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1072
+ },
1073
+ () => ListTagsForResourceRequest,
1074
+ () => ListTagsForResourceResponse,
1075
+ ];
1076
+ var RejectInvitation = [
1077
+ 9,
1078
+ n0,
1079
+ _RI,
1080
+ {
1081
+ [_h]: ["POST", "/invitation/removal", 200],
1082
+ },
1083
+ () => RejectInvitationRequest,
1084
+ () => __Unit,
1085
+ ];
1086
+ var StartInvestigation = [
1087
+ 9,
1088
+ n0,
1089
+ _SIt,
1090
+ {
1091
+ [_h]: ["POST", "/investigations/startInvestigation", 200],
1092
+ },
1093
+ () => StartInvestigationRequest,
1094
+ () => StartInvestigationResponse,
1095
+ ];
1096
+ var StartMonitoringMember = [
1097
+ 9,
1098
+ n0,
1099
+ _SMM,
1100
+ {
1101
+ [_h]: ["POST", "/graph/member/monitoringstate", 200],
1102
+ },
1103
+ () => StartMonitoringMemberRequest,
1104
+ () => __Unit,
1105
+ ];
1106
+ var TagResource = [
1107
+ 9,
1108
+ n0,
1109
+ _TR,
1110
+ {
1111
+ [_h]: ["POST", "/tags/{ResourceArn}", 204],
1112
+ },
1113
+ () => TagResourceRequest,
1114
+ () => TagResourceResponse,
1115
+ ];
1116
+ var UntagResource = [
1117
+ 9,
1118
+ n0,
1119
+ _UR,
1120
+ {
1121
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
1122
+ },
1123
+ () => UntagResourceRequest,
1124
+ () => UntagResourceResponse,
1125
+ ];
1126
+ var UpdateDatasourcePackages = [
1127
+ 9,
1128
+ n0,
1129
+ _UDP,
1130
+ {
1131
+ [_h]: ["POST", "/graph/datasources/update", 200],
1132
+ },
1133
+ () => UpdateDatasourcePackagesRequest,
1134
+ () => __Unit,
1135
+ ];
1136
+ var UpdateInvestigationState = [
1137
+ 9,
1138
+ n0,
1139
+ _UIS,
1140
+ {
1141
+ [_h]: ["POST", "/investigations/updateInvestigationState", 200],
1142
+ },
1143
+ () => UpdateInvestigationStateRequest,
1144
+ () => __Unit,
1145
+ ];
1146
+ var UpdateOrganizationConfiguration = [
1147
+ 9,
1148
+ n0,
1149
+ _UOC,
1150
+ {
1151
+ [_h]: ["POST", "/orgs/updateOrganizationConfiguration", 200],
1152
+ },
1153
+ () => UpdateOrganizationConfigurationRequest,
1154
+ () => __Unit,
1155
+ ];
1416
1156
 
1417
1157
  class AcceptInvitationCommand extends smithyClient.Command
1418
1158
  .classBuilder()
1419
1159
  .ep(commonParams)
1420
1160
  .m(function (Command, cs, config, o) {
1421
- return [
1422
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
- ];
1161
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
1162
  })
1426
1163
  .s("AmazonDetective", "AcceptInvitation", {})
1427
1164
  .n("DetectiveClient", "AcceptInvitationCommand")
1428
- .f(void 0, void 0)
1429
- .ser(se_AcceptInvitationCommand)
1430
- .de(de_AcceptInvitationCommand)
1165
+ .sc(AcceptInvitation)
1431
1166
  .build() {
1432
1167
  }
1433
1168
 
@@ -1435,16 +1170,11 @@ class BatchGetGraphMemberDatasourcesCommand extends smithyClient.Command
1435
1170
  .classBuilder()
1436
1171
  .ep(commonParams)
1437
1172
  .m(function (Command, cs, config, o) {
1438
- return [
1439
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1440
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1441
- ];
1173
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
1174
  })
1443
1175
  .s("AmazonDetective", "BatchGetGraphMemberDatasources", {})
1444
1176
  .n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand")
1445
- .f(void 0, void 0)
1446
- .ser(se_BatchGetGraphMemberDatasourcesCommand)
1447
- .de(de_BatchGetGraphMemberDatasourcesCommand)
1177
+ .sc(BatchGetGraphMemberDatasources)
1448
1178
  .build() {
1449
1179
  }
1450
1180
 
@@ -1452,16 +1182,11 @@ class BatchGetMembershipDatasourcesCommand extends smithyClient.Command
1452
1182
  .classBuilder()
1453
1183
  .ep(commonParams)
1454
1184
  .m(function (Command, cs, config, o) {
1455
- return [
1456
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
- ];
1185
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
1186
  })
1460
1187
  .s("AmazonDetective", "BatchGetMembershipDatasources", {})
1461
1188
  .n("DetectiveClient", "BatchGetMembershipDatasourcesCommand")
1462
- .f(void 0, void 0)
1463
- .ser(se_BatchGetMembershipDatasourcesCommand)
1464
- .de(de_BatchGetMembershipDatasourcesCommand)
1189
+ .sc(BatchGetMembershipDatasources)
1465
1190
  .build() {
1466
1191
  }
1467
1192
 
@@ -1469,16 +1194,11 @@ class CreateGraphCommand extends smithyClient.Command
1469
1194
  .classBuilder()
1470
1195
  .ep(commonParams)
1471
1196
  .m(function (Command, cs, config, o) {
1472
- return [
1473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
- ];
1197
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
1198
  })
1477
1199
  .s("AmazonDetective", "CreateGraph", {})
1478
1200
  .n("DetectiveClient", "CreateGraphCommand")
1479
- .f(void 0, void 0)
1480
- .ser(se_CreateGraphCommand)
1481
- .de(de_CreateGraphCommand)
1201
+ .sc(CreateGraph)
1482
1202
  .build() {
1483
1203
  }
1484
1204
 
@@ -1486,16 +1206,11 @@ class CreateMembersCommand extends smithyClient.Command
1486
1206
  .classBuilder()
1487
1207
  .ep(commonParams)
1488
1208
  .m(function (Command, cs, config, o) {
1489
- return [
1490
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1491
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1492
- ];
1209
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
1210
  })
1494
1211
  .s("AmazonDetective", "CreateMembers", {})
1495
1212
  .n("DetectiveClient", "CreateMembersCommand")
1496
- .f(CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog)
1497
- .ser(se_CreateMembersCommand)
1498
- .de(de_CreateMembersCommand)
1213
+ .sc(CreateMembers)
1499
1214
  .build() {
1500
1215
  }
1501
1216
 
@@ -1503,16 +1218,11 @@ class DeleteGraphCommand extends smithyClient.Command
1503
1218
  .classBuilder()
1504
1219
  .ep(commonParams)
1505
1220
  .m(function (Command, cs, config, o) {
1506
- return [
1507
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1508
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1509
- ];
1221
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
1222
  })
1511
1223
  .s("AmazonDetective", "DeleteGraph", {})
1512
1224
  .n("DetectiveClient", "DeleteGraphCommand")
1513
- .f(void 0, void 0)
1514
- .ser(se_DeleteGraphCommand)
1515
- .de(de_DeleteGraphCommand)
1225
+ .sc(DeleteGraph)
1516
1226
  .build() {
1517
1227
  }
1518
1228
 
@@ -1520,16 +1230,11 @@ class DeleteMembersCommand extends smithyClient.Command
1520
1230
  .classBuilder()
1521
1231
  .ep(commonParams)
1522
1232
  .m(function (Command, cs, config, o) {
1523
- return [
1524
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1525
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1526
- ];
1233
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
1234
  })
1528
1235
  .s("AmazonDetective", "DeleteMembers", {})
1529
1236
  .n("DetectiveClient", "DeleteMembersCommand")
1530
- .f(void 0, void 0)
1531
- .ser(se_DeleteMembersCommand)
1532
- .de(de_DeleteMembersCommand)
1237
+ .sc(DeleteMembers)
1533
1238
  .build() {
1534
1239
  }
1535
1240
 
@@ -1537,16 +1242,11 @@ class DescribeOrganizationConfigurationCommand extends smithyClient.Command
1537
1242
  .classBuilder()
1538
1243
  .ep(commonParams)
1539
1244
  .m(function (Command, cs, config, o) {
1540
- return [
1541
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1542
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1543
- ];
1245
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1544
1246
  })
1545
1247
  .s("AmazonDetective", "DescribeOrganizationConfiguration", {})
1546
1248
  .n("DetectiveClient", "DescribeOrganizationConfigurationCommand")
1547
- .f(void 0, void 0)
1548
- .ser(se_DescribeOrganizationConfigurationCommand)
1549
- .de(de_DescribeOrganizationConfigurationCommand)
1249
+ .sc(DescribeOrganizationConfiguration)
1550
1250
  .build() {
1551
1251
  }
1552
1252
 
@@ -1554,16 +1254,11 @@ class DisableOrganizationAdminAccountCommand extends smithyClient.Command
1554
1254
  .classBuilder()
1555
1255
  .ep(commonParams)
1556
1256
  .m(function (Command, cs, config, o) {
1557
- return [
1558
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1559
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1560
- ];
1257
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
1258
  })
1562
1259
  .s("AmazonDetective", "DisableOrganizationAdminAccount", {})
1563
1260
  .n("DetectiveClient", "DisableOrganizationAdminAccountCommand")
1564
- .f(void 0, void 0)
1565
- .ser(se_DisableOrganizationAdminAccountCommand)
1566
- .de(de_DisableOrganizationAdminAccountCommand)
1261
+ .sc(DisableOrganizationAdminAccount)
1567
1262
  .build() {
1568
1263
  }
1569
1264
 
@@ -1571,16 +1266,11 @@ class DisassociateMembershipCommand extends smithyClient.Command
1571
1266
  .classBuilder()
1572
1267
  .ep(commonParams)
1573
1268
  .m(function (Command, cs, config, o) {
1574
- return [
1575
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1576
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1577
- ];
1269
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1578
1270
  })
1579
1271
  .s("AmazonDetective", "DisassociateMembership", {})
1580
1272
  .n("DetectiveClient", "DisassociateMembershipCommand")
1581
- .f(void 0, void 0)
1582
- .ser(se_DisassociateMembershipCommand)
1583
- .de(de_DisassociateMembershipCommand)
1273
+ .sc(DisassociateMembership)
1584
1274
  .build() {
1585
1275
  }
1586
1276
 
@@ -1588,16 +1278,11 @@ class EnableOrganizationAdminAccountCommand extends smithyClient.Command
1588
1278
  .classBuilder()
1589
1279
  .ep(commonParams)
1590
1280
  .m(function (Command, cs, config, o) {
1591
- return [
1592
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1593
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1594
- ];
1281
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
1282
  })
1596
1283
  .s("AmazonDetective", "EnableOrganizationAdminAccount", {})
1597
1284
  .n("DetectiveClient", "EnableOrganizationAdminAccountCommand")
1598
- .f(void 0, void 0)
1599
- .ser(se_EnableOrganizationAdminAccountCommand)
1600
- .de(de_EnableOrganizationAdminAccountCommand)
1285
+ .sc(EnableOrganizationAdminAccount)
1601
1286
  .build() {
1602
1287
  }
1603
1288
 
@@ -1605,16 +1290,11 @@ class GetInvestigationCommand extends smithyClient.Command
1605
1290
  .classBuilder()
1606
1291
  .ep(commonParams)
1607
1292
  .m(function (Command, cs, config, o) {
1608
- return [
1609
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1610
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1611
- ];
1293
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
1294
  })
1613
1295
  .s("AmazonDetective", "GetInvestigation", {})
1614
1296
  .n("DetectiveClient", "GetInvestigationCommand")
1615
- .f(void 0, void 0)
1616
- .ser(se_GetInvestigationCommand)
1617
- .de(de_GetInvestigationCommand)
1297
+ .sc(GetInvestigation)
1618
1298
  .build() {
1619
1299
  }
1620
1300
 
@@ -1622,16 +1302,11 @@ class GetMembersCommand extends smithyClient.Command
1622
1302
  .classBuilder()
1623
1303
  .ep(commonParams)
1624
1304
  .m(function (Command, cs, config, o) {
1625
- return [
1626
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
- ];
1305
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
1306
  })
1630
1307
  .s("AmazonDetective", "GetMembers", {})
1631
1308
  .n("DetectiveClient", "GetMembersCommand")
1632
- .f(void 0, GetMembersResponseFilterSensitiveLog)
1633
- .ser(se_GetMembersCommand)
1634
- .de(de_GetMembersCommand)
1309
+ .sc(GetMembers)
1635
1310
  .build() {
1636
1311
  }
1637
1312
 
@@ -1639,16 +1314,11 @@ class ListDatasourcePackagesCommand extends smithyClient.Command
1639
1314
  .classBuilder()
1640
1315
  .ep(commonParams)
1641
1316
  .m(function (Command, cs, config, o) {
1642
- return [
1643
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
- ];
1317
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
1318
  })
1647
1319
  .s("AmazonDetective", "ListDatasourcePackages", {})
1648
1320
  .n("DetectiveClient", "ListDatasourcePackagesCommand")
1649
- .f(void 0, void 0)
1650
- .ser(se_ListDatasourcePackagesCommand)
1651
- .de(de_ListDatasourcePackagesCommand)
1321
+ .sc(ListDatasourcePackages)
1652
1322
  .build() {
1653
1323
  }
1654
1324
 
@@ -1656,16 +1326,11 @@ class ListGraphsCommand extends smithyClient.Command
1656
1326
  .classBuilder()
1657
1327
  .ep(commonParams)
1658
1328
  .m(function (Command, cs, config, o) {
1659
- return [
1660
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
- ];
1329
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
1330
  })
1664
1331
  .s("AmazonDetective", "ListGraphs", {})
1665
1332
  .n("DetectiveClient", "ListGraphsCommand")
1666
- .f(void 0, void 0)
1667
- .ser(se_ListGraphsCommand)
1668
- .de(de_ListGraphsCommand)
1333
+ .sc(ListGraphs)
1669
1334
  .build() {
1670
1335
  }
1671
1336
 
@@ -1673,16 +1338,11 @@ class ListIndicatorsCommand extends smithyClient.Command
1673
1338
  .classBuilder()
1674
1339
  .ep(commonParams)
1675
1340
  .m(function (Command, cs, config, o) {
1676
- return [
1677
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
- ];
1341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
1342
  })
1681
1343
  .s("AmazonDetective", "ListIndicators", {})
1682
1344
  .n("DetectiveClient", "ListIndicatorsCommand")
1683
- .f(void 0, void 0)
1684
- .ser(se_ListIndicatorsCommand)
1685
- .de(de_ListIndicatorsCommand)
1345
+ .sc(ListIndicators)
1686
1346
  .build() {
1687
1347
  }
1688
1348
 
@@ -1690,16 +1350,11 @@ class ListInvestigationsCommand extends smithyClient.Command
1690
1350
  .classBuilder()
1691
1351
  .ep(commonParams)
1692
1352
  .m(function (Command, cs, config, o) {
1693
- return [
1694
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
- ];
1353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1697
1354
  })
1698
1355
  .s("AmazonDetective", "ListInvestigations", {})
1699
1356
  .n("DetectiveClient", "ListInvestigationsCommand")
1700
- .f(void 0, void 0)
1701
- .ser(se_ListInvestigationsCommand)
1702
- .de(de_ListInvestigationsCommand)
1357
+ .sc(ListInvestigations)
1703
1358
  .build() {
1704
1359
  }
1705
1360
 
@@ -1707,16 +1362,11 @@ class ListInvitationsCommand extends smithyClient.Command
1707
1362
  .classBuilder()
1708
1363
  .ep(commonParams)
1709
1364
  .m(function (Command, cs, config, o) {
1710
- return [
1711
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
- ];
1365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
1366
  })
1715
1367
  .s("AmazonDetective", "ListInvitations", {})
1716
1368
  .n("DetectiveClient", "ListInvitationsCommand")
1717
- .f(void 0, ListInvitationsResponseFilterSensitiveLog)
1718
- .ser(se_ListInvitationsCommand)
1719
- .de(de_ListInvitationsCommand)
1369
+ .sc(ListInvitations)
1720
1370
  .build() {
1721
1371
  }
1722
1372
 
@@ -1724,16 +1374,11 @@ class ListMembersCommand extends smithyClient.Command
1724
1374
  .classBuilder()
1725
1375
  .ep(commonParams)
1726
1376
  .m(function (Command, cs, config, o) {
1727
- return [
1728
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
- ];
1377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
1378
  })
1732
1379
  .s("AmazonDetective", "ListMembers", {})
1733
1380
  .n("DetectiveClient", "ListMembersCommand")
1734
- .f(void 0, ListMembersResponseFilterSensitiveLog)
1735
- .ser(se_ListMembersCommand)
1736
- .de(de_ListMembersCommand)
1381
+ .sc(ListMembers)
1737
1382
  .build() {
1738
1383
  }
1739
1384
 
@@ -1741,16 +1386,11 @@ class ListOrganizationAdminAccountsCommand extends smithyClient.Command
1741
1386
  .classBuilder()
1742
1387
  .ep(commonParams)
1743
1388
  .m(function (Command, cs, config, o) {
1744
- return [
1745
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1746
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1747
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1748
1390
  })
1749
1391
  .s("AmazonDetective", "ListOrganizationAdminAccounts", {})
1750
1392
  .n("DetectiveClient", "ListOrganizationAdminAccountsCommand")
1751
- .f(void 0, void 0)
1752
- .ser(se_ListOrganizationAdminAccountsCommand)
1753
- .de(de_ListOrganizationAdminAccountsCommand)
1393
+ .sc(ListOrganizationAdminAccounts)
1754
1394
  .build() {
1755
1395
  }
1756
1396
 
@@ -1758,16 +1398,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1758
1398
  .classBuilder()
1759
1399
  .ep(commonParams)
1760
1400
  .m(function (Command, cs, config, o) {
1761
- return [
1762
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1765
1402
  })
1766
1403
  .s("AmazonDetective", "ListTagsForResource", {})
1767
1404
  .n("DetectiveClient", "ListTagsForResourceCommand")
1768
- .f(void 0, void 0)
1769
- .ser(se_ListTagsForResourceCommand)
1770
- .de(de_ListTagsForResourceCommand)
1405
+ .sc(ListTagsForResource)
1771
1406
  .build() {
1772
1407
  }
1773
1408
 
@@ -1775,16 +1410,11 @@ class RejectInvitationCommand extends smithyClient.Command
1775
1410
  .classBuilder()
1776
1411
  .ep(commonParams)
1777
1412
  .m(function (Command, cs, config, o) {
1778
- return [
1779
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1780
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1781
- ];
1413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1782
1414
  })
1783
1415
  .s("AmazonDetective", "RejectInvitation", {})
1784
1416
  .n("DetectiveClient", "RejectInvitationCommand")
1785
- .f(void 0, void 0)
1786
- .ser(se_RejectInvitationCommand)
1787
- .de(de_RejectInvitationCommand)
1417
+ .sc(RejectInvitation)
1788
1418
  .build() {
1789
1419
  }
1790
1420
 
@@ -1792,16 +1422,11 @@ class StartInvestigationCommand extends smithyClient.Command
1792
1422
  .classBuilder()
1793
1423
  .ep(commonParams)
1794
1424
  .m(function (Command, cs, config, o) {
1795
- return [
1796
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1797
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1798
- ];
1425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1799
1426
  })
1800
1427
  .s("AmazonDetective", "StartInvestigation", {})
1801
1428
  .n("DetectiveClient", "StartInvestigationCommand")
1802
- .f(void 0, void 0)
1803
- .ser(se_StartInvestigationCommand)
1804
- .de(de_StartInvestigationCommand)
1429
+ .sc(StartInvestigation)
1805
1430
  .build() {
1806
1431
  }
1807
1432
 
@@ -1809,16 +1434,11 @@ class StartMonitoringMemberCommand extends smithyClient.Command
1809
1434
  .classBuilder()
1810
1435
  .ep(commonParams)
1811
1436
  .m(function (Command, cs, config, o) {
1812
- return [
1813
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1814
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1815
- ];
1437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1816
1438
  })
1817
1439
  .s("AmazonDetective", "StartMonitoringMember", {})
1818
1440
  .n("DetectiveClient", "StartMonitoringMemberCommand")
1819
- .f(void 0, void 0)
1820
- .ser(se_StartMonitoringMemberCommand)
1821
- .de(de_StartMonitoringMemberCommand)
1441
+ .sc(StartMonitoringMember)
1822
1442
  .build() {
1823
1443
  }
1824
1444
 
@@ -1826,16 +1446,11 @@ class TagResourceCommand extends smithyClient.Command
1826
1446
  .classBuilder()
1827
1447
  .ep(commonParams)
1828
1448
  .m(function (Command, cs, config, o) {
1829
- return [
1830
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1831
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1832
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
1450
  })
1834
1451
  .s("AmazonDetective", "TagResource", {})
1835
1452
  .n("DetectiveClient", "TagResourceCommand")
1836
- .f(void 0, void 0)
1837
- .ser(se_TagResourceCommand)
1838
- .de(de_TagResourceCommand)
1453
+ .sc(TagResource)
1839
1454
  .build() {
1840
1455
  }
1841
1456
 
@@ -1843,16 +1458,11 @@ class UntagResourceCommand extends smithyClient.Command
1843
1458
  .classBuilder()
1844
1459
  .ep(commonParams)
1845
1460
  .m(function (Command, cs, config, o) {
1846
- return [
1847
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1848
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1849
- ];
1461
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1850
1462
  })
1851
1463
  .s("AmazonDetective", "UntagResource", {})
1852
1464
  .n("DetectiveClient", "UntagResourceCommand")
1853
- .f(void 0, void 0)
1854
- .ser(se_UntagResourceCommand)
1855
- .de(de_UntagResourceCommand)
1465
+ .sc(UntagResource)
1856
1466
  .build() {
1857
1467
  }
1858
1468
 
@@ -1860,16 +1470,11 @@ class UpdateDatasourcePackagesCommand extends smithyClient.Command
1860
1470
  .classBuilder()
1861
1471
  .ep(commonParams)
1862
1472
  .m(function (Command, cs, config, o) {
1863
- return [
1864
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1865
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1866
- ];
1473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1867
1474
  })
1868
1475
  .s("AmazonDetective", "UpdateDatasourcePackages", {})
1869
1476
  .n("DetectiveClient", "UpdateDatasourcePackagesCommand")
1870
- .f(void 0, void 0)
1871
- .ser(se_UpdateDatasourcePackagesCommand)
1872
- .de(de_UpdateDatasourcePackagesCommand)
1477
+ .sc(UpdateDatasourcePackages)
1873
1478
  .build() {
1874
1479
  }
1875
1480
 
@@ -1877,16 +1482,11 @@ class UpdateInvestigationStateCommand extends smithyClient.Command
1877
1482
  .classBuilder()
1878
1483
  .ep(commonParams)
1879
1484
  .m(function (Command, cs, config, o) {
1880
- return [
1881
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1882
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1883
- ];
1485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1884
1486
  })
1885
1487
  .s("AmazonDetective", "UpdateInvestigationState", {})
1886
1488
  .n("DetectiveClient", "UpdateInvestigationStateCommand")
1887
- .f(void 0, void 0)
1888
- .ser(se_UpdateInvestigationStateCommand)
1889
- .de(de_UpdateInvestigationStateCommand)
1489
+ .sc(UpdateInvestigationState)
1890
1490
  .build() {
1891
1491
  }
1892
1492
 
@@ -1894,16 +1494,11 @@ class UpdateOrganizationConfigurationCommand extends smithyClient.Command
1894
1494
  .classBuilder()
1895
1495
  .ep(commonParams)
1896
1496
  .m(function (Command, cs, config, o) {
1897
- return [
1898
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1899
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1900
- ];
1497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1901
1498
  })
1902
1499
  .s("AmazonDetective", "UpdateOrganizationConfiguration", {})
1903
1500
  .n("DetectiveClient", "UpdateOrganizationConfigurationCommand")
1904
- .f(void 0, void 0)
1905
- .ser(se_UpdateOrganizationConfigurationCommand)
1906
- .de(de_UpdateOrganizationConfigurationCommand)
1501
+ .sc(UpdateOrganizationConfiguration)
1907
1502
  .build() {
1908
1503
  }
1909
1504
 
@@ -1961,15 +1556,12 @@ Object.defineProperty(exports, "__Client", {
1961
1556
  get: function () { return smithyClient.Client; }
1962
1557
  });
1963
1558
  exports.AcceptInvitationCommand = AcceptInvitationCommand;
1964
- exports.AccessDeniedException = AccessDeniedException;
1965
- exports.AccountFilterSensitiveLog = AccountFilterSensitiveLog;
1559
+ exports.AccessDeniedException = AccessDeniedException$1;
1966
1560
  exports.BatchGetGraphMemberDatasourcesCommand = BatchGetGraphMemberDatasourcesCommand;
1967
1561
  exports.BatchGetMembershipDatasourcesCommand = BatchGetMembershipDatasourcesCommand;
1968
- exports.ConflictException = ConflictException;
1562
+ exports.ConflictException = ConflictException$1;
1969
1563
  exports.CreateGraphCommand = CreateGraphCommand;
1970
1564
  exports.CreateMembersCommand = CreateMembersCommand;
1971
- exports.CreateMembersRequestFilterSensitiveLog = CreateMembersRequestFilterSensitiveLog;
1972
- exports.CreateMembersResponseFilterSensitiveLog = CreateMembersResponseFilterSensitiveLog;
1973
1565
  exports.DatasourcePackage = DatasourcePackage;
1974
1566
  exports.DatasourcePackageIngestState = DatasourcePackageIngestState;
1975
1567
  exports.DeleteGraphCommand = DeleteGraphCommand;
@@ -1977,7 +1569,7 @@ exports.DeleteMembersCommand = DeleteMembersCommand;
1977
1569
  exports.DescribeOrganizationConfigurationCommand = DescribeOrganizationConfigurationCommand;
1978
1570
  exports.Detective = Detective;
1979
1571
  exports.DetectiveClient = DetectiveClient;
1980
- exports.DetectiveServiceException = DetectiveServiceException;
1572
+ exports.DetectiveServiceException = DetectiveServiceException$1;
1981
1573
  exports.DisableOrganizationAdminAccountCommand = DisableOrganizationAdminAccountCommand;
1982
1574
  exports.DisassociateMembershipCommand = DisassociateMembershipCommand;
1983
1575
  exports.EnableOrganizationAdminAccountCommand = EnableOrganizationAdminAccountCommand;
@@ -1986,27 +1578,23 @@ exports.ErrorCode = ErrorCode;
1986
1578
  exports.Field = Field;
1987
1579
  exports.GetInvestigationCommand = GetInvestigationCommand;
1988
1580
  exports.GetMembersCommand = GetMembersCommand;
1989
- exports.GetMembersResponseFilterSensitiveLog = GetMembersResponseFilterSensitiveLog;
1990
1581
  exports.IndicatorType = IndicatorType;
1991
- exports.InternalServerException = InternalServerException;
1582
+ exports.InternalServerException = InternalServerException$1;
1992
1583
  exports.InvitationType = InvitationType;
1993
1584
  exports.ListDatasourcePackagesCommand = ListDatasourcePackagesCommand;
1994
1585
  exports.ListGraphsCommand = ListGraphsCommand;
1995
1586
  exports.ListIndicatorsCommand = ListIndicatorsCommand;
1996
1587
  exports.ListInvestigationsCommand = ListInvestigationsCommand;
1997
1588
  exports.ListInvitationsCommand = ListInvitationsCommand;
1998
- exports.ListInvitationsResponseFilterSensitiveLog = ListInvitationsResponseFilterSensitiveLog;
1999
1589
  exports.ListMembersCommand = ListMembersCommand;
2000
- exports.ListMembersResponseFilterSensitiveLog = ListMembersResponseFilterSensitiveLog;
2001
1590
  exports.ListOrganizationAdminAccountsCommand = ListOrganizationAdminAccountsCommand;
2002
1591
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2003
- exports.MemberDetailFilterSensitiveLog = MemberDetailFilterSensitiveLog;
2004
1592
  exports.MemberDisabledReason = MemberDisabledReason;
2005
1593
  exports.MemberStatus = MemberStatus;
2006
1594
  exports.Reason = Reason;
2007
1595
  exports.RejectInvitationCommand = RejectInvitationCommand;
2008
- exports.ResourceNotFoundException = ResourceNotFoundException;
2009
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1596
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1597
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2010
1598
  exports.Severity = Severity;
2011
1599
  exports.SortOrder = SortOrder;
2012
1600
  exports.StartInvestigationCommand = StartInvestigationCommand;
@@ -2014,12 +1602,12 @@ exports.StartMonitoringMemberCommand = StartMonitoringMemberCommand;
2014
1602
  exports.State = State;
2015
1603
  exports.Status = Status;
2016
1604
  exports.TagResourceCommand = TagResourceCommand;
2017
- exports.TooManyRequestsException = TooManyRequestsException;
1605
+ exports.TooManyRequestsException = TooManyRequestsException$1;
2018
1606
  exports.UntagResourceCommand = UntagResourceCommand;
2019
1607
  exports.UpdateDatasourcePackagesCommand = UpdateDatasourcePackagesCommand;
2020
1608
  exports.UpdateInvestigationStateCommand = UpdateInvestigationStateCommand;
2021
1609
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
2022
- exports.ValidationException = ValidationException;
1610
+ exports.ValidationException = ValidationException$1;
2023
1611
  exports.paginateListDatasourcePackages = paginateListDatasourcePackages;
2024
1612
  exports.paginateListGraphs = paginateListGraphs;
2025
1613
  exports.paginateListInvitations = paginateListInvitations;