Amazon Bedrock

2025/12/02 - Amazon Bedrock - 2 updated api methods

Changes  Adds the audioDataDeliveryEnabled boolean field to the Model Invocation Logging Configuration.

GetModelInvocationLoggingConfiguration (updated) Link ¶
Changes (response)
{'loggingConfig': {'audioDataDeliveryEnabled': 'boolean'}}

Get the current configuration values for model invocation logging.

See also: AWS API Documentation

Request Syntax

client.get_model_invocation_logging_configuration()
rtype:

dict

returns:

Response Syntax

{
    'loggingConfig': {
        'cloudWatchConfig': {
            'logGroupName': 'string',
            'roleArn': 'string',
            'largeDataDeliveryS3Config': {
                'bucketName': 'string',
                'keyPrefix': 'string'
            }
        },
        's3Config': {
            'bucketName': 'string',
            'keyPrefix': 'string'
        },
        'textDataDeliveryEnabled': True|False,
        'imageDataDeliveryEnabled': True|False,
        'embeddingDataDeliveryEnabled': True|False,
        'videoDataDeliveryEnabled': True|False,
        'audioDataDeliveryEnabled': True|False
    }
}

Response Structure

  • (dict) --

    • loggingConfig (dict) --

      The current configuration values.

      • cloudWatchConfig (dict) --

        CloudWatch logging configuration.

        • logGroupName (string) --

          The log group name.

        • roleArn (string) --

          The role Amazon Resource Name (ARN).

        • largeDataDeliveryS3Config (dict) --

          S3 configuration for delivering a large amount of data.

          • bucketName (string) --

            S3 bucket name.

          • keyPrefix (string) --

            S3 prefix.

      • s3Config (dict) --

        S3 configuration for storing log data.

        • bucketName (string) --

          S3 bucket name.

        • keyPrefix (string) --

          S3 prefix.

      • textDataDeliveryEnabled (boolean) --

        Set to include text data in the log delivery.

      • imageDataDeliveryEnabled (boolean) --

        Set to include image data in the log delivery.

      • embeddingDataDeliveryEnabled (boolean) --

        Set to include embeddings data in the log delivery.

      • videoDataDeliveryEnabled (boolean) --

        Set to include video data in the log delivery.

      • audioDataDeliveryEnabled (boolean) --

        Set to include audio data in the log delivery.

PutModelInvocationLoggingConfiguration (updated) Link ¶
Changes (request)
{'loggingConfig': {'audioDataDeliveryEnabled': 'boolean'}}

Set the configuration values for model invocation logging.

See also: AWS API Documentation

Request Syntax

client.put_model_invocation_logging_configuration(
    loggingConfig={
        'cloudWatchConfig': {
            'logGroupName': 'string',
            'roleArn': 'string',
            'largeDataDeliveryS3Config': {
                'bucketName': 'string',
                'keyPrefix': 'string'
            }
        },
        's3Config': {
            'bucketName': 'string',
            'keyPrefix': 'string'
        },
        'textDataDeliveryEnabled': True|False,
        'imageDataDeliveryEnabled': True|False,
        'embeddingDataDeliveryEnabled': True|False,
        'videoDataDeliveryEnabled': True|False,
        'audioDataDeliveryEnabled': True|False
    }
)
type loggingConfig:

dict

param loggingConfig:

[REQUIRED]

The logging configuration values to set.

  • cloudWatchConfig (dict) --

    CloudWatch logging configuration.

    • logGroupName (string) -- [REQUIRED]

      The log group name.

    • roleArn (string) -- [REQUIRED]

      The role Amazon Resource Name (ARN).

    • largeDataDeliveryS3Config (dict) --

      S3 configuration for delivering a large amount of data.

      • bucketName (string) -- [REQUIRED]

        S3 bucket name.

      • keyPrefix (string) --

        S3 prefix.

  • s3Config (dict) --

    S3 configuration for storing log data.

    • bucketName (string) -- [REQUIRED]

      S3 bucket name.

    • keyPrefix (string) --

      S3 prefix.

  • textDataDeliveryEnabled (boolean) --

    Set to include text data in the log delivery.

  • imageDataDeliveryEnabled (boolean) --

    Set to include image data in the log delivery.

  • embeddingDataDeliveryEnabled (boolean) --

    Set to include embeddings data in the log delivery.

  • videoDataDeliveryEnabled (boolean) --

    Set to include video data in the log delivery.

  • audioDataDeliveryEnabled (boolean) --

    Set to include audio data in the log delivery.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --