update_assistant_ai_agent
async
¶
update_assistant_ai_agent(
assistant_id: UuidOrArn,
ai_agent_type: AIAgentType,
configuration: AIAgentConfigurationData,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
orchestrator_use_case: Optional[NonEmptyString] = None,
) -> UpdateAssistantAIAgentResponse
Updates the AI Agent that is set for use by default on an Amazon Q in Connect Assistant.
Parameters:
-
assistant_id(UuidOrArn) –The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
ai_agent_type(AIAgentType) –The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
-
configuration(AIAgentConfigurationData) –The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
-
orchestrator_use_case(Optional[NonEmptyString], default:None) –The orchestrator use case for the AI Agent being added.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource. For example, if you're using a
CreateAPI (such asCreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. -
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The throttling limit has been exceeded.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/async_q_connect.py
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 | |