bedrockagentruntime_get_agent_memory function

Gets the sessions stored in the memory of the agent