Skip to content

register_organization_delegated_admin

Operation

register_organization_delegated_admin

Registers an organization's member account as the CloudTrail delegated administrator.

Parameters:

Name Type Description Default
request RegisterOrganizationDelegatedAdminInput | RegisterOrganizationDelegatedAdminInputDict | 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[RegisterOrganizationDelegatedAdminInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RegisterOrganizationDelegatedAdminOutput

An instance of RegisterOrganizationDelegatedAdminOutput.

register_organization_delegated_admin async

Registers an organization's member account as the CloudTrail delegated administrator.

Parameters:

Name Type Description Default
request RegisterOrganizationDelegatedAdminInput | RegisterOrganizationDelegatedAdminInputDict | 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[RegisterOrganizationDelegatedAdminInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RegisterOrganizationDelegatedAdminOutput

An instance of RegisterOrganizationDelegatedAdminOutput.

Input

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

RegisterOrganizationDelegatedAdminInputDict

Bases: TypedDict

Dictionary form of RegisterOrganizationDelegatedAdminInput.

Attributes

member_account_id instance-attribute
member_account_id: Required[str]

An organization member account ID that you want to designate as a delegated administrator.

RegisterOrganizationDelegatedAdminInput dataclass

Bases: _SerdeShape

Specifies an organization member account ID as a CloudTrail delegated administrator.

Attributes

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

An organization member account ID that you want to designate as a delegated administrator.

Output

RegisterOrganizationDelegatedAdminOutput dataclass

Bases: _SerdeShape

Returns the following response if successful. Otherwise, returns an error.

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.