delete_conversation
async
¶
delete_conversation(
conversation_id: ConversationId,
application_id: ApplicationId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = None,
user_id: Optional[UserId] = None,
) -> DeleteConversationResponse
Deletes an Amazon Q Business web experience conversation.
Parameters:
-
conversation_id(ConversationId) –The identifier of the Amazon Q Business web experience conversation being deleted.
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application associated with the conversation.
-
user_id(Optional[UserId], default:None) –The identifier of the user who is deleting the conversation.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
LicenseNotFoundException–You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.