Skip to content

QBusinessClient.put_feedback

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Enables your end user to provide feedback on their Amazon Q Business generated chat responses.

Install and imports

python -m pip install "rboto[qbusiness]==0.4.0"
from rboto import QBusinessClient
from rboto_qbusiness.types import (
    MessageUsefulnessFeedback,
)

Signature

async def put_feedback(
    *,
    application_id: str,
    conversation_id: str,
    message_id: str,
    user_id: str | None = None,
    message_copied_at: str | None = None,
    message_usefulness: MessageUsefulnessFeedback | None = None,
) -> None: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
application_id Yes The identifier of the application associated with the feedback.
conversation_id Yes The identifier of the conversation the feedback is attached to.
message_id Yes The identifier of the chat message that the feedback was given for.
user_id No The identifier of the user giving the feedback.
message_copied_at No The timestamp for when the feedback was recorded.
message_usefulness No The feedback usefulness value given by the user to the chat message.

Output

None.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

MessageUsefulnessFeedback

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_qbusiness.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model