model_invocation_logging_configurations
Creates, updates, deletes, gets or lists a model_invocation_logging_configurations resource.
Overview
| Name | model_invocation_logging_configurations |
| Type | Resource |
| Id | aws.bedrock.model_invocation_logging_configurations |
Fields
The following fields are returned by SELECT queries:
- get_model_invocation_logging_configuration
| Name | Datatype | Description |
|---|---|---|
audio_data_delivery_enabled | boolean | Set to include audio data in the log delivery. |
cloud_watch_config | object | CloudWatch logging configuration. |
embedding_data_delivery_enabled | boolean | Set to include embeddings data in the log delivery. |
image_data_delivery_enabled | boolean | Set to include image data in the log delivery. |
s_3_config | object | S3 configuration for storing log data. |
text_data_delivery_enabled | boolean | Set to include text data in the log delivery. |
video_data_delivery_enabled | boolean | Set to include video data in the log delivery. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_model_invocation_logging_configuration | select | region | Get the current configuration values for model invocation logging. | |
put_model_invocation_logging_configuration | replace | region, loggingConfig | Set the configuration values for model invocation logging. | |
delete_model_invocation_logging_configuration | delete | region | Delete 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_model_invocation_logging_configuration
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
- put_model_invocation_logging_configuration
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_model_invocation_logging_configuration
Delete the invocation logging.
DELETE FROM aws.bedrock.model_invocation_logging_configurations
WHERE region = '{{ region }}' --required
;