Skip to content

enable_organization_admin_account

Operation

enable_organization_admin_account

enable_organization_admin_account(request: EnableOrganizationAdminAccountInput | EnableOrganizationAdminAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableOrganizationAdminAccountInputDict]) -> EnableOrganizationAdminAccountOutput

Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
request EnableOrganizationAdminAccountInput | EnableOrganizationAdminAccountInputDict | 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[EnableOrganizationAdminAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
EnableOrganizationAdminAccountOutput

An instance of EnableOrganizationAdminAccountOutput.

enable_organization_admin_account async

enable_organization_admin_account(request: EnableOrganizationAdminAccountInput | EnableOrganizationAdminAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableOrganizationAdminAccountInputDict]) -> EnableOrganizationAdminAccountOutput

Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
request EnableOrganizationAdminAccountInput | EnableOrganizationAdminAccountInputDict | 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[EnableOrganizationAdminAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
EnableOrganizationAdminAccountOutput

An instance of EnableOrganizationAdminAccountOutput.

Input

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

EnableOrganizationAdminAccountInputDict

Bases: TypedDict

Dictionary form of EnableOrganizationAdminAccountInput.

Attributes

admin_account_id instance-attribute
admin_account_id: Required[str]

The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated administrator.

EnableOrganizationAdminAccountInput dataclass

Bases: _SerdeShape

Dataclass for EnableOrganizationAdminAccountInput structure.

Attributes

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

The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated administrator.

Output

EnableOrganizationAdminAccountOutput dataclass

Bases: _SerdeShape

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