delete_agent_memory
async
¶
delete_agent_memory(
agent_id: AgentId,
agent_alias_id: AgentAliasId,
*,
config_overrides: Optional[AsyncBedrockAgentRuntimeClientConfig] = None,
memory_id: Optional[MemoryId] = None,
session_id: Optional[SessionId] = None,
) -> DeleteAgentMemoryResponse
Deletes memory from the specified memory identifier.
Parameters:
-
agent_id(AgentId) –The unique identifier of the agent to which the alias belongs.
-
agent_alias_id(AgentAliasId) –The unique identifier of an alias of an agent.
-
memory_id(Optional[MemoryId], default:None) –The unique identifier of the memory.
-
session_id(Optional[SessionId], default:None) –The unique session identifier of the memory.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions. Check your permissions and retry your request.
-
BadGatewayException–There was an issue with a dependency due to a server issue. Retry your request.
-
ConflictException–There was a conflict performing an operation. Resolve the conflict and retry your request.
-
DependencyFailedException–There was an issue with a dependency. Check the resource configurations and retry the request.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent_runtime/_services/async_bedrock_agent_runtime.py
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 | |