算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
aws-sms-voice【设计与创意】Onboards RCS Business Messaging and Notify OTP via the pinpoint-sms-voice-v2 AWS CLI. Covers creating a branded RCS test agent (logo, banner, rich cards, suggested replies), adding verified testers, and sending/receiving the first RCS message; and configuring AWS End User Messaging Notify to send one-time-passcode (OTP) verification codes through AWS…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
AWS End User Messaging SMS and Voice (the pinpoint-sms-voice-v2 API) is the
control and data plane for SMS, Voice, RCS Business Messaging, and Notify (OTP).
This skill covers the two fastest onboarding paths — each reaches
a real message on a real phone in about five minutes, with no phone-number
purchase and no carrier registration:
Beyond onboarding, this skill takes an identity to production registration in three steps:
This skill can be loaded two ways, and the references/ files resolve differently:
retrieve_skill tool. Reference files do not
exist on the local filesystem. Fetch them via retrieve_skill with the file
parameter (e.g., file="references/hello-rcs-test-agent.md"). Do NOT
file_read these paths locally — they are not there..kiro/skills/aws-sms-voice/). Read references
from the local skill directory using the relative paths shown in this file.This applies only to the skill's own packaged files. User-created artifacts (brand-assets/, temp files) are always in the user's working directory.
Execute commands using available tools from the AWS MCP server when connected — it provides sandboxed execution, audit logging, and observability. When the MCP server is not available, fall back to the AWS CLI or shell as needed.
| You want to… | Go to |
|---|---|
| Send rich, branded messages (cards, logo, two-way) to your own test phone | hello-rcs-test-agent.md |
| Send a verification code / OTP to any supported phone, fastest possible path | hello-notify-otp.md |
| Find out which registration a country needs and what fields it requires | registration-requirements-by-country.md |
| Create and submit a registration of any type (10DLC, toll-free, sender ID, RCS launch, Notify tier) | registration-core-engine.md |
| Take an identity to production (sandbox exit, RCS carrier launch + fallback, Notify Advanced, hygiene) | customer-go-to-production-guide.md |
RCS test agents deliver only to verified test devices and require a short brand registration (auto-reviewed in minutes). Notify sends to any recipient in its supported countries immediately, but is limited to AWS-managed OTP templates. Pick RCS to explore rich messaging; pick Notify for the shortest path to a production-grade verification text.
The AWS MCP server is recommended for the best experience here — it runs the many
pinpoint-sms-voice-v2 and sts calls with sandboxed execution, audit logging, and
observability. It is not a hard requirement: every step also works with the plain AWS CLI or the
AWS Agent Toolkit when the MCP server is not available.
aws sts get-caller-identity --region <REGION> (pass --region to use
the regional STS endpoint; the global sts.amazonaws.com endpoint is legacy). If it fails,
configure the user's auth (named profile / SSO / access keys — --profile <PROFILE> on every
command if a profile is in play) and prefer an assumed IAM role with ephemeral credentials. Each
reference file's Prerequisites carry the full auth, CloudTrail-audit, and CLI-freshness steps.sms-voice: actions in the target account (the reference files enumerate the
read/write actions each step uses — for example sms-voice:DescribeRcsAgents,
CreateRcsAgent, CreateRegistration, CreateNotifyConfiguration, and
SendNotifyTextMessage). Scope the policy to exactly the actions the chosen
path uses; do not grant sms-voice:* or *FullAccess.Invalid choice '<operation>' on a
pinpoint-sms-voice-v2 command, at any step, as a stale/partial local service model (not a
permissions or account problem). The RCS and Notify reference files (prerequisite 3) carry the
full reactive resolution: clear a stale ~/.aws/models/pinpoint-sms-voice-v2/ override, else
upgrade the AWS CLI, with a boto3 fallback. AccessDeniedException means the identity is
missing the required sms-voice: permissions.Each reference file is self-contained: it tracks the IDs you collect as session state, audits required inputs against the service before any submit, and ends with a Failure modes table and a Cleanup section. Follow the file for the path the user chose rather than improvising the API sequence — several steps fail silently or depend on service-version-specific field sets that must be read live.
sms-voice: actions; never
use *FullAccess or sms-voice:* in production. The reference files enumerate
the minimal read/write actions each onboarding path needs.sms-voice API calls and encrypt
CloudTrail logs and CloudWatch Log groups with a KMS CMK. Attach a
configuration set with an event destination (CloudWatch Logs or Kinesis) for
delivery monitoring before production traffic. Create CloudWatch alarms on
key security signals (repeated AccessDeniedException, unusual send volumes,
spend limit approaching threshold) for proactive alerting. Registration contact fields (email, phone, URLs) are submitted to
partner review; use real but non-sensitive business contacts.