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 可以填入該槽位,其注入清單則指明該 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. |
自我注入允許清單
未宣告任何自我注入管道。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
此實體未使用目錄中的任何項目。
被使用於
實作
實作