:doc:`CloudWatchLogs <../../logs>` / Client / associate_source_to_s3_table_integration

****************************************
associate_source_to_s3_table_integration
****************************************



.. py:method:: CloudWatchLogs.Client.associate_source_to_s3_table_integration(**kwargs)

  

  Associates a data source with an S3 Table Integration for query access in the 'logs' namespace. This enables querying log data using analytics engines that support Iceberg such as Amazon Athena, Amazon Redshift, and Apache Spark.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateSourceToS3TableIntegration>`_  


  **Request Syntax**
  ::

    response = client.associate_source_to_s3_table_integration(
        integrationArn='string',
        dataSource={
            'name': 'string',
            'type': 'string'
        }
    )
    
  :type integrationArn: string
  :param integrationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the S3 Table Integration to associate the data source with.

    

  
  :type dataSource: dict
  :param dataSource: **[REQUIRED]** 

    The data source to associate with the S3 Table Integration. Contains the name and type of the data source.

    

  
    - **name** *(string) --* **[REQUIRED]** 

      The name of the data source.

      

    
    - **type** *(string) --* 

      The type of the data source.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'identifier': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **identifier** *(string) --* 

        The unique identifier for the association between the data source and S3 Table Integration.

        
  
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ResourceNotFoundException`

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

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

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

  