API Reference
    Preparing search index...

    Response structure for a Bedrock agent function.

    type BedrockAgentFunctionResponse = {
        knowledgeBasesConfiguration?: BedrockAgentFunctionEvent["knowledgeBasesConfiguration"];
        messageVersion: string;
        promptSessionAttributes?: BedrockAgentFunctionEvent["promptSessionAttributes"];
        response: {
            actionGroup: string;
            function: string;
            functionResponse: {
                responseBody: { TEXT: { body: string } };
                responseState?: ResponseState;
            };
        };
        sessionAttributes?: BedrockAgentFunctionEvent["sessionAttributes"];
    }
    Index

    Properties

    messageVersion: string
    response: {
        actionGroup: string;
        function: string;
        functionResponse: {
            responseBody: { TEXT: { body: string } };
            responseState?: ResponseState;
        };
    }