Glue / Client / batch_put_data_quality_statistic_annotation

batch_put_data_quality_statistic_annotation#

Glue.Client.batch_put_data_quality_statistic_annotation(**kwargs)#

Annotate datapoints over time for a specific data quality statistic.

See also: AWS API Documentation

Request Syntax

response = client.batch_put_data_quality_statistic_annotation(
    InclusionAnnotations=[
        {
            'ProfileId': 'string',
            'StatisticId': 'string',
            'InclusionAnnotation': 'INCLUDE'|'EXCLUDE'
        },
    ],
    ClientToken='string'
)
Parameters:
  • InclusionAnnotations (list) –

    [REQUIRED]

    A list of DatapointInclusionAnnotation’s.

    • (dict) –

      An Inclusion Annotation.

      • ProfileId (string) –

        The ID of the data quality profile the statistic belongs to.

      • StatisticId (string) –

        The Statistic ID.

      • InclusionAnnotation (string) –

        The inclusion annotation value to apply to the statistic.

  • ClientToken (string) – Client Token.

Return type:

dict

Returns:

Response Syntax

{
    'FailedInclusionAnnotations': [
        {
            'ProfileId': 'string',
            'StatisticId': 'string',
            'FailureReason': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • FailedInclusionAnnotations (list) –

      A list of AnnotationError’s.

      • (dict) –

        A failed annotation.

        • ProfileId (string) –

          The Profile ID for the failed annotation.

        • StatisticId (string) –

          The Statistic ID for the failed annotation.

        • FailureReason (string) –

          The reason why the annotation failed.

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.ResourceNumberLimitExceededException