Class AgentAgentActionGroupActionGroupExecutor


  • public final class AgentAgentActionGroupActionGroupExecutor
    extends java.lang.Object
    • Method Detail

      • customControl

        public java.util.Optional<java.lang.String> customControl()
        Returns:
        Custom control method for handling the information elicited from the user. Valid values: `RETURN_CONTROL`. To skip using a Lambda function and instead return the predicted action group, in addition to the parameters and information required for it, in the `InvokeAgent` response, specify `RETURN_CONTROL`. Only one of `customControl` or `lambda` can be specified.
      • lambda

        public java.util.Optional<java.lang.String> lambda()
        Returns:
        ARN of the Lambda function containing the business logic that is carried out upon invoking the action. Only one of `lambda` or `customControl` can be specified.