AgentsforBedrock / Client / delete_agent_version
delete_agent_version#
- AgentsforBedrock.Client.delete_agent_version(**kwargs)#
Deletes an Agent version for existing Amazon Bedrock Agent
See also: AWS API Documentation
Request Syntax
response = client.delete_agent_version( agentId='string', agentVersion='string', skipResourceInUseCheck=True|False )
- Parameters:
agentId (string) –
[REQUIRED]
Id generated at the server side when an Agent is created
agentVersion (string) –
[REQUIRED]
Numerical Agent Version.
skipResourceInUseCheck (boolean) – Skips checking if resource is in use when set to true. Defaults to false
- Return type:
dict
- Returns:
Response Syntax
{ 'agentId': 'string', 'agentVersion': 'string', 'agentStatus': 'CREATING'|'PREPARING'|'PREPARED'|'NOT_PREPARED'|'DELETING'|'FAILED'|'VERSIONING'|'UPDATING' }
Response Structure
(dict) –
Delete Agent Version Response
agentId (string) –
Identifier for a resource.
agentVersion (string) –
Numerical Agent Version.
agentStatus (string) –
Schema Type for Action APIs.
Exceptions
AgentsforBedrock.Client.exceptions.ThrottlingException
AgentsforBedrock.Client.exceptions.AccessDeniedException
AgentsforBedrock.Client.exceptions.ValidationException
AgentsforBedrock.Client.exceptions.InternalServerException
AgentsforBedrock.Client.exceptions.ResourceNotFoundException
AgentsforBedrock.Client.exceptions.ConflictException