Skip to content

disable_organization_admin_account

Operation

disable_organization_admin_account

disable_organization_admin_account(request: DisableOrganizationAdminAccountInput | DisableOrganizationAdminAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisableOrganizationAdminAccountInputDict]) -> DisableOrganizationAdminAccountOutput

Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
request DisableOrganizationAdminAccountInput | DisableOrganizationAdminAccountInputDict | 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[DisableOrganizationAdminAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableOrganizationAdminAccountOutput

An instance of DisableOrganizationAdminAccountOutput.

disable_organization_admin_account async

disable_organization_admin_account(request: DisableOrganizationAdminAccountInput | DisableOrganizationAdminAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisableOrganizationAdminAccountInputDict]) -> DisableOrganizationAdminAccountOutput

Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
request DisableOrganizationAdminAccountInput | DisableOrganizationAdminAccountInputDict | 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[DisableOrganizationAdminAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableOrganizationAdminAccountOutput

An instance of DisableOrganizationAdminAccountOutput.

Input

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

DisableOrganizationAdminAccountInputDict

Bases: TypedDict

Dictionary form of DisableOrganizationAdminAccountInput.

Attributes

admin_account_id instance-attribute
admin_account_id: Required[str]

The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.

DisableOrganizationAdminAccountInput dataclass

Bases: _SerdeShape

Dataclass for DisableOrganizationAdminAccountInput structure.

Attributes

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

The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.

Output

DisableOrganizationAdminAccountOutput dataclass

Bases: _SerdeShape

Dataclass for DisableOrganizationAdminAccountOutput 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.