You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-detective): Added the ability to get data source package information for the behavior graph. Graph administrators can now start (or stop) optional datasources on the behavior graph.
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
274
+
this.send(command,optionsOrCb||{},cb);
275
+
}else{
276
+
returnthis.send(command,optionsOrCb);
277
+
}
278
+
}
279
+
194
280
/**
195
281
* <p>Creates a new behavior graph for the calling account, and sets that account as the
196
282
* administrator account. This operation is called by the account that is enabling Detective.</p>
@@ -405,11 +491,12 @@ export class Detective extends DetectiveClient {
405
491
}
406
492
407
493
/**
408
-
* <p>Removes the Detective administrator account for the organization in the current
409
-
* Region. Deletes the behavior graph for that account.</p>
410
-
* <p>Can only be called by the organization management account. Before you can select a
411
-
* different Detective administrator account, you must remove the Detective
412
-
* administrator account in all Regions.</p>
494
+
* <p>Removes the Detective administrator account in the current Region. Deletes the
495
+
* organization behavior graph.</p>
496
+
* <p>Can only be called by the organization management account.</p>
497
+
* <p>Removing the Detective administrator account does not affect the delegated
498
+
* administrator account for Detective in Organizations.</p>
499
+
* <p>To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.</p>
@@ -484,9 +571,13 @@ export class Detective extends DetectiveClient {
484
571
* <p>If the account does not have Detective enabled, then enables Detective
485
572
* for that account and creates a new behavior graph.</p>
486
573
* <p>Can only be called by the organization management account.</p>
487
-
* <p>The Detective administrator account for an organization must be the same in all
488
-
* Regions. If you already designated a Detective administrator account in another
489
-
* Region, then you must designate the same account.</p>
574
+
* <p>If the organization has a delegated administrator account in Organizations, then the
575
+
* Detective administrator account must be either the delegated administrator
576
+
* account or the organization management account.</p>
577
+
* <p>If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other
578
+
* than the organization management account, Detective calls Organizations to
579
+
* make that account the delegated administrator account for Detective. The
580
+
* organization management account cannot be the delegated administrator account.</p>
490
581
*/
491
582
publicenableOrganizationAdminAccount(
492
583
args: EnableOrganizationAdminAccountCommandInput,
@@ -544,6 +635,38 @@ export class Detective extends DetectiveClient {
544
635
}
545
636
}
546
637
638
+
/**
639
+
* <p>Lists data source packages in the behavior graph.</p>
0 commit comments