Skip to main content

model_invocation_logging_configurations

Creates, updates, deletes, gets or lists a model_invocation_logging_configurations resource.

Overview

Namemodel_invocation_logging_configurations
TypeResource
Idaws.bedrock.model_invocation_logging_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
audio_data_delivery_enabledbooleanSet to include audio data in the log delivery.
cloud_watch_configobjectCloudWatch logging configuration.
embedding_data_delivery_enabledbooleanSet to include embeddings data in the log delivery.
image_data_delivery_enabledbooleanSet to include image data in the log delivery.
s_3_configobjectS3 configuration for storing log data.
text_data_delivery_enabledbooleanSet to include text data in the log delivery.
video_data_delivery_enabledbooleanSet to include video data in the log delivery.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_model_invocation_logging_configurationselectregionGet the current configuration values for model invocation logging.
put_model_invocation_logging_configurationreplaceregion, loggingConfigSet the configuration values for model invocation logging.
delete_model_invocation_logging_configurationdeleteregionDelete the invocation logging.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Get the current configuration values for model invocation logging.

SELECT
audio_data_delivery_enabled,
cloud_watch_config,
embedding_data_delivery_enabled,
image_data_delivery_enabled,
s_3_config,
text_data_delivery_enabled,
video_data_delivery_enabled
FROM aws.bedrock.model_invocation_logging_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Set the configuration values for model invocation logging.

REPLACE aws.bedrock.model_invocation_logging_configurations
SET
loggingConfig = '{{ loggingConfig }}'
WHERE
region = '{{ region }}' --required
AND loggingConfig = '{{ loggingConfig }}' --required;

DELETE examples

Delete the invocation logging.

DELETE FROM aws.bedrock.model_invocation_logging_configurations
WHERE region = '{{ region }}' --required
;