put_compliance_inquiry_feedback
¶
put_compliance_inquiry_feedback(
compliance_inquiry_id: InquiryId,
rating: FeedbackRating,
*,
config_overrides: Optional[ArtifactClientConfig] = None,
query_identifier: Optional[int] = None,
response_revision_id: Optional[int] = None,
reason_codes: Optional[FeedbackReasonCodeList] = None,
comment: Optional[FeedbackCommentAttribute] = None,
client_token: Optional[IdempotentClientToken] = None,
) -> PutComplianceInquiryFeedbackResponse
Submits feedback on a compliance inquiry response.
Parameters:
-
compliance_inquiry_id(InquiryId) –The unique identifier for the compliance inquiry.
-
query_identifier(Optional[int], default:None) –The sequential identifier of the query to provide feedback on.
-
rating(FeedbackRating) –The rating for the feedback. Valid values are THUMBS_UP and THUMBS_DOWN.
-
response_revision_id(Optional[int], default:None) –The response revision ID. Use this value to prevent submitting feedback on a stale response.
-
reason_codes(Optional[FeedbackReasonCodeList], default:None) –The reason codes that describe why you rated the response. Valid values are OTHER, PARTIAL_RESPONSE, and IRRELEVANT_RESPONSE.
-
comment(Optional[FeedbackCommentAttribute], default:None) –An optional comment for the feedback.
-
client_token(Optional[IdempotentClientToken], default:None) –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.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Request to create/modify content would result in a conflict.
-
InternalServerException–An unknown server exception has occurred.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–Request fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_artifact/_services/artifact.py
884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 | |