delete_q_app
¶
delete_q_app(
instance_id: InstanceId,
app_id: UUID,
*,
config_overrides: Optional[QAppsClientConfig] = None,
) -> None
Deletes an Amazon Q App owned by the user. If the Q App was previously published to the library, it is also removed from the library.
Parameters:
-
instance_id(InstanceId) –The unique identifier of the Amazon Q Business application environment instance.
-
app_id(UUID) –The unique identifier of the Q App to delete.
Raises:
-
AccessDeniedException–The client is not authorized to perform the requested operation.
-
InternalServerException–An internal service error occurred while processing the request.
-
ResourceNotFoundException–The requested resource could not be found.
-
ThrottlingException–The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.
-
UnauthorizedException–The client is not authenticated or authorized to perform the requested operation.
-
ValidationException–The input failed to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Delete an Amazon Q App
>>> client.delete_q_app(app_id='393e77fb-0a30-4f47-ad30-75d71aeaed8a', instance_id='0b95c9c4-89cc-4aa8-9aae-aa91cbec699f')