delete_ai_agent_version
async
¶
delete_ai_agent_version(
assistant_id: UuidOrArn,
ai_agent_id: UuidOrArnOrEitherWithQualifier,
version_number: Version,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
) -> DeleteAIAgentVersionResponse
Deletes an Amazon Q in Connect AI Agent 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_agent_id(UuidOrArnOrEitherWithQualifier) –The identifier of the Amazon Q in Connect AI Agent. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
version_number(Version) –The version number of the AI Agent version.
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.