AgentsforBedrock / Client / get_agent_collaborator

get_agent_collaborator#

AgentsforBedrock.Client.get_agent_collaborator(**kwargs)#

Retrieves information about an agent’s collaborator.

See also: AWS API Documentation

Request Syntax

response = client.get_agent_collaborator(
    agentId='string',
    agentVersion='string',
    collaboratorId='string'
)
Parameters:
  • agentId (string) –

    [REQUIRED]

    The agent’s ID.

  • agentVersion (string) –

    [REQUIRED]

    The agent’s version.

  • collaboratorId (string) –

    [REQUIRED]

    The collaborator’s ID.

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