sms-voice:RequestPhoneNumber

Write

sms-voice:RequestPhoneNumber is a Write access-level action in the sms-voice service. Grants permission to request an origination phone number

Resource types

ARNs that sms-voice:RequestPhoneNumber can be scoped to in an IAM policy.

arn:${Partition}:sms-voice:${Region}:${Account}:opt-out-list/${OptOutListName}
OptOutList
arn:${Partition}:sms-voice:${Region}:${Account}:pool/${PoolId}
Pool
arn:${Partition}:sms-voice:${Region}:${Account}:registration/${RegistrationId}
Registration

Condition keys

Keys you can use in the Condition block of a policy that grants sms-voice:RequestPhoneNumber.

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows sms-voice:RequestPhoneNumber. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSmsvoiceRequestPhoneNumber",
      "Effect": "Allow",
      "Action": "sms-voice:RequestPhoneNumber",
      "Resource": "*"
    }
  ]
}

Related actions in sms-voice

View all sms-voice actions →