:doc:`Connect <../../connect>` / Client / evaluate_data_table_values

**************************
evaluate_data_table_values
**************************



.. py:method:: Connect.Client.evaluate_data_table_values(**kwargs)

  

  Evaluates values at the time of the request and returns them. It considers the request's timezone or the table's timezone, in that order, when accessing time based tables. When a value is accessed, the accessor's identity and the time of access are saved alongside the value to help identify values that are actively in use. The term "Batch" is not included in the operation name since it does not meet all the criteria for a batch operation as specified in Batch Operations: Amazon Web Services API Standards.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluateDataTableValues>`_  


  **Request Syntax**
  ::

    response = client.evaluate_data_table_values(
        InstanceId='string',
        DataTableId='string',
        Values=[
            {
                'PrimaryValues': [
                    {
                        'AttributeName': 'string',
                        'Value': 'string'
                    },
                ],
                'AttributeNames': [
                    'string',
                ]
            },
        ],
        TimeZone='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The unique identifier for the Amazon Connect instance.

    

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

    The unique identifier for the data table. Must also accept the table ARN with or without a version alias.

    

  
  :type Values: list
  :param Values: **[REQUIRED]** 

    A list of value evaluation sets specifying which primary values and attributes to evaluate.

    

  
    - *(dict) --* 

      A data table value evaluation set.

      

    
      - **PrimaryValues** *(list) --* 

        The set's primary values.

        

      
        - *(dict) --* 

          Represents a primary key value used to identify a specific record in a data table. Primary values are used in combination to create unique record identifiers when a table has multiple primary attributes.

          

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

            The name of the primary attribute that this value belongs to.

            

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

            The actual value for the primary attribute. Must be provided as a string regardless of the attribute's value type. Primary values cannot be expressions and must be explicitly specified.

            

          
        
    
      - **AttributeNames** *(list) --* **[REQUIRED]** 

        The set's attribute names.

        

      
        - *(string) --* 

        
    
    

  :type TimeZone: string
  :param TimeZone: 

    Optional IANA timezone identifier to use when resolving time based dynamic values. Defaults to the data table time zone if not provided.

    

  
  :type NextToken: string
  :param NextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of data table values to return in one page of results.

    

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

    
    ::

      {
          'Values': [
              {
                  'RecordId': 'string',
                  'PrimaryValues': [
                      {
                          'AttributeName': 'string',
                          'Value': 'string'
                      },
                  ],
                  'AttributeName': 'string',
                  'ValueType': 'TEXT'|'NUMBER'|'BOOLEAN'|'TEXT_LIST'|'NUMBER_LIST',
                  'Found': True|False,
                  'Error': True|False,
                  'EvaluatedValue': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Values** *(list) --* 

        A list of evaluated values with their computed results, error information, and metadata.

        
        

        - *(dict) --* 

          A data table evaluated value.

          
          

          - **RecordId** *(string) --* 

            The value's record ID.

            
          

          - **PrimaryValues** *(list) --* 

            The value's primary values.

            
            

            - *(dict) --* 

              Represents a primary key value used to identify a specific record in a data table. Primary values are used in combination to create unique record identifiers when a table has multiple primary attributes.

              
              

              - **AttributeName** *(string) --* 

                The name of the primary attribute that this value belongs to.

                
              

              - **Value** *(string) --* 

                The actual value for the primary attribute. Must be provided as a string regardless of the attribute's value type. Primary values cannot be expressions and must be explicitly specified.

                
          
        
          

          - **AttributeName** *(string) --* 

            The value's attribute name.

            
          

          - **ValueType** *(string) --* 

            The value's value type.

            
          

          - **Found** *(boolean) --* 

            The value's found.

            
          

          - **Error** *(boolean) --* 

            The value's error.

            
          

          - **EvaluatedValue** *(string) --* 

            The value's evaluated value.

            
      
    
      

      - **NextToken** *(string) --* 

        Specify the pagination token from a previous request to retrieve the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

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

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

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  