delete_ai_prompt_version
¶
delete_ai_prompt_version(
assistant_id: UuidOrArn,
ai_prompt_id: UuidOrArnOrEitherWithQualifier,
version_number: Version,
*,
config_overrides: Optional[QConnectClientConfig] = None,
) -> DeleteAIPromptVersionResponse
Delete and Amazon Q in Connect AI Prompt version.
Parameters:
-
assistant_id(UuidOrArn) –The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
ai_prompt_id(UuidOrArnOrEitherWithQualifier) –The identifier of the Amazon Q in Connect AI prompt.
-
version_number(Version) –The version number of the AI Prompt version to be deleted.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource. For example, if you're using a
CreateAPI (such asCreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. -
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnauthorizedException–You do not have permission to perform this action.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.