submit_feedback
async
¶
submit_feedback(
domain_id: DomainId,
artifact_source_id: ArtifactSourceId,
artifact_type: FeedbackArtifactType,
signed_artifact_s3_uri: S3Uri,
*,
config_overrides: Optional[AsyncConnectHealthClientConfig] = None,
subscription_id: Optional[SubscriptionId] = None,
generated_artifact_s3_uri: Optional[S3Uri] = None,
comments: Optional[FeedbackComments] = None,
client_token: Optional[IdempotencyToken] = None,
) -> SubmitFeedbackResponse
Submits feedback on a clinical document or a set of medical codes that Amazon Connect Health generated.
Parameters:
-
domain_id(DomainId) –The unique identifier of the parent Domain.
-
artifact_source_id(ArtifactSourceId) –The identifier of the artifact source. For a clinical document, this is the session ID. For a set of medical codes, this is the medical coding job ID.
-
subscription_id(Optional[SubscriptionId], default:None) –The unique identifier of the Subscription.
-
artifact_type(FeedbackArtifactType) –The type of artifact that you submit feedback for. The following values are valid:
-
CLINICAL_DOC is the clinical document generated for an ambient documentation session.
-
MEDICAL_CODES is the set of medical codes generated by a medical coding job.
-
-
signed_artifact_s3_uri(S3Uri) –The Amazon Simple Storage Service (Amazon S3) URI of the final artifact that the clinician signed.
-
generated_artifact_s3_uri(Optional[S3Uri], default:None) –The Amazon S3 URI of the clinical document or set of medical codes that Amazon Connect Health generated.
-
comments(Optional[FeedbackComments], default:None) –Optional comments about the feedback.
-
client_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide 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–This error is thrown when the client does not supply proper credentials to the API.
-
InternalServerException–This error is thrown when a transient error causes our API to fail.
-
ResourceNotFoundException–This error is thrown when the requested resource is not found.
-
ThrottlingException–This error is thrown when the client exceeds the allowed request rate.
-
ValidationException–This error is thrown when the client supplies invalid input to the API.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connecthealth/_services/async_connect_health.py
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 | |