Skip to content

IAM  >  Operations  >  enable_organizations_root_sessions

enable_organizations_root_sessions

Operation

enable_organizations_root_sessions async

enable_organizations_root_sessions(request: EnableOrganizationsRootSessionsInput | EnableOrganizationsRootSessionsInputDict, /, *, plugins: list[Plugin] | None = None) -> EnableOrganizationsRootSessionsOutput
enable_organizations_root_sessions(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableOrganizationsRootSessionsInputDict]) -> EnableOrganizationsRootSessionsOutput

Allows the management account or delegated administrator to perform privileged tasks on member accounts in your organization. For more information, see Centrally manage root access for member accounts in the Identity and Access Management User Guide.

Before you enable this feature, you must have an account configured with the following settings:

  • You must manage your Amazon Web Services accounts in Organizations.

  • Enable trusted access for Identity and Access Management in Organizations. For details, see IAM and Organizations in the Organizations User Guide.

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
EnableOrganizationsRootSessionsOutput

An instance of EnableOrganizationsRootSessionsOutput.

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

EnableOrganizationsRootSessionsInput dataclass

Bases: _SerdeShape

Dataclass for EnableOrganizationsRootSessionsInput structure.

Dictionaries

EnableOrganizationsRootSessionsInputDict

Bases: TypedDict

Dictionary form of EnableOrganizationsRootSessionsInput.

Output

EnableOrganizationsRootSessionsOutput dataclass

Bases: _SerdeShape

Dataclass for EnableOrganizationsRootSessionsOutput structure.

Attributes

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

The features you have enabled for centralized root access.

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.