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

***************************************
list_data_quality_statistic_annotations
***************************************



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

  

  Retrieve annotations for a data quality statistic.

  

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


  **Request Syntax**
  ::

    response = client.list_data_quality_statistic_annotations(
        StatisticId='string',
        ProfileId='string',
        TimestampFilter={
            'RecordedBefore': datetime(2015, 1, 1),
            'RecordedAfter': datetime(2015, 1, 1)
        },
        MaxResults=123,
        NextToken='string'
    )
    
  :type StatisticId: string
  :param StatisticId: 

    The Statistic ID.

    

  
  :type ProfileId: string
  :param ProfileId: 

    The Profile ID.

    

  
  :type TimestampFilter: dict
  :param TimestampFilter: 

    A timestamp filter.

    

  
    - **RecordedBefore** *(datetime) --* 

      The timestamp before which statistics should be included in the results.

      

    
    - **RecordedAfter** *(datetime) --* 

      The timestamp after which statistics should be included in the results.

      

    
  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return in this request.

    

  
  :type NextToken: string
  :param NextToken: 

    A pagination token to retrieve the next set of results.

    

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

    
    ::

      {
          'Annotations': [
              {
                  'ProfileId': 'string',
                  'StatisticId': 'string',
                  'StatisticRecordedOn': datetime(2015, 1, 1),
                  'InclusionAnnotation': {
                      'Value': 'INCLUDE'|'EXCLUDE',
                      'LastModifiedOn': datetime(2015, 1, 1)
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Annotations** *(list) --* 

        A list of ``StatisticAnnotation`` applied to the Statistic

        
        

        - *(dict) --* 

          A Statistic Annotation.

          
          

          - **ProfileId** *(string) --* 

            The Profile ID.

            
          

          - **StatisticId** *(string) --* 

            The Statistic ID.

            
          

          - **StatisticRecordedOn** *(datetime) --* 

            The timestamp when the annotated statistic was recorded.

            
          

          - **InclusionAnnotation** *(dict) --* 

            The inclusion annotation applied to the statistic.

            
            

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

              The inclusion annotation value.

              
            

            - **LastModifiedOn** *(datetime) --* 

              The timestamp when the inclusion annotation was last modified.

              
        
      
    
      

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

        A pagination token to retrieve the next set of results.

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

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

  