Skip to content

SignInClient.get_console_authorization_configuration

rboto-signin==0.4.0 · Service index · Types

Model summary (excerpt): Get console authorization configuration with automatic scope detection

Install and imports

python -m pip install "rboto[signin]==0.4.0"
from rboto import SignInClient
from rboto_signin.types import (
    GetConsoleAuthorizationConfigurationOutput,
)

Signature

async def get_console_authorization_configuration(
    *,
    target_id: str | None = None,
) -> GetConsoleAuthorizationConfigurationOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
target_id No Target account identifier

Output

GetConsoleAuthorizationConfigurationOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
target_id str Always present —
scope str Always present —
console_authorization_enabled bool Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetConsoleAuthorizationConfigurationOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_signin.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, TooManyRequestsError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Example

Complete, type-checked service example. Replace its placeholders and configure credentials before running it.

import asyncio

from rboto import SignInClient


async def main() -> None:
    client = SignInClient(region="us-east-1")
    response = await client.get_console_authorization_configuration()
    print(response.target_id, response.console_authorization_enabled)


if __name__ == "__main__":
    asyncio.run(main())

Service guide · Pinned model