endSession
inline suspend fun BedrockAgentRuntimeClient.endSession(crossinline block: EndSessionRequest.Builder.() -> Unit): EndSessionResponse
Ends the session. After you end a session, you can still access its content but you can’t add to it. To delete the session and it's content, you use the DeleteSession API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.