List shared phone numbers with the AWS CLI
You can use the describe-phone-numbers or the AWS RAM
console
To list all of the phone numbers shared with your account using the AWS CLI
-
At the command line, enter the following command:
$
aws pinpoint-sms-voice-v2 describe-phone-numbers --ownerSHARED
In the preceding command, replace SHARED
with
SELF
to list the phone numbers owned by your account.