FunctionDefinition
Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group.
Contents
- name
-
A name for the function.
Type: String
Pattern:
^([0-9a-zA-Z][_-]?){1,100}$
Required: Yes
- description
-
A description of the function and its purpose.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1200.
Required: No
- parameters
-
The parameters that the agent elicits from the user to fulfill the function.
Type: String to ParameterDetail object map
Key Pattern:
^([0-9a-zA-Z][_-]?){1,100}$
Required: No
- requireConfirmation
-
Contains information if user confirmation is required to invoke the function.
Type: String
Valid Values:
ENABLED | DISABLED
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: