submit_feedback
async
¶
submit_feedback(
text: FeedbackText,
*,
config_overrides: Optional[AsyncCloudWatchOmniClientConfig] = None,
) -> SubmitFeedbackOutput
This operation is in preview release for Amazon CloudWatch Omni and is subject to change. Sends feedback about the CloudWatch Omni observability experience. Describe what was helpful, wrong, or missing in the text member. The feedback is recorded against the calling account, which is taken from the caller's identity rather than from the request.
Parameters:
-
text(FeedbackText) –The feedback to record, as free text — what was helpful, wrong, or missing. A request that omits it, or whose value is only whitespace, returns a ValidationException.
Raises:
-
AccessDeniedException–The caller is not authorized to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ThrottlingException–The request was throttled due to exceeding the allowed request rate.
-
ValidationException–A parameter is specified incorrectly.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Send free-text feedback The following example sends a free-text comment about an observability finding. Payloads are shown as JSON; on the wire they are CBOR-encoded.
>>> await client.submit_feedback(text='The observation for the checkout service identified the wrong root cause.')
Source code in docs_src/capo_cloudwatchomni/_services/async_cloud_watch_omni.py
5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 | |