accept_administrator_invitation

accept_administrator_invitation(**kwargs)

Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.

See also: AWS API Documentation

Request Syntax

response = client.accept_administrator_invitation(
    DetectorId='string',
    AdministratorId='string',
    InvitationId='string'
)
Parameters
  • DetectorId (string) --

    [REQUIRED]

    The unique ID of the detector of the GuardDuty member account.

  • AdministratorId (string) --

    [REQUIRED]

    The account ID of the GuardDuty administrator account whose invitation you're accepting.

  • InvitationId (string) --

    [REQUIRED]

    The value that is used to validate the administrator account to the member account.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException
  • GuardDuty.Client.exceptions.InternalServerErrorException