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
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 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 | |