Skip to content

put_console_authorization_configuration

Operation

put_console_authorization_configuration

Enable console authorization configuration with automatic scope detection

Parameters:

Name Type Description Default
request PutConsoleAuthorizationConfigurationInput | PutConsoleAuthorizationConfigurationInputDict | 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[PutConsoleAuthorizationConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
PutConsoleAuthorizationConfigurationOutput

An instance of PutConsoleAuthorizationConfigurationOutput.

put_console_authorization_configuration async

Enable console authorization configuration with automatic scope detection

Parameters:

Name Type Description Default
request PutConsoleAuthorizationConfigurationInput | PutConsoleAuthorizationConfigurationInputDict | 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[PutConsoleAuthorizationConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
PutConsoleAuthorizationConfigurationOutput

An instance of PutConsoleAuthorizationConfigurationOutput.

Input

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

PutConsoleAuthorizationConfigurationInputDict

Bases: TypedDict

Dictionary form of PutConsoleAuthorizationConfigurationInput.

Attributes

target_id instance-attribute
target_id: str | None

Target account identifier

PutConsoleAuthorizationConfigurationInput dataclass

Bases: _SerdeShape

Input for PutConsoleAuthorizationConfiguration operation

Attributes

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

Target account identifier

Output

PutConsoleAuthorizationConfigurationOutput dataclass

Bases: _SerdeShape

Output for PutConsoleAuthorizationConfiguration operation

Attributes

console_authorization_enabled instance-attribute
console_authorization_enabled: bool

Whether console authorization is enabled

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.

scope instance-attribute
scope: str

Authorization scope

target_id instance-attribute
target_id: str

Target account identifier