AgentsforBedrock / Client / update_agent_collaborator
update_agent_collaborator#
- AgentsforBedrock.Client.update_agent_collaborator(**kwargs)#
Updates an agent’s collaborator.
See also: AWS API Documentation
Request Syntax
response = client.update_agent_collaborator( agentDescriptor={ 'aliasArn': 'string' }, agentId='string', agentVersion='string', collaborationInstruction='string', collaboratorId='string', collaboratorName='string', relayConversationHistory='TO_COLLABORATOR'|'DISABLED' )
- Parameters:
agentDescriptor (dict) –
[REQUIRED]
An agent descriptor for the agent collaborator.
aliasArn (string) –
The agent’s alias ARN.
agentId (string) –
[REQUIRED]
The agent’s ID.
agentVersion (string) –
[REQUIRED]
The agent’s version.
collaborationInstruction (string) –
[REQUIRED]
Instruction for the collaborator.
collaboratorId (string) –
[REQUIRED]
The collaborator’s ID.
collaboratorName (string) –
[REQUIRED]
The collaborator’s name.
relayConversationHistory (string) – A relay conversation history for the collaborator.
- Return type:
dict
- Returns:
Response Syntax
{ 'agentCollaborator': { 'agentDescriptor': { 'aliasArn': 'string' }, 'agentId': 'string', 'agentVersion': 'string', 'clientToken': 'string', 'collaborationInstruction': 'string', 'collaboratorId': 'string', 'collaboratorName': 'string', 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'relayConversationHistory': 'TO_COLLABORATOR'|'DISABLED' } }
Response Structure
(dict) –
agentCollaborator (dict) –
Details about the collaborator.
agentDescriptor (dict) –
The collaborator’s agent descriptor.
aliasArn (string) –
The agent’s alias ARN.
agentId (string) –
The collaborator’s agent ID.
agentVersion (string) –
The collaborator’s agent version.
clientToken (string) –
The collaborator’s client token.
collaborationInstruction (string) –
The collaborator’s instructions.
collaboratorId (string) –
The collaborator’s collaborator ID.
collaboratorName (string) –
The collaborator’s collaborator name.
createdAt (datetime) –
When the collaborator was created.
lastUpdatedAt (datetime) –
When the collaborator was updated.
relayConversationHistory (string) –
The collaborator’s relay conversation history.
Exceptions
AgentsforBedrock.Client.exceptions.ThrottlingException
AgentsforBedrock.Client.exceptions.AccessDeniedException
AgentsforBedrock.Client.exceptions.ValidationException
AgentsforBedrock.Client.exceptions.InternalServerException
AgentsforBedrock.Client.exceptions.ResourceNotFoundException
AgentsforBedrock.Client.exceptions.ConflictException
AgentsforBedrock.Client.exceptions.ServiceQuotaExceededException