accept_invitation
(**kwargs)¶Accepts the invitation to be monitored by a GuardDuty administrator account.
Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.accept_invitation(
DetectorId='string',
MasterId='string',
InvitationId='string'
)
[REQUIRED]
The unique ID of the detector of the GuardDuty member account.
[REQUIRED]
The account ID of the GuardDuty administrator account whose invitation you're accepting.
[REQUIRED]
The value that is used to validate the administrator account to the member account.
dict
Response Syntax
{}
Response Structure
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException