Amazon GuardDuty

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.

InviteMembers (updated) Link ¶
Changes (request)
{'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'
)
type AccountIds

list

param AccountIds

A list of account IDs of the accounts that you want to invite to GuardDuty as members.

  • (string) --

type DetectorId

string

param DetectorId

[REQUIRED] The unique ID of the detector of the GuardDuty account with which you want to invite members.

type DisableEmailNotification

boolean

param DisableEmailNotification

type Message

string

param Message

The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.

rtype

dict

returns

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.