2018/04/30 - Amazon GuardDuty - 1 updated api methods
Changes You can disable the email notification when inviting GuardDuty members using the disableEmailNotification parameter in the InviteMembers operation.
{'DisableEmailNotification': 'boolean'}
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.
See also: AWS API Documentation
Request Syntax
client.invite_members( AccountIds=[ 'string', ], DetectorId='string', DisableEmailNotification=True|False, Message='string' )
list
A list of account IDs of the accounts that you want to invite to GuardDuty as members.
(string) --
string
[REQUIRED] The unique ID of the detector of the GuardDuty account with which you want to invite members.
boolean
string
The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.
dict
Response Syntax
{ 'UnprocessedAccounts': [ { 'AccountId': 'string', 'Result': 'string' }, ] }
Response Structure
(dict) -- 200 response
UnprocessedAccounts (list) -- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
(dict) -- An object containing the unprocessed account and a result string explaining why it was unprocessed.
AccountId (string) -- AWS Account ID.
Result (string) -- A reason why the account hasn't been processed.