AgentAgentActionGroupState constructor
- Input<
AgentAgentActionGroupActionGroupExecutor?> ? actionGroupExecutor, - Input<
String?> ? actionGroupId, - Input<
String?> ? actionGroupName, - Input<
String?> ? actionGroupState, - Input<
String?> ? agentId, - Input<
String?> ? agentVersion, - Input<
AgentAgentActionGroupApiSchema?> ? apiSchema, - Input<
String?> ? description, - Input<
AgentAgentActionGroupFunctionSchema?> ? functionSchema, - Input<
String?> ? parentActionGroupSignature, - Input<
bool?> ? prepareAgent, - Input<
String?> ? region, - Input<
bool?> ? skipResourceInUseCheck, - Input<
AgentAgentActionGroupTimeouts?> ? timeouts,
Creates a new AgentAgentActionGroupState.
actionGroupExecutor ARN of the Lambda function containing the business logic that is carried out upon invoking the action or custom control method for handling the information elicited from the user. See actionGroupExecutor Block for details.
actionGroupId Unique identifier of the action group.
actionGroupName Name of the action group.
actionGroupState Whether the action group is available for the agent to invoke or not when sending an InvokeAgent request. Valid values: ENABLED, DISABLED.
agentId The unique identifier of the agent for which to create the action group.
agentVersion Version of the agent for which to create the action group. Valid values: DRAFT.
apiSchema Either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas. See apiSchema Block for details.
description Description of the action group.
functionSchema Describes the function schema for the action group.
parentActionGroupSignature To allow your agent to request the user for additional information when trying to complete a task, set this argument to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor arguments blank for this action group. Valid values: AMAZON.UserInput.
prepareAgent Whether or not to prepare the agent after creation or modification. Defaults to true.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
skipResourceInUseCheck Whether the in-use check is skipped when deleting the action group.
timeouts Optional.
Implementation
const AgentAgentActionGroupState({
this.actionGroupExecutor,
this.actionGroupId,
this.actionGroupName,
this.actionGroupState,
this.agentId,
this.agentVersion,
this.apiSchema,
this.description,
this.functionSchema,
this.parentActionGroupSignature,
this.prepareAgent,
this.region,
this.skipResourceInUseCheck,
this.timeouts,
});