amazonka-pinpoint-1.6.0: Amazon Pinpoint SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Pinpoint

Contents

Description

Amazon Pinpoint makes it easy to run targeted campaigns to drive user engagement in mobile apps. Amazon Pinpoint helps you understand user behavior, define which users to target, determine which messages to send, schedule the best time to deliver the messages, and then track the results of your campaign.

Targeted push notifications based on app usage trends and user behavior have become a popular approach for mobile app user engagement because response rates are often several times higher than tradition email marketing campaigns. By using targeted push notifications, you can increase message relevance and effectiveness, measure engagement, and continually improve your campaigns.

Getting started with Amazon Pinpoint is easy. First, AWS Mobile Hub guides you through the process to integrate the AWS Mobile SDK with your app. Next, you define your target segments, campaign message, and specify the delivery schedule. Once your campaign is running, Pinpoint provides metrics so you can run analytics and track the impact of your campaign.

With Amazon Pinpoint, there are no upfront setup costs, and no fixed monthly cost. You only pay for the number of users your campaign targets, the messages you send, and the events you collect, so you can start small and scale as your application grows.

Synopsis

Service Configuration

pinpoint :: Service Source #

API version 2016-12-01 of the Amazon Pinpoint SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Pinpoint.

ForbiddenException

NotFoundException

TooManyRequestsException

InternalServerErrorException

MethodNotAllowedException

BadRequestException

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetGCMChannel

GetSegmentImportJobs

SendMessages

GetImportJob

GetAPNSVoipSandboxChannel

GetSegmentVersions

DeleteCampaign

UpdateCampaign

GetSegmentVersion

CreateExportJob

CreateSegment

UpdateADMChannel

DeleteADMChannel

DeleteEndpoint

UpdateEndpoint

CreateCampaign

GetExportJob

GetEndpoint

GetSegment

UpdateEndpointsBatch

GetADMChannel

GetCampaign

DeleteApp

UpdateAPNSVoipSandboxChannel

DeleteAPNSVoipSandboxChannel

UpdateGCMChannel

DeleteGCMChannel

GetCampaignActivities

GetEventStream

DeleteEmailChannel

UpdateEmailChannel

GetBaiduChannel

DeleteAPNSChannel

UpdateAPNSChannel

PutEventStream

DeleteEventStream

GetCampaignVersions

GetAPNSChannel

GetApps

GetAPNSSandboxChannel

GetImportJobs

DeleteSmsChannel

UpdateSmsChannel

GetApp

GetCampaignVersion

DeleteSegment

UpdateSegment

CreateApp

GetSegmentExportJobs

GetSmsChannel

DeleteAPNSSandboxChannel

UpdateAPNSSandboxChannel

GetCampaigns

UpdateApplicationSettings

GetSegments

GetExportJobs

CreateImportJob

DeleteAPNSVoipChannel

UpdateAPNSVoipChannel

SendUsersMessages

GetApplicationSettings

DeleteBaiduChannel

UpdateBaiduChannel

GetAPNSVoipChannel

GetEmailChannel

Types

Action

data Action Source #

Constructors

DeepLink 
OpenApp 
URL 

Instances

Bounded Action Source # 
Enum Action Source # 
Eq Action Source # 

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

Data Action Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Action -> c Action #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Action #

toConstr :: Action -> Constr #

dataTypeOf :: Action -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Action) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Action) #

gmapT :: (forall b. Data b => b -> b) -> Action -> Action #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Action -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Action -> r #

gmapQ :: (forall d. Data d => d -> u) -> Action -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Action -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Action -> m Action #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Action -> m Action #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Action -> m Action #

Ord Action Source # 
Read Action Source # 
Show Action Source # 
Generic Action Source # 

Associated Types

type Rep Action :: * -> * #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

Hashable Action Source # 

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
FromJSON Action Source # 
NFData Action Source # 

Methods

rnf :: Action -> () #

ToHeader Action Source # 

Methods

toHeader :: HeaderName -> Action -> [Header] #

ToQuery Action Source # 
ToByteString Action Source # 

Methods

toBS :: Action -> ByteString #

FromText Action Source # 

Methods

parser :: Parser Action #

ToText Action Source # 

Methods

toText :: Action -> Text #

type Rep Action Source # 
type Rep Action = D1 * (MetaData "Action" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "DeepLink" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "OpenApp" PrefixI False) (U1 *)) (C1 * (MetaCons "URL" PrefixI False) (U1 *))))

AttributeType

data AttributeType Source #

Constructors

Exclusive 
Inclusive 

Instances

Bounded AttributeType Source # 
Enum AttributeType Source # 
Eq AttributeType Source # 
Data AttributeType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttributeType -> c AttributeType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttributeType #

toConstr :: AttributeType -> Constr #

dataTypeOf :: AttributeType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AttributeType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AttributeType) #

gmapT :: (forall b. Data b => b -> b) -> AttributeType -> AttributeType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AttributeType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AttributeType -> r #

gmapQ :: (forall d. Data d => d -> u) -> AttributeType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AttributeType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AttributeType -> m AttributeType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeType -> m AttributeType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeType -> m AttributeType #

Ord AttributeType Source # 
Read AttributeType Source # 
Show AttributeType Source # 
Generic AttributeType Source # 

Associated Types

type Rep AttributeType :: * -> * #

Hashable AttributeType Source # 
ToJSON AttributeType Source # 
FromJSON AttributeType Source # 
NFData AttributeType Source # 

Methods

rnf :: AttributeType -> () #

ToHeader AttributeType Source # 
ToQuery AttributeType Source # 
ToByteString AttributeType Source # 
FromText AttributeType Source # 
ToText AttributeType Source # 

Methods

toText :: AttributeType -> Text #

type Rep AttributeType Source # 
type Rep AttributeType = D1 * (MetaData "AttributeType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "Exclusive" PrefixI False) (U1 *)) (C1 * (MetaCons "Inclusive" PrefixI False) (U1 *)))

CampaignStatus

data CampaignStatus Source #

Instances

Bounded CampaignStatus Source # 
Enum CampaignStatus Source # 
Eq CampaignStatus Source # 
Data CampaignStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CampaignStatus -> c CampaignStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CampaignStatus #

toConstr :: CampaignStatus -> Constr #

dataTypeOf :: CampaignStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CampaignStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CampaignStatus) #

gmapT :: (forall b. Data b => b -> b) -> CampaignStatus -> CampaignStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CampaignStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CampaignStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> CampaignStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CampaignStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CampaignStatus -> m CampaignStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CampaignStatus -> m CampaignStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CampaignStatus -> m CampaignStatus #

Ord CampaignStatus Source # 
Read CampaignStatus Source # 
Show CampaignStatus Source # 
Generic CampaignStatus Source # 

Associated Types

type Rep CampaignStatus :: * -> * #

Hashable CampaignStatus Source # 
FromJSON CampaignStatus Source # 
NFData CampaignStatus Source # 

Methods

rnf :: CampaignStatus -> () #

ToHeader CampaignStatus Source # 
ToQuery CampaignStatus Source # 
ToByteString CampaignStatus Source # 
FromText CampaignStatus Source # 
ToText CampaignStatus Source # 
type Rep CampaignStatus Source # 
type Rep CampaignStatus = D1 * (MetaData "CampaignStatus" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Completed" PrefixI False) (U1 *)) (C1 * (MetaCons "Executing" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Paused" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "PendingNextRun" PrefixI False) (U1 *)) (C1 * (MetaCons "Scheduled" PrefixI False) (U1 *)))))

ChannelType

data ChannelType Source #

Instances

Bounded ChannelType Source # 
Enum ChannelType Source # 
Eq ChannelType Source # 
Data ChannelType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChannelType -> c ChannelType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChannelType #

toConstr :: ChannelType -> Constr #

dataTypeOf :: ChannelType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ChannelType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChannelType) #

gmapT :: (forall b. Data b => b -> b) -> ChannelType -> ChannelType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChannelType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChannelType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChannelType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChannelType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChannelType -> m ChannelType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChannelType -> m ChannelType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChannelType -> m ChannelType #

Ord ChannelType Source # 
Read ChannelType Source # 
Show ChannelType Source # 
Generic ChannelType Source # 

Associated Types

type Rep ChannelType :: * -> * #

Hashable ChannelType Source # 
ToJSON ChannelType Source # 
FromJSON ChannelType Source # 
NFData ChannelType Source # 

Methods

rnf :: ChannelType -> () #

ToHeader ChannelType Source # 
ToQuery ChannelType Source # 
ToByteString ChannelType Source # 
FromText ChannelType Source # 
ToText ChannelType Source # 

Methods

toText :: ChannelType -> Text #

type Rep ChannelType Source # 
type Rep ChannelType = D1 * (MetaData "ChannelType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "ADM" PrefixI False) (U1 *)) (C1 * (MetaCons "APNS" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "APNSSandbox" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "APNSVoip" PrefixI False) (U1 *)) (C1 * (MetaCons "APNSVoipSandbox" PrefixI False) (U1 *))))) ((:+:) * ((:+:) * (C1 * (MetaCons "Baidu" PrefixI False) (U1 *)) (C1 * (MetaCons "Custom" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Email" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "GCM" PrefixI False) (U1 *)) (C1 * (MetaCons "Sms" PrefixI False) (U1 *))))))

DefinitionFormat

data DefinitionFormat Source #

Constructors

CSV 
JSON 

Instances

Bounded DefinitionFormat Source # 
Enum DefinitionFormat Source # 
Eq DefinitionFormat Source # 
Data DefinitionFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DefinitionFormat -> c DefinitionFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DefinitionFormat #

toConstr :: DefinitionFormat -> Constr #

dataTypeOf :: DefinitionFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DefinitionFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DefinitionFormat) #

gmapT :: (forall b. Data b => b -> b) -> DefinitionFormat -> DefinitionFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DefinitionFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DefinitionFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> DefinitionFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DefinitionFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DefinitionFormat -> m DefinitionFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DefinitionFormat -> m DefinitionFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DefinitionFormat -> m DefinitionFormat #

Ord DefinitionFormat Source # 
Read DefinitionFormat Source # 
Show DefinitionFormat Source # 
Generic DefinitionFormat Source # 
Hashable DefinitionFormat Source # 
ToJSON DefinitionFormat Source # 
FromJSON DefinitionFormat Source # 
NFData DefinitionFormat Source # 

Methods

rnf :: DefinitionFormat -> () #

ToHeader DefinitionFormat Source # 
ToQuery DefinitionFormat Source # 
ToByteString DefinitionFormat Source # 
FromText DefinitionFormat Source # 
ToText DefinitionFormat Source # 
type Rep DefinitionFormat Source # 
type Rep DefinitionFormat = D1 * (MetaData "DefinitionFormat" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "CSV" PrefixI False) (U1 *)) (C1 * (MetaCons "JSON" PrefixI False) (U1 *)))

DeliveryStatus

data DeliveryStatus Source #

Instances

Bounded DeliveryStatus Source # 
Enum DeliveryStatus Source # 
Eq DeliveryStatus Source # 
Data DeliveryStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeliveryStatus -> c DeliveryStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeliveryStatus #

toConstr :: DeliveryStatus -> Constr #

dataTypeOf :: DeliveryStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeliveryStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeliveryStatus) #

gmapT :: (forall b. Data b => b -> b) -> DeliveryStatus -> DeliveryStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeliveryStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeliveryStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeliveryStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeliveryStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeliveryStatus -> m DeliveryStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeliveryStatus -> m DeliveryStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeliveryStatus -> m DeliveryStatus #

Ord DeliveryStatus Source # 
Read DeliveryStatus Source # 
Show DeliveryStatus Source # 
Generic DeliveryStatus Source # 

Associated Types

type Rep DeliveryStatus :: * -> * #

Hashable DeliveryStatus Source # 
FromJSON DeliveryStatus Source # 
NFData DeliveryStatus Source # 

Methods

rnf :: DeliveryStatus -> () #

ToHeader DeliveryStatus Source # 
ToQuery DeliveryStatus Source # 
ToByteString DeliveryStatus Source # 
FromText DeliveryStatus Source # 
ToText DeliveryStatus Source # 
type Rep DeliveryStatus Source # 
type Rep DeliveryStatus = D1 * (MetaData "DeliveryStatus" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Duplicate" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "OptOut" PrefixI False) (U1 *)) (C1 * (MetaCons "PermanentFailure" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "Successful" PrefixI False) (U1 *)) (C1 * (MetaCons "TemporaryFailure" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Throttled" PrefixI False) (U1 *)) (C1 * (MetaCons "UnknownFailure" PrefixI False) (U1 *)))))

DimensionType

data DimensionType Source #

Constructors

DTExclusive 
DTInclusive 

Instances

Bounded DimensionType Source # 
Enum DimensionType Source # 
Eq DimensionType Source # 
Data DimensionType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DimensionType -> c DimensionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DimensionType #

toConstr :: DimensionType -> Constr #

dataTypeOf :: DimensionType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DimensionType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DimensionType) #

gmapT :: (forall b. Data b => b -> b) -> DimensionType -> DimensionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DimensionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DimensionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> DimensionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DimensionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DimensionType -> m DimensionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DimensionType -> m DimensionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DimensionType -> m DimensionType #

Ord DimensionType Source # 
Read DimensionType Source # 
Show DimensionType Source # 
Generic DimensionType Source # 

Associated Types

type Rep DimensionType :: * -> * #

Hashable DimensionType Source # 
ToJSON DimensionType Source # 
FromJSON DimensionType Source # 
NFData DimensionType Source # 

Methods

rnf :: DimensionType -> () #

ToHeader DimensionType Source # 
ToQuery DimensionType Source # 
ToByteString DimensionType Source # 
FromText DimensionType Source # 
ToText DimensionType Source # 

Methods

toText :: DimensionType -> Text #

type Rep DimensionType Source # 
type Rep DimensionType = D1 * (MetaData "DimensionType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "DTExclusive" PrefixI False) (U1 *)) (C1 * (MetaCons "DTInclusive" PrefixI False) (U1 *)))

Duration

data Duration Source #

Constructors

Day14 
Day30 
Day7 
Hr24 

Instances

Bounded Duration Source # 
Enum Duration Source # 
Eq Duration Source # 
Data Duration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Duration -> c Duration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Duration #

toConstr :: Duration -> Constr #

dataTypeOf :: Duration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Duration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Duration) #

gmapT :: (forall b. Data b => b -> b) -> Duration -> Duration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Duration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Duration -> r #

gmapQ :: (forall d. Data d => d -> u) -> Duration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Duration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

Ord Duration Source # 
Read Duration Source # 
Show Duration Source # 
Generic Duration Source # 

Associated Types

type Rep Duration :: * -> * #

Methods

from :: Duration -> Rep Duration x #

to :: Rep Duration x -> Duration #

Hashable Duration Source # 

Methods

hashWithSalt :: Int -> Duration -> Int #

hash :: Duration -> Int #

ToJSON Duration Source # 
FromJSON Duration Source # 
NFData Duration Source # 

Methods

rnf :: Duration -> () #

ToHeader Duration Source # 

Methods

toHeader :: HeaderName -> Duration -> [Header] #

ToQuery Duration Source # 
ToByteString Duration Source # 

Methods

toBS :: Duration -> ByteString #

FromText Duration Source # 
ToText Duration Source # 

Methods

toText :: Duration -> Text #

type Rep Duration Source # 
type Rep Duration = D1 * (MetaData "Duration" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Day14" PrefixI False) (U1 *)) (C1 * (MetaCons "Day30" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Day7" PrefixI False) (U1 *)) (C1 * (MetaCons "Hr24" PrefixI False) (U1 *))))

Frequency

data Frequency Source #

Constructors

Daily 
Hourly 
Monthly 
Once 
Weekly 

Instances

Bounded Frequency Source # 
Enum Frequency Source # 
Eq Frequency Source # 
Data Frequency Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Frequency -> c Frequency #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Frequency #

toConstr :: Frequency -> Constr #

dataTypeOf :: Frequency -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Frequency) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Frequency) #

gmapT :: (forall b. Data b => b -> b) -> Frequency -> Frequency #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Frequency -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Frequency -> r #

gmapQ :: (forall d. Data d => d -> u) -> Frequency -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Frequency -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Frequency -> m Frequency #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Frequency -> m Frequency #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Frequency -> m Frequency #

Ord Frequency Source # 
Read Frequency Source # 
Show Frequency Source # 
Generic Frequency Source # 

Associated Types

type Rep Frequency :: * -> * #

Hashable Frequency Source # 
ToJSON Frequency Source # 
FromJSON Frequency Source # 
NFData Frequency Source # 

Methods

rnf :: Frequency -> () #

ToHeader Frequency Source # 
ToQuery Frequency Source # 
ToByteString Frequency Source # 

Methods

toBS :: Frequency -> ByteString #

FromText Frequency Source # 
ToText Frequency Source # 

Methods

toText :: Frequency -> Text #

type Rep Frequency Source # 
type Rep Frequency = D1 * (MetaData "Frequency" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Daily" PrefixI False) (U1 *)) (C1 * (MetaCons "Hourly" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Monthly" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Once" PrefixI False) (U1 *)) (C1 * (MetaCons "Weekly" PrefixI False) (U1 *)))))

JobStatus

data JobStatus Source #

Instances

Bounded JobStatus Source # 
Enum JobStatus Source # 
Eq JobStatus Source # 
Data JobStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobStatus -> c JobStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobStatus #

toConstr :: JobStatus -> Constr #

dataTypeOf :: JobStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c JobStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobStatus) #

gmapT :: (forall b. Data b => b -> b) -> JobStatus -> JobStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> JobStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JobStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobStatus -> m JobStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobStatus -> m JobStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobStatus -> m JobStatus #

Ord JobStatus Source # 
Read JobStatus Source # 
Show JobStatus Source # 
Generic JobStatus Source # 

Associated Types

type Rep JobStatus :: * -> * #

Hashable JobStatus Source # 
FromJSON JobStatus Source # 
NFData JobStatus Source # 

Methods

rnf :: JobStatus -> () #

ToHeader JobStatus Source # 
ToQuery JobStatus Source # 
ToByteString JobStatus Source # 

Methods

toBS :: JobStatus -> ByteString #

FromText JobStatus Source # 
ToText JobStatus Source # 

Methods

toText :: JobStatus -> Text #

type Rep JobStatus Source # 
type Rep JobStatus = D1 * (MetaData "JobStatus" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * ((:+:) * (C1 * (MetaCons "JSCompleted" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "JSCompleting" PrefixI False) (U1 *)) (C1 * (MetaCons "JSCreated" PrefixI False) (U1 *)))) ((:+:) * ((:+:) * (C1 * (MetaCons "JSFailed" PrefixI False) (U1 *)) (C1 * (MetaCons "JSFailing" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "JSInitializing" PrefixI False) (U1 *)) (C1 * (MetaCons "JSProcessing" PrefixI False) (U1 *)))))

MessageType

data MessageType Source #

Constructors

Promotional 
Transactional 

Instances

Bounded MessageType Source # 
Enum MessageType Source # 
Eq MessageType Source # 
Data MessageType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessageType -> c MessageType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessageType #

toConstr :: MessageType -> Constr #

dataTypeOf :: MessageType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessageType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessageType) #

gmapT :: (forall b. Data b => b -> b) -> MessageType -> MessageType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessageType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessageType -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessageType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessageType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessageType -> m MessageType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageType -> m MessageType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageType -> m MessageType #

Ord MessageType Source # 
Read MessageType Source # 
Show MessageType Source # 
Generic MessageType Source # 

Associated Types

type Rep MessageType :: * -> * #

Hashable MessageType Source # 
ToJSON MessageType Source # 
FromJSON MessageType Source # 
NFData MessageType Source # 

Methods

rnf :: MessageType -> () #

ToHeader MessageType Source # 
ToQuery MessageType Source # 
ToByteString MessageType Source # 
FromText MessageType Source # 
ToText MessageType Source # 

Methods

toText :: MessageType -> Text #

type Rep MessageType Source # 
type Rep MessageType = D1 * (MetaData "MessageType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "Promotional" PrefixI False) (U1 *)) (C1 * (MetaCons "Transactional" PrefixI False) (U1 *)))

Mode

data Mode Source #

Constructors

Delivery 
Filter 

Instances

Bounded Mode Source # 
Enum Mode Source # 

Methods

succ :: Mode -> Mode #

pred :: Mode -> Mode #

toEnum :: Int -> Mode #

fromEnum :: Mode -> Int #

enumFrom :: Mode -> [Mode] #

enumFromThen :: Mode -> Mode -> [Mode] #

enumFromTo :: Mode -> Mode -> [Mode] #

enumFromThenTo :: Mode -> Mode -> Mode -> [Mode] #

Eq Mode Source # 

Methods

(==) :: Mode -> Mode -> Bool #

(/=) :: Mode -> Mode -> Bool #

Data Mode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Mode -> c Mode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mode #

toConstr :: Mode -> Constr #

dataTypeOf :: Mode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Mode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mode) #

gmapT :: (forall b. Data b => b -> b) -> Mode -> Mode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mode -> r #

gmapQ :: (forall d. Data d => d -> u) -> Mode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Mode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mode -> m Mode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mode -> m Mode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mode -> m Mode #

Ord Mode Source # 

Methods

compare :: Mode -> Mode -> Ordering #

(<) :: Mode -> Mode -> Bool #

(<=) :: Mode -> Mode -> Bool #

(>) :: Mode -> Mode -> Bool #

(>=) :: Mode -> Mode -> Bool #

max :: Mode -> Mode -> Mode #

min :: Mode -> Mode -> Mode #

Read Mode Source # 
Show Mode Source # 

Methods

showsPrec :: Int -> Mode -> ShowS #

show :: Mode -> String #

showList :: [Mode] -> ShowS #

Generic Mode Source # 

Associated Types

type Rep Mode :: * -> * #

Methods

from :: Mode -> Rep Mode x #

to :: Rep Mode x -> Mode #

Hashable Mode Source # 

Methods

hashWithSalt :: Int -> Mode -> Int #

hash :: Mode -> Int #

ToJSON Mode Source # 
FromJSON Mode Source # 
NFData Mode Source # 

Methods

rnf :: Mode -> () #

ToHeader Mode Source # 

Methods

toHeader :: HeaderName -> Mode -> [Header] #

ToQuery Mode Source # 

Methods

toQuery :: Mode -> QueryString #

ToByteString Mode Source # 

Methods

toBS :: Mode -> ByteString #

FromText Mode Source # 

Methods

parser :: Parser Mode #

ToText Mode Source # 

Methods

toText :: Mode -> Text #

type Rep Mode Source # 
type Rep Mode = D1 * (MetaData "Mode" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "Delivery" PrefixI False) (U1 *)) (C1 * (MetaCons "Filter" PrefixI False) (U1 *)))

RecencyType

data RecencyType Source #

Constructors

Active 
Inactive 

Instances

Bounded RecencyType Source # 
Enum RecencyType Source # 
Eq RecencyType Source # 
Data RecencyType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecencyType -> c RecencyType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecencyType #

toConstr :: RecencyType -> Constr #

dataTypeOf :: RecencyType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RecencyType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecencyType) #

gmapT :: (forall b. Data b => b -> b) -> RecencyType -> RecencyType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecencyType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecencyType -> r #

gmapQ :: (forall d. Data d => d -> u) -> RecencyType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RecencyType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecencyType -> m RecencyType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecencyType -> m RecencyType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecencyType -> m RecencyType #

Ord RecencyType Source # 
Read RecencyType Source # 
Show RecencyType Source # 
Generic RecencyType Source # 

Associated Types

type Rep RecencyType :: * -> * #

Hashable RecencyType Source # 
ToJSON RecencyType Source # 
FromJSON RecencyType Source # 
NFData RecencyType Source # 

Methods

rnf :: RecencyType -> () #

ToHeader RecencyType Source # 
ToQuery RecencyType Source # 
ToByteString RecencyType Source # 
FromText RecencyType Source # 
ToText RecencyType Source # 

Methods

toText :: RecencyType -> Text #

type Rep RecencyType Source # 
type Rep RecencyType = D1 * (MetaData "RecencyType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "Active" PrefixI False) (U1 *)) (C1 * (MetaCons "Inactive" PrefixI False) (U1 *)))

SegmentType

data SegmentType Source #

Constructors

Dimensional 
Import 

Instances

Bounded SegmentType Source # 
Enum SegmentType Source # 
Eq SegmentType Source # 
Data SegmentType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SegmentType -> c SegmentType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SegmentType #

toConstr :: SegmentType -> Constr #

dataTypeOf :: SegmentType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SegmentType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SegmentType) #

gmapT :: (forall b. Data b => b -> b) -> SegmentType -> SegmentType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SegmentType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SegmentType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SegmentType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SegmentType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SegmentType -> m SegmentType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentType -> m SegmentType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentType -> m SegmentType #

Ord SegmentType Source # 
Read SegmentType Source # 
Show SegmentType Source # 
Generic SegmentType Source # 

Associated Types

type Rep SegmentType :: * -> * #

Hashable SegmentType Source # 
FromJSON SegmentType Source # 
NFData SegmentType Source # 

Methods

rnf :: SegmentType -> () #

ToHeader SegmentType Source # 
ToQuery SegmentType Source # 
ToByteString SegmentType Source # 
FromText SegmentType Source # 
ToText SegmentType Source # 

Methods

toText :: SegmentType -> Text #

type Rep SegmentType Source # 
type Rep SegmentType = D1 * (MetaData "SegmentType" "Network.AWS.Pinpoint.Types.Sum" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) ((:+:) * (C1 * (MetaCons "Dimensional" PrefixI False) (U1 *)) (C1 * (MetaCons "Import" PrefixI False) (U1 *)))

ADMChannelRequest

data ADMChannelRequest Source #

Amazon Device Messaging channel definition.

See: aDMChannelRequest smart constructor.

Instances

Eq ADMChannelRequest Source # 
Data ADMChannelRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ADMChannelRequest -> c ADMChannelRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ADMChannelRequest #

toConstr :: ADMChannelRequest -> Constr #

dataTypeOf :: ADMChannelRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ADMChannelRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ADMChannelRequest) #

gmapT :: (forall b. Data b => b -> b) -> ADMChannelRequest -> ADMChannelRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ADMChannelRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ADMChannelRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ADMChannelRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ADMChannelRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ADMChannelRequest -> m ADMChannelRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMChannelRequest -> m ADMChannelRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMChannelRequest -> m ADMChannelRequest #

Read ADMChannelRequest Source # 
Show ADMChannelRequest Source # 
Generic ADMChannelRequest Source # 
Hashable ADMChannelRequest Source # 
ToJSON ADMChannelRequest Source # 
NFData ADMChannelRequest Source # 

Methods

rnf :: ADMChannelRequest -> () #

type Rep ADMChannelRequest Source # 
type Rep ADMChannelRequest = D1 * (MetaData "ADMChannelRequest" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "ADMChannelRequest'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_admcrClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_admcrClientSecret") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admcrEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))))

aDMChannelRequest :: ADMChannelRequest Source #

Creates a value of ADMChannelRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

admcrClientId :: Lens' ADMChannelRequest (Maybe Text) Source #

Client ID as gotten from Amazon

admcrClientSecret :: Lens' ADMChannelRequest (Maybe Text) Source #

Client secret as gotten from Amazon

admcrEnabled :: Lens' ADMChannelRequest (Maybe Bool) Source #

If the channel is enabled for sending messages.

ADMChannelResponse

data ADMChannelResponse Source #

Amazon Device Messaging channel definition.

See: aDMChannelResponse smart constructor.

Instances

Eq ADMChannelResponse Source # 
Data ADMChannelResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ADMChannelResponse -> c ADMChannelResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ADMChannelResponse #

toConstr :: ADMChannelResponse -> Constr #

dataTypeOf :: ADMChannelResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ADMChannelResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ADMChannelResponse) #

gmapT :: (forall b. Data b => b -> b) -> ADMChannelResponse -> ADMChannelResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ADMChannelResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ADMChannelResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ADMChannelResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ADMChannelResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ADMChannelResponse -> m ADMChannelResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMChannelResponse -> m ADMChannelResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMChannelResponse -> m ADMChannelResponse #

Read ADMChannelResponse Source # 
Show ADMChannelResponse Source # 
Generic ADMChannelResponse Source # 
Hashable ADMChannelResponse Source # 
FromJSON ADMChannelResponse Source # 
NFData ADMChannelResponse Source # 

Methods

rnf :: ADMChannelResponse -> () #

type Rep ADMChannelResponse Source # 

aDMChannelResponse :: ADMChannelResponse Source #

Creates a value of ADMChannelResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

admcEnabled :: Lens' ADMChannelResponse (Maybe Bool) Source #

If the channel is enabled for sending messages.

admcApplicationId :: Lens' ADMChannelResponse (Maybe Text) Source #

The ID of the application to which the channel applies.

admcId :: Lens' ADMChannelResponse (Maybe Text) Source #

Channel ID. Not used, only for backwards compatibility.

admcCreationDate :: Lens' ADMChannelResponse (Maybe Text) Source #

When was this segment created

admcLastModifiedBy :: Lens' ADMChannelResponse (Maybe Text) Source #

Who last updated this entry

admcHasCredential :: Lens' ADMChannelResponse (Maybe Bool) Source #

Indicates whether the channel is configured with ADM credentials. Amazon Pinpoint uses your credentials to authenticate push notifications with ADM. Provide your credentials by setting the ClientId and ClientSecret attributes.

ADMMessage

data ADMMessage Source #

ADM Message.

See: aDMMessage smart constructor.

Instances

Eq ADMMessage Source # 
Data ADMMessage Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ADMMessage -> c ADMMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ADMMessage #

toConstr :: ADMMessage -> Constr #

dataTypeOf :: ADMMessage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ADMMessage) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ADMMessage) #

gmapT :: (forall b. Data b => b -> b) -> ADMMessage -> ADMMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ADMMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ADMMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> ADMMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ADMMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ADMMessage -> m ADMMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMMessage -> m ADMMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ADMMessage -> m ADMMessage #

Read ADMMessage Source # 
Show ADMMessage Source # 
Generic ADMMessage Source # 

Associated Types

type Rep ADMMessage :: * -> * #

Hashable ADMMessage Source # 
ToJSON ADMMessage Source # 
NFData ADMMessage Source # 

Methods

rnf :: ADMMessage -> () #

type Rep ADMMessage Source # 
type Rep ADMMessage = D1 * (MetaData "ADMMessage" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "ADMMessage'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_admmSubstitutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text [Text])))) (S1 * (MetaSel (Just Symbol "_admmExpiresAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_admmMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmSilentPush") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_admmImageIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmRawContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_admmData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_admmSmallImageIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_admmBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_admmSound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Action))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_admmImageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmConsolidationKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_admmTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_admmIconReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))))

aDMMessage :: ADMMessage Source #

Creates a value of ADMMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • admmSubstitutions - Default message substitutions. Can be overridden by individual address substitutions.
  • admmExpiresAfter - Optional. Number of seconds ADM should retain the message if the device is offline
  • admmMD5 - Optional. Base-64-encoded MD5 checksum of the data parameter. Used to verify data integrity
  • admmSilentPush - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.
  • admmImageIconURL - The URL that points to an image used as the large icon to the notification content view.
  • admmRawContent - The Raw JSON formatted string to be used as the payload. This value overrides the message.
  • admmData - The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object
  • admmSmallImageIconURL - The URL that points to an image used as the small icon for the notification which will be used to represent the notification in the status bar and content view
  • admmBody - The message body of the notification, the email body or the text message.
  • admmURL - The URL to open in the user's mobile browser. Used if the value for Action is URL.
  • admmSound - Indicates a sound to play when the device receives the notification. Supports default, or the filename of a sound resource bundled in the app. Android sound files must reside in resraw/
  • admmAction - The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL
  • admmImageURL - The URL that points to an image used in the push notification.
  • admmConsolidationKey - Optional. Arbitrary string used to indicate multiple messages are logically the same and that ADM is allowed to drop previously enqueued messages in favor of this one.
  • admmTitle - The message title that displays above the message on the user's device.
  • admmIconReference - The icon image name of the asset saved in your application.

admmSubstitutions :: Lens' ADMMessage (HashMap Text [Text]) Source #

Default message substitutions. Can be overridden by individual address substitutions.

admmExpiresAfter :: Lens' ADMMessage (Maybe Text) Source #

Optional. Number of seconds ADM should retain the message if the device is offline

admmMD5 :: Lens' ADMMessage (Maybe Text) Source #

Optional. Base-64-encoded MD5 checksum of the data parameter. Used to verify data integrity

admmSilentPush :: Lens' ADMMessage (Maybe Bool) Source #

Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.

admmImageIconURL :: Lens' ADMMessage (Maybe Text) Source #

The URL that points to an image used as the large icon to the notification content view.

admmRawContent :: Lens' ADMMessage (Maybe Text) Source #

The Raw JSON formatted string to be used as the payload. This value overrides the message.

admmData :: Lens' ADMMessage (HashMap Text Text) Source #

The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object

admmSmallImageIconURL :: Lens' ADMMessage (Maybe Text) Source #

The URL that points to an image used as the small icon for the notification which will be used to represent the notification in the status bar and content view

admmBody :: Lens' ADMMessage (Maybe Text) Source #

The message body of the notification, the email body or the text message.

admmURL :: Lens' ADMMessage (Maybe Text) Source #

The URL to open in the user's mobile browser. Used if the value for Action is URL.

admmSound :: Lens' ADMMessage (Maybe Text) Source #

Indicates a sound to play when the device receives the notification. Supports default, or the filename of a sound resource bundled in the app. Android sound files must reside in resraw/

admmAction :: Lens' ADMMessage (Maybe Action) Source #

The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL

admmImageURL :: Lens' ADMMessage (Maybe Text) Source #

The URL that points to an image used in the push notification.

admmConsolidationKey :: Lens' ADMMessage (Maybe Text) Source #

Optional. Arbitrary string used to indicate multiple messages are logically the same and that ADM is allowed to drop previously enqueued messages in favor of this one.

admmTitle :: Lens' ADMMessage (Maybe Text) Source #

The message title that displays above the message on the user's device.

admmIconReference :: Lens' ADMMessage (Maybe Text) Source #

The icon image name of the asset saved in your application.

APNSChannelRequest

data APNSChannelRequest Source #

Apple Push Notification Service channel definition.

See: apnsChannelRequest smart constructor.

Instances

Eq APNSChannelRequest Source # 
Data APNSChannelRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APNSChannelRequest -> c APNSChannelRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APNSChannelRequest #

toConstr :: APNSChannelRequest -> Constr #

dataTypeOf :: APNSChannelRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c APNSChannelRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APNSChannelRequest) #

gmapT :: (forall b. Data b => b -> b) -> APNSChannelRequest -> APNSChannelRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APNSChannelRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APNSChannelRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> APNSChannelRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APNSChannelRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APNSChannelRequest -> m APNSChannelRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSChannelRequest -> m APNSChannelRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSChannelRequest -> m APNSChannelRequest #

Read APNSChannelRequest Source # 
Show APNSChannelRequest Source # 
Generic APNSChannelRequest Source # 
Hashable APNSChannelRequest Source # 
ToJSON APNSChannelRequest Source # 
NFData APNSChannelRequest Source # 

Methods

rnf :: APNSChannelRequest -> () #

type Rep APNSChannelRequest Source # 
type Rep APNSChannelRequest = D1 * (MetaData "APNSChannelRequest" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "APNSChannelRequest'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_acrTokenKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acrPrivateKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acrEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_acrTeamId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_acrBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acrDefaultAuthenticationMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acrCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acrTokenKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

apnsChannelRequest :: APNSChannelRequest Source #

Creates a value of APNSChannelRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acrTokenKey :: Lens' APNSChannelRequest (Maybe Text) Source #

The token key used for APNs Tokens.

acrPrivateKey :: Lens' APNSChannelRequest (Maybe Text) Source #

The certificate private key.

acrEnabled :: Lens' APNSChannelRequest (Maybe Bool) Source #

If the channel is enabled for sending messages.

acrTeamId :: Lens' APNSChannelRequest (Maybe Text) Source #

The team id used for APNs Tokens.

acrBundleId :: Lens' APNSChannelRequest (Maybe Text) Source #

The bundle id used for APNs Tokens.

acrDefaultAuthenticationMethod :: Lens' APNSChannelRequest (Maybe Text) Source #

The default authentication method used for APNs.

acrCertificate :: Lens' APNSChannelRequest (Maybe Text) Source #

The distribution certificate from Apple.

acrTokenKeyId :: Lens' APNSChannelRequest (Maybe Text) Source #

The token key used for APNs Tokens.

APNSChannelResponse

data APNSChannelResponse Source #

Apple Distribution Push Notification Service channel definition.

See: apnsChannelResponse smart constructor.

Instances

Eq APNSChannelResponse Source # 
Data APNSChannelResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APNSChannelResponse -> c APNSChannelResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APNSChannelResponse #

toConstr :: APNSChannelResponse -> Constr #

dataTypeOf :: APNSChannelResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c APNSChannelResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APNSChannelResponse) #

gmapT :: (forall b. Data b => b -> b) -> APNSChannelResponse -> APNSChannelResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APNSChannelResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APNSChannelResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> APNSChannelResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APNSChannelResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APNSChannelResponse -> m APNSChannelResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSChannelResponse -> m APNSChannelResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSChannelResponse -> m APNSChannelResponse #

Read APNSChannelResponse Source # 
Show APNSChannelResponse Source # 
Generic APNSChannelResponse Source # 
Hashable APNSChannelResponse Source # 
FromJSON APNSChannelResponse Source # 
NFData APNSChannelResponse Source # 

Methods

rnf :: APNSChannelResponse -> () #

type Rep APNSChannelResponse Source # 
type Rep APNSChannelResponse = D1 * (MetaData "APNSChannelResponse" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "APNSChannelResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_acPlatform") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acHasTokenKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acDefaultAuthenticationMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acIsArchived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_acApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_acId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_acLastModifiedBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_acHasCredential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))))))

apnsChannelResponse :: APNSChannelResponse Source #

Creates a value of APNSChannelResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • acPlatform - The platform type. Will be APNS.
  • acLastModifiedDate - Last date this was updated
  • acEnabled - If the channel is enabled for sending messages.
  • acHasTokenKey - Indicates whether the channel is configured with a key for APNs token authentication. Provide a token key by setting the TokenKey attribute.
  • acDefaultAuthenticationMethod - The default authentication method used for APNs.
  • acIsArchived - Is this channel archived
  • acApplicationId - The ID of the application to which the channel applies.
  • acVersion - Version of channel
  • acId - Channel ID. Not used. Present only for backwards compatibility.
  • acCreationDate - When was this segment created
  • acLastModifiedBy - Who last updated this entry
  • acHasCredential - Indicates whether the channel is configured with APNs credentials. Amazon Pinpoint uses your credentials to authenticate push notifications with APNs. To use APNs token authentication, set the BundleId, TeamId, TokenKey, and TokenKeyId attributes. To use certificate authentication, set the Certificate and PrivateKey attributes.

acPlatform :: Lens' APNSChannelResponse (Maybe Text) Source #

The platform type. Will be APNS.

acEnabled :: Lens' APNSChannelResponse (Maybe Bool) Source #

If the channel is enabled for sending messages.

acHasTokenKey :: Lens' APNSChannelResponse (Maybe Bool) Source #

Indicates whether the channel is configured with a key for APNs token authentication. Provide a token key by setting the TokenKey attribute.

acDefaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text) Source #

The default authentication method used for APNs.

acIsArchived :: Lens' APNSChannelResponse (Maybe Bool) Source #

Is this channel archived

acApplicationId :: Lens' APNSChannelResponse (Maybe Text) Source #

The ID of the application to which the channel applies.

acId :: Lens' APNSChannelResponse (Maybe Text) Source #

Channel ID. Not used. Present only for backwards compatibility.

acCreationDate :: Lens' APNSChannelResponse (Maybe Text) Source #

When was this segment created

acLastModifiedBy :: Lens' APNSChannelResponse (Maybe Text) Source #

Who last updated this entry

acHasCredential :: Lens' APNSChannelResponse (Maybe Bool) Source #

Indicates whether the channel is configured with APNs credentials. Amazon Pinpoint uses your credentials to authenticate push notifications with APNs. To use APNs token authentication, set the BundleId, TeamId, TokenKey, and TokenKeyId attributes. To use certificate authentication, set the Certificate and PrivateKey attributes.

APNSMessage

data APNSMessage Source #

APNS Message.

See: apnsMessage smart constructor.

Instances

Eq APNSMessage Source # 
Data APNSMessage Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APNSMessage -> c APNSMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APNSMessage #

toConstr :: APNSMessage -> Constr #

dataTypeOf :: APNSMessage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c APNSMessage) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APNSMessage) #

gmapT :: (forall b. Data b => b -> b) -> APNSMessage -> APNSMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APNSMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APNSMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> APNSMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APNSMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APNSMessage -> m APNSMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSMessage -> m APNSMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSMessage -> m APNSMessage #

Read APNSMessage Source # 
Show APNSMessage Source # 
Generic APNSMessage Source # 

Associated Types

type Rep APNSMessage :: * -> * #

Hashable APNSMessage Source # 
ToJSON APNSMessage Source # 
NFData APNSMessage Source # 

Methods

rnf :: APNSMessage -> () #

type Rep APNSMessage Source # 
type Rep APNSMessage = D1 * (MetaData "APNSMessage" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "APNSMessage'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_amSubstitutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text [Text])))) (S1 * (MetaSel (Just Symbol "_amSilentPush") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_amPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_amRawContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_amData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_amBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_amCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_amTimeToLive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_amURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_amSound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_amAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Action))) (S1 * (MetaSel (Just Symbol "_amMediaURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_amPreferredAuthenticationMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_amBadge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_amTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_amThreadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_amCollapseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))))

apnsMessage :: APNSMessage Source #

Creates a value of APNSMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • amSubstitutions - Default message substitutions. Can be overridden by individual address substitutions.
  • amSilentPush - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.
  • amPriority - The message priority. Amazon Pinpoint uses this value to set the apns-priority request header when it sends the message to APNs. Accepts the following values: "5" - Low priority. Messages might be delayed, delivered in groups, and throttled. "10" - High priority. Messages are sent immediately. High priority messages must cause an alert, sound, or badge on the receiving device. The default value is "10". The equivalent values for FCM or GCM messages are "normal" and "high". Amazon Pinpoint accepts these values for APNs messages and converts them. For more information about the apns-priority parameter, see Communicating with APNs in the APNs Local and Remote Notification Programming Guide.
  • amRawContent - The Raw JSON formatted string to be used as the payload. This value overrides the message.
  • amData - The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object
  • amBody - The message body of the notification, the email body or the text message.
  • amCategory - Provide this key with a string value that represents the notification's type. This value corresponds to the value in the identifier property of one of your app's registered categories.
  • amTimeToLive - The length of time (in seconds) that APNs stores and attempts to deliver the message. If the value is 0, APNs does not store the message or attempt to deliver it more than once. Amazon Pinpoint uses this value to set the apns-expiration request header when it sends the message to APNs.
  • amURL - The URL to open in the user's mobile browser. Used if the value for Action is URL.
  • amSound - Include this key when you want the system to play a sound. The value of this key is the name of a sound file in your app's main bundle or in the Library/Sounds folder of your app's data container. If the sound file cannot be found, or if you specify defaultfor the value, the system plays the default alert sound.
  • amAction - The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL
  • amMediaURL - The URL that points to a video used in the push notification.
  • amPreferredAuthenticationMethod - The preferred authentication method, either CERTIFICATE or TOKEN
  • amBadge - Include this key when you want the system to modify the badge of your app icon. If this key is not included in the dictionary, the badge is not changed. To remove the badge, set the value of this key to 0.
  • amTitle - The message title that displays above the message on the user's device.
  • amThreadId - Provide this key with a string value that represents the app-specific identifier for grouping notifications. If you provide a Notification Content app extension, you can use this value to group your notifications together.
  • amCollapseId - An ID that, if assigned to multiple messages, causes APNs to coalesce the messages into a single push notification instead of delivering each message individually. The value must not exceed 64 bytes. Amazon Pinpoint uses this value to set the apns-collapse-id request header when it sends the message to APNs.

amSubstitutions :: Lens' APNSMessage (HashMap Text [Text]) Source #

Default message substitutions. Can be overridden by individual address substitutions.

amSilentPush :: Lens' APNSMessage (Maybe Bool) Source #

Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.

amPriority :: Lens' APNSMessage (Maybe Text) Source #

The message priority. Amazon Pinpoint uses this value to set the apns-priority request header when it sends the message to APNs. Accepts the following values: "5" - Low priority. Messages might be delayed, delivered in groups, and throttled. "10" - High priority. Messages are sent immediately. High priority messages must cause an alert, sound, or badge on the receiving device. The default value is "10". The equivalent values for FCM or GCM messages are "normal" and "high". Amazon Pinpoint accepts these values for APNs messages and converts them. For more information about the apns-priority parameter, see Communicating with APNs in the APNs Local and Remote Notification Programming Guide.

amRawContent :: Lens' APNSMessage (Maybe Text) Source #

The Raw JSON formatted string to be used as the payload. This value overrides the message.

amData :: Lens' APNSMessage (HashMap Text Text) Source #

The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object

amBody :: Lens' APNSMessage (Maybe Text) Source #

The message body of the notification, the email body or the text message.

amCategory :: Lens' APNSMessage (Maybe Text) Source #

Provide this key with a string value that represents the notification's type. This value corresponds to the value in the identifier property of one of your app's registered categories.

amTimeToLive :: Lens' APNSMessage (Maybe Int) Source #

The length of time (in seconds) that APNs stores and attempts to deliver the message. If the value is 0, APNs does not store the message or attempt to deliver it more than once. Amazon Pinpoint uses this value to set the apns-expiration request header when it sends the message to APNs.

amURL :: Lens' APNSMessage (Maybe Text) Source #

The URL to open in the user's mobile browser. Used if the value for Action is URL.

amSound :: Lens' APNSMessage (Maybe Text) Source #

Include this key when you want the system to play a sound. The value of this key is the name of a sound file in your app's main bundle or in the Library/Sounds folder of your app's data container. If the sound file cannot be found, or if you specify defaultfor the value, the system plays the default alert sound.

amAction :: Lens' APNSMessage (Maybe Action) Source #

The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL

amMediaURL :: Lens' APNSMessage (Maybe Text) Source #

The URL that points to a video used in the push notification.

amPreferredAuthenticationMethod :: Lens' APNSMessage (Maybe Text) Source #

The preferred authentication method, either CERTIFICATE or TOKEN

amBadge :: Lens' APNSMessage (Maybe Int) Source #

Include this key when you want the system to modify the badge of your app icon. If this key is not included in the dictionary, the badge is not changed. To remove the badge, set the value of this key to 0.

amTitle :: Lens' APNSMessage (Maybe Text) Source #

The message title that displays above the message on the user's device.

amThreadId :: Lens' APNSMessage (Maybe Text) Source #

Provide this key with a string value that represents the app-specific identifier for grouping notifications. If you provide a Notification Content app extension, you can use this value to group your notifications together.

amCollapseId :: Lens' APNSMessage (Maybe Text) Source #

An ID that, if assigned to multiple messages, causes APNs to coalesce the messages into a single push notification instead of delivering each message individually. The value must not exceed 64 bytes. Amazon Pinpoint uses this value to set the apns-collapse-id request header when it sends the message to APNs.

APNSSandboxChannelRequest

data APNSSandboxChannelRequest Source #

Apple Development Push Notification Service channel definition.

See: apnsSandboxChannelRequest smart constructor.

Instances

Eq APNSSandboxChannelRequest Source # 
Data APNSSandboxChannelRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APNSSandboxChannelRequest -> c APNSSandboxChannelRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APNSSandboxChannelRequest #

toConstr :: APNSSandboxChannelRequest -> Constr #

dataTypeOf :: APNSSandboxChannelRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c APNSSandboxChannelRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APNSSandboxChannelRequest) #

gmapT :: (forall b. Data b => b -> b) -> APNSSandboxChannelRequest -> APNSSandboxChannelRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APNSSandboxChannelRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APNSSandboxChannelRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> APNSSandboxChannelRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APNSSandboxChannelRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APNSSandboxChannelRequest -> m APNSSandboxChannelRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSSandboxChannelRequest -> m APNSSandboxChannelRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APNSSandboxChannelRequest -> m APNSSandboxChannelRequest #

Read APNSSandboxChannelRequest Source # 
Show APNSSandboxChannelRequest Source # 
Generic APNSSandboxChannelRequest Source # 
Hashable APNSSandboxChannelRequest Source # 
ToJSON APNSSandboxChannelRequest Source # 
NFData APNSSandboxChannelRequest Source # 
type Rep APNSSandboxChannelRequest Source # 
type Rep APNSSandboxChannelRequest = D1 * (MetaData "APNSSandboxChannelRequest" "Network.AWS.Pinpoint.Types.Product" "amazonka-pinpoint-1.6.0-7oUik9Pbw4H6Ztde19v7pU" False) (C1 * (MetaCons "APNSSandboxChannelRequest'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ascrTokenKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ascrPrivateKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ascrEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_ascrTeamId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ascrBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ascrDefaultAuthenticationMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ascrCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ascrTokenKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

apnsSandboxChannelRequest :: APNSSandboxChannelRequest Source #

Creates a value of APNSSandboxChannelRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ascrTokenKey :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The token key used for APNs Tokens.

ascrEnabled :: Lens' APNSSandboxChannelRequest (Maybe Bool) Source #

If the channel is enabled for sending messages.

ascrTeamId :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The team id used for APNs Tokens.

ascrBundleId :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The bundle id used for APNs Tokens.

ascrDefaultAuthenticationMethod :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The default authentication method used for APNs.

ascrCertificate :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The distribution certificate from Apple.

ascrTokenKeyId :: Lens' APNSSandboxChannelRequest (Maybe Text) Source #

The token key used for APNs Tokens.

APNSSandboxChannelResponse

data APNSSandboxChannelResponse Source #

Apple Development Push Notification Service channel definition.

See: apnsSandboxChannelResponse smart constructor.