Skip to content

disassociate_from_master_account

Operation

disassociate_from_master_account

disassociate_from_master_account(request: DisassociateFromMasterAccountInput | DisassociateFromMasterAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateFromMasterAccountInputDict]) -> DisassociateFromMasterAccountOutput

Disassociates the current GuardDuty member account from its administrator account.

When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

Parameters:

Name Type Description Default
request DisassociateFromMasterAccountInput | DisassociateFromMasterAccountInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DisassociateFromMasterAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisassociateFromMasterAccountOutput

An instance of DisassociateFromMasterAccountOutput.

disassociate_from_master_account async

disassociate_from_master_account(request: DisassociateFromMasterAccountInput | DisassociateFromMasterAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateFromMasterAccountInputDict]) -> DisassociateFromMasterAccountOutput

Disassociates the current GuardDuty member account from its administrator account.

When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

Parameters:

Name Type Description Default
request DisassociateFromMasterAccountInput | DisassociateFromMasterAccountInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DisassociateFromMasterAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisassociateFromMasterAccountOutput

An instance of DisassociateFromMasterAccountOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DisassociateFromMasterAccountInputDict

Bases: TypedDict

Dictionary form of DisassociateFromMasterAccountInput.

Attributes

detector_id instance-attribute
detector_id: Required[str]

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

DisassociateFromMasterAccountInput dataclass

Bases: _SerdeShape

Dataclass for DisassociateFromMasterAccountInput structure.

Attributes

detector_id class-attribute instance-attribute
detector_id: str | None = ...

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

Output

DisassociateFromMasterAccountOutput dataclass

Bases: _SerdeShape

Dataclass for DisassociateFromMasterAccountOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.