UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

1,465 lines 219 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Mobiletargeting = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [mobiletargeting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonpinpoint.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Mobiletargeting extends shared_1.PolicyStatement { /** * Statement provider for service [mobiletargeting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonpinpoint.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid) { super(sid); this.servicePrefix = 'mobiletargeting'; this.accessLevelList = { Write: [ 'CreateApp', 'CreateCampaign', 'CreateEmailTemplate', 'CreateExportJob', 'CreateImportJob', 'CreateInAppTemplate', 'CreateJourney', 'CreatePushTemplate', 'CreateRecommenderConfiguration', 'CreateSegment', 'CreateSmsTemplate', 'CreateVoiceTemplate', 'DeleteAdmChannel', 'DeleteApnsChannel', 'DeleteApnsSandboxChannel', 'DeleteApnsVoipChannel', 'DeleteApnsVoipSandboxChannel', 'DeleteApp', 'DeleteBaiduChannel', 'DeleteCampaign', 'DeleteEmailChannel', 'DeleteEmailTemplate', 'DeleteEndpoint', 'DeleteEventStream', 'DeleteGcmChannel', 'DeleteInAppTemplate', 'DeleteJourney', 'DeletePushTemplate', 'DeleteRecommenderConfiguration', 'DeleteSegment', 'DeleteSmsChannel', 'DeleteSmsTemplate', 'DeleteUserEndpoints', 'DeleteVoiceChannel', 'DeleteVoiceTemplate', 'PutEventStream', 'PutEvents', 'RemoveAttributes', 'SendMessages', 'SendOTPMessage', 'SendUsersMessages', 'UpdateAdmChannel', 'UpdateApnsChannel', 'UpdateApnsSandboxChannel', 'UpdateApnsVoipChannel', 'UpdateApnsVoipSandboxChannel', 'UpdateApplicationSettings', 'UpdateBaiduChannel', 'UpdateCampaign', 'UpdateEmailChannel', 'UpdateEmailTemplate', 'UpdateEndpoint', 'UpdateEndpointsBatch', 'UpdateGcmChannel', 'UpdateInAppTemplate', 'UpdateJourney', 'UpdateJourneyState', 'UpdatePushTemplate', 'UpdateRecommenderConfiguration', 'UpdateSegment', 'UpdateSmsChannel', 'UpdateSmsTemplate', 'UpdateTemplateActiveVersion', 'UpdateVoiceChannel', 'UpdateVoiceTemplate', 'VerifyOTPMessage' ], Read: [ 'GetAdmChannel', 'GetApnsChannel', 'GetApnsSandboxChannel', 'GetApnsVoipChannel', 'GetApnsVoipSandboxChannel', 'GetApp', 'GetApplicationDateRangeKpi', 'GetApps', 'GetBaiduChannel', 'GetCampaign', 'GetCampaignDateRangeKpi', 'GetCampaignVersion', 'GetEmailChannel', 'GetEmailTemplate', 'GetEndpoint', 'GetEventStream', 'GetExportJob', 'GetGcmChannel', 'GetImportJob', 'GetInAppMessages', 'GetInAppTemplate', 'GetJourney', 'GetJourneyDateRangeKpi', 'GetJourneyExecutionActivityMetrics', 'GetJourneyExecutionMetrics', 'GetJourneyRunExecutionActivityMetrics', 'GetJourneyRunExecutionMetrics', 'GetPushTemplate', 'GetRecommenderConfiguration', 'GetReports', 'GetSegment', 'GetSegmentVersion', 'GetSmsChannel', 'GetSmsTemplate', 'GetUserEndpoints', 'GetVoiceChannel', 'GetVoiceTemplate', 'ListTagsForResource', 'PhoneNumberValidate' ], List: [ 'GetApplicationSettings', 'GetCampaignActivities', 'GetCampaignVersions', 'GetCampaigns', 'GetChannels', 'GetExportJobs', 'GetImportJobs', 'GetJourneyRuns', 'GetRecommenderConfigurations', 'GetSegmentExportJobs', 'GetSegmentImportJobs', 'GetSegmentVersions', 'GetSegments', 'ListJourneys', 'ListTemplateVersions', 'ListTemplates' ], Tagging: [ 'TagResource', 'UntagResource' ] }; } /** * Grants permission to create an app * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps.html#CreateApp */ toCreateApp() { return this.to('CreateApp'); } /** * Grants permission to create a campaign for an app * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns.html#CreateCampaign */ toCreateCampaign() { return this.to('CreateCampaign'); } /** * Grants permission to create an email template * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#CreateEmailTemplate */ toCreateEmailTemplate() { return this.to('CreateEmailTemplate'); } /** * Grants permission to create an export job that exports endpoint definitions to Amazon S3 * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-export.html#CreateExportJob */ toCreateExportJob() { return this.to('CreateExportJob'); } /** * Grants permission to import endpoint definitions from to create a segment * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-import.html#CreateImportJob */ toCreateImportJob() { return this.to('CreateImportJob'); } /** * Grants permission to create an in-app message template * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-inapp.html#CreateInAppTemplate */ toCreateInAppTemplate() { return this.to('CreateInAppTemplate'); } /** * Grants permission to create a Journey for an app * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys.html#CreateJourney */ toCreateJourney() { return this.to('CreateJourney'); } /** * Grants permission to create a push notification template * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-push.html#CreatePushTemplate */ toCreatePushTemplate() { return this.to('CreatePushTemplate'); } /** * Grants permission to create an Amazon Pinpoint configuration for a recommender model * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/recommenders.html#CreateRecommenderConfiguration */ toCreateRecommenderConfiguration() { return this.to('CreateRecommenderConfiguration'); } /** * Grants permission to 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 * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments.html#CreateSegment */ toCreateSegment() { return this.to('CreateSegment'); } /** * Grants permission to create an sms message template * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-sms.html#CreateSmsTemplate */ toCreateSmsTemplate() { return this.to('CreateSmsTemplate'); } /** * Grants permission to create a voice message template * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * - .ifAwsResourceTag() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-voice.html#CreateVoiceTemplate */ toCreateVoiceTemplate() { return this.to('CreateVoiceTemplate'); } /** * Grants permission to delete the ADM channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-adm.html#DeleteAdmChannel */ toDeleteAdmChannel() { return this.to('DeleteAdmChannel'); } /** * Grants permission to delete the APNs channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns.html#DeleteApnsChannel */ toDeleteApnsChannel() { return this.to('DeleteApnsChannel'); } /** * Grants permission to delete the APNs sandbox channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_sandbox.html#DeleteApnsSandboxChannel */ toDeleteApnsSandboxChannel() { return this.to('DeleteApnsSandboxChannel'); } /** * Grants permission to delete the APNs VoIP channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip.html#DeleteApnsVoipChannel */ toDeleteApnsVoipChannel() { return this.to('DeleteApnsVoipChannel'); } /** * Grants permission to delete the APNs VoIP sandbox channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip_sandbox.html#DeleteApnsVoipSandboxChannel */ toDeleteApnsVoipSandboxChannel() { return this.to('DeleteApnsVoipSandboxChannel'); } /** * Grants permission to delete a specific campaign * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id.html#DeleteApp */ toDeleteApp() { return this.to('DeleteApp'); } /** * Grants permission to delete the Baidu channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-baidu.html#DeleteBaiduChannel */ toDeleteBaiduChannel() { return this.to('DeleteBaiduChannel'); } /** * Grants permission to delete a specific campaign * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#DeleteCampaign */ toDeleteCampaign() { return this.to('DeleteCampaign'); } /** * Grants permission to delete the email channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-email.html#DeleteEmailChannel */ toDeleteEmailChannel() { return this.to('DeleteEmailChannel'); } /** * Grants permission to delete an email template or an email template version * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#DeleteEmailTemplate */ toDeleteEmailTemplate() { return this.to('DeleteEmailTemplate'); } /** * Grants permission to delete an endpoint * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id.html#DeleteEndpoint */ toDeleteEndpoint() { return this.to('DeleteEndpoint'); } /** * Grants permission to delete the event stream for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-eventstream.html#DeleteEventStream */ toDeleteEventStream() { return this.to('DeleteEventStream'); } /** * Grants permission to delete the GCM channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-gcm.html#DeleteGcmChannel */ toDeleteGcmChannel() { return this.to('DeleteGcmChannel'); } /** * Grants permission to delete an in-app message template or an in-app message template version * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-inapp.html#DeleteInAppTemplate */ toDeleteInAppTemplate() { return this.to('DeleteInAppTemplate'); } /** * Grants permission to delete a specific journey * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id.html#DeleteJourney */ toDeleteJourney() { return this.to('DeleteJourney'); } /** * Grants permission to delete a push notification template or a push notification template version * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-push.html#DeletePushTemplate */ toDeletePushTemplate() { return this.to('DeletePushTemplate'); } /** * Grants permission to delete an Amazon Pinpoint configuration for a recommender model * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/recommenders-recommender-id.html#DeleteRecommenderConfiguration */ toDeleteRecommenderConfiguration() { return this.to('DeleteRecommenderConfiguration'); } /** * Grants permission to delete a specific segment * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id.html#DeleteSegment */ toDeleteSegment() { return this.to('DeleteSegment'); } /** * Grants permission to delete the SMS channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-sms.html#DeleteSmsChannel */ toDeleteSmsChannel() { return this.to('DeleteSmsChannel'); } /** * Grants permission to delete an sms message template or an sms message template version * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-sms.html#DeleteSmsTemplate */ toDeleteSmsTemplate() { return this.to('DeleteSmsTemplate'); } /** * Grants permission to delete all of the endpoints that are associated with a user ID * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-users-user-id.html#DeleteUserEndpoints */ toDeleteUserEndpoints() { return this.to('DeleteUserEndpoints'); } /** * Grants permission to delete the Voice channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-voice.html#DeleteVoiceChannel */ toDeleteVoiceChannel() { return this.to('DeleteVoiceChannel'); } /** * Grants permission to delete a voice message template or a voice message template version * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-voice.html#DeleteVoiceTemplate */ toDeleteVoiceTemplate() { return this.to('DeleteVoiceTemplate'); } /** * Grants permission to retrieve information about the Amazon Device Messaging (ADM) channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-adm.html#GetAdmChannel */ toGetAdmChannel() { return this.to('GetAdmChannel'); } /** * Grants permission to retrieve information about the APNs channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns.html#GetApnsChannel */ toGetApnsChannel() { return this.to('GetApnsChannel'); } /** * Grants permission to retrieve information about the APNs sandbox channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_sandbox.html#GetApnsSandboxChannel */ toGetApnsSandboxChannel() { return this.to('GetApnsSandboxChannel'); } /** * Grants permission to retrieve information about the APNs VoIP channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip.html#GetApnsVoipChannel */ toGetApnsVoipChannel() { return this.to('GetApnsVoipChannel'); } /** * Grants permission to retrieve information about the APNs VoIP sandbox channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip_sandbox.html#GetApnsVoipSandboxChannel */ toGetApnsVoipSandboxChannel() { return this.to('GetApnsVoipSandboxChannel'); } /** * Grants permission to retrieve information about a specific app in your Amazon Pinpoint account * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id.html#GetApp */ toGetApp() { return this.to('GetApp'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard metric that applies to an application * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-kpis-daterange-kpi-name.html#GetApplicationDateRangeKpi */ toGetApplicationDateRangeKpi() { return this.to('GetApplicationDateRangeKpi'); } /** * Grants permission to retrieve the default settings for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-settings.html#GetApplicationSettings */ toGetApplicationSettings() { return this.to('GetApplicationSettings'); } /** * Grants permission to retrieve a list of apps in your Amazon Pinpoint account * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps.html#GetApps */ toGetApps() { return this.to('GetApps'); } /** * Grants permission to retrieve information about the Baidu channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-baidu.html#GetBaiduChannel */ toGetBaiduChannel() { return this.to('GetBaiduChannel'); } /** * Grants permission to retrieve information about a specific campaign * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#GetCampaign */ toGetCampaign() { return this.to('GetCampaign'); } /** * Grants permission to retrieve information about the activities performed by a campaign * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id-activities.html#GetCampaignActivities */ toGetCampaignActivities() { return this.to('GetCampaignActivities'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard metric that applies to a campaign * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id-kpis-daterange-kpi-name.html#GetCampaignDateRangeKpi */ toGetCampaignDateRangeKpi() { return this.to('GetCampaignDateRangeKpi'); } /** * Grants permission to retrieve information about a specific campaign version * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id-versions-version.html#GetCampaignVersion */ toGetCampaignVersion() { return this.to('GetCampaignVersion'); } /** * Grants permission to retrieve information about the current and prior versions of a campaign * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id-versions.html#GetCampaignVersions */ toGetCampaignVersions() { return this.to('GetCampaignVersions'); } /** * Grants permission to retrieve information about all campaigns for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns.html#GetCampaigns */ toGetCampaigns() { return this.to('GetCampaigns'); } /** * Grants permission to get all channels information for your app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels.html#GetChannels */ toGetChannels() { return this.to('GetChannels'); } /** * Grants permission to obtain information about the email channel in an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-email.html#GetEmailChannel */ toGetEmailChannel() { return this.to('GetEmailChannel'); } /** * Grants permission to retrieve information about a specific or the active version of an email template * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#GetEmailTemplate */ toGetEmailTemplate() { return this.to('GetEmailTemplate'); } /** * Grants permission to retrieve information about a specific endpoint * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id.html#GetEndpoint */ toGetEndpoint() { return this.to('GetEndpoint'); } /** * Grants permission to retrieve information about the event stream for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-eventstream.html#GetEventStream */ toGetEventStream() { return this.to('GetEventStream'); } /** * Grants permission to obtain information about a specific export job * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-export-job-id.html#GetExportJob */ toGetExportJob() { return this.to('GetExportJob'); } /** * Grants permission to retrieve a list of all of the export jobs for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-export.html#GetExportJobs */ toGetExportJobs() { return this.to('GetExportJobs'); } /** * Grants permission to retrieve information about the GCM channel for an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-gcm.html#GetGcmChannel */ toGetGcmChannel() { return this.to('GetGcmChannel'); } /** * Grants permission to retrieve information about a specific import job * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-import-job-id.html#GetImportJob */ toGetImportJob() { return this.to('GetImportJob'); } /** * Grants permission to retrieve information about all import jobs for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-jobs-import.html#GetImportJobs */ toGetImportJobs() { return this.to('GetImportJobs'); } /** * Grants permission to retrive in-app messages for the given endpoint id * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id-inappmessages.html#GetInAppMessages */ toGetInAppMessages() { return this.to('GetInAppMessages'); } /** * Grants permission to retrieve information about a specific or the active version of an in-app message template * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-inapp.html#GetInAppTemplate */ toGetInAppTemplate() { return this.to('GetInAppTemplate'); } /** * Grants permission to retrieve information about a specific journey * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id.html#GetJourney */ toGetJourney() { return this.to('GetJourney'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard engagement metric that applies to a journey * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-kpis-daterange-kpi-name.html#GetJourneyDateRangeKpi */ toGetJourneyDateRangeKpi() { return this.to('GetJourneyDateRangeKpi'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey activity * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-activities-journey-activity-id-execution-metrics.html#GetJourneyExecutionActivityMetrics */ toGetJourneyExecutionActivityMetrics() { return this.to('GetJourneyExecutionActivityMetrics'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-execution-metrics.html#GetJourneyExecutionMetrics */ toGetJourneyExecutionMetrics() { return this.to('GetJourneyExecutionMetrics'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey activity for a single journey run * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-runs-run-id-activities-journey-activity-id-execution-metrics.html#GetJourneyRunExecutionActivityMetrics */ toGetJourneyRunExecutionActivityMetrics() { return this.to('GetJourneyRunExecutionActivityMetrics'); } /** * Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey for a single journey run * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-runs-run-id-execution-metrics.html#GetJourneyRunExecutionMetrics */ toGetJourneyRunExecutionMetrics() { return this.to('GetJourneyRunExecutionMetrics'); } /** * Grants permission to retrieve information about all journey runs for a journey * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-runs.html */ toGetJourneyRuns() { return this.to('GetJourneyRuns'); } /** * Grants permission to retrieve information about a specific or the active version of an push notification template * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-push.html#GetPushTemplate */ toGetPushTemplate() { return this.to('GetPushTemplate'); } /** * Grants permission to retrieve information about an Amazon Pinpoint configuration for a recommender model * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/recommenders-recommender-id.html#GetRecommenderConfiguration */ toGetRecommenderConfiguration() { return this.to('GetRecommenderConfiguration'); } /** * Grants permission to retrieve information about all the recommender model configurations that are associated with an Amazon Pinpoint account * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/recommenders.html#GetRecommenderConfigurations */ toGetRecommenderConfigurations() { return this.to('GetRecommenderConfigurations'); } /** * Grants permission to mobiletargeting:GetReports * * Access Level: Read */ toGetReports() { return this.to('GetReports'); } /** * Grants permission to retrieve information about a specific segment * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id.html#GetSegment */ toGetSegment() { return this.to('GetSegment'); } /** * Grants permission to retrieve information about jobs that export endpoint definitions from segments to Amazon S3 * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id-jobs-export.html#GetSegmentExportJobs */ toGetSegmentExportJobs() { return this.to('GetSegmentExportJobs'); } /** * Grants permission to retrieve information about jobs that create segments by importing endpoint definitions from * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id-jobs-import.html#GetSegmentImportJobs */ toGetSegmentImportJobs() { return this.to('GetSegmentImportJobs'); } /** * Grants permission to retrieve information about a specific segment version * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id-versions-version.html#GetSegmentVersion */ toGetSegmentVersion() { return this.to('GetSegmentVersion'); } /** * Grants permission to retrieve information about the current and prior versions of a segment * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id-versions.html#GetSegmentVersions */ toGetSegmentVersions() { return this.to('GetSegmentVersions'); } /** * Grants permission to retrieve information about the segments for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments.html#GetSegments */ toGetSegments() { return this.to('GetSegments'); } /** * Grants permission to obtain information about the SMS channel in an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-sms.html#GetSmsChannel */ toGetSmsChannel() { return this.to('GetSmsChannel'); } /** * Grants permission to retrieve information about a specific or the active version of an sms message template * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-sms.html#GetSmsTemplate */ toGetSmsTemplate() { return this.to('GetSmsTemplate'); } /** * Grants permission to retrieve information about the endpoints that are associated with a user ID * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-users-user-id.html#GetUserEndpoints */ toGetUserEndpoints() { return this.to('GetUserEndpoints'); } /** * Grants permission to obtain information about the Voice channel in an app * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-voice.html#GetVoiceChannel */ toGetVoiceChannel() { return this.to('GetVoiceChannel'); } /** * Grants permission to retrieve information about a specific or the active version of a voice message template * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-voice.html#GetVoiceTemplate */ toGetVoiceTemplate() { return this.to('GetVoiceTemplate'); } /** * Grants permission to retrieve information about all journeys for an app * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys.html#ListJourneys */ toListJourneys() { return this.to('ListJourneys'); } /** * Grants permission to list tags for a resource * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/tags-resource-arn.html#ListTagsForResource */ toListTagsForResource() { return this.to('ListTagsForResource'); } /** * Grants permission to retrieve all versions about a specific template * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-template-type-versions.html#ListTemplateVersions */ toListTemplateVersions() { return this.to('ListTemplateVersions'); } /** * Grants permission to retrieve metadata about the queried templates * * Access Level: List * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates.html#ListTemplates */ toListTemplates() { return this.to('ListTemplates'); } /** * Grants permission to obtain metadata for a phone number, such as the number type (mobile, landline, or VoIP), location, and provider * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint/latest/apireference/phone-number-validate.html#PhoneNumberValidate */ toPhoneNumberValidate() { return this.to('PhoneNumberValidate'); } /** * Grants permission to create or update an event stream for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-eventstream.html#PutEventStream */ toPutEventStream() { return this.to('PutEventStream'); } /** * Grants permission to create or update events for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-events.html#PutEvents */ toPutEvents() { return this.to('PutEvents'); } /** * Grants permission to remove the attributes for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-attributes-attribute-type.html#RemoveAttributes */ toRemoveAttributes() { return this.to('RemoveAttributes'); } /** * Grants permission to send an SMS message or push notification to specific endpoints * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#SendMessages */ toSendMessages() { return this.to('SendMessages'); } /** * Grants permission to send an OTP code to a user of your application * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-otp.html#SendOTPMessage */ toSendOTPMessage() { return this.to('SendOTPMessage'); } /** * Grants permission to send an SMS message or push notification to all endpoints that are associated with a specific user ID * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-users-messages.html#SendUsersMessages */ toSendUsersMessages() { return this.to('SendUsersMessages'); } /** * Grants permission to add tags to a resource * * Access Level: Tagging * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/tags-resource-arn.html#TagResource */ toTagResource() { return this.to('TagResource'); } /** * Grants permission to remove tags from a resource * * Access Level: Tagging * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/tags-resource-arn.html#UntagResource */ toUntagResource() { return this.to('UntagResource'); } /** * Grants permission to update the Amazon Device Messaging (ADM) channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-adm.html#UpdateAdmChannel */ toUpdateAdmChannel() { return this.to('UpdateAdmChannel'); } /** * Grants permission to update the Apple Push Notification service (APNs) channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns.html#UpdateApnsChannel */ toUpdateApnsChannel() { return this.to('UpdateApnsChannel'); } /** * Grants permission to update the Apple Push Notification service (APNs) sandbox channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_sandbox.html#UpdateApnsSandboxChannel */ toUpdateApnsSandboxChannel() { return this.to('UpdateApnsSandboxChannel'); } /** * Grants permission to update the Apple Push Notification service (APNs) VoIP channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip.html#UpdateApnsVoipChannel */ toUpdateApnsVoipChannel() { return this.to('UpdateApnsVoipChannel'); } /** * Grants permission to update the Apple Push Notification service (APNs) VoIP sandbox channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-apns_voip_sandbox.html#UpdateApnsVoipSandboxChannel */ toUpdateApnsVoipSandboxChannel() { return this.to('UpdateApnsVoipSandboxChannel'); } /** * Grants permission to update the default settings for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-settings.html#UpdateApplicationSettings */ toUpdateApplicationSettings() { return this.to('UpdateApplicationSettings'); } /** * Grants permission to update the Baidu channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-baidu.html#UpdateBaiduChannel */ toUpdateBaiduChannel() { return this.to('UpdateBaiduChannel'); } /** * Grants permission to update a specific campaign * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#UpdateCampaign */ toUpdateCampaign() { return this.to('UpdateCampaign'); } /** * Grants permission to update the email channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-email.html#UpdateEmailChannel */ toUpdateEmailChannel() { return this.to('UpdateEmailChannel'); } /** * Grants permission to update a specific email template under the same version or generate a new version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#UpdateEmailTemplate */ toUpdateEmailTemplate() { return this.to('UpdateEmailTemplate'); } /** * Grants permission to create an endpoint or update the information for an endpoint * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id.html#UpdateEndpoint */ toUpdateEndpoint() { return this.to('UpdateEndpoint'); } /** * Grants permission to create or update endpoints as a batch operation * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints.html#UpdateEndpointsBatch */ toUpdateEndpointsBatch() { return this.to('UpdateEndpointsBatch'); } /** * Grants permission to update the Firebase Cloud Messaging (FCM) or Google Cloud Messaging (GCM) API key that allows to send push notifications to your Android app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-gcm.html#UpdateGcmChannel */ toUpdateGcmChannel() { return this.to('UpdateGcmChannel'); } /** * Grants permission to update a specific in-app message template under the same version or generate a new version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-inapp.html#UpdateInAppTemplate */ toUpdateInAppTemplate() { return this.to('UpdateInAppTemplate'); } /** * Grants permission to update a specific journey * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id.html#UpdateJourney */ toUpdateJourney() { return this.to('UpdateJourney'); } /** * Grants permission to update a specific journey state * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-journeys-journey-id-state.html#UpdateJourneyState */ toUpdateJourneyState() { return this.to('UpdateJourneyState'); } /** * Grants permission to update a specific push notification template under the same version or generate a new version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-push.html#UpdatePushTemplate */ toUpdatePushTemplate() { return this.to('UpdatePushTemplate'); } /** * Grants permission to update an Amazon Pinpoint configuration for a recommender model * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/recommenders-recommender-id.html#UpdateRecommenderConfiguration */ toUpdateRecommenderConfiguration() { return this.to('UpdateRecommenderConfiguration'); } /** * Grants permission to update a specific segment * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-segments-segment-id.html#UpdateSegment */ toUpdateSegment() { return this.to('UpdateSegment'); } /** * Grants permission to update the SMS channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-sms.html#UpdateSmsChannel */ toUpdateSmsChannel() { return this.to('UpdateSmsChannel'); } /** * Grants permission to update a specific sms message template under the same version or generate a new version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-sms.html#UpdateSmsTemplate */ toUpdateSmsTemplate() { return this.to('UpdateSmsTemplate'); } /** * Grants permission to update the active version parameter of a specific template * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-template-type-active-version.html#UpdateTemplateActiveVersion */ toUpdateTemplateActiveVersion() { return this.to('UpdateTemplateActiveVersion'); } /** * Grants permission to update the Voice channel for an app * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-channels-voice.html#UpdateVoiceChannel */ toUpdateVoiceChannel() { return this.to('UpdateVoiceChannel'); } /** * Grants permission to update a specific voice message template under the same version or generate a new version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-voice.html#UpdateVoiceTemplate */ toUpdateVoiceTemplate() { return this.to('UpdateVoiceTemplate'); } /** * Grants permission to check the validity of One-Time Passwords (OTPs) * * Access Level: Write * * https://docs.aws.amazon