Skip to content

disable_organizations_root_sessions

Operation

disable_organizations_root_sessions

Disables root user sessions for privileged tasks across member accounts in your organization. When you disable this feature, the management account and the delegated administrator for IAM can no longer perform privileged tasks on member accounts in your organization.

Parameters:

Name Type Description Default
request DisableOrganizationsRootSessionsInput | DisableOrganizationsRootSessionsInputDict | 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[DisableOrganizationsRootSessionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableOrganizationsRootSessionsOutput

An instance of DisableOrganizationsRootSessionsOutput.

disable_organizations_root_sessions async

Disables root user sessions for privileged tasks across member accounts in your organization. When you disable this feature, the management account and the delegated administrator for IAM can no longer perform privileged tasks on member accounts in your organization.

Parameters:

Name Type Description Default
request DisableOrganizationsRootSessionsInput | DisableOrganizationsRootSessionsInputDict | 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[DisableOrganizationsRootSessionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DisableOrganizationsRootSessionsOutput

An instance of DisableOrganizationsRootSessionsOutput.

Input

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

DisableOrganizationsRootSessionsInputDict

Bases: TypedDict

Dictionary form of DisableOrganizationsRootSessionsInput.

DisableOrganizationsRootSessionsInput dataclass

Bases: _SerdeShape

Dataclass for DisableOrganizationsRootSessionsInput structure.

Output

DisableOrganizationsRootSessionsOutput dataclass

Bases: _SerdeShape

Dataclass for DisableOrganizationsRootSessionsOutput structure.

Attributes

enabled_features class-attribute instance-attribute
enabled_features: list[str] | None = ...

The features you have enabled for centralized root access of member accounts in your organization.

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

The unique identifier (ID) of an organization.

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.