Associate a registration with an agent
An AWS RCS Agent is gated by a registration. After you create the agent and create a registration (a testing registration or a country launch registration), you associate the registration with the agent so that AWS End User Messaging can review and approve it.
To associate a registration with an agent using the AWS CLI
-
Create the registration. For a testing agent, use the testing registration type.
$aws pinpoint-sms-voice-v2 create-registration \>--registration-typeTEST_RCS_LAUNCH_REGISTRATIONSave the registration ID from the response.
-
Associate the registration with the agent, replacing
registrationIdandrcs-agentIdwith your values.$aws pinpoint-sms-voice-v2 create-registration-association \>--registration-idregistrationId\>--resource-idrcs-agentId -
Populate the registration fields, submit the registration version, and poll the registration and agent status until the testing agent status is
ACTIVE. For the full setup walkthrough, see How to get set up.