Skip to content

PublisherAssociation

Source code in docs_src/capo_agent_registry_control/types/publisher_association.py
class PublisherAssociation(TypedDict, closed=True):
    record_arn: (
        "capo_agent_registry_control.types.registry_record_arn.RegistryRecordArn"
    )
    """<p>The Amazon Resource Name (ARN) of the associated registry record.</p>"""
    public_identifier: (
        "capo_agent_registry_control.types.public_identifier.PublicIdentifier"
    )
    """<p>The public identifier assigned to the registry record. It has the form <code>urn:air:authority:[category/...]name[:kind]</code>:</p> <ul> <li> <p> <code>authority</code> - The publisher's domain, prefixed by the subdomain if you specified one, in lowercase.</p> </li> <li> <p> <code>category</code> - The categories that you specified, in order, each followed by <code>/</code>. Absent if you specified none.</p> </li> <li> <p> <code>name</code> - The registry record's name.</p> </li> <li> <p> <code>kind</code> - A suffix derived from the record type: <code>mcp</code> for <code>MCP</code>, <code>agent</code> for <code>AGENT</code> and <code>CUSTOM</code>, <code>skill</code> for <code>SKILL</code>, and <code>webbot</code> for <code>WEB_BOT</code>. Gateway records have no suffix.</p> </li> </ul> <p>For example, <code>urn:air:example.com:finance-agent</code>, <code>urn:air:agents.example.com:financial/money/finance-agent</code>, and <code>urn:air:example.com:weather:mcp</code>.</p>"""
    publisher: "capo_agent_registry_control.types.publisher_identifier_arn.PublisherIdentifierArn"
    """<p>The Amazon Resource Name (ARN) of the publisher that the registry record is associated with.</p>"""
    status: "capo_agent_registry_control.types.association_status.AssociationStatus"
    """<p>The status of the association is one of the following:</p> <ul> <li> <p> <code>PENDING_APPROVAL</code> - The association is waiting for a curator to approve or reject it.</p> </li> <li> <p> <code>APPROVED</code> - A curator approved the association.</p> </li> <li> <p> <code>REJECTED</code> - A curator rejected the association.</p> </li> <li> <p> <code>SUSPENDED</code> - The association was approved but is suspended, for example because the publisher's domain could no longer be verified. <code>statusReason</code>, when present, describes why.</p> </li> </ul>"""
    status_reason: NotRequired[
        "capo_agent_registry_control.types.status_reason.StatusReason"
    ]
    """<p>The reason for the association's current status, such as why it is suspended. Present only when a reason is available.</p>"""

public_identifier instance-attribute

public_identifier: PublicIdentifier

The public identifier assigned to the registry record. It has the form urn:air:authority:[category/...]name[:kind]:

  • authority - The publisher's domain, prefixed by the subdomain if you specified one, in lowercase.

  • category - The categories that you specified, in order, each followed by /. Absent if you specified none.

  • name - The registry record's name.

  • kind - A suffix derived from the record type: mcp for MCP, agent for AGENT and CUSTOM, skill for SKILL, and webbot for WEB_BOT. Gateway records have no suffix.

For example, urn:air:example.com:finance-agent, urn:air:agents.example.com:financial/money/finance-agent, and urn:air:example.com:weather:mcp.

publisher instance-attribute

The Amazon Resource Name (ARN) of the publisher that the registry record is associated with.

record_arn instance-attribute

record_arn: RegistryRecordArn

The Amazon Resource Name (ARN) of the associated registry record.

status instance-attribute

The status of the association is one of the following:

  • PENDING_APPROVAL - The association is waiting for a curator to approve or reject it.

  • APPROVED - A curator approved the association.

  • REJECTED - A curator rejected the association.

  • SUSPENDED - The association was approved but is suspended, for example because the publisher's domain could no longer be verified. statusReason, when present, describes why.

status_reason instance-attribute

status_reason: NotRequired[StatusReason]

The reason for the association's current status, such as why it is suspended. Present only when a reason is available.