Component
core/messaging/twilio
A messaging and voice carrier reached over Twilio's REST API, so an application sends a text message or places a call without operating telephony infrastructure. The developer names the modality, text or call, and the direction, outbound, inbound or both; the operator supplies the account coordinate and the API base address. Wire here rather than to a broker: a broker delivers inside the Release, a carrier onto the public networks. Consumers read the base address, the account coordinate, the modality and the direction. Realized by reference: no compute runs here.
来源
- 内容摘要
- sha256:03a2cc20f9e8ff92c05fe1c7154a20e348bda3e210ef489913d50b610eca17c7
- 发布时间
- 2026-11-10T10:12:38Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:3d5e739e41d63659d54bcc1788de84e8d41f889427676af62dfbc82fb3311f1b
此版本的引用
oci://hub.aggrega.ai/component/core/messaging/twilio:1.0.0开发者参数
开发者在 Aggregate 中设置的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| modality | string (sms | voice) | sms | 否 | Which of the carrier's two channels this wiring addresses — a text message, or a call. |
| direction | string (outbound | inbound | bidirectional) | outbound | 否 | Whether the application originates traffic, receives it, or both. |
运维规格
运维人员按环境调整的基础设施规格。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| endpoint | string | https://api.twilio.com | 否 | — |
| account_sid | string | — | 是 | The account identifier the carrier's request paths are scoped by. |
输出契约
此组件通过 uses 拓扑向使用方发布的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| endpoint | string | — | 是 | Base URL of the carrier's API an application calls to send a message or place a call. The Release supplies it, so an operator may point it at a different host without the application changing. |
| account_sid | string | — | 是 | Account identifier the carrier's request paths are scoped by. A consumer composes it into the path of every request it makes; the API key that authenticates the request arrives as a credential, never through this key. |
| modality | string | — | 是 | Which of the carrier's two channels this wiring addresses — a text message, or a call — carried through from the value the Aggregate declared. A consumer reads it to pick the request shape it sends. |
| direction | string | — | 是 | Whether the application originates traffic on this wiring, receives it, or both, carried through from the value the Aggregate declared. A consumer reads it to know whether it must also stand up a receiving path. |
uses 套接字
此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。
未声明 uses 套接字。
附加槽位
Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。
| 槽位 | 选择器 | 必需 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| api_key_sid | feature.aggrega.ai/kind=secret | 否 | env | 是 | The API key identifier presented as the Basic-authentication username on every request to the carrier. |
| api_key_secret | feature.aggrega.ai/kind=secret | 否 | env | 是 | The API key secret presented as the Basic-authentication password on every request to the carrier. |
自注入允许列表
未声明自注入管道。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
此实体未使用目录中的任何内容。
被使用
实现
实现