Skip to content

IAM  >  Operations  >  disable_organizations_root_sessions

disable_organizations_root_sessions

Operation

disable_organizations_root_sessions async

disable_organizations_root_sessions(request: DisableOrganizationsRootSessionsInput | DisableOrganizationsRootSessionsInputDict, /, *, plugins: list[Plugin] | None = None) -> DisableOrganizationsRootSessionsOutput
disable_organizations_root_sessions(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisableOrganizationsRootSessionsInputDict]) -> DisableOrganizationsRootSessionsOutput

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
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

Returns:

Type Description
DisableOrganizationsRootSessionsOutput

An instance of DisableOrganizationsRootSessionsOutput.

Input

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

Model

DisableOrganizationsRootSessionsInput dataclass

Bases: _SerdeShape

Dataclass for DisableOrganizationsRootSessionsInput structure.

Dictionaries

DisableOrganizationsRootSessionsInputDict

Bases: TypedDict

Dictionary form of DisableOrganizationsRootSessionsInput.

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.