Artifact / Client / put_compliance_inquiry_feedback

put_compliance_inquiry_feedback

Artifact.Client.put_compliance_inquiry_feedback(**kwargs)

Submits feedback on a compliance inquiry response.

See also: AWS API Documentation

Request Syntax

response = client.put_compliance_inquiry_feedback(
    complianceInquiryId='string',
    queryIdentifier=123,
    rating='THUMBS_UP'|'THUMBS_DOWN',
    responseRevisionId=123,
    reasonCodes=[
        'OTHER'|'PARTIAL_RESPONSE'|'IRRELEVANT_RESPONSE',
    ],
    comment='string',
    clientToken='string'
)
Parameters:
  • complianceInquiryId (string) –

    [REQUIRED]

    The unique identifier for the compliance inquiry.

  • queryIdentifier (integer) – The sequential identifier of the query to provide feedback on.

  • rating (string) –

    [REQUIRED]

    The rating for the feedback. Valid values are THUMBS_UP and THUMBS_DOWN.

  • responseRevisionId (integer) – The response revision ID. Use this value to prevent submitting feedback on a stale response.

  • reasonCodes (list) –

    The reason codes that describe why you rated the response. Valid values are OTHER, PARTIAL_RESPONSE, and IRRELEVANT_RESPONSE.

    • (string) –

  • comment (string) – An optional comment for the feedback.

  • clientToken (string) –

    A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'submittedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • submittedAt (datetime) –

      The timestamp when the feedback was submitted.

Exceptions

  • Artifact.Client.exceptions.ResourceNotFoundException

  • Artifact.Client.exceptions.ThrottlingException

  • Artifact.Client.exceptions.AccessDeniedException

  • Artifact.Client.exceptions.ConflictException

  • Artifact.Client.exceptions.InternalServerException

  • Artifact.Client.exceptions.ValidationException