:doc:`Bedrock <../../bedrock>` / Client / put_model_invocation_logging_configuration

******************************************
put_model_invocation_logging_configuration
******************************************



.. py:method:: Bedrock.Client.put_model_invocation_logging_configuration(**kwargs)

  

  Set the configuration values for model invocation logging.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutModelInvocationLoggingConfiguration>`_  


  **Request Syntax**
  ::

    response = 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) --* 
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`Bedrock.Client.exceptions.ThrottlingException`

  