Skip to content

list_enforced_guardrails_configuration

Operation

list_enforced_guardrails_configuration

Lists the account-level enforced guardrail configurations.

Parameters:

Name Type Description Default
request ListEnforcedGuardrailsConfigurationInput | ListEnforcedGuardrailsConfigurationInputDict | 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[ListEnforcedGuardrailsConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListEnforcedGuardrailsConfigurationOutput

An instance of ListEnforcedGuardrailsConfigurationOutput.

list_enforced_guardrails_configuration async

Lists the account-level enforced guardrail configurations.

Parameters:

Name Type Description Default
request ListEnforcedGuardrailsConfigurationInput | ListEnforcedGuardrailsConfigurationInputDict | 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[ListEnforcedGuardrailsConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListEnforcedGuardrailsConfigurationOutput

An instance of ListEnforcedGuardrailsConfigurationOutput.

Input

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

ListEnforcedGuardrailsConfigurationInputDict

Bases: TypedDict

Dictionary form of ListEnforcedGuardrailsConfigurationInput.

Attributes

next_token instance-attribute
next_token: str | None

Opaque continuation token of previous paginated response.

ListEnforcedGuardrailsConfigurationInput dataclass

Bases: _SerdeShape

Dataclass for ListEnforcedGuardrailsConfigurationInput structure.

Attributes

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

Opaque continuation token of previous paginated response.

Output

ListEnforcedGuardrailsConfigurationOutput dataclass

Bases: _SerdeShape

Dataclass for ListEnforcedGuardrailsConfigurationOutput structure.

Attributes

guardrails_config instance-attribute

Array of AccountEnforcedGuardrailOutputConfiguration objects.

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

Opaque continuation token of previous paginated response.

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.