StartTaskRequest
¶
Source code in docs_src/capo_context/types/start_task_request.py
access_control_config
instance-attribute
¶
access_control_config: NotRequired[AccessControlConfig]
Who can see the content that the task adds to the agent context. AWS Context supports only one entry: ALLOW with principalId *, so that every reader of the agent context can see it. If you omit it or send no entries, AWS Context uses that entry. If you name any other principal, include a DENY entry, or send more than one entry, the request fails with ValidationException, and no task is started.
agent_context_id
instance-attribute
¶
agent_context_id: AgentContextIdentifier
The agent context, as an ID or ARN.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure that the request completes no more than one time. The token is scoped to your account and the agent context. If you reuse a token on the same agent context with different parameters, the request fails with ValidationException.
description
instance-attribute
¶
description: NotRequired[TaskDescription]
A description of the task. Up to 1,024 characters, with no control characters.
input_configuration
instance-attribute
¶
input_configuration: TaskInputConfiguration
What the task imports. Set exactly one member. The member that you set determines the task's type.