:doc:`Glue <../../glue>` / Client / create_column_statistics_task_settings

**************************************
create_column_statistics_task_settings
**************************************



.. py:method:: Glue.Client.create_column_statistics_task_settings(**kwargs)

  

  Creates settings for a column statistics task.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateColumnStatisticsTaskSettings>`_  


  **Request Syntax**
  ::

    response = client.create_column_statistics_task_settings(
        DatabaseName='string',
        TableName='string',
        Role='string',
        Schedule='string',
        ColumnNameList=[
            'string',
        ],
        SampleSize=123.0,
        CatalogID='string',
        SecurityConfiguration='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type DatabaseName: string
  :param DatabaseName: **[REQUIRED]** 

    The name of the database where the table resides.

    

  
  :type TableName: string
  :param TableName: **[REQUIRED]** 

    The name of the table for which to generate column statistics.

    

  
  :type Role: string
  :param Role: **[REQUIRED]** 

    The role used for running the column statistics.

    

  
  :type Schedule: string
  :param Schedule: 

    A schedule for running the column statistics, specified in CRON syntax.

    

  
  :type ColumnNameList: list
  :param ColumnNameList: 

    A list of column names for which to run statistics.

    

  
    - *(string) --* 

    

  :type SampleSize: float
  :param SampleSize: 

    The percentage of data to sample.

    

  
  :type CatalogID: string
  :param CatalogID: 

    The ID of the Data Catalog in which the database resides.

    

  
  :type SecurityConfiguration: string
  :param SecurityConfiguration: 

    Name of the security configuration that is used to encrypt CloudWatch logs.

    

  
  :type Tags: dict
  :param Tags: 

    A map of tags.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.AlreadyExistsException`

  
  *   :py:class:`Glue.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`Glue.Client.exceptions.ResourceNumberLimitExceededException`

  
  *   :py:class:`Glue.Client.exceptions.ColumnStatisticsTaskRunningException`

  