Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not needed. For more information, see Managing accounts with organizations.
See https://www.paws-r-sdk.com/docs/guardduty_invite_members/ for full documentation.
guardduty_invite_members(
DetectorId,
AccountIds,
DisableEmailNotification = NULL,
Message = NULL
)
[required] The unique ID of the detector of the GuardDuty account that you want to invite members with.
[required] A list of account IDs of the accounts that you want to invite to GuardDuty as members.
A Boolean value that specifies whether you want to disable email notification to the accounts that you are inviting to GuardDuty as members.
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.