Skip to content

Bedrock  >  Operations  >  put_model_invocation_logging_configuration

put_model_invocation_logging_configuration

Operation

put_model_invocation_logging_configuration async

put_model_invocation_logging_configuration(input: PutModelInvocationLoggingConfigurationInput, plugins: list[Plugin] | None = None) -> PutModelInvocationLoggingConfigurationOutput

Set the configuration values for model invocation logging.

Parameters:

Name Type Description Default
input PutModelInvocationLoggingConfigurationInput

An instance of PutModelInvocationLoggingConfigurationInput.

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

An instance of PutModelInvocationLoggingConfigurationOutput.

Input

PutModelInvocationLoggingConfigurationInput dataclass

Dataclass for PutModelInvocationLoggingConfigurationInput structure.

Attributes

logging_config class-attribute instance-attribute
logging_config: LoggingConfig | None = None

The logging configuration values to set.

Output

PutModelInvocationLoggingConfigurationOutput dataclass

Dataclass for PutModelInvocationLoggingConfigurationOutput structure.