API Reference
Preparing search index...
@aws-lambda-powertools/event-handler
types
BedrockAgentFunctionResponse
Type Alias BedrockAgentFunctionResponse
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
knowledge
Bases
Configuration?
message
Version
prompt
Session
Attributes?
response
session
Attributes?
Properties
Optional
knowledge
Bases
Configuration
knowledgeBasesConfiguration
?:
BedrockAgentFunctionEvent
[
"knowledgeBasesConfiguration"
]
message
Version
messageVersion
:
string
Optional
prompt
Session
Attributes
promptSessionAttributes
?:
BedrockAgentFunctionEvent
[
"promptSessionAttributes"
]
response
response
:
{
actionGroup
:
string
;
function
:
string
;
functionResponse
:
{
responseBody
:
{
TEXT
:
{
body
:
string
}
}
;
responseState
?:
ResponseState
;
}
;
}
Optional
session
Attributes
sessionAttributes
?:
BedrockAgentFunctionEvent
[
"sessionAttributes"
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
knowledge
Bases
Configuration
message
Version
prompt
Session
Attributes
response
session
Attributes
API Reference
Loading...
Response structure for a Bedrock agent function.