Actions, resources, and condition keys for Amazon Pinpoint SMS Voice V2
Amazon Pinpoint SMS Voice V2 (service prefix: sms-voice
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon Pinpoint SMS Voice V2
You can specify the following actions in the Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The Resource types column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The Condition keys column of the Actions table includes keys that you can specify in a policy statement's Condition
element. For more information on the condition keys that are associated with resources for the service, see the Condition keys column of the Resource types table.
Note
Resource condition keys are listed in the Resource types table. You can find a link to the resource type that applies to an action in the Resource types (*required) column of the Actions table. The resource type in the Resource types table includes the Condition keys column, which are the resource condition keys that apply to an action in the Actions table.
For details about the columns in the following table, see Actions table.
Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
---|---|---|---|---|---|
AssociateOriginationIdentity | Grants permission to associate an origination phone number or sender ID to a pool | Write | |||
AssociateProtectConfiguration | Grants permission to associate a protect configuration to a configuration set | Write | |||
CreateConfigurationSet | Grants permission to create a configuration set | Write |
sms-voice:TagResource |
||
CreateEventDestination | Grants permission to create an event destination within a configuration set | Write |
iam:PassRole |
||
CreateOptOutList | Grants permission to create an opt-out list | Write |
sms-voice:TagResource |
||
CreatePool | Grants permission to create a pool | Write |
sms-voice:TagResource |
||
CreateProtectConfiguration | Grants permission to create a protect configuration | Write |
sms-voice:TagResource |
||
CreateRegistration | Grants permission to create a registration | Write |
sms-voice:TagResource |
||
CreateRegistrationAssociation | Grants permission to associate a registration with a phone number or another registration | Write | |||
CreateRegistrationAttachment | Grants permission to create a registration attachment | Write |
sms-voice:TagResource |
||
CreateRegistrationVersion | Grants permission to create a registration version | Write | |||
CreateVerifiedDestinationNumber | Grants permission to create a verified destination number | Write |
sms-voice:TagResource |
||
DeleteAccountDefaultProtectConfiguration | Grants permission to delete the account default protect configuration | Write | |||
DeleteConfigurationSet | Grants permission to delete a configuration set | Write | |||
DeleteDefaultMessageType | Grants permission to delete the default message type for a configuration set | Write | |||
DeleteDefaultSenderId | Grants permission to delete the default sender ID for a configuration set | Write | |||
DeleteEventDestination | Grants permission to delete an event destination within a configuration set | Write | |||
DeleteKeyword | Grants permission to delete a keyword for a pool or origination phone number | Write | |||
DeleteMediaMessageSpendLimitOverride | Grants permission to delete an override for your account's media messaging monthly spend limit | Write | |||
DeleteOptOutList | Grants permission to delete an opt-out list | Write | |||
DeleteOptedOutNumber | Grants permission to delete a destination phone number from an opt-out list | Write | |||
DeletePool | Grants permission to delete a pool | Write | |||
DeleteProtectConfiguration | Grants permission to delete a protect configuration | Write | |||
DeleteRegistration | Grants permission to delete a registration | Write | |||
DeleteRegistrationAttachment | Grants permission to delete a registration attachment | Write | |||
DeleteRegistrationFieldValue | Grants permission to delete an optional registration field value | Write | |||
DeleteResourcePolicy | Grants permission to delete a resource policy | Permissions management | |||
DeleteTextMessageSpendLimitOverride | Grants permission to delete an override for your account's text messaging monthly spend limit | Write | |||
DeleteVerifiedDestinationNumber | Grants permission to delete a verified destination number | Write | |||
DeleteVoiceMessageSpendLimitOverride | Grants permission to delete an override for your account's voice messaging monthly spend limit | Write | |||
DescribeAccountAttributes | Grants permission to describe the attributes of your account | Read | |||
DescribeAccountLimits | Grants permission to describe the service quotas for your account | Read | |||
DescribeConfigurationSets | Grants permission to describe the configuration sets in your account | Read | |||
DescribeKeywords | Grants permission to describe the keywords for a pool or origination phone number | Read | |||
DescribeOptOutLists | Grants permission to describe the opt-out lists in your account | Read | |||
DescribeOptedOutNumbers | Grants permission to describe the destination phone numbers in an opt-out list | Read | |||
DescribePhoneNumbers | Grants permission to describe the origination phone numbers in your account | Read | |||
DescribePools | Grants permission to describe the pools in your account | Read | |||
DescribeProtectConfigurations | Grants permission to describe the protect configurations in your account | Read | |||
DescribeRegistrationAttachments | Grants permission to describe the registration attachments in your account | Read | |||
DescribeRegistrationFieldDefinitions | Grants permission to describe the field definitions for a given registration type | Read | |||
DescribeRegistrationFieldValues | Grants permission to describe the field values for a given registration | Read | |||
DescribeRegistrationSectionDefinitions | Grants permission to describe the section definitions for a given registration type | Read | |||
DescribeRegistrationTypeDefinitions | Grants permission to describe the registration types supported by the service | Read | |||
DescribeRegistrationVersions | Grants permission to describe the versions for a given registration | Read | |||
DescribeRegistrations | Grants permission to describe the registrations in your account | Read | |||
DescribeSenderIds | Grants permission to describe the sender IDs in your account | Read | |||
DescribeSpendLimits | Grants permission to describe the monthly spend limits for your account | Read | |||
DescribeVerifiedDestinationNumbers | Grants permission to describe the verified destination numbers in your account | Read | |||
DisassociateOriginationIdentity | Grants permission to disassociate an origination phone number or sender ID from a pool | Write | |||
DisassociateProtectConfiguration | Grants permission to disassociate a protect configuration from a configuration set | Write | |||
DiscardRegistrationVersion | Grants permission to discard the latest version of a given registration | Write | |||
GetProtectConfigurationCountryRuleSet | Grants permission to get the country rule set for a protect configuration | Read | |||
GetResourcePolicy | Grants permission to get a resource policy | Read | |||
ListPoolOriginationIdentities | Grants permission to list all origination phone numbers and sender IDs associated to a pool | Read | |||
ListRegistrationAssociations | Grants permission to list all resources associated to a registration | Read | |||
ListTagsForResource | Grants permission to list the tags for a resource | Read | |||
PutKeyword | Grants permission to create or update a keyword for a pool or origination phone number | Write | |||
PutOptedOutNumber | Grants permission to put a destination phone number into an opt-out list | Write | |||
PutRegistrationFieldValue | Grants permission to put a registration field value | Write | |||
PutResourcePolicy | Grants permission to put a resource policy | Permissions management | |||
ReleasePhoneNumber | Grants permission to release an origination phone number | Write | |||
ReleaseSenderId | Grants permission to release a sender ID | Write | |||
RequestPhoneNumber | Grants permission to request an origination phone number | Write |
sms-voice:AssociateOriginationIdentity sms-voice:TagResource |
||
RequestSenderId | Grants permission to request an unregistered sender ID | Write |
sms-voice:TagResource |
||
SendDestinationNumberVerificationCode | Grants permission to send a text or voice message containing a verification code to a destination phone number | Write |
sms-voice:SendTextMessage sms-voice:SendVoiceMessage |
||
SendMediaMessage | Grants permission to send a media message to a destination phone number | Write | |||
SendTextMessage | Grants permission to send a text message to a destination phone number | Write | |||
SendVoiceMessage | Grants permission to send a voice message to a destination phone number | Write | |||
SetAccountDefaultProtectConfiguration | Grants permission to set a default protect configuration for the account | Write | |||
SetDefaultMessageType | Grants permission to set the default message type for a configuration set | Write | |||
SetDefaultSenderId | Grants permission to set the default sender ID for a configuration set | Write | |||
SetMediaMessageSpendLimitOverride | Grants permission to set an override for your account's media messaging monthly spend limit | Write | |||
SetTextMessageSpendLimitOverride | Grants permission to set an override for your account's text messaging monthly spend limit | Write | |||
SetVoiceMessageSpendLimitOverride | Grants permission to set an override for your account's voice messaging monthly spend limit | Write | |||
SubmitRegistrationVersion | Grants permission to submit the latest version of a given registration | Write | |||
TagResource | Grants permission to add tags to a resource | Tagging | |||
UntagResource | Grants permission to remove tags from a resource | Tagging | |||
UpdateEventDestination | Grants permission to update an event destination within a configuration set | Write |
iam:PassRole |
||
UpdatePhoneNumber | Grants permission to update an origination phone number's configuration | Write |
iam:PassRole |
||
UpdatePool | Grants permission to update a pool's configuration | Write |
iam:PassRole |
||
UpdateProtectConfiguration | Grants permission to update a protect configuration | Write | |||
UpdateProtectConfigurationCountryRuleSet | Grants permission to update a country rule set for a protect configuration | Write | |||
UpdateSenderId | Grants permission to update a sender ID's configuration | Write | |||
VerifyDestinationNumber | Grants permission to verify a destination phone number | Write |
Resource types defined by Amazon Pinpoint SMS Voice V2
The following resource types are defined by this service and can be used in the Resource
element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see Resource types table.
Resource types | ARN | Condition keys |
---|---|---|
ConfigurationSet |
arn:${Partition}:sms-voice:${Region}:${Account}:configuration-set/${ConfigurationSetName}
|
|
OptOutList |
arn:${Partition}:sms-voice:${Region}:${Account}:opt-out-list/${OptOutListName}
|
|
PhoneNumber |
arn:${Partition}:sms-voice:${Region}:${Account}:phone-number/${PhoneNumberId}
|
|
Pool |
arn:${Partition}:sms-voice:${Region}:${Account}:pool/${PoolId}
|
|
ProtectConfiguration |
arn:${Partition}:sms-voice:${Region}:${Account}:protect-configuration/${ProtectConfigurationId}
|
|
SenderId |
arn:${Partition}:sms-voice:${Region}:${Account}:sender-id/${SenderId}/${IsoCountryCode}
|
|
Registration |
arn:${Partition}:sms-voice:${Region}:${Account}:registration/${RegistrationId}
|
|
RegistrationAttachment |
arn:${Partition}:sms-voice:${Region}:${Account}:registration-attachment/${RegistrationAttachmentId}
|
|
VerifiedDestinationNumber |
arn:${Partition}:sms-voice:${Region}:${Account}:verified-destination-number/${VerifiedDestinationNumberId}
|
Condition keys for Amazon Pinpoint SMS Voice V2
Amazon Pinpoint SMS Voice V2 defines the following condition keys that can be used in the Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see Condition keys table.
To view the global condition keys that are available to all services, see Available global condition keys.
Condition keys | Description | Type |
---|---|---|
aws:RequestTag/${TagKey} | Filters access by the tags that are passed in the request | String |
aws:ResourceTag/${TagKey} | Filters access by the tags associated with the resource | String |
aws:TagKeys | Filters access by the tag keys that are passed in the request | ArrayOfString |