accept_invitation¶
Operation¶
accept_invitation
async
¶
accept_invitation(input: AcceptInvitationInput, plugins: list[Plugin] | None = None) -> AcceptInvitationOutput
Accepts the invitation to be monitored by a GuardDuty administrator account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
AcceptInvitationInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
AcceptInvitationOutput
|
An instance of |
Input¶
AcceptInvitationInput
dataclass
¶
Dataclass for AcceptInvitationInput structure.
Attributes¶
detector_id
class-attribute
instance-attribute
¶
detector_id: str | None = None
The unique ID of the detector of the GuardDuty member account.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
invitation_id
class-attribute
instance-attribute
¶
invitation_id: str | None = None
The value that is used to validate the administrator account to the member account.
master_id
class-attribute
instance-attribute
¶
master_id: str | None = None
The account ID of the GuardDuty administrator account whose invitation you're accepting.
Output¶
AcceptInvitationOutput
dataclass
¶
Dataclass for AcceptInvitationOutput structure.