Skip to content

AgenticConnector

Source code in docs_src/capo_workspaces/types/agentic_connector.py
class AgenticConnector(TypedDict, closed=True):
    id: "capo_workspaces.types.agentic_connector_id.AgenticConnectorId"
    """<p>The identifier of the connector.</p>"""
    name: "capo_workspaces.types.agentic_connector_name.AgenticConnectorName"
    """<p>The name of the connector.</p>"""
    description: NotRequired[
        "capo_workspaces.types.agentic_connector_description.AgenticConnectorDescription"
    ]
    """<p>The description of the connector.</p>"""
    server_type: (
        "capo_workspaces.types.agentic_connector_server_type.AgenticConnectorServerType"
    )
    """<p>Where the connector's server runs:</p> <ul> <li> <p> <code>HOSTED</code> – The server is accessed through a URL.</p> </li> <li> <p> <code>LOCAL</code> – The server runs on the WorkSpace.</p> </li> </ul>"""
    url: NotRequired["capo_workspaces.types.agentic_connector_url.AgenticConnectorUrl"]
    """<p>The URL of a hosted connector's server.</p>"""
    command: NotRequired[
        "capo_workspaces.types.agentic_connector_command.AgenticConnectorCommand"
    ]
    """<p>The command that starts a local connector's server.</p>"""
    args: NotRequired[
        "capo_workspaces.types.agentic_connector_arguments.AgenticConnectorArguments"
    ]
    """<p>The arguments passed to a local connector's command.</p>"""
    auth_type: (
        "capo_workspaces.types.agentic_connector_auth_type.AgenticConnectorAuthType"
    )
    """<p>How the connector authenticates:</p> <ul> <li> <p> <code>OAUTH</code> – The connector uses OAuth.</p> </li> <li> <p> <code>API_KEY</code> – The connector uses an API key.</p> </li> <li> <p> <code>NONE</code> – The connector doesn't require authentication.</p> </li> </ul>"""
    o_auth_config: NotRequired[
        "capo_workspaces.types.agentic_connector_o_auth_config.AgenticConnectorOAuthConfig"
    ]
    """<p>The OAuth settings, when <code>AuthType</code> is <code>OAUTH</code>.</p>"""
    api_key_secret_arn: NotRequired[
        "capo_workspaces.types.secrets_manager_arn.SecretsManagerArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the API key, when <code>AuthType</code> is <code>API_KEY</code>. This field is absent when <code>AuthType</code> isn't <code>API_KEY</code>.</p>"""
    allowed_tools: NotRequired[
        "capo_workspaces.types.agentic_connector_tool_names.AgenticConnectorToolNames"
    ]
    """<p>The connector tools the agent can use. If absent, all tools not in <code>BlockedTools</code> are allowed.</p>"""
    blocked_tools: NotRequired[
        "capo_workspaces.types.agentic_connector_tool_names.AgenticConnectorToolNames"
    ]
    """<p>The connector tools the agent can't use.</p>"""
    created_at: NotRequired["capo_workspaces.types.timestamp.Timestamp"]
    """<p>The creation time of the connector. You might not see this field for every connector.</p>"""
    updated_at: NotRequired["capo_workspaces.types.timestamp.Timestamp"]
    """<p>The time when the connector's activation status last changed for your account. Your account doesn't see this field for a connector it has never activated.</p>"""
    activation_status: "capo_workspaces.types.agentic_connector_activation_status.AgenticConnectorActivationStatus"
    """<p>The activation status of the connector for your account:</p> <ul> <li> <p> <code>ACTIVATED</code> – You activated the connector.</p> </li> <li> <p> <code>DEACTIVATED</code> – You deactivated the connector.</p> </li> <li> <p> <code>PENDING</code> – The service is activating the connector.</p> </li> <li> <p> <code>PENDING_DELETE</code> – The service is deactivating the connector.</p> </li> <li> <p> <code>ACTIVATION_ERROR</code> – The service couldn't activate the connector.</p> </li> <li> <p> <code>DEACTIVATION_ERROR</code> – The service couldn't deactivate the connector.</p> </li> </ul>"""

activation_status instance-attribute

The activation status of the connector for your account:

  • ACTIVATED – You activated the connector.

  • DEACTIVATED – You deactivated the connector.

  • PENDING – The service is activating the connector.

  • PENDING_DELETE – The service is deactivating the connector.

  • ACTIVATION_ERROR – The service couldn't activate the connector.

  • DEACTIVATION_ERROR – The service couldn't deactivate the connector.

allowed_tools instance-attribute

allowed_tools: NotRequired[AgenticConnectorToolNames]

The connector tools the agent can use. If absent, all tools not in BlockedTools are allowed.

api_key_secret_arn instance-attribute

api_key_secret_arn: NotRequired[SecretsManagerArn]

The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the API key, when AuthType is API_KEY. This field is absent when AuthType isn't API_KEY.

args instance-attribute

args: NotRequired[AgenticConnectorArguments]

The arguments passed to a local connector's command.

auth_type instance-attribute

How the connector authenticates:

  • OAUTH – The connector uses OAuth.

  • API_KEY – The connector uses an API key.

  • NONE – The connector doesn't require authentication.

blocked_tools instance-attribute

blocked_tools: NotRequired[AgenticConnectorToolNames]

The connector tools the agent can't use.

command instance-attribute

command: NotRequired[AgenticConnectorCommand]

The command that starts a local connector's server.

created_at instance-attribute

created_at: NotRequired[Timestamp]

The creation time of the connector. You might not see this field for every connector.

description instance-attribute

description: NotRequired[AgenticConnectorDescription]

The description of the connector.

id instance-attribute

The identifier of the connector.

name instance-attribute

The name of the connector.

o_auth_config instance-attribute

o_auth_config: NotRequired[AgenticConnectorOAuthConfig]

The OAuth settings, when AuthType is OAUTH.

server_type instance-attribute

Where the connector's server runs:

  • HOSTED – The server is accessed through a URL.

  • LOCAL – The server runs on the WorkSpace.

updated_at instance-attribute

updated_at: NotRequired[Timestamp]

The time when the connector's activation status last changed for your account. Your account doesn't see this field for a connector it has never activated.

url instance-attribute

url: NotRequired[AgenticConnectorUrl]

The URL of a hosted connector's server.