Actions, resources, and condition keys for Amazon Pinpoint
Amazon Pinpoint (service prefix: mobiletargeting
) 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
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 indicates whether each action supports resource-level permissions. If
there is no value for this column, you must specify all resources ("*") 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. Required
resources are indicated in the table with an asterisk (*). If you specify a resource-level
permission ARN in a statement using this action, then it must be of this type.
Some actions support multiple resource types. If the resource type is optional (not
indicated as required), then you can choose to use one but not the other.
For details about the columns in the following table, see The actions table.
Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
---|---|---|---|---|---|
CreateApp | Create an app. | Write | |||
CreateCampaign | Create a campaign for an app. | Write | |||
CreateEmailTemplate | Create an email template. | Write | |||
CreateExportJob | Create an export job that exports endpoint definitions to Amazon S3. | Write | |||
CreateImportJob | Import endpoint definitions from to create a segment. | Write | |||
CreateJourney | Create a Journey for an app. | Write | |||
CreatePushTemplate | Create a push notification template. | Write | |||
CreateRecommenderConfiguration | Create an Amazon Pinpoint configuration for a recommender model. | Write | |||
CreateSegment | Create a segment that is based on endpoint data reported to Pinpoint by your app. To allow a user to create a segment by importing endpoint data from outside of Pinpoint, allow the mobiletargeting:CreateImportJob action. | Write | |||
CreateSmsTemplate | Create an sms message template. | Write | |||
CreateVoiceTemplate | Create a voice message template. | Write | |||
DeleteAdmChannel | Delete the ADM channel for an app. | Write | |||
DeleteApnsChannel | Delete the APNs channel for an app. | Write | |||
DeleteApnsSandboxChannel | Delete the APNs sandbox channel for an app. | Write | |||
DeleteApnsVoipChannel | Delete the APNs VoIP channel for an app. | Write | |||
DeleteApnsVoipSandboxChannel | Delete the APNs VoIP sandbox channel for an app. | Write | |||
DeleteApp | Delete a specific campaign. | Write | |||
DeleteBaiduChannel | Delete the Baidu channel for an app. | Write | |||
DeleteCampaign | Delete a specific campaign. | Write | |||
DeleteEmailChannel | Delete the email channel for an app. | Write | |||
DeleteEmailTemplate | Delete an email template or an email template version. | Write | |||
DeleteEndpoint | Delete an endpoint. | Write | |||
DeleteEventStream | Delete the event stream for an app. | Write | |||
DeleteGcmChannel | Delete the GCM channel for an app. | Write | |||
DeleteJourney | Delete a specific journey. | Write | |||
DeletePushTemplate | Delete a push notification template or a push notification template version. | Write | |||
DeleteRecommenderConfiguration | Delete an Amazon Pinpoint configuration for a recommender model. | Write | |||
DeleteSegment | Delete a specific segment. | Write | |||
DeleteSmsChannel | Delete the SMS channel for an app. | Write | |||
DeleteSmsTemplate | Delete an sms message template or an sms message template version. | Write | |||
DeleteUserEndpoints | Delete all of the endpoints that are associated with a user ID. | Write | |||
DeleteVoiceChannel | Delete the Voice channel for an app. | Write | |||
DeleteVoiceTemplate | Delete a voice message template or a voice message template version. | Write | |||
GetAdmChannel | Retrieve information about the Amazon Device Messaging (ADM) channel for an app. | Read | |||
GetApnsChannel | Retrieve information about the APNs channel for an app. | Read | |||
GetApnsSandboxChannel | Retrieve information about the APNs sandbox channel for an app. | Read | |||
GetApnsVoipChannel | Retrieve information about the APNs VoIP channel for an app. | Read | |||
GetApnsVoipSandboxChannel | Retrieve information about the APNs VoIP sandbox channel for an app. | Read | |||
GetApp | Retrieve information about a specific app in your Amazon Pinpoint account. | Read | |||
GetApplicationSettings | Retrieve the default settings for an app. | List | |||
GetApps | Retrieve a list of apps in your Amazon Pinpoint account. | List | |||
GetBaiduChannel | Retrieve information about the Baidu channel for an app. | Read | |||
GetCampaign | Retrieve information about a specific campaign. | Read | |||
GetCampaignActivities | Retrieve information about the activities performed by a campaign. | List | |||
GetCampaignVersion | Retrieve information about a specific campaign version. | Read | |||
GetCampaignVersions | Retrieve information about the current and prior versions of a campaign. | List | |||
GetCampaigns | Retrieve information about all campaigns for an app. | List | |||
GetChannels | Get all channels information for your app. | List | |||
GetEmailChannel | Obtain information about the email channel in an app. | Read | |||
GetEmailTemplate | Retrieve information about a specific or the active version of an email template. | Read | |||
GetEndpoint | Retrieve information about a specific endpoint. | Read | |||
GetEventStream | Retrieve information about the event stream for an app. | Read | |||
GetExportJob | Obtain information about a specific export job. | Read | |||
GetExportJobs | Retrieve a list of all of the export jobs for an app. | List | |||
GetGcmChannel | Retrieve information about the GCM channel for an app. | Read | |||
GetImportJob | Retrieve information about a specific import job. | Read | |||
GetImportJobs | Retrieve information about all import jobs for an app. | List | |||
GetJourney | Retrieve information about a specific journey. | Read | |||
GetPushTemplate | Retrieve information about a specific or the active version of an push notification template. | Read | |||
GetRecommenderConfiguration | Retrieve information about an Amazon Pinpoint configuration for a recommender model. | Read | |||
GetRecommenderConfigurations | Retrieve information about all the recommender model configurations that are associated with an Amazon Pinpoint account. | List | |||
GetSegment | Retrieve information about a specific segment. | Read | |||
GetSegmentExportJobs | Retrieve information about jobs that export endpoint definitions from segments to Amazon S3. | List | |||
GetSegmentImportJobs | Retrieve information about jobs that create segments by importing endpoint definitions from . | List | |||
GetSegmentVersion | Retrieve information about a specific segment version. | Read | |||
GetSegmentVersions | Retrieve information about the current and prior versions of a segment. | List | |||
GetSegments | Retrieve information about the segments for an app. | List | |||
GetSmsChannel | Obtain information about the SMS channel in an app. | Read | |||
GetSmsTemplate | Retrieve information about a specific or the active version of an sms message template. | Read | |||
GetUserEndpoints | Retrieve information about the endpoints that are associated with a user ID. | Read | |||
GetVoiceChannel | Obtain information about the Voice channel in an app. | Read | |||
GetVoiceTemplate | Retrieve information about a specific or the active version of a voice message template. | Read | |||
ListJourneys | Retrieve information about all journeys for an app. | List | |||
ListTagsForResource | List tags for a resource. | List | |||
ListTemplateVersions | Retrieve all versions about a specific template. | List | |||
ListTemplates | Retrieve metadata about the queried templates. | List | |||
PhoneNumberValidate | Obtain metadata for a phone number, such as the number type (mobile, landline, or VoIP), location, and provider. | Read | |||
PutEventStream | Create or update an event stream for an app. | Write | |||
PutEvents | Create or update events for an app. | Write | |||
RemoveAttributes | Used to remove the attributes for an app. | Write | |||
SendMessages | Send an SMS message or push notification to specific endpoints. | Write | |||
SendUsersMessages | Send an SMS message or push notification to all endpoints that are associated with a specific user ID. | Write | |||
TagResource | Adds tags to a resource. | Tagging | |||
UntagResource | Removes tags from a resource. | Tagging | |||
UpdateAdmChannel | Update the Amazon Device Messaging (ADM) channel for an app. | Write | |||
UpdateApnsChannel | Update the Apple Push Notification service (APNs) channel for an app. | Write | |||
UpdateApnsSandboxChannel | Update the Apple Push Notification service (APNs) sandbox channel for an app. | Write | |||
UpdateApnsVoipChannel | Update the Apple Push Notification service (APNs) VoIP channel for an app. | Write | |||
UpdateApnsVoipSandboxChannel | Update the Apple Push Notification service (APNs) VoIP sandbox channel for an app. | Write | |||
UpdateApplicationSettings | Update the default settings for an app. | Write | |||
UpdateBaiduChannel | Update the Baidu channel for an app. | Write | |||
UpdateCampaign | Update a specific campaign. | Write | |||
UpdateEmailChannel | Update the email channel for an app. | Write | |||
UpdateEmailTemplate | Update a specific email template under the same version or generate a new version. | Write | |||
UpdateEndpoint | Create an endpoint or update the information for an endpoint. | Write | |||
UpdateEndpointsBatch | Create or update endpoints as a batch operation. | Write | |||
UpdateGcmChannel | Update the Firebase Cloud Messaging (FCM) or Google Cloud Messaging (GCM) API key that allows to send push notifications to your Android app. | Write | |||
UpdateJourney | Update a specific journey. | Write | |||
UpdateJourneyState | Update a specific journey state. | Write | |||
UpdatePushTemplate | Update a specific push notification template under the same version or generate a new version. | Write | |||
UpdateRecommenderConfiguration | Update an Amazon Pinpoint configuration for a recommender model. | Write | |||
UpdateSegment | Update a specific segment. | Write | |||
UpdateSmsChannel | Update the SMS channel for an app. | Write | |||
UpdateSmsTemplate | Update a specific sms message template under the same version or generate a new version. | Write | |||
UpdateTemplateActiveVersion | Upate the active version parameter of a specific template. | Write | |||
UpdateVoiceChannel | Update the Voice channel for an app. | Write | |||
UpdateVoiceTemplate | Update a specific voice message template under the same version or generate a new version. | Write | |||
Resource types defined by Amazon Pinpoint
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 table. For details about the columns
in the following table, see The resource types table.
Resource types | ARN | Condition keys |
---|---|---|
apps |
arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}
|
|
campaigns |
arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}/campaigns/${CampaignId}
|
|
journeys |
arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}/journeys/${JourneyId}
|
|
segments |
arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}/segments/${SegmentId}
|
|
templates |
arn:${Partition}:mobiletargeting:${Region}:${Account}:templates/${TemplateName}/${ChannelType}
|
|
recommenders |
arn:${Partition}:mobiletargeting:${Region}:${Account}:recommenders/${RecommenderId}
|
Condition keys for Amazon Pinpoint
Amazon Pinpoint 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 The 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 a key that is present in the request the user makes to the pinpoint service. | String |
aws:ResourceTag/${TagKey} | Filters access by a tag key and value pair. | String |
aws:TagKeys | Filters access by the list of all the tag key names present in the request the user makes to the pinpoint service. | String |