amazonka-pinpoint 1.4.5 → 1.5.0
raw patch · 129 files changed
+13822/−4072 lines, 129 filesdep ~amazonka-coredep ~amazonka-pinpointdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-pinpoint, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.Pinpoint: eShardId :: Lens' EndpointResponse (Maybe Text)
- Network.AWS.Pinpoint.GetApplicationSettings: gasrsApplicationSettingsResource :: Lens' GetApplicationSettingsResponse ApplicationSettingsResource
- Network.AWS.Pinpoint.GetApplicationSettings: gasrsResponseStatus :: Lens' GetApplicationSettingsResponse Int
- Network.AWS.Pinpoint.Types: eShardId :: Lens' EndpointResponse (Maybe Text)
+ Network.AWS.Pinpoint: ADM :: ChannelType
+ Network.AWS.Pinpoint: APNSSandbox :: ChannelType
+ Network.AWS.Pinpoint: APNSVoip :: ChannelType
+ Network.AWS.Pinpoint: APNSVoipSandbox :: ChannelType
+ Network.AWS.Pinpoint: Baidu :: ChannelType
+ Network.AWS.Pinpoint: Duplicate :: DeliveryStatus
+ Network.AWS.Pinpoint: Email :: ChannelType
+ Network.AWS.Pinpoint: OptOut :: DeliveryStatus
+ Network.AWS.Pinpoint: PermanentFailure :: DeliveryStatus
+ Network.AWS.Pinpoint: Promotional :: MessageType
+ Network.AWS.Pinpoint: Sms :: ChannelType
+ Network.AWS.Pinpoint: Successful :: DeliveryStatus
+ Network.AWS.Pinpoint: TemporaryFailure :: DeliveryStatus
+ Network.AWS.Pinpoint: Throttled :: DeliveryStatus
+ Network.AWS.Pinpoint: Transactional :: MessageType
+ Network.AWS.Pinpoint: UnknownFailure :: DeliveryStatus
+ Network.AWS.Pinpoint: aDMChannelRequest :: ADMChannelRequest
+ Network.AWS.Pinpoint: aDMChannelResponse :: ADMChannelResponse
+ Network.AWS.Pinpoint: aDMMessage :: ADMMessage
+ Network.AWS.Pinpoint: aTimezonesCompletedCount :: Lens' ActivityResponse (Maybe Int)
+ Network.AWS.Pinpoint: aTimezonesTotalCount :: Lens' ActivityResponse (Maybe Int)
+ Network.AWS.Pinpoint: acBodyOverride :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: acChannelType :: Lens' AddressConfiguration (Maybe ChannelType)
+ Network.AWS.Pinpoint: acContext :: Lens' AddressConfiguration (HashMap Text Text)
+ Network.AWS.Pinpoint: acDefaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: acEnabled :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: acHasCredential :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: acHasTokenKey :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: acRawContent :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: acSubstitutions :: Lens' AddressConfiguration (HashMap Text [Text])
+ Network.AWS.Pinpoint: acTitleOverride :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: acrBundleId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: acrDefaultAuthenticationMethod :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: acrEnabled :: Lens' APNSChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: acrTeamId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: acrTokenKey :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: acrTokenKeyId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: addressConfiguration :: AddressConfiguration
+ Network.AWS.Pinpoint: admcApplicationId :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcCreationDate :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcEnabled :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: admcHasCredential :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: admcId :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcIsArchived :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: admcLastModifiedBy :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcLastModifiedDate :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcPlatform :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: admcVersion :: Lens' ADMChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: admcrClientId :: Lens' ADMChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: admcrClientSecret :: Lens' ADMChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: admcrEnabled :: Lens' ADMChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: admmAction :: Lens' ADMMessage (Maybe Action)
+ Network.AWS.Pinpoint: admmBody :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmConsolidationKey :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmData :: Lens' ADMMessage (HashMap Text Text)
+ Network.AWS.Pinpoint: admmExpiresAfter :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmIconReference :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmImageIconURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmImageURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmMD5 :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmRawContent :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmSilentPush :: Lens' ADMMessage (Maybe Bool)
+ Network.AWS.Pinpoint: admmSmallImageIconURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmSound :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmSubstitutions :: Lens' ADMMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: admmTitle :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: admmURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint: amAction :: Lens' APNSMessage (Maybe Action)
+ Network.AWS.Pinpoint: amBadge :: Lens' APNSMessage (Maybe Int)
+ Network.AWS.Pinpoint: amBody :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amCategory :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amCollapseId :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amData :: Lens' APNSMessage (HashMap Text Text)
+ Network.AWS.Pinpoint: amMediaURL :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amPreferredAuthenticationMethod :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amPriority :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amRawContent :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amSilentPush :: Lens' APNSMessage (Maybe Bool)
+ Network.AWS.Pinpoint: amSound :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amSubstitutions :: Lens' APNSMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: amThreadId :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amTimeToLive :: Lens' APNSMessage (Maybe Int)
+ Network.AWS.Pinpoint: amTitle :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: amURL :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint: apnsMessage :: APNSMessage
+ Network.AWS.Pinpoint: apnsSandboxChannelRequest :: APNSSandboxChannelRequest
+ Network.AWS.Pinpoint: apnsSandboxChannelResponse :: APNSSandboxChannelResponse
+ Network.AWS.Pinpoint: apnsVoipChannelRequest :: APNSVoipChannelRequest
+ Network.AWS.Pinpoint: apnsVoipChannelResponse :: APNSVoipChannelResponse
+ Network.AWS.Pinpoint: apnsVoipSandboxChannelRequest :: APNSVoipSandboxChannelRequest
+ Network.AWS.Pinpoint: apnsVoipSandboxChannelResponse :: APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint: appId :: Lens' ApplicationResponse (Maybe Text)
+ Network.AWS.Pinpoint: appItem :: Lens' ApplicationsResponse [ApplicationResponse]
+ Network.AWS.Pinpoint: appName :: Lens' ApplicationResponse (Maybe Text)
+ Network.AWS.Pinpoint: appNextToken :: Lens' ApplicationsResponse (Maybe Text)
+ Network.AWS.Pinpoint: applicationResponse :: ApplicationResponse
+ Network.AWS.Pinpoint: applicationsResponse :: ApplicationsResponse
+ Network.AWS.Pinpoint: ascApplicationId :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascCreationDate :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascDefaultAuthenticationMethod :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascEnabled :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ascHasCredential :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ascHasTokenKey :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ascId :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascIsArchived :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ascLastModifiedBy :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascLastModifiedDate :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascPlatform :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ascVersion :: Lens' APNSSandboxChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: ascrBundleId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrCertificate :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrDefaultAuthenticationMethod :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrEnabled :: Lens' APNSSandboxChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: ascrPrivateKey :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrTeamId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrTokenKey :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ascrTokenKeyId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcApplicationId :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcCreationDate :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcDefaultAuthenticationMethod :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcEnabled :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avcHasCredential :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avcHasTokenKey :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avcId :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcIsArchived :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avcLastModifiedBy :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcLastModifiedDate :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcPlatform :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avcVersion :: Lens' APNSVoipChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: avcrBundleId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrCertificate :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrDefaultAuthenticationMethod :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrEnabled :: Lens' APNSVoipChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: avcrPrivateKey :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrTeamId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrTokenKey :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avcrTokenKeyId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscApplicationId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscCreationDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscEnabled :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avscHasCredential :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avscHasTokenKey :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avscId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscIsArchived :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: avscLastModifiedBy :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscLastModifiedDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscPlatform :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: avscVersion :: Lens' APNSVoipSandboxChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: avscrBundleId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrCertificate :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrEnabled :: Lens' APNSVoipSandboxChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: avscrPrivateKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrTeamId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrTokenKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: avscrTokenKeyId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: baiduChannelRequest :: BaiduChannelRequest
+ Network.AWS.Pinpoint: baiduChannelResponse :: BaiduChannelResponse
+ Network.AWS.Pinpoint: baiduMessage :: BaiduMessage
+ Network.AWS.Pinpoint: bcApplicationId :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcCreationDate :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcCredential :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcEnabled :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: bcHasCredential :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: bcId :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcIsArchived :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: bcLastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcLastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcPlatform :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: bcVersion :: Lens' BaiduChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: bcrAPIKey :: Lens' BaiduChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: bcrEnabled :: Lens' BaiduChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: bcrSecretKey :: Lens' BaiduChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: bmAction :: Lens' BaiduMessage (Maybe Action)
+ Network.AWS.Pinpoint: bmBody :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmData :: Lens' BaiduMessage (HashMap Text Text)
+ Network.AWS.Pinpoint: bmIconReference :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmImageIconURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmImageURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmRawContent :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmSilentPush :: Lens' BaiduMessage (Maybe Bool)
+ Network.AWS.Pinpoint: bmSmallImageIconURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmSound :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmSubstitutions :: Lens' BaiduMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: bmTitle :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: bmURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint: campaignEmailMessage :: CampaignEmailMessage
+ Network.AWS.Pinpoint: campaignSmsMessage :: CampaignSmsMessage
+ Network.AWS.Pinpoint: carName :: Lens' CreateApplicationRequest (Maybe Text)
+ Network.AWS.Pinpoint: cemBody :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint: cemFromAddress :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint: cemHTMLBody :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint: cemTitle :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint: clMaximumDuration :: Lens' CampaignLimits (Maybe Int)
+ Network.AWS.Pinpoint: clMessagesPerSecond :: Lens' CampaignLimits (Maybe Int)
+ Network.AWS.Pinpoint: createApplicationRequest :: CreateApplicationRequest
+ Network.AWS.Pinpoint: csmBody :: Lens' CampaignSmsMessage (Maybe Text)
+ Network.AWS.Pinpoint: csmMessageType :: Lens' CampaignSmsMessage (Maybe MessageType)
+ Network.AWS.Pinpoint: csmSenderId :: Lens' CampaignSmsMessage (Maybe Text)
+ Network.AWS.Pinpoint: data ADMChannelRequest
+ Network.AWS.Pinpoint: data ADMChannelResponse
+ Network.AWS.Pinpoint: data ADMMessage
+ Network.AWS.Pinpoint: data APNSMessage
+ Network.AWS.Pinpoint: data APNSSandboxChannelRequest
+ Network.AWS.Pinpoint: data APNSSandboxChannelResponse
+ Network.AWS.Pinpoint: data APNSVoipChannelRequest
+ Network.AWS.Pinpoint: data APNSVoipChannelResponse
+ Network.AWS.Pinpoint: data APNSVoipSandboxChannelRequest
+ Network.AWS.Pinpoint: data APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint: data AddressConfiguration
+ Network.AWS.Pinpoint: data ApplicationResponse
+ Network.AWS.Pinpoint: data ApplicationsResponse
+ Network.AWS.Pinpoint: data BaiduChannelRequest
+ Network.AWS.Pinpoint: data BaiduChannelResponse
+ Network.AWS.Pinpoint: data BaiduMessage
+ Network.AWS.Pinpoint: data CampaignEmailMessage
+ Network.AWS.Pinpoint: data CampaignSmsMessage
+ Network.AWS.Pinpoint: data CreateApplicationRequest
+ Network.AWS.Pinpoint: data DefaultMessage
+ Network.AWS.Pinpoint: data DefaultPushNotificationMessage
+ Network.AWS.Pinpoint: data DeliveryStatus
+ Network.AWS.Pinpoint: data DirectMessageConfiguration
+ Network.AWS.Pinpoint: data EmailChannelRequest
+ Network.AWS.Pinpoint: data EmailChannelResponse
+ Network.AWS.Pinpoint: data EndpointMessageResult
+ Network.AWS.Pinpoint: data EndpointSendConfiguration
+ Network.AWS.Pinpoint: data EventStream
+ Network.AWS.Pinpoint: data GCMMessage
+ Network.AWS.Pinpoint: data MessageRequest
+ Network.AWS.Pinpoint: data MessageResponse
+ Network.AWS.Pinpoint: data MessageResult
+ Network.AWS.Pinpoint: data MessageType
+ Network.AWS.Pinpoint: data SMSChannelRequest
+ Network.AWS.Pinpoint: data SMSChannelResponse
+ Network.AWS.Pinpoint: data SMSMessage
+ Network.AWS.Pinpoint: data SendUsersMessageRequest
+ Network.AWS.Pinpoint: data SendUsersMessageResponse
+ Network.AWS.Pinpoint: data WriteEventStream
+ Network.AWS.Pinpoint: defaultMessage :: DefaultMessage
+ Network.AWS.Pinpoint: defaultPushNotificationMessage :: DefaultPushNotificationMessage
+ Network.AWS.Pinpoint: directMessageConfiguration :: DirectMessageConfiguration
+ Network.AWS.Pinpoint: dmBody :: Lens' DefaultMessage (Maybe Text)
+ Network.AWS.Pinpoint: dmSubstitutions :: Lens' DefaultMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: dmcADMMessage :: Lens' DirectMessageConfiguration (Maybe ADMMessage)
+ Network.AWS.Pinpoint: dmcAPNSMessage :: Lens' DirectMessageConfiguration (Maybe APNSMessage)
+ Network.AWS.Pinpoint: dmcBaiduMessage :: Lens' DirectMessageConfiguration (Maybe BaiduMessage)
+ Network.AWS.Pinpoint: dmcDefaultMessage :: Lens' DirectMessageConfiguration (Maybe DefaultMessage)
+ Network.AWS.Pinpoint: dmcDefaultPushNotificationMessage :: Lens' DirectMessageConfiguration (Maybe DefaultPushNotificationMessage)
+ Network.AWS.Pinpoint: dmcGCMMessage :: Lens' DirectMessageConfiguration (Maybe GCMMessage)
+ Network.AWS.Pinpoint: dmcSMSMessage :: Lens' DirectMessageConfiguration (Maybe SMSMessage)
+ Network.AWS.Pinpoint: dpnmAction :: Lens' DefaultPushNotificationMessage (Maybe Action)
+ Network.AWS.Pinpoint: dpnmBody :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint: dpnmData :: Lens' DefaultPushNotificationMessage (HashMap Text Text)
+ Network.AWS.Pinpoint: dpnmSilentPush :: Lens' DefaultPushNotificationMessage (Maybe Bool)
+ Network.AWS.Pinpoint: dpnmSubstitutions :: Lens' DefaultPushNotificationMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: dpnmTitle :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint: dpnmURL :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint: ecApplicationId :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecCreationDate :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecEnabled :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ecFromAddress :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecHasCredential :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ecId :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecIdentity :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecIsArchived :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: ecLastModifiedBy :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecLastModifiedDate :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecPlatform :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecRoleARN :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: ecVersion :: Lens' EmailChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: ecrEnabled :: Lens' EmailChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: ecrFromAddress :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ecrIdentity :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: ecrRoleARN :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: emailChannelRequest :: EmailChannelRequest
+ Network.AWS.Pinpoint: emailChannelResponse :: EmailChannelResponse
+ Network.AWS.Pinpoint: emrAddress :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint: emrDeliveryStatus :: Lens' EndpointMessageResult (Maybe DeliveryStatus)
+ Network.AWS.Pinpoint: emrStatusCode :: Lens' EndpointMessageResult (Maybe Int)
+ Network.AWS.Pinpoint: emrStatusMessage :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint: emrUpdatedToken :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint: endpointMessageResult :: EndpointMessageResult
+ Network.AWS.Pinpoint: endpointSendConfiguration :: EndpointSendConfiguration
+ Network.AWS.Pinpoint: esApplicationId :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: esDestinationStreamARN :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: esExternalId :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: esLastModifiedDate :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: esLastUpdatedBy :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: esRoleARN :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint: escBodyOverride :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: escContext :: Lens' EndpointSendConfiguration (HashMap Text Text)
+ Network.AWS.Pinpoint: escRawContent :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: escSubstitutions :: Lens' EndpointSendConfiguration (HashMap Text [Text])
+ Network.AWS.Pinpoint: escTitleOverride :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint: eventStream :: EventStream
+ Network.AWS.Pinpoint: gcEnabled :: Lens' GCMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: gcHasCredential :: Lens' GCMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: gcmMessage :: GCMMessage
+ Network.AWS.Pinpoint: gcrEnabled :: Lens' GCMChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: gmAction :: Lens' GCMMessage (Maybe Action)
+ Network.AWS.Pinpoint: gmBody :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmCollapseKey :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmData :: Lens' GCMMessage (HashMap Text Text)
+ Network.AWS.Pinpoint: gmIconReference :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmImageIconURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmImageURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmPriority :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmRawContent :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmRestrictedPackageName :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmSilentPush :: Lens' GCMMessage (Maybe Bool)
+ Network.AWS.Pinpoint: gmSmallImageIconURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmSound :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmSubstitutions :: Lens' GCMMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: gmTimeToLive :: Lens' GCMMessage (Maybe Int)
+ Network.AWS.Pinpoint: gmTitle :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: gmURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint: mApplicationId :: Lens' MessageResponse (Maybe Text)
+ Network.AWS.Pinpoint: mEndpointResult :: Lens' MessageResponse (HashMap Text EndpointMessageResult)
+ Network.AWS.Pinpoint: mImageSmallIconURL :: Lens' Message (Maybe Text)
+ Network.AWS.Pinpoint: mRawContent :: Lens' Message (Maybe Text)
+ Network.AWS.Pinpoint: mRequestId :: Lens' MessageResponse (Maybe Text)
+ Network.AWS.Pinpoint: mResult :: Lens' MessageResponse (HashMap Text MessageResult)
+ Network.AWS.Pinpoint: mcADMMessage :: Lens' MessageConfiguration (Maybe Message)
+ Network.AWS.Pinpoint: mcBaiduMessage :: Lens' MessageConfiguration (Maybe Message)
+ Network.AWS.Pinpoint: mcEmailMessage :: Lens' MessageConfiguration (Maybe CampaignEmailMessage)
+ Network.AWS.Pinpoint: mcSMSMessage :: Lens' MessageConfiguration (Maybe CampaignSmsMessage)
+ Network.AWS.Pinpoint: messageRequest :: MessageRequest
+ Network.AWS.Pinpoint: messageResponse :: MessageResponse
+ Network.AWS.Pinpoint: messageResult :: MessageResult
+ Network.AWS.Pinpoint: mrAddresses :: Lens' MessageRequest (HashMap Text AddressConfiguration)
+ Network.AWS.Pinpoint: mrContext :: Lens' MessageRequest (HashMap Text Text)
+ Network.AWS.Pinpoint: mrDeliveryStatus :: Lens' MessageResult (Maybe DeliveryStatus)
+ Network.AWS.Pinpoint: mrEndpoints :: Lens' MessageRequest (HashMap Text EndpointSendConfiguration)
+ Network.AWS.Pinpoint: mrMessageConfiguration :: Lens' MessageRequest (Maybe DirectMessageConfiguration)
+ Network.AWS.Pinpoint: mrStatusCode :: Lens' MessageResult (Maybe Int)
+ Network.AWS.Pinpoint: mrStatusMessage :: Lens' MessageResult (Maybe Text)
+ Network.AWS.Pinpoint: mrUpdatedToken :: Lens' MessageResult (Maybe Text)
+ Network.AWS.Pinpoint: sMSChannelRequest :: SMSChannelRequest
+ Network.AWS.Pinpoint: sMSChannelResponse :: SMSChannelResponse
+ Network.AWS.Pinpoint: sMSMessage :: SMSMessage
+ Network.AWS.Pinpoint: sdChannel :: Lens' SegmentDemographics (Maybe SetDimension)
+ Network.AWS.Pinpoint: sdUserAttributes :: Lens' SegmentDimensions (HashMap Text AttributeDimension)
+ Network.AWS.Pinpoint: sendUsersMessageRequest :: SendUsersMessageRequest
+ Network.AWS.Pinpoint: sendUsersMessageResponse :: SendUsersMessageResponse
+ Network.AWS.Pinpoint: sirChannelCounts :: Lens' SegmentImportResource (HashMap Text Int)
+ Network.AWS.Pinpoint: smscApplicationId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscCreationDate :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscEnabled :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: smscHasCredential :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: smscId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscIsArchived :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint: smscLastModifiedBy :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscLastModifiedDate :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscPlatform :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscSenderId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscShortCode :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint: smscVersion :: Lens' SMSChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint: smscrEnabled :: Lens' SMSChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint: smscrSenderId :: Lens' SMSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: smscrShortCode :: Lens' SMSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint: smsmBody :: Lens' SMSMessage (Maybe Text)
+ Network.AWS.Pinpoint: smsmMessageType :: Lens' SMSMessage (Maybe MessageType)
+ Network.AWS.Pinpoint: smsmSenderId :: Lens' SMSMessage (Maybe Text)
+ Network.AWS.Pinpoint: smsmSubstitutions :: Lens' SMSMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint: sumApplicationId :: Lens' SendUsersMessageResponse (Maybe Text)
+ Network.AWS.Pinpoint: sumRequestId :: Lens' SendUsersMessageResponse (Maybe Text)
+ Network.AWS.Pinpoint: sumResult :: Lens' SendUsersMessageResponse (HashMap Text (HashMap Text EndpointMessageResult))
+ Network.AWS.Pinpoint: sumrContext :: Lens' SendUsersMessageRequest (HashMap Text Text)
+ Network.AWS.Pinpoint: sumrMessageConfiguration :: Lens' SendUsersMessageRequest (Maybe DirectMessageConfiguration)
+ Network.AWS.Pinpoint: sumrUsers :: Lens' SendUsersMessageRequest (HashMap Text EndpointSendConfiguration)
+ Network.AWS.Pinpoint: wesDestinationStreamARN :: Lens' WriteEventStream (Maybe Text)
+ Network.AWS.Pinpoint: wesRoleARN :: Lens' WriteEventStream (Maybe Text)
+ Network.AWS.Pinpoint: writeEventStream :: WriteEventStream
+ Network.AWS.Pinpoint.CreateApp: caCreateApplicationRequest :: Lens' CreateApp CreateApplicationRequest
+ Network.AWS.Pinpoint.CreateApp: carsApplicationResponse :: Lens' CreateAppResponse ApplicationResponse
+ Network.AWS.Pinpoint.CreateApp: carsResponseStatus :: Lens' CreateAppResponse Int
+ Network.AWS.Pinpoint.CreateApp: createApp :: CreateApplicationRequest -> CreateApp
+ Network.AWS.Pinpoint.CreateApp: createAppResponse :: Int -> ApplicationResponse -> CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: data CreateApp
+ Network.AWS.Pinpoint.CreateApp: data CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Data.Data.Data Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Data.Data.Data Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Read.Read Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Read.Read Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Show.Show Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance GHC.Show.Show Network.AWS.Pinpoint.CreateApp.CreateAppResponse
+ Network.AWS.Pinpoint.CreateApp: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.CreateApp: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.CreateApp.CreateApp
+ Network.AWS.Pinpoint.DeleteADMChannel: dadmcApplicationId :: Lens' DeleteADMChannel Text
+ Network.AWS.Pinpoint.DeleteADMChannel: dadmcrsADMChannelResponse :: Lens' DeleteADMChannelResponse ADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: dadmcrsResponseStatus :: Lens' DeleteADMChannelResponse Int
+ Network.AWS.Pinpoint.DeleteADMChannel: data DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: data DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: deleteADMChannel :: Text -> DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: deleteADMChannelResponse :: Int -> ADMChannelResponse -> DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannelResponse
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteADMChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteADMChannel.DeleteADMChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: dascApplicationId :: Lens' DeleteAPNSSandboxChannel Text
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: dascrsAPNSSandboxChannelResponse :: Lens' DeleteAPNSSandboxChannelResponse APNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: dascrsResponseStatus :: Lens' DeleteAPNSSandboxChannelResponse Int
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: data DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: data DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: deleteAPNSSandboxChannel :: Text -> DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: deleteAPNSSandboxChannelResponse :: Int -> APNSSandboxChannelResponse -> DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteAPNSSandboxChannel.DeleteAPNSSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: data DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: data DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: davcApplicationId :: Lens' DeleteAPNSVoipChannel Text
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: davcrsAPNSVoipChannelResponse :: Lens' DeleteAPNSVoipChannelResponse APNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: davcrsResponseStatus :: Lens' DeleteAPNSVoipChannelResponse Int
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: deleteAPNSVoipChannel :: Text -> DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: deleteAPNSVoipChannelResponse :: Int -> APNSVoipChannelResponse -> DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteAPNSVoipChannel.DeleteAPNSVoipChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: data DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: data DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: davscApplicationId :: Lens' DeleteAPNSVoipSandboxChannel Text
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: davscrsAPNSVoipSandboxChannelResponse :: Lens' DeleteAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: davscrsResponseStatus :: Lens' DeleteAPNSVoipSandboxChannelResponse Int
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: deleteAPNSVoipSandboxChannel :: Text -> DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: deleteAPNSVoipSandboxChannelResponse :: Int -> APNSVoipSandboxChannelResponse -> DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel.DeleteAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.DeleteApp: daApplicationId :: Lens' DeleteApp Text
+ Network.AWS.Pinpoint.DeleteApp: darsApplicationResponse :: Lens' DeleteAppResponse ApplicationResponse
+ Network.AWS.Pinpoint.DeleteApp: darsResponseStatus :: Lens' DeleteAppResponse Int
+ Network.AWS.Pinpoint.DeleteApp: data DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: data DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: deleteApp :: Text -> DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: deleteAppResponse :: Int -> ApplicationResponse -> DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance Data.Data.Data Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance Data.Data.Data Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteApp.DeleteAppResponse
+ Network.AWS.Pinpoint.DeleteApp: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteApp: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteApp.DeleteApp
+ Network.AWS.Pinpoint.DeleteBaiduChannel: data DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: data DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: dbcApplicationId :: Lens' DeleteBaiduChannel Text
+ Network.AWS.Pinpoint.DeleteBaiduChannel: dbcrsBaiduChannelResponse :: Lens' DeleteBaiduChannelResponse BaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: dbcrsResponseStatus :: Lens' DeleteBaiduChannelResponse Int
+ Network.AWS.Pinpoint.DeleteBaiduChannel: deleteBaiduChannel :: Text -> DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: deleteBaiduChannelResponse :: Int -> BaiduChannelResponse -> DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannelResponse
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteBaiduChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteBaiduChannel.DeleteBaiduChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: data DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: data DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: decApplicationId :: Lens' DeleteEmailChannel Text
+ Network.AWS.Pinpoint.DeleteEmailChannel: decrsEmailChannelResponse :: Lens' DeleteEmailChannelResponse EmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: decrsResponseStatus :: Lens' DeleteEmailChannelResponse Int
+ Network.AWS.Pinpoint.DeleteEmailChannel: deleteEmailChannel :: Text -> DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: deleteEmailChannelResponse :: Int -> EmailChannelResponse -> DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannelResponse
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEmailChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteEmailChannel.DeleteEmailChannel
+ Network.AWS.Pinpoint.DeleteEventStream: data DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: data DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: deleteEventStream :: Text -> DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: deleteEventStreamResponse :: Int -> EventStream -> DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: desApplicationId :: Lens' DeleteEventStream Text
+ Network.AWS.Pinpoint.DeleteEventStream: desrsEventStream :: Lens' DeleteEventStreamResponse EventStream
+ Network.AWS.Pinpoint.DeleteEventStream: desrsResponseStatus :: Lens' DeleteEventStreamResponse Int
+ Network.AWS.Pinpoint.DeleteEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance Data.Data.Data Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance Data.Data.Data Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStreamResponse
+ Network.AWS.Pinpoint.DeleteEventStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteEventStream: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteEventStream.DeleteEventStream
+ Network.AWS.Pinpoint.DeleteSmsChannel: data DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: data DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: deleteSmsChannel :: Text -> DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: deleteSmsChannelResponse :: Int -> SMSChannelResponse -> DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: dscApplicationId :: Lens' DeleteSmsChannel Text
+ Network.AWS.Pinpoint.DeleteSmsChannel: dscrsResponseStatus :: Lens' DeleteSmsChannelResponse Int
+ Network.AWS.Pinpoint.DeleteSmsChannel: dscrsSMSChannelResponse :: Lens' DeleteSmsChannelResponse SMSChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannelResponse
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.DeleteSmsChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.DeleteSmsChannel.DeleteSmsChannel
+ Network.AWS.Pinpoint.GetADMChannel: data GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: data GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: gadmcApplicationId :: Lens' GetADMChannel Text
+ Network.AWS.Pinpoint.GetADMChannel: gadmcrsADMChannelResponse :: Lens' GetADMChannelResponse ADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: gadmcrsResponseStatus :: Lens' GetADMChannelResponse Int
+ Network.AWS.Pinpoint.GetADMChannel: getADMChannel :: Text -> GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: getADMChannelResponse :: Int -> ADMChannelResponse -> GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetADMChannel.GetADMChannelResponse
+ Network.AWS.Pinpoint.GetADMChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetADMChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetADMChannel.GetADMChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: data GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: data GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: gascApplicationId :: Lens' GetAPNSSandboxChannel Text
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: gascrsAPNSSandboxChannelResponse :: Lens' GetAPNSSandboxChannelResponse APNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: gascrsResponseStatus :: Lens' GetAPNSSandboxChannelResponse Int
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: getAPNSSandboxChannel :: Text -> GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: getAPNSSandboxChannelResponse :: Int -> APNSSandboxChannelResponse -> GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetAPNSSandboxChannel.GetAPNSSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: data GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: data GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: gavcApplicationId :: Lens' GetAPNSVoipChannel Text
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: gavcrsAPNSVoipChannelResponse :: Lens' GetAPNSVoipChannelResponse APNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: gavcrsResponseStatus :: Lens' GetAPNSVoipChannelResponse Int
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: getAPNSVoipChannel :: Text -> GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: getAPNSVoipChannelResponse :: Int -> APNSVoipChannelResponse -> GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetAPNSVoipChannel.GetAPNSVoipChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: data GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: data GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: gavscApplicationId :: Lens' GetAPNSVoipSandboxChannel Text
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: gavscrsAPNSVoipSandboxChannelResponse :: Lens' GetAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: gavscrsResponseStatus :: Lens' GetAPNSVoipSandboxChannelResponse Int
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: getAPNSVoipSandboxChannel :: Text -> GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: getAPNSVoipSandboxChannelResponse :: Int -> APNSVoipSandboxChannelResponse -> GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel.GetAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.GetApp: data GetApp
+ Network.AWS.Pinpoint.GetApp: data GetAppResponse
+ Network.AWS.Pinpoint.GetApp: gaApplicationId :: Lens' GetApp Text
+ Network.AWS.Pinpoint.GetApp: garsApplicationResponse :: Lens' GetAppResponse ApplicationResponse
+ Network.AWS.Pinpoint.GetApp: garsResponseStatus :: Lens' GetAppResponse Int
+ Network.AWS.Pinpoint.GetApp: getApp :: Text -> GetApp
+ Network.AWS.Pinpoint.GetApp: getAppResponse :: Int -> ApplicationResponse -> GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance Data.Data.Data Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance Data.Data.Data Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance GHC.Read.Read Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance GHC.Read.Read Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance GHC.Show.Show Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance GHC.Show.Show Network.AWS.Pinpoint.GetApp.GetAppResponse
+ Network.AWS.Pinpoint.GetApp: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApp: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetApp.GetApp
+ Network.AWS.Pinpoint.GetApplicationSettings: gassrsApplicationSettingsResource :: Lens' GetApplicationSettingsResponse ApplicationSettingsResource
+ Network.AWS.Pinpoint.GetApplicationSettings: gassrsResponseStatus :: Lens' GetApplicationSettingsResponse Int
+ Network.AWS.Pinpoint.GetApps: data GetApps
+ Network.AWS.Pinpoint.GetApps: data GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: gaPageSize :: Lens' GetApps (Maybe Text)
+ Network.AWS.Pinpoint.GetApps: gaToken :: Lens' GetApps (Maybe Text)
+ Network.AWS.Pinpoint.GetApps: gasrsApplicationsResponse :: Lens' GetAppsResponse ApplicationsResponse
+ Network.AWS.Pinpoint.GetApps: gasrsResponseStatus :: Lens' GetAppsResponse Int
+ Network.AWS.Pinpoint.GetApps: getApps :: GetApps
+ Network.AWS.Pinpoint.GetApps: getAppsResponse :: Int -> ApplicationsResponse -> GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance Data.Data.Data Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance Data.Data.Data Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance GHC.Read.Read Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance GHC.Read.Read Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance GHC.Show.Show Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance GHC.Show.Show Network.AWS.Pinpoint.GetApps.GetAppsResponse
+ Network.AWS.Pinpoint.GetApps: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetApps: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetApps.GetApps
+ Network.AWS.Pinpoint.GetBaiduChannel: data GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: data GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: gbcApplicationId :: Lens' GetBaiduChannel Text
+ Network.AWS.Pinpoint.GetBaiduChannel: gbcrsBaiduChannelResponse :: Lens' GetBaiduChannelResponse BaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: gbcrsResponseStatus :: Lens' GetBaiduChannelResponse Int
+ Network.AWS.Pinpoint.GetBaiduChannel: getBaiduChannel :: Text -> GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: getBaiduChannelResponse :: Int -> BaiduChannelResponse -> GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannelResponse
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetBaiduChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetBaiduChannel.GetBaiduChannel
+ Network.AWS.Pinpoint.GetEmailChannel: data GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: data GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: gecApplicationId :: Lens' GetEmailChannel Text
+ Network.AWS.Pinpoint.GetEmailChannel: gecrsEmailChannelResponse :: Lens' GetEmailChannelResponse EmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: gecrsResponseStatus :: Lens' GetEmailChannelResponse Int
+ Network.AWS.Pinpoint.GetEmailChannel: getEmailChannel :: Text -> GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: getEmailChannelResponse :: Int -> EmailChannelResponse -> GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannelResponse
+ Network.AWS.Pinpoint.GetEmailChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEmailChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetEmailChannel.GetEmailChannel
+ Network.AWS.Pinpoint.GetEventStream: data GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: data GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: gesApplicationId :: Lens' GetEventStream Text
+ Network.AWS.Pinpoint.GetEventStream: gesrsEventStream :: Lens' GetEventStreamResponse EventStream
+ Network.AWS.Pinpoint.GetEventStream: gesrsResponseStatus :: Lens' GetEventStreamResponse Int
+ Network.AWS.Pinpoint.GetEventStream: getEventStream :: Text -> GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: getEventStreamResponse :: Int -> EventStream -> GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance Data.Data.Data Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance Data.Data.Data Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.GetEventStream.GetEventStreamResponse
+ Network.AWS.Pinpoint.GetEventStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetEventStream: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetEventStream.GetEventStream
+ Network.AWS.Pinpoint.GetSmsChannel: data GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: data GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: getSmsChannel :: Text -> GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: getSmsChannelResponse :: Int -> SMSChannelResponse -> GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: gscApplicationId :: Lens' GetSmsChannel Text
+ Network.AWS.Pinpoint.GetSmsChannel: gscrsResponseStatus :: Lens' GetSmsChannelResponse Int
+ Network.AWS.Pinpoint.GetSmsChannel: gscrsSMSChannelResponse :: Lens' GetSmsChannelResponse SMSChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannelResponse
+ Network.AWS.Pinpoint.GetSmsChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.GetSmsChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.GetSmsChannel.GetSmsChannel
+ Network.AWS.Pinpoint.PutEventStream: data PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: data PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Data.Data.Data Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Data.Data.Data Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Classes.Eq Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Generics.Generic Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Read.Read Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance GHC.Show.Show Network.AWS.Pinpoint.PutEventStream.PutEventStreamResponse
+ Network.AWS.Pinpoint.PutEventStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.PutEventStream.PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: pesApplicationId :: Lens' PutEventStream Text
+ Network.AWS.Pinpoint.PutEventStream: pesWriteEventStream :: Lens' PutEventStream WriteEventStream
+ Network.AWS.Pinpoint.PutEventStream: pesrsEventStream :: Lens' PutEventStreamResponse EventStream
+ Network.AWS.Pinpoint.PutEventStream: pesrsResponseStatus :: Lens' PutEventStreamResponse Int
+ Network.AWS.Pinpoint.PutEventStream: putEventStream :: Text -> WriteEventStream -> PutEventStream
+ Network.AWS.Pinpoint.PutEventStream: putEventStreamResponse :: Int -> EventStream -> PutEventStreamResponse
+ Network.AWS.Pinpoint.SendMessages: data SendMessages
+ Network.AWS.Pinpoint.SendMessages: data SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Data.Data.Data Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Data.Data.Data Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Classes.Eq Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Classes.Eq Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Generics.Generic Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Generics.Generic Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Read.Read Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Read.Read Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Show.Show Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance GHC.Show.Show Network.AWS.Pinpoint.SendMessages.SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.SendMessages.SendMessages
+ Network.AWS.Pinpoint.SendMessages: sendMessages :: Text -> MessageRequest -> SendMessages
+ Network.AWS.Pinpoint.SendMessages: sendMessagesResponse :: Int -> MessageResponse -> SendMessagesResponse
+ Network.AWS.Pinpoint.SendMessages: smApplicationId :: Lens' SendMessages Text
+ Network.AWS.Pinpoint.SendMessages: smMessageRequest :: Lens' SendMessages MessageRequest
+ Network.AWS.Pinpoint.SendMessages: smrsMessageResponse :: Lens' SendMessagesResponse MessageResponse
+ Network.AWS.Pinpoint.SendMessages: smrsResponseStatus :: Lens' SendMessagesResponse Int
+ Network.AWS.Pinpoint.SendUsersMessages: data SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: data SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Data.Data.Data Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Data.Data.Data Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Classes.Eq Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Classes.Eq Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Generics.Generic Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Generics.Generic Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Read.Read Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Read.Read Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Show.Show Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance GHC.Show.Show Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.SendUsersMessages.SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: sendUsersMessages :: Text -> SendUsersMessageRequest -> SendUsersMessages
+ Network.AWS.Pinpoint.SendUsersMessages: sendUsersMessagesResponse :: Int -> SendUsersMessageResponse -> SendUsersMessagesResponse
+ Network.AWS.Pinpoint.SendUsersMessages: sumrsResponseStatus :: Lens' SendUsersMessagesResponse Int
+ Network.AWS.Pinpoint.SendUsersMessages: sumrsSendUsersMessageResponse :: Lens' SendUsersMessagesResponse SendUsersMessageResponse
+ Network.AWS.Pinpoint.SendUsersMessages: sumsApplicationId :: Lens' SendUsersMessages Text
+ Network.AWS.Pinpoint.SendUsersMessages: sumsSendUsersMessageRequest :: Lens' SendUsersMessages SendUsersMessageRequest
+ Network.AWS.Pinpoint.Types: ADM :: ChannelType
+ Network.AWS.Pinpoint.Types: APNSSandbox :: ChannelType
+ Network.AWS.Pinpoint.Types: APNSVoip :: ChannelType
+ Network.AWS.Pinpoint.Types: APNSVoipSandbox :: ChannelType
+ Network.AWS.Pinpoint.Types: Baidu :: ChannelType
+ Network.AWS.Pinpoint.Types: Duplicate :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: Email :: ChannelType
+ Network.AWS.Pinpoint.Types: OptOut :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: PermanentFailure :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: Promotional :: MessageType
+ Network.AWS.Pinpoint.Types: Sms :: ChannelType
+ Network.AWS.Pinpoint.Types: Successful :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: TemporaryFailure :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: Throttled :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: Transactional :: MessageType
+ Network.AWS.Pinpoint.Types: UnknownFailure :: DeliveryStatus
+ Network.AWS.Pinpoint.Types: aDMChannelRequest :: ADMChannelRequest
+ Network.AWS.Pinpoint.Types: aDMChannelResponse :: ADMChannelResponse
+ Network.AWS.Pinpoint.Types: aDMMessage :: ADMMessage
+ Network.AWS.Pinpoint.Types: aTimezonesCompletedCount :: Lens' ActivityResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: aTimezonesTotalCount :: Lens' ActivityResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: acBodyOverride :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: acChannelType :: Lens' AddressConfiguration (Maybe ChannelType)
+ Network.AWS.Pinpoint.Types: acContext :: Lens' AddressConfiguration (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: acDefaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: acEnabled :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: acHasCredential :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: acHasTokenKey :: Lens' APNSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: acRawContent :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: acSubstitutions :: Lens' AddressConfiguration (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: acTitleOverride :: Lens' AddressConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: acrBundleId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: acrDefaultAuthenticationMethod :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: acrEnabled :: Lens' APNSChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: acrTeamId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: acrTokenKey :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: acrTokenKeyId :: Lens' APNSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: addressConfiguration :: AddressConfiguration
+ Network.AWS.Pinpoint.Types: admcApplicationId :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcCreationDate :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcEnabled :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: admcHasCredential :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: admcId :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcIsArchived :: Lens' ADMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: admcLastModifiedBy :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcLastModifiedDate :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcPlatform :: Lens' ADMChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcVersion :: Lens' ADMChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: admcrClientId :: Lens' ADMChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcrClientSecret :: Lens' ADMChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: admcrEnabled :: Lens' ADMChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: admmAction :: Lens' ADMMessage (Maybe Action)
+ Network.AWS.Pinpoint.Types: admmBody :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmConsolidationKey :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmData :: Lens' ADMMessage (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: admmExpiresAfter :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmIconReference :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmImageIconURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmImageURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmMD5 :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmRawContent :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmSilentPush :: Lens' ADMMessage (Maybe Bool)
+ Network.AWS.Pinpoint.Types: admmSmallImageIconURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmSound :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmSubstitutions :: Lens' ADMMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: admmTitle :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: admmURL :: Lens' ADMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amAction :: Lens' APNSMessage (Maybe Action)
+ Network.AWS.Pinpoint.Types: amBadge :: Lens' APNSMessage (Maybe Int)
+ Network.AWS.Pinpoint.Types: amBody :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amCategory :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amCollapseId :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amData :: Lens' APNSMessage (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: amMediaURL :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amPreferredAuthenticationMethod :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amPriority :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amRawContent :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amSilentPush :: Lens' APNSMessage (Maybe Bool)
+ Network.AWS.Pinpoint.Types: amSound :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amSubstitutions :: Lens' APNSMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: amThreadId :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amTimeToLive :: Lens' APNSMessage (Maybe Int)
+ Network.AWS.Pinpoint.Types: amTitle :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: amURL :: Lens' APNSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: apnsMessage :: APNSMessage
+ Network.AWS.Pinpoint.Types: apnsSandboxChannelRequest :: APNSSandboxChannelRequest
+ Network.AWS.Pinpoint.Types: apnsSandboxChannelResponse :: APNSSandboxChannelResponse
+ Network.AWS.Pinpoint.Types: apnsVoipChannelRequest :: APNSVoipChannelRequest
+ Network.AWS.Pinpoint.Types: apnsVoipChannelResponse :: APNSVoipChannelResponse
+ Network.AWS.Pinpoint.Types: apnsVoipSandboxChannelRequest :: APNSVoipSandboxChannelRequest
+ Network.AWS.Pinpoint.Types: apnsVoipSandboxChannelResponse :: APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.Types: appId :: Lens' ApplicationResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: appItem :: Lens' ApplicationsResponse [ApplicationResponse]
+ Network.AWS.Pinpoint.Types: appName :: Lens' ApplicationResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: appNextToken :: Lens' ApplicationsResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: applicationResponse :: ApplicationResponse
+ Network.AWS.Pinpoint.Types: applicationsResponse :: ApplicationsResponse
+ Network.AWS.Pinpoint.Types: ascApplicationId :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascCreationDate :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascDefaultAuthenticationMethod :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascEnabled :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ascHasCredential :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ascHasTokenKey :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ascId :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascIsArchived :: Lens' APNSSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ascLastModifiedBy :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascLastModifiedDate :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascPlatform :: Lens' APNSSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascVersion :: Lens' APNSSandboxChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: ascrBundleId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrCertificate :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrDefaultAuthenticationMethod :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrEnabled :: Lens' APNSSandboxChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ascrPrivateKey :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrTeamId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrTokenKey :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ascrTokenKeyId :: Lens' APNSSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcApplicationId :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcCreationDate :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcDefaultAuthenticationMethod :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcEnabled :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avcHasCredential :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avcHasTokenKey :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avcId :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcIsArchived :: Lens' APNSVoipChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avcLastModifiedBy :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcLastModifiedDate :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcPlatform :: Lens' APNSVoipChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcVersion :: Lens' APNSVoipChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: avcrBundleId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrCertificate :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrDefaultAuthenticationMethod :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrEnabled :: Lens' APNSVoipChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avcrPrivateKey :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrTeamId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrTokenKey :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avcrTokenKeyId :: Lens' APNSVoipChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscApplicationId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscCreationDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscEnabled :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avscHasCredential :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avscHasTokenKey :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avscId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscIsArchived :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avscLastModifiedBy :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscLastModifiedDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscPlatform :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscVersion :: Lens' APNSVoipSandboxChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: avscrBundleId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrCertificate :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrEnabled :: Lens' APNSVoipSandboxChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: avscrPrivateKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrTeamId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrTokenKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: avscrTokenKeyId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: baiduChannelRequest :: BaiduChannelRequest
+ Network.AWS.Pinpoint.Types: baiduChannelResponse :: BaiduChannelResponse
+ Network.AWS.Pinpoint.Types: baiduMessage :: BaiduMessage
+ Network.AWS.Pinpoint.Types: bcApplicationId :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcCreationDate :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcCredential :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcEnabled :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: bcHasCredential :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: bcId :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcIsArchived :: Lens' BaiduChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: bcLastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcLastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcPlatform :: Lens' BaiduChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcVersion :: Lens' BaiduChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: bcrAPIKey :: Lens' BaiduChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: bcrEnabled :: Lens' BaiduChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: bcrSecretKey :: Lens' BaiduChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmAction :: Lens' BaiduMessage (Maybe Action)
+ Network.AWS.Pinpoint.Types: bmBody :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmData :: Lens' BaiduMessage (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: bmIconReference :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmImageIconURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmImageURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmRawContent :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmSilentPush :: Lens' BaiduMessage (Maybe Bool)
+ Network.AWS.Pinpoint.Types: bmSmallImageIconURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmSound :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmSubstitutions :: Lens' BaiduMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: bmTitle :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: bmURL :: Lens' BaiduMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: campaignEmailMessage :: CampaignEmailMessage
+ Network.AWS.Pinpoint.Types: campaignSmsMessage :: CampaignSmsMessage
+ Network.AWS.Pinpoint.Types: carName :: Lens' CreateApplicationRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: cemBody :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: cemFromAddress :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: cemHTMLBody :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: cemTitle :: Lens' CampaignEmailMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: clMaximumDuration :: Lens' CampaignLimits (Maybe Int)
+ Network.AWS.Pinpoint.Types: clMessagesPerSecond :: Lens' CampaignLimits (Maybe Int)
+ Network.AWS.Pinpoint.Types: createApplicationRequest :: CreateApplicationRequest
+ Network.AWS.Pinpoint.Types: csmBody :: Lens' CampaignSmsMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: csmMessageType :: Lens' CampaignSmsMessage (Maybe MessageType)
+ Network.AWS.Pinpoint.Types: csmSenderId :: Lens' CampaignSmsMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: data ADMChannelRequest
+ Network.AWS.Pinpoint.Types: data ADMChannelResponse
+ Network.AWS.Pinpoint.Types: data ADMMessage
+ Network.AWS.Pinpoint.Types: data APNSMessage
+ Network.AWS.Pinpoint.Types: data APNSSandboxChannelRequest
+ Network.AWS.Pinpoint.Types: data APNSSandboxChannelResponse
+ Network.AWS.Pinpoint.Types: data APNSVoipChannelRequest
+ Network.AWS.Pinpoint.Types: data APNSVoipChannelResponse
+ Network.AWS.Pinpoint.Types: data APNSVoipSandboxChannelRequest
+ Network.AWS.Pinpoint.Types: data APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.Types: data AddressConfiguration
+ Network.AWS.Pinpoint.Types: data ApplicationResponse
+ Network.AWS.Pinpoint.Types: data ApplicationsResponse
+ Network.AWS.Pinpoint.Types: data BaiduChannelRequest
+ Network.AWS.Pinpoint.Types: data BaiduChannelResponse
+ Network.AWS.Pinpoint.Types: data BaiduMessage
+ Network.AWS.Pinpoint.Types: data CampaignEmailMessage
+ Network.AWS.Pinpoint.Types: data CampaignSmsMessage
+ Network.AWS.Pinpoint.Types: data CreateApplicationRequest
+ Network.AWS.Pinpoint.Types: data DefaultMessage
+ Network.AWS.Pinpoint.Types: data DefaultPushNotificationMessage
+ Network.AWS.Pinpoint.Types: data DeliveryStatus
+ Network.AWS.Pinpoint.Types: data DirectMessageConfiguration
+ Network.AWS.Pinpoint.Types: data EmailChannelRequest
+ Network.AWS.Pinpoint.Types: data EmailChannelResponse
+ Network.AWS.Pinpoint.Types: data EndpointMessageResult
+ Network.AWS.Pinpoint.Types: data EndpointSendConfiguration
+ Network.AWS.Pinpoint.Types: data EventStream
+ Network.AWS.Pinpoint.Types: data GCMMessage
+ Network.AWS.Pinpoint.Types: data MessageRequest
+ Network.AWS.Pinpoint.Types: data MessageResponse
+ Network.AWS.Pinpoint.Types: data MessageResult
+ Network.AWS.Pinpoint.Types: data MessageType
+ Network.AWS.Pinpoint.Types: data SMSChannelRequest
+ Network.AWS.Pinpoint.Types: data SMSChannelResponse
+ Network.AWS.Pinpoint.Types: data SMSMessage
+ Network.AWS.Pinpoint.Types: data SendUsersMessageRequest
+ Network.AWS.Pinpoint.Types: data SendUsersMessageResponse
+ Network.AWS.Pinpoint.Types: data WriteEventStream
+ Network.AWS.Pinpoint.Types: defaultMessage :: DefaultMessage
+ Network.AWS.Pinpoint.Types: defaultPushNotificationMessage :: DefaultPushNotificationMessage
+ Network.AWS.Pinpoint.Types: directMessageConfiguration :: DirectMessageConfiguration
+ Network.AWS.Pinpoint.Types: dmBody :: Lens' DefaultMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: dmSubstitutions :: Lens' DefaultMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: dmcADMMessage :: Lens' DirectMessageConfiguration (Maybe ADMMessage)
+ Network.AWS.Pinpoint.Types: dmcAPNSMessage :: Lens' DirectMessageConfiguration (Maybe APNSMessage)
+ Network.AWS.Pinpoint.Types: dmcBaiduMessage :: Lens' DirectMessageConfiguration (Maybe BaiduMessage)
+ Network.AWS.Pinpoint.Types: dmcDefaultMessage :: Lens' DirectMessageConfiguration (Maybe DefaultMessage)
+ Network.AWS.Pinpoint.Types: dmcDefaultPushNotificationMessage :: Lens' DirectMessageConfiguration (Maybe DefaultPushNotificationMessage)
+ Network.AWS.Pinpoint.Types: dmcGCMMessage :: Lens' DirectMessageConfiguration (Maybe GCMMessage)
+ Network.AWS.Pinpoint.Types: dmcSMSMessage :: Lens' DirectMessageConfiguration (Maybe SMSMessage)
+ Network.AWS.Pinpoint.Types: dpnmAction :: Lens' DefaultPushNotificationMessage (Maybe Action)
+ Network.AWS.Pinpoint.Types: dpnmBody :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: dpnmData :: Lens' DefaultPushNotificationMessage (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: dpnmSilentPush :: Lens' DefaultPushNotificationMessage (Maybe Bool)
+ Network.AWS.Pinpoint.Types: dpnmSubstitutions :: Lens' DefaultPushNotificationMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: dpnmTitle :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: dpnmURL :: Lens' DefaultPushNotificationMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecApplicationId :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecCreationDate :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecEnabled :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ecFromAddress :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecHasCredential :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ecId :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecIdentity :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecIsArchived :: Lens' EmailChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ecLastModifiedBy :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecLastModifiedDate :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecPlatform :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecRoleARN :: Lens' EmailChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecVersion :: Lens' EmailChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: ecrEnabled :: Lens' EmailChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: ecrFromAddress :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecrIdentity :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: ecrRoleARN :: Lens' EmailChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: emailChannelRequest :: EmailChannelRequest
+ Network.AWS.Pinpoint.Types: emailChannelResponse :: EmailChannelResponse
+ Network.AWS.Pinpoint.Types: emrAddress :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint.Types: emrDeliveryStatus :: Lens' EndpointMessageResult (Maybe DeliveryStatus)
+ Network.AWS.Pinpoint.Types: emrStatusCode :: Lens' EndpointMessageResult (Maybe Int)
+ Network.AWS.Pinpoint.Types: emrStatusMessage :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint.Types: emrUpdatedToken :: Lens' EndpointMessageResult (Maybe Text)
+ Network.AWS.Pinpoint.Types: endpointMessageResult :: EndpointMessageResult
+ Network.AWS.Pinpoint.Types: endpointSendConfiguration :: EndpointSendConfiguration
+ Network.AWS.Pinpoint.Types: esApplicationId :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: esDestinationStreamARN :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: esExternalId :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: esLastModifiedDate :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: esLastUpdatedBy :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: esRoleARN :: Lens' EventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: escBodyOverride :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: escContext :: Lens' EndpointSendConfiguration (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: escRawContent :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: escSubstitutions :: Lens' EndpointSendConfiguration (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: escTitleOverride :: Lens' EndpointSendConfiguration (Maybe Text)
+ Network.AWS.Pinpoint.Types: eventStream :: EventStream
+ Network.AWS.Pinpoint.Types: gcEnabled :: Lens' GCMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: gcHasCredential :: Lens' GCMChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: gcmMessage :: GCMMessage
+ Network.AWS.Pinpoint.Types: gcrEnabled :: Lens' GCMChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: gmAction :: Lens' GCMMessage (Maybe Action)
+ Network.AWS.Pinpoint.Types: gmBody :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmCollapseKey :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmData :: Lens' GCMMessage (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: gmIconReference :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmImageIconURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmImageURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmPriority :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmRawContent :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmRestrictedPackageName :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmSilentPush :: Lens' GCMMessage (Maybe Bool)
+ Network.AWS.Pinpoint.Types: gmSmallImageIconURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmSound :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmSubstitutions :: Lens' GCMMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: gmTimeToLive :: Lens' GCMMessage (Maybe Int)
+ Network.AWS.Pinpoint.Types: gmTitle :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: gmURL :: Lens' GCMMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: mApplicationId :: Lens' MessageResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: mEndpointResult :: Lens' MessageResponse (HashMap Text EndpointMessageResult)
+ Network.AWS.Pinpoint.Types: mImageSmallIconURL :: Lens' Message (Maybe Text)
+ Network.AWS.Pinpoint.Types: mRawContent :: Lens' Message (Maybe Text)
+ Network.AWS.Pinpoint.Types: mRequestId :: Lens' MessageResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: mResult :: Lens' MessageResponse (HashMap Text MessageResult)
+ Network.AWS.Pinpoint.Types: mcADMMessage :: Lens' MessageConfiguration (Maybe Message)
+ Network.AWS.Pinpoint.Types: mcBaiduMessage :: Lens' MessageConfiguration (Maybe Message)
+ Network.AWS.Pinpoint.Types: mcEmailMessage :: Lens' MessageConfiguration (Maybe CampaignEmailMessage)
+ Network.AWS.Pinpoint.Types: mcSMSMessage :: Lens' MessageConfiguration (Maybe CampaignSmsMessage)
+ Network.AWS.Pinpoint.Types: messageRequest :: MessageRequest
+ Network.AWS.Pinpoint.Types: messageResponse :: MessageResponse
+ Network.AWS.Pinpoint.Types: messageResult :: MessageResult
+ Network.AWS.Pinpoint.Types: mrAddresses :: Lens' MessageRequest (HashMap Text AddressConfiguration)
+ Network.AWS.Pinpoint.Types: mrContext :: Lens' MessageRequest (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: mrDeliveryStatus :: Lens' MessageResult (Maybe DeliveryStatus)
+ Network.AWS.Pinpoint.Types: mrEndpoints :: Lens' MessageRequest (HashMap Text EndpointSendConfiguration)
+ Network.AWS.Pinpoint.Types: mrMessageConfiguration :: Lens' MessageRequest (Maybe DirectMessageConfiguration)
+ Network.AWS.Pinpoint.Types: mrStatusCode :: Lens' MessageResult (Maybe Int)
+ Network.AWS.Pinpoint.Types: mrStatusMessage :: Lens' MessageResult (Maybe Text)
+ Network.AWS.Pinpoint.Types: mrUpdatedToken :: Lens' MessageResult (Maybe Text)
+ Network.AWS.Pinpoint.Types: sMSChannelRequest :: SMSChannelRequest
+ Network.AWS.Pinpoint.Types: sMSChannelResponse :: SMSChannelResponse
+ Network.AWS.Pinpoint.Types: sMSMessage :: SMSMessage
+ Network.AWS.Pinpoint.Types: sdChannel :: Lens' SegmentDemographics (Maybe SetDimension)
+ Network.AWS.Pinpoint.Types: sdUserAttributes :: Lens' SegmentDimensions (HashMap Text AttributeDimension)
+ Network.AWS.Pinpoint.Types: sendUsersMessageRequest :: SendUsersMessageRequest
+ Network.AWS.Pinpoint.Types: sendUsersMessageResponse :: SendUsersMessageResponse
+ Network.AWS.Pinpoint.Types: sirChannelCounts :: Lens' SegmentImportResource (HashMap Text Int)
+ Network.AWS.Pinpoint.Types: smscApplicationId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscCreationDate :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscEnabled :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: smscHasCredential :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: smscId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscIsArchived :: Lens' SMSChannelResponse (Maybe Bool)
+ Network.AWS.Pinpoint.Types: smscLastModifiedBy :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscLastModifiedDate :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscPlatform :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscSenderId :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscShortCode :: Lens' SMSChannelResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscVersion :: Lens' SMSChannelResponse (Maybe Int)
+ Network.AWS.Pinpoint.Types: smscrEnabled :: Lens' SMSChannelRequest (Maybe Bool)
+ Network.AWS.Pinpoint.Types: smscrSenderId :: Lens' SMSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: smscrShortCode :: Lens' SMSChannelRequest (Maybe Text)
+ Network.AWS.Pinpoint.Types: smsmBody :: Lens' SMSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: smsmMessageType :: Lens' SMSMessage (Maybe MessageType)
+ Network.AWS.Pinpoint.Types: smsmSenderId :: Lens' SMSMessage (Maybe Text)
+ Network.AWS.Pinpoint.Types: smsmSubstitutions :: Lens' SMSMessage (HashMap Text [Text])
+ Network.AWS.Pinpoint.Types: sumApplicationId :: Lens' SendUsersMessageResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: sumRequestId :: Lens' SendUsersMessageResponse (Maybe Text)
+ Network.AWS.Pinpoint.Types: sumResult :: Lens' SendUsersMessageResponse (HashMap Text (HashMap Text EndpointMessageResult))
+ Network.AWS.Pinpoint.Types: sumrContext :: Lens' SendUsersMessageRequest (HashMap Text Text)
+ Network.AWS.Pinpoint.Types: sumrMessageConfiguration :: Lens' SendUsersMessageRequest (Maybe DirectMessageConfiguration)
+ Network.AWS.Pinpoint.Types: sumrUsers :: Lens' SendUsersMessageRequest (HashMap Text EndpointSendConfiguration)
+ Network.AWS.Pinpoint.Types: wesDestinationStreamARN :: Lens' WriteEventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: wesRoleARN :: Lens' WriteEventStream (Maybe Text)
+ Network.AWS.Pinpoint.Types: writeEventStream :: WriteEventStream
+ Network.AWS.Pinpoint.UpdateADMChannel: data UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: data UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateADMChannel.UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: uadmcADMChannelRequest :: Lens' UpdateADMChannel ADMChannelRequest
+ Network.AWS.Pinpoint.UpdateADMChannel: uadmcApplicationId :: Lens' UpdateADMChannel Text
+ Network.AWS.Pinpoint.UpdateADMChannel: uadmcrsADMChannelResponse :: Lens' UpdateADMChannelResponse ADMChannelResponse
+ Network.AWS.Pinpoint.UpdateADMChannel: uadmcrsResponseStatus :: Lens' UpdateADMChannelResponse Int
+ Network.AWS.Pinpoint.UpdateADMChannel: updateADMChannel :: Text -> ADMChannelRequest -> UpdateADMChannel
+ Network.AWS.Pinpoint.UpdateADMChannel: updateADMChannelResponse :: Int -> ADMChannelResponse -> UpdateADMChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: data UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: data UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateAPNSSandboxChannel.UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: uascAPNSSandboxChannelRequest :: Lens' UpdateAPNSSandboxChannel APNSSandboxChannelRequest
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: uascApplicationId :: Lens' UpdateAPNSSandboxChannel Text
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: uascrsAPNSSandboxChannelResponse :: Lens' UpdateAPNSSandboxChannelResponse APNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: uascrsResponseStatus :: Lens' UpdateAPNSSandboxChannelResponse Int
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: updateAPNSSandboxChannel :: Text -> APNSSandboxChannelRequest -> UpdateAPNSSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSSandboxChannel: updateAPNSSandboxChannelResponse :: Int -> APNSSandboxChannelResponse -> UpdateAPNSSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: data UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: data UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateAPNSVoipChannel.UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: uavcAPNSVoipChannelRequest :: Lens' UpdateAPNSVoipChannel APNSVoipChannelRequest
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: uavcApplicationId :: Lens' UpdateAPNSVoipChannel Text
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: uavcrsAPNSVoipChannelResponse :: Lens' UpdateAPNSVoipChannelResponse APNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: uavcrsResponseStatus :: Lens' UpdateAPNSVoipChannelResponse Int
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: updateAPNSVoipChannel :: Text -> APNSVoipChannelRequest -> UpdateAPNSVoipChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipChannel: updateAPNSVoipChannelResponse :: Int -> APNSVoipChannelResponse -> UpdateAPNSVoipChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: data UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: data UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel.UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: uavscAPNSVoipSandboxChannelRequest :: Lens' UpdateAPNSVoipSandboxChannel APNSVoipSandboxChannelRequest
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: uavscApplicationId :: Lens' UpdateAPNSVoipSandboxChannel Text
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: uavscrsAPNSVoipSandboxChannelResponse :: Lens' UpdateAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: uavscrsResponseStatus :: Lens' UpdateAPNSVoipSandboxChannelResponse Int
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: updateAPNSVoipSandboxChannel :: Text -> APNSVoipSandboxChannelRequest -> UpdateAPNSVoipSandboxChannel
+ Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel: updateAPNSVoipSandboxChannelResponse :: Int -> APNSVoipSandboxChannelResponse -> UpdateAPNSVoipSandboxChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: data UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: data UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateBaiduChannel.UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: ubcApplicationId :: Lens' UpdateBaiduChannel Text
+ Network.AWS.Pinpoint.UpdateBaiduChannel: ubcBaiduChannelRequest :: Lens' UpdateBaiduChannel BaiduChannelRequest
+ Network.AWS.Pinpoint.UpdateBaiduChannel: ubcrsBaiduChannelResponse :: Lens' UpdateBaiduChannelResponse BaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateBaiduChannel: ubcrsResponseStatus :: Lens' UpdateBaiduChannelResponse Int
+ Network.AWS.Pinpoint.UpdateBaiduChannel: updateBaiduChannel :: Text -> BaiduChannelRequest -> UpdateBaiduChannel
+ Network.AWS.Pinpoint.UpdateBaiduChannel: updateBaiduChannelResponse :: Int -> BaiduChannelResponse -> UpdateBaiduChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: data UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: data UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateEmailChannel.UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: uecApplicationId :: Lens' UpdateEmailChannel Text
+ Network.AWS.Pinpoint.UpdateEmailChannel: uecEmailChannelRequest :: Lens' UpdateEmailChannel EmailChannelRequest
+ Network.AWS.Pinpoint.UpdateEmailChannel: uecrsEmailChannelResponse :: Lens' UpdateEmailChannelResponse EmailChannelResponse
+ Network.AWS.Pinpoint.UpdateEmailChannel: uecrsResponseStatus :: Lens' UpdateEmailChannelResponse Int
+ Network.AWS.Pinpoint.UpdateEmailChannel: updateEmailChannel :: Text -> EmailChannelRequest -> UpdateEmailChannel
+ Network.AWS.Pinpoint.UpdateEmailChannel: updateEmailChannelResponse :: Int -> EmailChannelResponse -> UpdateEmailChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: data UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: data UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Control.DeepSeq.NFData Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Data.Data.Data Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Data.Hashable.Class.Hashable Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Classes.Eq Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Generics.Generic Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Read.Read Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance GHC.Show.Show Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Network.AWS.Data.Path.ToPath Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Network.AWS.Data.Query.ToQuery Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: instance Network.AWS.Types.AWSRequest Network.AWS.Pinpoint.UpdateSmsChannel.UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: updateSmsChannel :: Text -> SMSChannelRequest -> UpdateSmsChannel
+ Network.AWS.Pinpoint.UpdateSmsChannel: updateSmsChannelResponse :: Int -> SMSChannelResponse -> UpdateSmsChannelResponse
+ Network.AWS.Pinpoint.UpdateSmsChannel: uscApplicationId :: Lens' UpdateSmsChannel Text
+ Network.AWS.Pinpoint.UpdateSmsChannel: uscSMSChannelRequest :: Lens' UpdateSmsChannel SMSChannelRequest
+ Network.AWS.Pinpoint.UpdateSmsChannel: uscrsResponseStatus :: Lens' UpdateSmsChannelResponse Int
+ Network.AWS.Pinpoint.UpdateSmsChannel: uscrsSMSChannelResponse :: Lens' UpdateSmsChannelResponse SMSChannelResponse
Files
- README.md +1/−1
- amazonka-pinpoint.cabal +46/−11
- fixture/CreateApp.yaml +10/−0
- fixture/CreateAppResponse.proto +0/−0
- fixture/DeleteADMChannel.yaml +10/−0
- fixture/DeleteADMChannelResponse.proto +0/−0
- fixture/DeleteAPNSSandboxChannel.yaml +10/−0
- fixture/DeleteAPNSSandboxChannelResponse.proto +0/−0
- fixture/DeleteAPNSVoipChannel.yaml +10/−0
- fixture/DeleteAPNSVoipChannelResponse.proto +0/−0
- fixture/DeleteAPNSVoipSandboxChannel.yaml +10/−0
- fixture/DeleteAPNSVoipSandboxChannelResponse.proto +0/−0
- fixture/DeleteApp.yaml +10/−0
- fixture/DeleteAppResponse.proto +0/−0
- fixture/DeleteBaiduChannel.yaml +10/−0
- fixture/DeleteBaiduChannelResponse.proto +0/−0
- fixture/DeleteEmailChannel.yaml +10/−0
- fixture/DeleteEmailChannelResponse.proto +0/−0
- fixture/DeleteEventStream.yaml +10/−0
- fixture/DeleteEventStreamResponse.proto +0/−0
- fixture/DeleteSmsChannel.yaml +10/−0
- fixture/DeleteSmsChannelResponse.proto +0/−0
- fixture/GetADMChannel.yaml +10/−0
- fixture/GetADMChannelResponse.proto +0/−0
- fixture/GetAPNSSandboxChannel.yaml +10/−0
- fixture/GetAPNSSandboxChannelResponse.proto +0/−0
- fixture/GetAPNSVoipChannel.yaml +10/−0
- fixture/GetAPNSVoipChannelResponse.proto +0/−0
- fixture/GetAPNSVoipSandboxChannel.yaml +10/−0
- fixture/GetAPNSVoipSandboxChannelResponse.proto +0/−0
- fixture/GetApp.yaml +10/−0
- fixture/GetAppResponse.proto +0/−0
- fixture/GetApps.yaml +10/−0
- fixture/GetAppsResponse.proto +0/−0
- fixture/GetBaiduChannel.yaml +10/−0
- fixture/GetBaiduChannelResponse.proto +0/−0
- fixture/GetEmailChannel.yaml +10/−0
- fixture/GetEmailChannelResponse.proto +0/−0
- fixture/GetEventStream.yaml +10/−0
- fixture/GetEventStreamResponse.proto +0/−0
- fixture/GetSmsChannel.yaml +10/−0
- fixture/GetSmsChannelResponse.proto +0/−0
- fixture/PutEventStream.yaml +10/−0
- fixture/PutEventStreamResponse.proto +0/−0
- fixture/SendMessages.yaml +10/−0
- fixture/SendMessagesResponse.proto +0/−0
- fixture/SendUsersMessages.yaml +10/−0
- fixture/SendUsersMessagesResponse.proto +0/−0
- fixture/UpdateADMChannel.yaml +10/−0
- fixture/UpdateADMChannelResponse.proto +0/−0
- fixture/UpdateAPNSSandboxChannel.yaml +10/−0
- fixture/UpdateAPNSSandboxChannelResponse.proto +0/−0
- fixture/UpdateAPNSVoipChannel.yaml +10/−0
- fixture/UpdateAPNSVoipChannelResponse.proto +0/−0
- fixture/UpdateAPNSVoipSandboxChannel.yaml +10/−0
- fixture/UpdateAPNSVoipSandboxChannelResponse.proto +0/−0
- fixture/UpdateBaiduChannel.yaml +10/−0
- fixture/UpdateBaiduChannelResponse.proto +0/−0
- fixture/UpdateEmailChannel.yaml +10/−0
- fixture/UpdateEmailChannelResponse.proto +0/−0
- fixture/UpdateSmsChannel.yaml +10/−0
- fixture/UpdateSmsChannelResponse.proto +0/−0
- gen/Network/AWS/Pinpoint.hs +590/−35
- gen/Network/AWS/Pinpoint/CreateApp.hs +134/−0
- gen/Network/AWS/Pinpoint/CreateCampaign.hs +29/−25
- gen/Network/AWS/Pinpoint/CreateImportJob.hs +29/−25
- gen/Network/AWS/Pinpoint/CreateSegment.hs +29/−25
- gen/Network/AWS/Pinpoint/DeleteADMChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/DeleteAPNSChannel.hs +25/−23
- gen/Network/AWS/Pinpoint/DeleteAPNSSandboxChannel.hs +131/−0
- gen/Network/AWS/Pinpoint/DeleteAPNSVoipChannel.hs +130/−0
- gen/Network/AWS/Pinpoint/DeleteAPNSVoipSandboxChannel.hs +132/−0
- gen/Network/AWS/Pinpoint/DeleteApp.hs +126/−0
- gen/Network/AWS/Pinpoint/DeleteBaiduChannel.hs +130/−0
- gen/Network/AWS/Pinpoint/DeleteCampaign.hs +27/−25
- gen/Network/AWS/Pinpoint/DeleteEmailChannel.hs +130/−0
- gen/Network/AWS/Pinpoint/DeleteEventStream.hs +128/−0
- gen/Network/AWS/Pinpoint/DeleteGCMChannel.hs +25/−23
- gen/Network/AWS/Pinpoint/DeleteSegment.hs +27/−25
- gen/Network/AWS/Pinpoint/DeleteSmsChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/GetADMChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/GetAPNSChannel.hs +25/−23
- gen/Network/AWS/Pinpoint/GetAPNSSandboxChannel.hs +130/−0
- gen/Network/AWS/Pinpoint/GetAPNSVoipChannel.hs +130/−0
- gen/Network/AWS/Pinpoint/GetAPNSVoipSandboxChannel.hs +131/−0
- gen/Network/AWS/Pinpoint/GetApp.hs +126/−0
- gen/Network/AWS/Pinpoint/GetApplicationSettings.hs +35/−33
- gen/Network/AWS/Pinpoint/GetApps.hs +134/−0
- gen/Network/AWS/Pinpoint/GetBaiduChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/GetCampaign.hs +27/−25
- gen/Network/AWS/Pinpoint/GetCampaignActivities.hs +37/−33
- gen/Network/AWS/Pinpoint/GetCampaignVersion.hs +32/−28
- gen/Network/AWS/Pinpoint/GetCampaignVersions.hs +37/−33
- gen/Network/AWS/Pinpoint/GetCampaigns.hs +35/−31
- gen/Network/AWS/Pinpoint/GetEmailChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/GetEndpoint.hs +27/−25
- gen/Network/AWS/Pinpoint/GetEventStream.hs +128/−0
- gen/Network/AWS/Pinpoint/GetGCMChannel.hs +25/−23
- gen/Network/AWS/Pinpoint/GetImportJob.hs +26/−25
- gen/Network/AWS/Pinpoint/GetImportJobs.hs +35/−31
- gen/Network/AWS/Pinpoint/GetSegment.hs +26/−25
- gen/Network/AWS/Pinpoint/GetSegmentImportJobs.hs +37/−33
- gen/Network/AWS/Pinpoint/GetSegmentVersion.hs +31/−27
- gen/Network/AWS/Pinpoint/GetSegmentVersions.hs +37/−33
- gen/Network/AWS/Pinpoint/GetSegments.hs +35/−31
- gen/Network/AWS/Pinpoint/GetSmsChannel.hs +129/−0
- gen/Network/AWS/Pinpoint/PutEventStream.hs +144/−0
- gen/Network/AWS/Pinpoint/SendMessages.hs +144/−0
- gen/Network/AWS/Pinpoint/SendUsersMessages.hs +149/−0
- gen/Network/AWS/Pinpoint/Types.hs +482/−38
- gen/Network/AWS/Pinpoint/Types/Product.hs +6714/−3113
- gen/Network/AWS/Pinpoint/Types/Sum.hs +155/−51
- gen/Network/AWS/Pinpoint/UpdateADMChannel.hs +148/−0
- gen/Network/AWS/Pinpoint/UpdateAPNSChannel.hs +29/−25
- gen/Network/AWS/Pinpoint/UpdateAPNSSandboxChannel.hs +151/−0
- gen/Network/AWS/Pinpoint/UpdateAPNSVoipChannel.hs +150/−0
- gen/Network/AWS/Pinpoint/UpdateAPNSVoipSandboxChannel.hs +152/−0
- gen/Network/AWS/Pinpoint/UpdateApplicationSettings.hs +29/−24
- gen/Network/AWS/Pinpoint/UpdateBaiduChannel.hs +149/−0
- gen/Network/AWS/Pinpoint/UpdateCampaign.hs +31/−27
- gen/Network/AWS/Pinpoint/UpdateEmailChannel.hs +149/−0
- gen/Network/AWS/Pinpoint/UpdateEndpoint.hs +29/−27
- gen/Network/AWS/Pinpoint/UpdateEndpointsBatch.hs +28/−26
- gen/Network/AWS/Pinpoint/UpdateGCMChannel.hs +29/−25
- gen/Network/AWS/Pinpoint/UpdateSegment.hs +31/−27
- gen/Network/AWS/Pinpoint/UpdateSmsChannel.hs +148/−0
- gen/Network/AWS/Pinpoint/Waiters.hs +6/−6
- test/Main.hs +2/−2
- test/Test/AWS/Gen/Pinpoint.hs +544/−4
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.4.5`+`1.5.0` ## Description
amazonka-pinpoint.cabal view
@@ -1,13 +1,13 @@ name: amazonka-pinpoint-version: 1.4.5+version: 1.5.0 synopsis: Amazon Pinpoint SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues-license: OtherLicense+license: MPL-2.0 license-file: LICENSE author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2016 Brendan Hay+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>+copyright: Copyright (c) 2013-2017 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -29,32 +29,56 @@ to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-pinpoint library default-language: Haskell2010 hs-source-dirs: src gen - ghc-options: -Wall+ ghc-options:+ -Wall+ -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates+ -funbox-strict-fields exposed-modules: Network.AWS.Pinpoint+ , Network.AWS.Pinpoint.CreateApp , Network.AWS.Pinpoint.CreateCampaign , Network.AWS.Pinpoint.CreateImportJob , Network.AWS.Pinpoint.CreateSegment+ , Network.AWS.Pinpoint.DeleteADMChannel , Network.AWS.Pinpoint.DeleteAPNSChannel+ , Network.AWS.Pinpoint.DeleteAPNSSandboxChannel+ , Network.AWS.Pinpoint.DeleteAPNSVoipChannel+ , Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel+ , Network.AWS.Pinpoint.DeleteApp+ , Network.AWS.Pinpoint.DeleteBaiduChannel , Network.AWS.Pinpoint.DeleteCampaign+ , Network.AWS.Pinpoint.DeleteEmailChannel+ , Network.AWS.Pinpoint.DeleteEventStream , Network.AWS.Pinpoint.DeleteGCMChannel , Network.AWS.Pinpoint.DeleteSegment+ , Network.AWS.Pinpoint.DeleteSmsChannel+ , Network.AWS.Pinpoint.GetADMChannel , Network.AWS.Pinpoint.GetAPNSChannel+ , Network.AWS.Pinpoint.GetAPNSSandboxChannel+ , Network.AWS.Pinpoint.GetAPNSVoipChannel+ , Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel+ , Network.AWS.Pinpoint.GetApp , Network.AWS.Pinpoint.GetApplicationSettings+ , Network.AWS.Pinpoint.GetApps+ , Network.AWS.Pinpoint.GetBaiduChannel , Network.AWS.Pinpoint.GetCampaign , Network.AWS.Pinpoint.GetCampaignActivities , Network.AWS.Pinpoint.GetCampaignVersion , Network.AWS.Pinpoint.GetCampaignVersions , Network.AWS.Pinpoint.GetCampaigns+ , Network.AWS.Pinpoint.GetEmailChannel , Network.AWS.Pinpoint.GetEndpoint+ , Network.AWS.Pinpoint.GetEventStream , Network.AWS.Pinpoint.GetGCMChannel , Network.AWS.Pinpoint.GetImportJob , Network.AWS.Pinpoint.GetImportJobs@@ -63,14 +87,25 @@ , Network.AWS.Pinpoint.GetSegmentVersion , Network.AWS.Pinpoint.GetSegmentVersions , Network.AWS.Pinpoint.GetSegments+ , Network.AWS.Pinpoint.GetSmsChannel+ , Network.AWS.Pinpoint.PutEventStream+ , Network.AWS.Pinpoint.SendMessages+ , Network.AWS.Pinpoint.SendUsersMessages , Network.AWS.Pinpoint.Types+ , Network.AWS.Pinpoint.UpdateADMChannel , Network.AWS.Pinpoint.UpdateAPNSChannel+ , Network.AWS.Pinpoint.UpdateAPNSSandboxChannel+ , Network.AWS.Pinpoint.UpdateAPNSVoipChannel+ , Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel , Network.AWS.Pinpoint.UpdateApplicationSettings+ , Network.AWS.Pinpoint.UpdateBaiduChannel , Network.AWS.Pinpoint.UpdateCampaign+ , Network.AWS.Pinpoint.UpdateEmailChannel , Network.AWS.Pinpoint.UpdateEndpoint , Network.AWS.Pinpoint.UpdateEndpointsBatch , Network.AWS.Pinpoint.UpdateGCMChannel , Network.AWS.Pinpoint.UpdateSegment+ , Network.AWS.Pinpoint.UpdateSmsChannel , Network.AWS.Pinpoint.Waiters other-modules:@@ -78,7 +113,7 @@ , Network.AWS.Pinpoint.Types.Sum build-depends:- amazonka-core == 1.4.5.*+ amazonka-core == 1.5.0.* , base >= 4.7 && < 5 test-suite amazonka-pinpoint-test@@ -98,9 +133,9 @@ , Test.AWS.Pinpoint.Internal build-depends:- amazonka-core == 1.4.5.*- , amazonka-test == 1.4.5.*- , amazonka-pinpoint == 1.4.5.*+ amazonka-core == 1.5.0.*+ , amazonka-test == 1.5.0.*+ , amazonka-pinpoint , base , bytestring , tasty
+ fixture/CreateApp.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateAppResponse.proto view
+ fixture/DeleteADMChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteADMChannelResponse.proto view
+ fixture/DeleteAPNSSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAPNSSandboxChannelResponse.proto view
+ fixture/DeleteAPNSVoipChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAPNSVoipChannelResponse.proto view
+ fixture/DeleteAPNSVoipSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAPNSVoipSandboxChannelResponse.proto view
+ fixture/DeleteApp.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAppResponse.proto view
+ fixture/DeleteBaiduChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteBaiduChannelResponse.proto view
+ fixture/DeleteEmailChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteEmailChannelResponse.proto view
+ fixture/DeleteEventStream.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteEventStreamResponse.proto view
+ fixture/DeleteSmsChannel.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteSmsChannelResponse.proto view
+ fixture/GetADMChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetADMChannelResponse.proto view
+ fixture/GetAPNSSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAPNSSandboxChannelResponse.proto view
+ fixture/GetAPNSVoipChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAPNSVoipChannelResponse.proto view
+ fixture/GetAPNSVoipSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAPNSVoipSandboxChannelResponse.proto view
+ fixture/GetApp.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAppResponse.proto view
+ fixture/GetApps.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAppsResponse.proto view
+ fixture/GetBaiduChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetBaiduChannelResponse.proto view
+ fixture/GetEmailChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetEmailChannelResponse.proto view
+ fixture/GetEventStream.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetEventStreamResponse.proto view
+ fixture/GetSmsChannel.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetSmsChannelResponse.proto view
+ fixture/PutEventStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutEventStreamResponse.proto view
+ fixture/SendMessages.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SendMessagesResponse.proto view
+ fixture/SendUsersMessages.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SendUsersMessagesResponse.proto view
+ fixture/UpdateADMChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateADMChannelResponse.proto view
+ fixture/UpdateAPNSSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateAPNSSandboxChannelResponse.proto view
+ fixture/UpdateAPNSVoipChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateAPNSVoipChannelResponse.proto view
+ fixture/UpdateAPNSVoipSandboxChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateAPNSVoipSandboxChannelResponse.proto view
+ fixture/UpdateBaiduChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateBaiduChannelResponse.proto view
+ fixture/UpdateEmailChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateEmailChannelResponse.proto view
+ fixture/UpdateSmsChannel.yaml view
@@ -0,0 +1,10 @@+---+method: PUT+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/pinpoint/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: pinpoint.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateSmsChannelResponse.proto view
gen/Network/AWS/Pinpoint.hs view
@@ -5,9 +5,9 @@ -- | -- Module : Network.AWS.Pinpoint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -58,9 +58,15 @@ -- ** GetSegmentImportJobs , module Network.AWS.Pinpoint.GetSegmentImportJobs + -- ** SendMessages+ , module Network.AWS.Pinpoint.SendMessages+ -- ** GetImportJob , module Network.AWS.Pinpoint.GetImportJob + -- ** GetAPNSVoipSandboxChannel+ , module Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel+ -- ** GetSegmentVersions , module Network.AWS.Pinpoint.GetSegmentVersions @@ -76,6 +82,12 @@ -- ** CreateSegment , module Network.AWS.Pinpoint.CreateSegment + -- ** UpdateADMChannel+ , module Network.AWS.Pinpoint.UpdateADMChannel++ -- ** DeleteADMChannel+ , module Network.AWS.Pinpoint.DeleteADMChannel+ -- ** UpdateEndpoint , module Network.AWS.Pinpoint.UpdateEndpoint @@ -91,9 +103,21 @@ -- ** UpdateEndpointsBatch , module Network.AWS.Pinpoint.UpdateEndpointsBatch + -- ** GetADMChannel+ , module Network.AWS.Pinpoint.GetADMChannel+ -- ** GetCampaign , module Network.AWS.Pinpoint.GetCampaign + -- ** DeleteApp+ , module Network.AWS.Pinpoint.DeleteApp++ -- ** UpdateAPNSVoipSandboxChannel+ , module Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel++ -- ** DeleteAPNSVoipSandboxChannel+ , module Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel+ -- ** UpdateGCMChannel , module Network.AWS.Pinpoint.UpdateGCMChannel @@ -103,21 +127,54 @@ -- ** GetCampaignActivities , module Network.AWS.Pinpoint.GetCampaignActivities + -- ** GetEventStream+ , module Network.AWS.Pinpoint.GetEventStream++ -- ** DeleteEmailChannel+ , module Network.AWS.Pinpoint.DeleteEmailChannel++ -- ** UpdateEmailChannel+ , module Network.AWS.Pinpoint.UpdateEmailChannel++ -- ** GetBaiduChannel+ , module Network.AWS.Pinpoint.GetBaiduChannel+ -- ** DeleteAPNSChannel , module Network.AWS.Pinpoint.DeleteAPNSChannel -- ** UpdateAPNSChannel , module Network.AWS.Pinpoint.UpdateAPNSChannel + -- ** PutEventStream+ , module Network.AWS.Pinpoint.PutEventStream++ -- ** DeleteEventStream+ , module Network.AWS.Pinpoint.DeleteEventStream+ -- ** GetCampaignVersions , module Network.AWS.Pinpoint.GetCampaignVersions -- ** GetAPNSChannel , module Network.AWS.Pinpoint.GetAPNSChannel + -- ** GetApps+ , module Network.AWS.Pinpoint.GetApps++ -- ** GetAPNSSandboxChannel+ , module Network.AWS.Pinpoint.GetAPNSSandboxChannel+ -- ** GetImportJobs , module Network.AWS.Pinpoint.GetImportJobs + -- ** DeleteSmsChannel+ , module Network.AWS.Pinpoint.DeleteSmsChannel++ -- ** UpdateSmsChannel+ , module Network.AWS.Pinpoint.UpdateSmsChannel++ -- ** GetApp+ , module Network.AWS.Pinpoint.GetApp+ -- ** GetCampaignVersion , module Network.AWS.Pinpoint.GetCampaignVersion @@ -127,6 +184,18 @@ -- ** UpdateSegment , module Network.AWS.Pinpoint.UpdateSegment + -- ** CreateApp+ , module Network.AWS.Pinpoint.CreateApp++ -- ** GetSmsChannel+ , module Network.AWS.Pinpoint.GetSmsChannel++ -- ** DeleteAPNSSandboxChannel+ , module Network.AWS.Pinpoint.DeleteAPNSSandboxChannel++ -- ** UpdateAPNSSandboxChannel+ , module Network.AWS.Pinpoint.UpdateAPNSSandboxChannel+ -- ** GetCampaigns , module Network.AWS.Pinpoint.GetCampaigns @@ -139,9 +208,30 @@ -- ** CreateImportJob , module Network.AWS.Pinpoint.CreateImportJob + -- ** DeleteAPNSVoipChannel+ , module Network.AWS.Pinpoint.DeleteAPNSVoipChannel++ -- ** UpdateAPNSVoipChannel+ , module Network.AWS.Pinpoint.UpdateAPNSVoipChannel++ -- ** SendUsersMessages+ , module Network.AWS.Pinpoint.SendUsersMessages+ -- ** GetApplicationSettings , module Network.AWS.Pinpoint.GetApplicationSettings + -- ** DeleteBaiduChannel+ , module Network.AWS.Pinpoint.DeleteBaiduChannel++ -- ** UpdateBaiduChannel+ , module Network.AWS.Pinpoint.UpdateBaiduChannel++ -- ** GetAPNSVoipChannel+ , module Network.AWS.Pinpoint.GetAPNSVoipChannel++ -- ** GetEmailChannel+ , module Network.AWS.Pinpoint.GetEmailChannel+ -- * Types -- ** Action@@ -159,6 +249,9 @@ -- ** DefinitionFormat , DefinitionFormat (..) + -- ** DeliveryStatus+ , DeliveryStatus (..)+ -- ** DimensionType , DimensionType (..) @@ -171,30 +264,189 @@ -- ** JobStatus , JobStatus (..) + -- ** MessageType+ , MessageType (..)+ -- ** RecencyType , RecencyType (..) -- ** SegmentType , SegmentType (..) + -- ** ADMChannelRequest+ , ADMChannelRequest+ , aDMChannelRequest+ , admcrClientId+ , admcrClientSecret+ , admcrEnabled++ -- ** ADMChannelResponse+ , ADMChannelResponse+ , aDMChannelResponse+ , admcPlatform+ , admcLastModifiedDate+ , admcEnabled+ , admcIsArchived+ , admcApplicationId+ , admcVersion+ , admcId+ , admcCreationDate+ , admcLastModifiedBy+ , admcHasCredential++ -- ** ADMMessage+ , ADMMessage+ , aDMMessage+ , admmSubstitutions+ , admmExpiresAfter+ , admmMD5+ , admmSilentPush+ , admmImageIconURL+ , admmRawContent+ , admmData+ , admmSmallImageIconURL+ , admmBody+ , admmURL+ , admmSound+ , admmAction+ , admmImageURL+ , admmConsolidationKey+ , admmTitle+ , admmIconReference+ -- ** APNSChannelRequest , APNSChannelRequest , apnsChannelRequest+ , acrTokenKey , acrPrivateKey+ , acrEnabled+ , acrTeamId+ , acrBundleId+ , acrDefaultAuthenticationMethod , acrCertificate+ , acrTokenKeyId -- ** APNSChannelResponse , APNSChannelResponse , apnsChannelResponse , acPlatform , acLastModifiedDate+ , acEnabled+ , acHasTokenKey+ , acDefaultAuthenticationMethod , acIsArchived , acApplicationId , acVersion , acId , acCreationDate , acLastModifiedBy+ , acHasCredential + -- ** APNSMessage+ , APNSMessage+ , apnsMessage+ , amSubstitutions+ , amSilentPush+ , amPriority+ , amRawContent+ , amData+ , amBody+ , amCategory+ , amTimeToLive+ , amURL+ , amSound+ , amAction+ , amMediaURL+ , amPreferredAuthenticationMethod+ , amBadge+ , amTitle+ , amThreadId+ , amCollapseId++ -- ** APNSSandboxChannelRequest+ , APNSSandboxChannelRequest+ , apnsSandboxChannelRequest+ , ascrTokenKey+ , ascrPrivateKey+ , ascrEnabled+ , ascrTeamId+ , ascrBundleId+ , ascrDefaultAuthenticationMethod+ , ascrCertificate+ , ascrTokenKeyId++ -- ** APNSSandboxChannelResponse+ , APNSSandboxChannelResponse+ , apnsSandboxChannelResponse+ , ascPlatform+ , ascLastModifiedDate+ , ascEnabled+ , ascHasTokenKey+ , ascDefaultAuthenticationMethod+ , ascIsArchived+ , ascApplicationId+ , ascVersion+ , ascId+ , ascCreationDate+ , ascLastModifiedBy+ , ascHasCredential++ -- ** APNSVoipChannelRequest+ , APNSVoipChannelRequest+ , apnsVoipChannelRequest+ , avcrTokenKey+ , avcrPrivateKey+ , avcrEnabled+ , avcrTeamId+ , avcrBundleId+ , avcrDefaultAuthenticationMethod+ , avcrCertificate+ , avcrTokenKeyId++ -- ** APNSVoipChannelResponse+ , APNSVoipChannelResponse+ , apnsVoipChannelResponse+ , avcPlatform+ , avcLastModifiedDate+ , avcEnabled+ , avcHasTokenKey+ , avcDefaultAuthenticationMethod+ , avcIsArchived+ , avcApplicationId+ , avcVersion+ , avcId+ , avcCreationDate+ , avcLastModifiedBy+ , avcHasCredential++ -- ** APNSVoipSandboxChannelRequest+ , APNSVoipSandboxChannelRequest+ , apnsVoipSandboxChannelRequest+ , avscrTokenKey+ , avscrPrivateKey+ , avscrEnabled+ , avscrTeamId+ , avscrBundleId+ , avscrDefaultAuthenticationMethod+ , avscrCertificate+ , avscrTokenKeyId++ -- ** APNSVoipSandboxChannelResponse+ , APNSVoipSandboxChannelResponse+ , apnsVoipSandboxChannelResponse+ , avscPlatform+ , avscLastModifiedDate+ , avscEnabled+ , avscHasTokenKey+ , avscDefaultAuthenticationMethod+ , avscIsArchived+ , avscApplicationId+ , avscVersion+ , avscId+ , avscCreationDate+ , avscLastModifiedBy+ , avscHasCredential+ -- ** ActivitiesResponse , ActivitiesResponse , activitiesResponse@@ -206,6 +458,8 @@ , aState , aStart , aCampaignId+ , aTimezonesCompletedCount+ , aTimezonesTotalCount , aResult , aTreatmentId , aSuccessfulEndpointCount@@ -215,6 +469,22 @@ , aId , aScheduledStart + -- ** AddressConfiguration+ , AddressConfiguration+ , addressConfiguration+ , acSubstitutions+ , acTitleOverride+ , acContext+ , acRawContent+ , acBodyOverride+ , acChannelType++ -- ** ApplicationResponse+ , ApplicationResponse+ , applicationResponse+ , appName+ , appId+ -- ** ApplicationSettingsResource , ApplicationSettingsResource , applicationSettingsResource@@ -223,17 +493,72 @@ , asrQuietTime , asrApplicationId + -- ** ApplicationsResponse+ , ApplicationsResponse+ , applicationsResponse+ , appNextToken+ , appItem+ -- ** AttributeDimension , AttributeDimension , attributeDimension , adValues , adAttributeType + -- ** BaiduChannelRequest+ , BaiduChannelRequest+ , baiduChannelRequest+ , bcrAPIKey+ , bcrEnabled+ , bcrSecretKey++ -- ** BaiduChannelResponse+ , BaiduChannelResponse+ , baiduChannelResponse+ , bcPlatform+ , bcLastModifiedDate+ , bcEnabled+ , bcCredential+ , bcIsArchived+ , bcApplicationId+ , bcVersion+ , bcId+ , bcCreationDate+ , bcLastModifiedBy+ , bcHasCredential++ -- ** BaiduMessage+ , BaiduMessage+ , baiduMessage+ , bmSubstitutions+ , bmSilentPush+ , bmImageIconURL+ , bmRawContent+ , bmData+ , bmSmallImageIconURL+ , bmBody+ , bmURL+ , bmSound+ , bmAction+ , bmImageURL+ , bmTitle+ , bmIconReference++ -- ** CampaignEmailMessage+ , CampaignEmailMessage+ , campaignEmailMessage+ , cemBody+ , cemFromAddress+ , cemHTMLBody+ , cemTitle+ -- ** CampaignLimits , CampaignLimits , campaignLimits+ , clMessagesPerSecond , clDaily , clTotal+ , clMaximumDuration -- ** CampaignResponse , CampaignResponse@@ -258,6 +583,13 @@ , cAdditionalTreatments , cSegmentVersion + -- ** CampaignSmsMessage+ , CampaignSmsMessage+ , campaignSmsMessage+ , csmBody+ , csmMessageType+ , csmSenderId+ -- ** CampaignState , CampaignState , campaignState@@ -269,6 +601,64 @@ , cNextToken , cItem + -- ** CreateApplicationRequest+ , CreateApplicationRequest+ , createApplicationRequest+ , carName++ -- ** DefaultMessage+ , DefaultMessage+ , defaultMessage+ , dmSubstitutions+ , dmBody++ -- ** DefaultPushNotificationMessage+ , DefaultPushNotificationMessage+ , defaultPushNotificationMessage+ , dpnmSubstitutions+ , dpnmSilentPush+ , dpnmData+ , dpnmBody+ , dpnmURL+ , dpnmAction+ , dpnmTitle++ -- ** DirectMessageConfiguration+ , DirectMessageConfiguration+ , directMessageConfiguration+ , dmcAPNSMessage+ , dmcGCMMessage+ , dmcDefaultMessage+ , dmcADMMessage+ , dmcSMSMessage+ , dmcBaiduMessage+ , dmcDefaultPushNotificationMessage++ -- ** EmailChannelRequest+ , EmailChannelRequest+ , emailChannelRequest+ , ecrEnabled+ , ecrFromAddress+ , ecrIdentity+ , ecrRoleARN++ -- ** EmailChannelResponse+ , EmailChannelResponse+ , emailChannelResponse+ , ecPlatform+ , ecLastModifiedDate+ , ecEnabled+ , ecFromAddress+ , ecIsArchived+ , ecApplicationId+ , ecVersion+ , ecId+ , ecCreationDate+ , ecLastModifiedBy+ , ecIdentity+ , ecHasCredential+ , ecRoleARN+ -- ** EndpointBatchItem , EndpointBatchItem , endpointBatchItem@@ -312,6 +702,15 @@ , elRegion , elLongitude + -- ** EndpointMessageResult+ , EndpointMessageResult+ , endpointMessageResult+ , emrDeliveryStatus+ , emrAddress+ , emrStatusMessage+ , emrUpdatedToken+ , emrStatusCode+ -- ** EndpointRequest , EndpointRequest , endpointRequest@@ -345,24 +744,44 @@ , eId , eCreationDate , eChannelType- , eShardId + -- ** EndpointSendConfiguration+ , EndpointSendConfiguration+ , endpointSendConfiguration+ , escSubstitutions+ , escTitleOverride+ , escContext+ , escRawContent+ , escBodyOverride+ -- ** EndpointUser , EndpointUser , endpointUser , euUserAttributes , euUserId + -- ** EventStream+ , EventStream+ , eventStream+ , esLastUpdatedBy+ , esLastModifiedDate+ , esDestinationStreamARN+ , esApplicationId+ , esExternalId+ , esRoleARN+ -- ** GCMChannelRequest , GCMChannelRequest , gcmChannelRequest , gcrAPIKey+ , gcrEnabled -- ** GCMChannelResponse , GCMChannelResponse , gcmChannelResponse , gcPlatform , gcLastModifiedDate+ , gcEnabled , gcCredential , gcIsArchived , gcApplicationId@@ -370,7 +789,29 @@ , gcId , gcCreationDate , gcLastModifiedBy+ , gcHasCredential + -- ** GCMMessage+ , GCMMessage+ , gcmMessage+ , gmSubstitutions+ , gmSilentPush+ , gmImageIconURL+ , gmPriority+ , gmRawContent+ , gmData+ , gmRestrictedPackageName+ , gmSmallImageIconURL+ , gmBody+ , gmTimeToLive+ , gmURL+ , gmSound+ , gmAction+ , gmCollapseKey+ , gmImageURL+ , gmTitle+ , gmIconReference+ -- ** ImportJobRequest , ImportJobRequest , importJobRequest@@ -423,7 +864,9 @@ , message , mSilentPush , mImageIconURL+ , mRawContent , mBody+ , mImageSmallIconURL , mJSONBody , mURL , mAction@@ -443,7 +886,35 @@ , mcAPNSMessage , mcGCMMessage , mcDefaultMessage+ , mcADMMessage+ , mcSMSMessage+ , mcEmailMessage+ , mcBaiduMessage + -- ** MessageRequest+ , MessageRequest+ , messageRequest+ , mrContext+ , mrAddresses+ , mrEndpoints+ , mrMessageConfiguration++ -- ** MessageResponse+ , MessageResponse+ , messageResponse+ , mRequestId+ , mResult+ , mApplicationId+ , mEndpointResult++ -- ** MessageResult+ , MessageResult+ , messageResult+ , mrDeliveryStatus+ , mrStatusMessage+ , mrUpdatedToken+ , mrStatusCode+ -- ** QuietTime , QuietTime , quietTime@@ -456,6 +927,37 @@ , rdRecencyType , rdDuration + -- ** SMSChannelRequest+ , SMSChannelRequest+ , sMSChannelRequest+ , smscrShortCode+ , smscrEnabled+ , smscrSenderId++ -- ** SMSChannelResponse+ , SMSChannelResponse+ , sMSChannelResponse+ , smscPlatform+ , smscShortCode+ , smscLastModifiedDate+ , smscEnabled+ , smscSenderId+ , smscIsArchived+ , smscApplicationId+ , smscVersion+ , smscId+ , smscCreationDate+ , smscLastModifiedBy+ , smscHasCredential++ -- ** SMSMessage+ , SMSMessage+ , sMSMessage+ , smsmSubstitutions+ , smsmBody+ , smsmMessageType+ , smsmSenderId+ -- ** Schedule , Schedule , schedule@@ -476,6 +978,7 @@ , segmentDemographics , sdPlatform , sdAppVersion+ , sdChannel , sdModel , sdMake , sdDeviceType@@ -485,6 +988,7 @@ , segmentDimensions , sdLocation , sdDemographic+ , sdUserAttributes , sdBehavior , sdAttributes @@ -493,6 +997,7 @@ , segmentImportResource , sirSize , sirFormat+ , sirChannelCounts , sirExternalId , sirS3URL , sirRoleARN@@ -521,6 +1026,20 @@ , sNextToken , sItem + -- ** SendUsersMessageRequest+ , SendUsersMessageRequest+ , sendUsersMessageRequest+ , sumrContext+ , sumrUsers+ , sumrMessageConfiguration++ -- ** SendUsersMessageResponse+ , SendUsersMessageResponse+ , sendUsersMessageResponse+ , sumRequestId+ , sumResult+ , sumApplicationId+ -- ** SetDimension , SetDimension , setDimension@@ -560,6 +1079,12 @@ , wcrAdditionalTreatments , wcrSegmentVersion + -- ** WriteEventStream+ , WriteEventStream+ , writeEventStream+ , wesDestinationStreamARN+ , wesRoleARN+ -- ** WriteSegmentRequest , WriteSegmentRequest , writeSegmentRequest@@ -576,38 +1101,68 @@ , wtrMessageConfiguration ) where -import Network.AWS.Pinpoint.CreateCampaign-import Network.AWS.Pinpoint.CreateImportJob-import Network.AWS.Pinpoint.CreateSegment-import Network.AWS.Pinpoint.DeleteAPNSChannel-import Network.AWS.Pinpoint.DeleteCampaign-import Network.AWS.Pinpoint.DeleteGCMChannel-import Network.AWS.Pinpoint.DeleteSegment-import Network.AWS.Pinpoint.GetAPNSChannel-import Network.AWS.Pinpoint.GetApplicationSettings-import Network.AWS.Pinpoint.GetCampaign-import Network.AWS.Pinpoint.GetCampaignActivities-import Network.AWS.Pinpoint.GetCampaigns-import Network.AWS.Pinpoint.GetCampaignVersion-import Network.AWS.Pinpoint.GetCampaignVersions-import Network.AWS.Pinpoint.GetEndpoint-import Network.AWS.Pinpoint.GetGCMChannel-import Network.AWS.Pinpoint.GetImportJob-import Network.AWS.Pinpoint.GetImportJobs-import Network.AWS.Pinpoint.GetSegment-import Network.AWS.Pinpoint.GetSegmentImportJobs-import Network.AWS.Pinpoint.GetSegments-import Network.AWS.Pinpoint.GetSegmentVersion-import Network.AWS.Pinpoint.GetSegmentVersions-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.UpdateAPNSChannel-import Network.AWS.Pinpoint.UpdateApplicationSettings-import Network.AWS.Pinpoint.UpdateCampaign-import Network.AWS.Pinpoint.UpdateEndpoint-import Network.AWS.Pinpoint.UpdateEndpointsBatch-import Network.AWS.Pinpoint.UpdateGCMChannel-import Network.AWS.Pinpoint.UpdateSegment-import Network.AWS.Pinpoint.Waiters+import Network.AWS.Pinpoint.CreateApp+import Network.AWS.Pinpoint.CreateCampaign+import Network.AWS.Pinpoint.CreateImportJob+import Network.AWS.Pinpoint.CreateSegment+import Network.AWS.Pinpoint.DeleteADMChannel+import Network.AWS.Pinpoint.DeleteAPNSChannel+import Network.AWS.Pinpoint.DeleteAPNSSandboxChannel+import Network.AWS.Pinpoint.DeleteAPNSVoipChannel+import Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel+import Network.AWS.Pinpoint.DeleteApp+import Network.AWS.Pinpoint.DeleteBaiduChannel+import Network.AWS.Pinpoint.DeleteCampaign+import Network.AWS.Pinpoint.DeleteEmailChannel+import Network.AWS.Pinpoint.DeleteEventStream+import Network.AWS.Pinpoint.DeleteGCMChannel+import Network.AWS.Pinpoint.DeleteSegment+import Network.AWS.Pinpoint.DeleteSmsChannel+import Network.AWS.Pinpoint.GetADMChannel+import Network.AWS.Pinpoint.GetAPNSChannel+import Network.AWS.Pinpoint.GetAPNSSandboxChannel+import Network.AWS.Pinpoint.GetAPNSVoipChannel+import Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel+import Network.AWS.Pinpoint.GetApp+import Network.AWS.Pinpoint.GetApplicationSettings+import Network.AWS.Pinpoint.GetApps+import Network.AWS.Pinpoint.GetBaiduChannel+import Network.AWS.Pinpoint.GetCampaign+import Network.AWS.Pinpoint.GetCampaignActivities+import Network.AWS.Pinpoint.GetCampaigns+import Network.AWS.Pinpoint.GetCampaignVersion+import Network.AWS.Pinpoint.GetCampaignVersions+import Network.AWS.Pinpoint.GetEmailChannel+import Network.AWS.Pinpoint.GetEndpoint+import Network.AWS.Pinpoint.GetEventStream+import Network.AWS.Pinpoint.GetGCMChannel+import Network.AWS.Pinpoint.GetImportJob+import Network.AWS.Pinpoint.GetImportJobs+import Network.AWS.Pinpoint.GetSegment+import Network.AWS.Pinpoint.GetSegmentImportJobs+import Network.AWS.Pinpoint.GetSegments+import Network.AWS.Pinpoint.GetSegmentVersion+import Network.AWS.Pinpoint.GetSegmentVersions+import Network.AWS.Pinpoint.GetSmsChannel+import Network.AWS.Pinpoint.PutEventStream+import Network.AWS.Pinpoint.SendMessages+import Network.AWS.Pinpoint.SendUsersMessages+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.UpdateADMChannel+import Network.AWS.Pinpoint.UpdateAPNSChannel+import Network.AWS.Pinpoint.UpdateAPNSSandboxChannel+import Network.AWS.Pinpoint.UpdateAPNSVoipChannel+import Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel+import Network.AWS.Pinpoint.UpdateApplicationSettings+import Network.AWS.Pinpoint.UpdateBaiduChannel+import Network.AWS.Pinpoint.UpdateCampaign+import Network.AWS.Pinpoint.UpdateEmailChannel+import Network.AWS.Pinpoint.UpdateEndpoint+import Network.AWS.Pinpoint.UpdateEndpointsBatch+import Network.AWS.Pinpoint.UpdateGCMChannel+import Network.AWS.Pinpoint.UpdateSegment+import Network.AWS.Pinpoint.UpdateSmsChannel+import Network.AWS.Pinpoint.Waiters {- $errors Error matchers are designed for use with the functions provided by
+ gen/Network/AWS/Pinpoint/CreateApp.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.CreateApp+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates an app.+module Network.AWS.Pinpoint.CreateApp+ (+ -- * Creating a Request+ createApp+ , CreateApp+ -- * Request Lenses+ , caCreateApplicationRequest++ -- * Destructuring the Response+ , createAppResponse+ , CreateAppResponse+ -- * Response Lenses+ , carsResponseStatus+ , carsApplicationResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'createApp' smart constructor.+newtype CreateApp = CreateApp'+ { _caCreateApplicationRequest :: CreateApplicationRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateApp' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'caCreateApplicationRequest' - Undocumented member.+createApp+ :: CreateApplicationRequest -- ^ 'caCreateApplicationRequest'+ -> CreateApp+createApp pCreateApplicationRequest_ =+ CreateApp' {_caCreateApplicationRequest = pCreateApplicationRequest_}+++-- | Undocumented member.+caCreateApplicationRequest :: Lens' CreateApp CreateApplicationRequest+caCreateApplicationRequest = lens _caCreateApplicationRequest (\ s a -> s{_caCreateApplicationRequest = a});++instance AWSRequest CreateApp where+ type Rs CreateApp = CreateAppResponse+ request = postJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ CreateAppResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable CreateApp where++instance NFData CreateApp where++instance ToHeaders CreateApp where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON CreateApp where+ toJSON CreateApp'{..}+ = object+ (catMaybes+ [Just+ ("CreateApplicationRequest" .=+ _caCreateApplicationRequest)])++instance ToPath CreateApp where+ toPath = const "/v1/apps"++instance ToQuery CreateApp where+ toQuery = const mempty++-- | /See:/ 'createAppResponse' smart constructor.+data CreateAppResponse = CreateAppResponse'+ { _carsResponseStatus :: !Int+ , _carsApplicationResponse :: !ApplicationResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateAppResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'carsResponseStatus' - -- | The response status code.+--+-- * 'carsApplicationResponse' - Undocumented member.+createAppResponse+ :: Int -- ^ 'carsResponseStatus'+ -> ApplicationResponse -- ^ 'carsApplicationResponse'+ -> CreateAppResponse+createAppResponse pResponseStatus_ pApplicationResponse_ =+ CreateAppResponse'+ { _carsResponseStatus = pResponseStatus_+ , _carsApplicationResponse = pApplicationResponse_+ }+++-- | -- | The response status code.+carsResponseStatus :: Lens' CreateAppResponse Int+carsResponseStatus = lens _carsResponseStatus (\ s a -> s{_carsResponseStatus = a});++-- | Undocumented member.+carsApplicationResponse :: Lens' CreateAppResponse ApplicationResponse+carsApplicationResponse = lens _carsApplicationResponse (\ s a -> s{_carsApplicationResponse = a});++instance NFData CreateAppResponse where
gen/Network/AWS/Pinpoint/CreateCampaign.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.CreateCampaign--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , ccrsCampaignResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'createCampaign' smart constructor. data CreateCampaign = CreateCampaign'- { _ccApplicationId :: !Text- , _ccWriteCampaignRequest :: !WriteCampaignRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ccApplicationId :: !Text+ , _ccWriteCampaignRequest :: !WriteCampaignRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateCampaign' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> WriteCampaignRequest -- ^ 'ccWriteCampaignRequest' -> CreateCampaign createCampaign pApplicationId_ pWriteCampaignRequest_ =- CreateCampaign'- { _ccApplicationId = pApplicationId_- , _ccWriteCampaignRequest = pWriteCampaignRequest_- }+ CreateCampaign'+ { _ccApplicationId = pApplicationId_+ , _ccWriteCampaignRequest = pWriteCampaignRequest_+ } + -- | Undocumented member. ccApplicationId :: Lens' CreateCampaign Text ccApplicationId = lens _ccApplicationId (\ s a -> s{_ccApplicationId = a});@@ -83,9 +85,9 @@ CreateCampaignResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable CreateCampaign+instance Hashable CreateCampaign where -instance NFData CreateCampaign+instance NFData CreateCampaign where instance ToHeaders CreateCampaign where toHeaders@@ -111,10 +113,11 @@ -- | /See:/ 'createCampaignResponse' smart constructor. data CreateCampaignResponse = CreateCampaignResponse'- { _ccrsResponseStatus :: !Int- , _ccrsCampaignResponse :: !CampaignResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ccrsResponseStatus :: !Int+ , _ccrsCampaignResponse :: !CampaignResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateCampaignResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -127,11 +130,12 @@ -> CampaignResponse -- ^ 'ccrsCampaignResponse' -> CreateCampaignResponse createCampaignResponse pResponseStatus_ pCampaignResponse_ =- CreateCampaignResponse'- { _ccrsResponseStatus = pResponseStatus_- , _ccrsCampaignResponse = pCampaignResponse_- }+ CreateCampaignResponse'+ { _ccrsResponseStatus = pResponseStatus_+ , _ccrsCampaignResponse = pCampaignResponse_+ } + -- | -- | The response status code. ccrsResponseStatus :: Lens' CreateCampaignResponse Int ccrsResponseStatus = lens _ccrsResponseStatus (\ s a -> s{_ccrsResponseStatus = a});@@ -140,4 +144,4 @@ ccrsCampaignResponse :: Lens' CreateCampaignResponse CampaignResponse ccrsCampaignResponse = lens _ccrsCampaignResponse (\ s a -> s{_ccrsCampaignResponse = a}); -instance NFData CreateCampaignResponse+instance NFData CreateCampaignResponse where
gen/Network/AWS/Pinpoint/CreateImportJob.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.CreateImportJob--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , cijrsImportJobResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'createImportJob' smart constructor. data CreateImportJob = CreateImportJob'- { _cijApplicationId :: !Text- , _cijImportJobRequest :: !ImportJobRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cijApplicationId :: !Text+ , _cijImportJobRequest :: !ImportJobRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateImportJob' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> ImportJobRequest -- ^ 'cijImportJobRequest' -> CreateImportJob createImportJob pApplicationId_ pImportJobRequest_ =- CreateImportJob'- { _cijApplicationId = pApplicationId_- , _cijImportJobRequest = pImportJobRequest_- }+ CreateImportJob'+ { _cijApplicationId = pApplicationId_+ , _cijImportJobRequest = pImportJobRequest_+ } + -- | Undocumented member. cijApplicationId :: Lens' CreateImportJob Text cijApplicationId = lens _cijApplicationId (\ s a -> s{_cijApplicationId = a});@@ -83,9 +85,9 @@ CreateImportJobResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable CreateImportJob+instance Hashable CreateImportJob where -instance NFData CreateImportJob+instance NFData CreateImportJob where instance ToHeaders CreateImportJob where toHeaders@@ -110,10 +112,11 @@ -- | /See:/ 'createImportJobResponse' smart constructor. data CreateImportJobResponse = CreateImportJobResponse'- { _cijrsResponseStatus :: !Int- , _cijrsImportJobResponse :: !ImportJobResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cijrsResponseStatus :: !Int+ , _cijrsImportJobResponse :: !ImportJobResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateImportJobResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -126,11 +129,12 @@ -> ImportJobResponse -- ^ 'cijrsImportJobResponse' -> CreateImportJobResponse createImportJobResponse pResponseStatus_ pImportJobResponse_ =- CreateImportJobResponse'- { _cijrsResponseStatus = pResponseStatus_- , _cijrsImportJobResponse = pImportJobResponse_- }+ CreateImportJobResponse'+ { _cijrsResponseStatus = pResponseStatus_+ , _cijrsImportJobResponse = pImportJobResponse_+ } + -- | -- | The response status code. cijrsResponseStatus :: Lens' CreateImportJobResponse Int cijrsResponseStatus = lens _cijrsResponseStatus (\ s a -> s{_cijrsResponseStatus = a});@@ -139,4 +143,4 @@ cijrsImportJobResponse :: Lens' CreateImportJobResponse ImportJobResponse cijrsImportJobResponse = lens _cijrsImportJobResponse (\ s a -> s{_cijrsImportJobResponse = a}); -instance NFData CreateImportJobResponse+instance NFData CreateImportJobResponse where
gen/Network/AWS/Pinpoint/CreateSegment.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.CreateSegment--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , csrsSegmentResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'createSegment' smart constructor. data CreateSegment = CreateSegment'- { _csApplicationId :: !Text- , _csWriteSegmentRequest :: !WriteSegmentRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _csApplicationId :: !Text+ , _csWriteSegmentRequest :: !WriteSegmentRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateSegment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> WriteSegmentRequest -- ^ 'csWriteSegmentRequest' -> CreateSegment createSegment pApplicationId_ pWriteSegmentRequest_ =- CreateSegment'- { _csApplicationId = pApplicationId_- , _csWriteSegmentRequest = pWriteSegmentRequest_- }+ CreateSegment'+ { _csApplicationId = pApplicationId_+ , _csWriteSegmentRequest = pWriteSegmentRequest_+ } + -- | Undocumented member. csApplicationId :: Lens' CreateSegment Text csApplicationId = lens _csApplicationId (\ s a -> s{_csApplicationId = a});@@ -83,9 +85,9 @@ CreateSegmentResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable CreateSegment+instance Hashable CreateSegment where -instance NFData CreateSegment+instance NFData CreateSegment where instance ToHeaders CreateSegment where toHeaders@@ -111,10 +113,11 @@ -- | /See:/ 'createSegmentResponse' smart constructor. data CreateSegmentResponse = CreateSegmentResponse'- { _csrsResponseStatus :: !Int- , _csrsSegmentResponse :: !SegmentResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _csrsResponseStatus :: !Int+ , _csrsSegmentResponse :: !SegmentResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateSegmentResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -127,11 +130,12 @@ -> SegmentResponse -- ^ 'csrsSegmentResponse' -> CreateSegmentResponse createSegmentResponse pResponseStatus_ pSegmentResponse_ =- CreateSegmentResponse'- { _csrsResponseStatus = pResponseStatus_- , _csrsSegmentResponse = pSegmentResponse_- }+ CreateSegmentResponse'+ { _csrsResponseStatus = pResponseStatus_+ , _csrsSegmentResponse = pSegmentResponse_+ } + -- | -- | The response status code. csrsResponseStatus :: Lens' CreateSegmentResponse Int csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a});@@ -140,4 +144,4 @@ csrsSegmentResponse :: Lens' CreateSegmentResponse SegmentResponse csrsSegmentResponse = lens _csrsSegmentResponse (\ s a -> s{_csrsSegmentResponse = a}); -instance NFData CreateSegmentResponse+instance NFData CreateSegmentResponse where
+ gen/Network/AWS/Pinpoint/DeleteADMChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteADMChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an ADM channel+module Network.AWS.Pinpoint.DeleteADMChannel+ (+ -- * Creating a Request+ deleteADMChannel+ , DeleteADMChannel+ -- * Request Lenses+ , dadmcApplicationId++ -- * Destructuring the Response+ , deleteADMChannelResponse+ , DeleteADMChannelResponse+ -- * Response Lenses+ , dadmcrsResponseStatus+ , dadmcrsADMChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteADMChannel' smart constructor.+newtype DeleteADMChannel = DeleteADMChannel'+ { _dadmcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteADMChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dadmcApplicationId' - Undocumented member.+deleteADMChannel+ :: Text -- ^ 'dadmcApplicationId'+ -> DeleteADMChannel+deleteADMChannel pApplicationId_ =+ DeleteADMChannel' {_dadmcApplicationId = pApplicationId_}+++-- | Undocumented member.+dadmcApplicationId :: Lens' DeleteADMChannel Text+dadmcApplicationId = lens _dadmcApplicationId (\ s a -> s{_dadmcApplicationId = a});++instance AWSRequest DeleteADMChannel where+ type Rs DeleteADMChannel = DeleteADMChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteADMChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteADMChannel where++instance NFData DeleteADMChannel where++instance ToHeaders DeleteADMChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteADMChannel where+ toPath DeleteADMChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _dadmcApplicationId,+ "/channels/adm"]++instance ToQuery DeleteADMChannel where+ toQuery = const mempty++-- | /See:/ 'deleteADMChannelResponse' smart constructor.+data DeleteADMChannelResponse = DeleteADMChannelResponse'+ { _dadmcrsResponseStatus :: !Int+ , _dadmcrsADMChannelResponse :: !ADMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteADMChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dadmcrsResponseStatus' - -- | The response status code.+--+-- * 'dadmcrsADMChannelResponse' - Undocumented member.+deleteADMChannelResponse+ :: Int -- ^ 'dadmcrsResponseStatus'+ -> ADMChannelResponse -- ^ 'dadmcrsADMChannelResponse'+ -> DeleteADMChannelResponse+deleteADMChannelResponse pResponseStatus_ pADMChannelResponse_ =+ DeleteADMChannelResponse'+ { _dadmcrsResponseStatus = pResponseStatus_+ , _dadmcrsADMChannelResponse = pADMChannelResponse_+ }+++-- | -- | The response status code.+dadmcrsResponseStatus :: Lens' DeleteADMChannelResponse Int+dadmcrsResponseStatus = lens _dadmcrsResponseStatus (\ s a -> s{_dadmcrsResponseStatus = a});++-- | Undocumented member.+dadmcrsADMChannelResponse :: Lens' DeleteADMChannelResponse ADMChannelResponse+dadmcrsADMChannelResponse = lens _dadmcrsADMChannelResponse (\ s a -> s{_dadmcrsADMChannelResponse = a});++instance NFData DeleteADMChannelResponse where
gen/Network/AWS/Pinpoint/DeleteAPNSChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.DeleteAPNSChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,18 +35,19 @@ , dacrsAPNSChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'deleteAPNSChannel' smart constructor. newtype DeleteAPNSChannel = DeleteAPNSChannel'- { _dacApplicationId :: Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dacApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteAPNSChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -56,10 +57,9 @@ :: Text -- ^ 'dacApplicationId' -> DeleteAPNSChannel deleteAPNSChannel pApplicationId_ =- DeleteAPNSChannel'- { _dacApplicationId = pApplicationId_- }+ DeleteAPNSChannel' {_dacApplicationId = pApplicationId_} + -- | Undocumented member. dacApplicationId :: Lens' DeleteAPNSChannel Text dacApplicationId = lens _dacApplicationId (\ s a -> s{_dacApplicationId = a});@@ -73,9 +73,9 @@ DeleteAPNSChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable DeleteAPNSChannel+instance Hashable DeleteAPNSChannel where -instance NFData DeleteAPNSChannel+instance NFData DeleteAPNSChannel where instance ToHeaders DeleteAPNSChannel where toHeaders@@ -95,10 +95,11 @@ -- | /See:/ 'deleteAPNSChannelResponse' smart constructor. data DeleteAPNSChannelResponse = DeleteAPNSChannelResponse'- { _dacrsResponseStatus :: !Int- , _dacrsAPNSChannelResponse :: !APNSChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dacrsResponseStatus :: !Int+ , _dacrsAPNSChannelResponse :: !APNSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteAPNSChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -111,11 +112,12 @@ -> APNSChannelResponse -- ^ 'dacrsAPNSChannelResponse' -> DeleteAPNSChannelResponse deleteAPNSChannelResponse pResponseStatus_ pAPNSChannelResponse_ =- DeleteAPNSChannelResponse'- { _dacrsResponseStatus = pResponseStatus_- , _dacrsAPNSChannelResponse = pAPNSChannelResponse_- }+ DeleteAPNSChannelResponse'+ { _dacrsResponseStatus = pResponseStatus_+ , _dacrsAPNSChannelResponse = pAPNSChannelResponse_+ } + -- | -- | The response status code. dacrsResponseStatus :: Lens' DeleteAPNSChannelResponse Int dacrsResponseStatus = lens _dacrsResponseStatus (\ s a -> s{_dacrsResponseStatus = a});@@ -124,4 +126,4 @@ dacrsAPNSChannelResponse :: Lens' DeleteAPNSChannelResponse APNSChannelResponse dacrsAPNSChannelResponse = lens _dacrsAPNSChannelResponse (\ s a -> s{_dacrsAPNSChannelResponse = a}); -instance NFData DeleteAPNSChannelResponse+instance NFData DeleteAPNSChannelResponse where
+ gen/Network/AWS/Pinpoint/DeleteAPNSSandboxChannel.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteAPNSSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an APNS sandbox channel+module Network.AWS.Pinpoint.DeleteAPNSSandboxChannel+ (+ -- * Creating a Request+ deleteAPNSSandboxChannel+ , DeleteAPNSSandboxChannel+ -- * Request Lenses+ , dascApplicationId++ -- * Destructuring the Response+ , deleteAPNSSandboxChannelResponse+ , DeleteAPNSSandboxChannelResponse+ -- * Response Lenses+ , dascrsResponseStatus+ , dascrsAPNSSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteAPNSSandboxChannel' smart constructor.+newtype DeleteAPNSSandboxChannel = DeleteAPNSSandboxChannel'+ { _dascApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dascApplicationId' - Undocumented member.+deleteAPNSSandboxChannel+ :: Text -- ^ 'dascApplicationId'+ -> DeleteAPNSSandboxChannel+deleteAPNSSandboxChannel pApplicationId_ =+ DeleteAPNSSandboxChannel' {_dascApplicationId = pApplicationId_}+++-- | Undocumented member.+dascApplicationId :: Lens' DeleteAPNSSandboxChannel Text+dascApplicationId = lens _dascApplicationId (\ s a -> s{_dascApplicationId = a});++instance AWSRequest DeleteAPNSSandboxChannel where+ type Rs DeleteAPNSSandboxChannel =+ DeleteAPNSSandboxChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteAPNSSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteAPNSSandboxChannel where++instance NFData DeleteAPNSSandboxChannel where++instance ToHeaders DeleteAPNSSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteAPNSSandboxChannel where+ toPath DeleteAPNSSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _dascApplicationId,+ "/channels/apns_sandbox"]++instance ToQuery DeleteAPNSSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'deleteAPNSSandboxChannelResponse' smart constructor.+data DeleteAPNSSandboxChannelResponse = DeleteAPNSSandboxChannelResponse'+ { _dascrsResponseStatus :: !Int+ , _dascrsAPNSSandboxChannelResponse :: !APNSSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dascrsResponseStatus' - -- | The response status code.+--+-- * 'dascrsAPNSSandboxChannelResponse' - Undocumented member.+deleteAPNSSandboxChannelResponse+ :: Int -- ^ 'dascrsResponseStatus'+ -> APNSSandboxChannelResponse -- ^ 'dascrsAPNSSandboxChannelResponse'+ -> DeleteAPNSSandboxChannelResponse+deleteAPNSSandboxChannelResponse pResponseStatus_ pAPNSSandboxChannelResponse_ =+ DeleteAPNSSandboxChannelResponse'+ { _dascrsResponseStatus = pResponseStatus_+ , _dascrsAPNSSandboxChannelResponse = pAPNSSandboxChannelResponse_+ }+++-- | -- | The response status code.+dascrsResponseStatus :: Lens' DeleteAPNSSandboxChannelResponse Int+dascrsResponseStatus = lens _dascrsResponseStatus (\ s a -> s{_dascrsResponseStatus = a});++-- | Undocumented member.+dascrsAPNSSandboxChannelResponse :: Lens' DeleteAPNSSandboxChannelResponse APNSSandboxChannelResponse+dascrsAPNSSandboxChannelResponse = lens _dascrsAPNSSandboxChannelResponse (\ s a -> s{_dascrsAPNSSandboxChannelResponse = a});++instance NFData DeleteAPNSSandboxChannelResponse+ where
+ gen/Network/AWS/Pinpoint/DeleteAPNSVoipChannel.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteAPNSVoipChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an APNS VoIP channel+module Network.AWS.Pinpoint.DeleteAPNSVoipChannel+ (+ -- * Creating a Request+ deleteAPNSVoipChannel+ , DeleteAPNSVoipChannel+ -- * Request Lenses+ , davcApplicationId++ -- * Destructuring the Response+ , deleteAPNSVoipChannelResponse+ , DeleteAPNSVoipChannelResponse+ -- * Response Lenses+ , davcrsResponseStatus+ , davcrsAPNSVoipChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteAPNSVoipChannel' smart constructor.+newtype DeleteAPNSVoipChannel = DeleteAPNSVoipChannel'+ { _davcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSVoipChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'davcApplicationId' - Undocumented member.+deleteAPNSVoipChannel+ :: Text -- ^ 'davcApplicationId'+ -> DeleteAPNSVoipChannel+deleteAPNSVoipChannel pApplicationId_ =+ DeleteAPNSVoipChannel' {_davcApplicationId = pApplicationId_}+++-- | Undocumented member.+davcApplicationId :: Lens' DeleteAPNSVoipChannel Text+davcApplicationId = lens _davcApplicationId (\ s a -> s{_davcApplicationId = a});++instance AWSRequest DeleteAPNSVoipChannel where+ type Rs DeleteAPNSVoipChannel =+ DeleteAPNSVoipChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteAPNSVoipChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteAPNSVoipChannel where++instance NFData DeleteAPNSVoipChannel where++instance ToHeaders DeleteAPNSVoipChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteAPNSVoipChannel where+ toPath DeleteAPNSVoipChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _davcApplicationId,+ "/channels/apns_voip"]++instance ToQuery DeleteAPNSVoipChannel where+ toQuery = const mempty++-- | /See:/ 'deleteAPNSVoipChannelResponse' smart constructor.+data DeleteAPNSVoipChannelResponse = DeleteAPNSVoipChannelResponse'+ { _davcrsResponseStatus :: !Int+ , _davcrsAPNSVoipChannelResponse :: !APNSVoipChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSVoipChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'davcrsResponseStatus' - -- | The response status code.+--+-- * 'davcrsAPNSVoipChannelResponse' - Undocumented member.+deleteAPNSVoipChannelResponse+ :: Int -- ^ 'davcrsResponseStatus'+ -> APNSVoipChannelResponse -- ^ 'davcrsAPNSVoipChannelResponse'+ -> DeleteAPNSVoipChannelResponse+deleteAPNSVoipChannelResponse pResponseStatus_ pAPNSVoipChannelResponse_ =+ DeleteAPNSVoipChannelResponse'+ { _davcrsResponseStatus = pResponseStatus_+ , _davcrsAPNSVoipChannelResponse = pAPNSVoipChannelResponse_+ }+++-- | -- | The response status code.+davcrsResponseStatus :: Lens' DeleteAPNSVoipChannelResponse Int+davcrsResponseStatus = lens _davcrsResponseStatus (\ s a -> s{_davcrsResponseStatus = a});++-- | Undocumented member.+davcrsAPNSVoipChannelResponse :: Lens' DeleteAPNSVoipChannelResponse APNSVoipChannelResponse+davcrsAPNSVoipChannelResponse = lens _davcrsAPNSVoipChannelResponse (\ s a -> s{_davcrsAPNSVoipChannelResponse = a});++instance NFData DeleteAPNSVoipChannelResponse where
+ gen/Network/AWS/Pinpoint/DeleteAPNSVoipSandboxChannel.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an APNS VoIP sandbox channel+module Network.AWS.Pinpoint.DeleteAPNSVoipSandboxChannel+ (+ -- * Creating a Request+ deleteAPNSVoipSandboxChannel+ , DeleteAPNSVoipSandboxChannel+ -- * Request Lenses+ , davscApplicationId++ -- * Destructuring the Response+ , deleteAPNSVoipSandboxChannelResponse+ , DeleteAPNSVoipSandboxChannelResponse+ -- * Response Lenses+ , davscrsResponseStatus+ , davscrsAPNSVoipSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteAPNSVoipSandboxChannel' smart constructor.+newtype DeleteAPNSVoipSandboxChannel = DeleteAPNSVoipSandboxChannel'+ { _davscApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSVoipSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'davscApplicationId' - Undocumented member.+deleteAPNSVoipSandboxChannel+ :: Text -- ^ 'davscApplicationId'+ -> DeleteAPNSVoipSandboxChannel+deleteAPNSVoipSandboxChannel pApplicationId_ =+ DeleteAPNSVoipSandboxChannel' {_davscApplicationId = pApplicationId_}+++-- | Undocumented member.+davscApplicationId :: Lens' DeleteAPNSVoipSandboxChannel Text+davscApplicationId = lens _davscApplicationId (\ s a -> s{_davscApplicationId = a});++instance AWSRequest DeleteAPNSVoipSandboxChannel+ where+ type Rs DeleteAPNSVoipSandboxChannel =+ DeleteAPNSVoipSandboxChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteAPNSVoipSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteAPNSVoipSandboxChannel where++instance NFData DeleteAPNSVoipSandboxChannel where++instance ToHeaders DeleteAPNSVoipSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteAPNSVoipSandboxChannel where+ toPath DeleteAPNSVoipSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _davscApplicationId,+ "/channels/apns_voip_sandbox"]++instance ToQuery DeleteAPNSVoipSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'deleteAPNSVoipSandboxChannelResponse' smart constructor.+data DeleteAPNSVoipSandboxChannelResponse = DeleteAPNSVoipSandboxChannelResponse'+ { _davscrsResponseStatus :: !Int+ , _davscrsAPNSVoipSandboxChannelResponse :: !APNSVoipSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAPNSVoipSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'davscrsResponseStatus' - -- | The response status code.+--+-- * 'davscrsAPNSVoipSandboxChannelResponse' - Undocumented member.+deleteAPNSVoipSandboxChannelResponse+ :: Int -- ^ 'davscrsResponseStatus'+ -> APNSVoipSandboxChannelResponse -- ^ 'davscrsAPNSVoipSandboxChannelResponse'+ -> DeleteAPNSVoipSandboxChannelResponse+deleteAPNSVoipSandboxChannelResponse pResponseStatus_ pAPNSVoipSandboxChannelResponse_ =+ DeleteAPNSVoipSandboxChannelResponse'+ { _davscrsResponseStatus = pResponseStatus_+ , _davscrsAPNSVoipSandboxChannelResponse = pAPNSVoipSandboxChannelResponse_+ }+++-- | -- | The response status code.+davscrsResponseStatus :: Lens' DeleteAPNSVoipSandboxChannelResponse Int+davscrsResponseStatus = lens _davscrsResponseStatus (\ s a -> s{_davscrsResponseStatus = a});++-- | Undocumented member.+davscrsAPNSVoipSandboxChannelResponse :: Lens' DeleteAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse+davscrsAPNSVoipSandboxChannelResponse = lens _davscrsAPNSVoipSandboxChannelResponse (\ s a -> s{_davscrsAPNSVoipSandboxChannelResponse = a});++instance NFData DeleteAPNSVoipSandboxChannelResponse+ where
+ gen/Network/AWS/Pinpoint/DeleteApp.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteApp+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an app.+module Network.AWS.Pinpoint.DeleteApp+ (+ -- * Creating a Request+ deleteApp+ , DeleteApp+ -- * Request Lenses+ , daApplicationId++ -- * Destructuring the Response+ , deleteAppResponse+ , DeleteAppResponse+ -- * Response Lenses+ , darsResponseStatus+ , darsApplicationResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteApp' smart constructor.+newtype DeleteApp = DeleteApp'+ { _daApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteApp' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'daApplicationId' - Undocumented member.+deleteApp+ :: Text -- ^ 'daApplicationId'+ -> DeleteApp+deleteApp pApplicationId_ = DeleteApp' {_daApplicationId = pApplicationId_}+++-- | Undocumented member.+daApplicationId :: Lens' DeleteApp Text+daApplicationId = lens _daApplicationId (\ s a -> s{_daApplicationId = a});++instance AWSRequest DeleteApp where+ type Rs DeleteApp = DeleteAppResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteAppResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteApp where++instance NFData DeleteApp where++instance ToHeaders DeleteApp where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteApp where+ toPath DeleteApp'{..}+ = mconcat ["/v1/apps/", toBS _daApplicationId]++instance ToQuery DeleteApp where+ toQuery = const mempty++-- | /See:/ 'deleteAppResponse' smart constructor.+data DeleteAppResponse = DeleteAppResponse'+ { _darsResponseStatus :: !Int+ , _darsApplicationResponse :: !ApplicationResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteAppResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'darsResponseStatus' - -- | The response status code.+--+-- * 'darsApplicationResponse' - Undocumented member.+deleteAppResponse+ :: Int -- ^ 'darsResponseStatus'+ -> ApplicationResponse -- ^ 'darsApplicationResponse'+ -> DeleteAppResponse+deleteAppResponse pResponseStatus_ pApplicationResponse_ =+ DeleteAppResponse'+ { _darsResponseStatus = pResponseStatus_+ , _darsApplicationResponse = pApplicationResponse_+ }+++-- | -- | The response status code.+darsResponseStatus :: Lens' DeleteAppResponse Int+darsResponseStatus = lens _darsResponseStatus (\ s a -> s{_darsResponseStatus = a});++-- | Undocumented member.+darsApplicationResponse :: Lens' DeleteAppResponse ApplicationResponse+darsApplicationResponse = lens _darsApplicationResponse (\ s a -> s{_darsApplicationResponse = a});++instance NFData DeleteAppResponse where
+ gen/Network/AWS/Pinpoint/DeleteBaiduChannel.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteBaiduChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a BAIDU GCM channel+module Network.AWS.Pinpoint.DeleteBaiduChannel+ (+ -- * Creating a Request+ deleteBaiduChannel+ , DeleteBaiduChannel+ -- * Request Lenses+ , dbcApplicationId++ -- * Destructuring the Response+ , deleteBaiduChannelResponse+ , DeleteBaiduChannelResponse+ -- * Response Lenses+ , dbcrsResponseStatus+ , dbcrsBaiduChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteBaiduChannel' smart constructor.+newtype DeleteBaiduChannel = DeleteBaiduChannel'+ { _dbcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteBaiduChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dbcApplicationId' - Undocumented member.+deleteBaiduChannel+ :: Text -- ^ 'dbcApplicationId'+ -> DeleteBaiduChannel+deleteBaiduChannel pApplicationId_ =+ DeleteBaiduChannel' {_dbcApplicationId = pApplicationId_}+++-- | Undocumented member.+dbcApplicationId :: Lens' DeleteBaiduChannel Text+dbcApplicationId = lens _dbcApplicationId (\ s a -> s{_dbcApplicationId = a});++instance AWSRequest DeleteBaiduChannel where+ type Rs DeleteBaiduChannel =+ DeleteBaiduChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteBaiduChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteBaiduChannel where++instance NFData DeleteBaiduChannel where++instance ToHeaders DeleteBaiduChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteBaiduChannel where+ toPath DeleteBaiduChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _dbcApplicationId,+ "/channels/baidu"]++instance ToQuery DeleteBaiduChannel where+ toQuery = const mempty++-- | /See:/ 'deleteBaiduChannelResponse' smart constructor.+data DeleteBaiduChannelResponse = DeleteBaiduChannelResponse'+ { _dbcrsResponseStatus :: !Int+ , _dbcrsBaiduChannelResponse :: !BaiduChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteBaiduChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dbcrsResponseStatus' - -- | The response status code.+--+-- * 'dbcrsBaiduChannelResponse' - Undocumented member.+deleteBaiduChannelResponse+ :: Int -- ^ 'dbcrsResponseStatus'+ -> BaiduChannelResponse -- ^ 'dbcrsBaiduChannelResponse'+ -> DeleteBaiduChannelResponse+deleteBaiduChannelResponse pResponseStatus_ pBaiduChannelResponse_ =+ DeleteBaiduChannelResponse'+ { _dbcrsResponseStatus = pResponseStatus_+ , _dbcrsBaiduChannelResponse = pBaiduChannelResponse_+ }+++-- | -- | The response status code.+dbcrsResponseStatus :: Lens' DeleteBaiduChannelResponse Int+dbcrsResponseStatus = lens _dbcrsResponseStatus (\ s a -> s{_dbcrsResponseStatus = a});++-- | Undocumented member.+dbcrsBaiduChannelResponse :: Lens' DeleteBaiduChannelResponse BaiduChannelResponse+dbcrsBaiduChannelResponse = lens _dbcrsBaiduChannelResponse (\ s a -> s{_dbcrsBaiduChannelResponse = a});++instance NFData DeleteBaiduChannelResponse where
gen/Network/AWS/Pinpoint/DeleteCampaign.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.DeleteCampaign--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , dcrsCampaignResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'deleteCampaign' smart constructor. data DeleteCampaign = DeleteCampaign'- { _dcCampaignId :: !Text- , _dcApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dcCampaignId :: !Text+ , _dcApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteCampaign' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,10 @@ -> Text -- ^ 'dcApplicationId' -> DeleteCampaign deleteCampaign pCampaignId_ pApplicationId_ =- DeleteCampaign'- { _dcCampaignId = pCampaignId_- , _dcApplicationId = pApplicationId_- }+ DeleteCampaign'+ {_dcCampaignId = pCampaignId_, _dcApplicationId = pApplicationId_} + -- | Undocumented member. dcCampaignId :: Lens' DeleteCampaign Text dcCampaignId = lens _dcCampaignId (\ s a -> s{_dcCampaignId = a});@@ -83,9 +83,9 @@ DeleteCampaignResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable DeleteCampaign+instance Hashable DeleteCampaign where -instance NFData DeleteCampaign+instance NFData DeleteCampaign where instance ToHeaders DeleteCampaign where toHeaders@@ -105,10 +105,11 @@ -- | /See:/ 'deleteCampaignResponse' smart constructor. data DeleteCampaignResponse = DeleteCampaignResponse'- { _dcrsResponseStatus :: !Int- , _dcrsCampaignResponse :: !CampaignResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dcrsResponseStatus :: !Int+ , _dcrsCampaignResponse :: !CampaignResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteCampaignResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +122,12 @@ -> CampaignResponse -- ^ 'dcrsCampaignResponse' -> DeleteCampaignResponse deleteCampaignResponse pResponseStatus_ pCampaignResponse_ =- DeleteCampaignResponse'- { _dcrsResponseStatus = pResponseStatus_- , _dcrsCampaignResponse = pCampaignResponse_- }+ DeleteCampaignResponse'+ { _dcrsResponseStatus = pResponseStatus_+ , _dcrsCampaignResponse = pCampaignResponse_+ } + -- | -- | The response status code. dcrsResponseStatus :: Lens' DeleteCampaignResponse Int dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a});@@ -134,4 +136,4 @@ dcrsCampaignResponse :: Lens' DeleteCampaignResponse CampaignResponse dcrsCampaignResponse = lens _dcrsCampaignResponse (\ s a -> s{_dcrsCampaignResponse = a}); -instance NFData DeleteCampaignResponse+instance NFData DeleteCampaignResponse where
+ gen/Network/AWS/Pinpoint/DeleteEmailChannel.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteEmailChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an email channel+module Network.AWS.Pinpoint.DeleteEmailChannel+ (+ -- * Creating a Request+ deleteEmailChannel+ , DeleteEmailChannel+ -- * Request Lenses+ , decApplicationId++ -- * Destructuring the Response+ , deleteEmailChannelResponse+ , DeleteEmailChannelResponse+ -- * Response Lenses+ , decrsResponseStatus+ , decrsEmailChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteEmailChannel' smart constructor.+newtype DeleteEmailChannel = DeleteEmailChannel'+ { _decApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteEmailChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'decApplicationId' - Undocumented member.+deleteEmailChannel+ :: Text -- ^ 'decApplicationId'+ -> DeleteEmailChannel+deleteEmailChannel pApplicationId_ =+ DeleteEmailChannel' {_decApplicationId = pApplicationId_}+++-- | Undocumented member.+decApplicationId :: Lens' DeleteEmailChannel Text+decApplicationId = lens _decApplicationId (\ s a -> s{_decApplicationId = a});++instance AWSRequest DeleteEmailChannel where+ type Rs DeleteEmailChannel =+ DeleteEmailChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteEmailChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteEmailChannel where++instance NFData DeleteEmailChannel where++instance ToHeaders DeleteEmailChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteEmailChannel where+ toPath DeleteEmailChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _decApplicationId,+ "/channels/email"]++instance ToQuery DeleteEmailChannel where+ toQuery = const mempty++-- | /See:/ 'deleteEmailChannelResponse' smart constructor.+data DeleteEmailChannelResponse = DeleteEmailChannelResponse'+ { _decrsResponseStatus :: !Int+ , _decrsEmailChannelResponse :: !EmailChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteEmailChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'decrsResponseStatus' - -- | The response status code.+--+-- * 'decrsEmailChannelResponse' - Undocumented member.+deleteEmailChannelResponse+ :: Int -- ^ 'decrsResponseStatus'+ -> EmailChannelResponse -- ^ 'decrsEmailChannelResponse'+ -> DeleteEmailChannelResponse+deleteEmailChannelResponse pResponseStatus_ pEmailChannelResponse_ =+ DeleteEmailChannelResponse'+ { _decrsResponseStatus = pResponseStatus_+ , _decrsEmailChannelResponse = pEmailChannelResponse_+ }+++-- | -- | The response status code.+decrsResponseStatus :: Lens' DeleteEmailChannelResponse Int+decrsResponseStatus = lens _decrsResponseStatus (\ s a -> s{_decrsResponseStatus = a});++-- | Undocumented member.+decrsEmailChannelResponse :: Lens' DeleteEmailChannelResponse EmailChannelResponse+decrsEmailChannelResponse = lens _decrsEmailChannelResponse (\ s a -> s{_decrsEmailChannelResponse = a});++instance NFData DeleteEmailChannelResponse where
+ gen/Network/AWS/Pinpoint/DeleteEventStream.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteEventStream+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the event stream for an app.+module Network.AWS.Pinpoint.DeleteEventStream+ (+ -- * Creating a Request+ deleteEventStream+ , DeleteEventStream+ -- * Request Lenses+ , desApplicationId++ -- * Destructuring the Response+ , deleteEventStreamResponse+ , DeleteEventStreamResponse+ -- * Response Lenses+ , desrsResponseStatus+ , desrsEventStream+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | DeleteEventStream Request+--+-- /See:/ 'deleteEventStream' smart constructor.+newtype DeleteEventStream = DeleteEventStream'+ { _desApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteEventStream' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'desApplicationId' - ApplicationId+deleteEventStream+ :: Text -- ^ 'desApplicationId'+ -> DeleteEventStream+deleteEventStream pApplicationId_ =+ DeleteEventStream' {_desApplicationId = pApplicationId_}+++-- | ApplicationId+desApplicationId :: Lens' DeleteEventStream Text+desApplicationId = lens _desApplicationId (\ s a -> s{_desApplicationId = a});++instance AWSRequest DeleteEventStream where+ type Rs DeleteEventStream = DeleteEventStreamResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteEventStreamResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteEventStream where++instance NFData DeleteEventStream where++instance ToHeaders DeleteEventStream where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteEventStream where+ toPath DeleteEventStream'{..}+ = mconcat+ ["/v1/apps/", toBS _desApplicationId, "/eventstream"]++instance ToQuery DeleteEventStream where+ toQuery = const mempty++-- | /See:/ 'deleteEventStreamResponse' smart constructor.+data DeleteEventStreamResponse = DeleteEventStreamResponse'+ { _desrsResponseStatus :: !Int+ , _desrsEventStream :: !EventStream+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteEventStreamResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'desrsResponseStatus' - -- | The response status code.+--+-- * 'desrsEventStream' - Undocumented member.+deleteEventStreamResponse+ :: Int -- ^ 'desrsResponseStatus'+ -> EventStream -- ^ 'desrsEventStream'+ -> DeleteEventStreamResponse+deleteEventStreamResponse pResponseStatus_ pEventStream_ =+ DeleteEventStreamResponse'+ {_desrsResponseStatus = pResponseStatus_, _desrsEventStream = pEventStream_}+++-- | -- | The response status code.+desrsResponseStatus :: Lens' DeleteEventStreamResponse Int+desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a});++-- | Undocumented member.+desrsEventStream :: Lens' DeleteEventStreamResponse EventStream+desrsEventStream = lens _desrsEventStream (\ s a -> s{_desrsEventStream = a});++instance NFData DeleteEventStreamResponse where
gen/Network/AWS/Pinpoint/DeleteGCMChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.DeleteGCMChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,18 +35,19 @@ , dgcrsGCMChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'deleteGCMChannel' smart constructor. newtype DeleteGCMChannel = DeleteGCMChannel'- { _dgcApplicationId :: Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dgcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteGCMChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -56,10 +57,9 @@ :: Text -- ^ 'dgcApplicationId' -> DeleteGCMChannel deleteGCMChannel pApplicationId_ =- DeleteGCMChannel'- { _dgcApplicationId = pApplicationId_- }+ DeleteGCMChannel' {_dgcApplicationId = pApplicationId_} + -- | Undocumented member. dgcApplicationId :: Lens' DeleteGCMChannel Text dgcApplicationId = lens _dgcApplicationId (\ s a -> s{_dgcApplicationId = a});@@ -73,9 +73,9 @@ DeleteGCMChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable DeleteGCMChannel+instance Hashable DeleteGCMChannel where -instance NFData DeleteGCMChannel+instance NFData DeleteGCMChannel where instance ToHeaders DeleteGCMChannel where toHeaders@@ -95,10 +95,11 @@ -- | /See:/ 'deleteGCMChannelResponse' smart constructor. data DeleteGCMChannelResponse = DeleteGCMChannelResponse'- { _dgcrsResponseStatus :: !Int- , _dgcrsGCMChannelResponse :: !GCMChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dgcrsResponseStatus :: !Int+ , _dgcrsGCMChannelResponse :: !GCMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteGCMChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -111,11 +112,12 @@ -> GCMChannelResponse -- ^ 'dgcrsGCMChannelResponse' -> DeleteGCMChannelResponse deleteGCMChannelResponse pResponseStatus_ pGCMChannelResponse_ =- DeleteGCMChannelResponse'- { _dgcrsResponseStatus = pResponseStatus_- , _dgcrsGCMChannelResponse = pGCMChannelResponse_- }+ DeleteGCMChannelResponse'+ { _dgcrsResponseStatus = pResponseStatus_+ , _dgcrsGCMChannelResponse = pGCMChannelResponse_+ } + -- | -- | The response status code. dgcrsResponseStatus :: Lens' DeleteGCMChannelResponse Int dgcrsResponseStatus = lens _dgcrsResponseStatus (\ s a -> s{_dgcrsResponseStatus = a});@@ -124,4 +126,4 @@ dgcrsGCMChannelResponse :: Lens' DeleteGCMChannelResponse GCMChannelResponse dgcrsGCMChannelResponse = lens _dgcrsGCMChannelResponse (\ s a -> s{_dgcrsGCMChannelResponse = a}); -instance NFData DeleteGCMChannelResponse+instance NFData DeleteGCMChannelResponse where
gen/Network/AWS/Pinpoint/DeleteSegment.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.DeleteSegment--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , dsrsSegmentResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'deleteSegment' smart constructor. data DeleteSegment = DeleteSegment'- { _dsSegmentId :: !Text- , _dsApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dsSegmentId :: !Text+ , _dsApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteSegment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,10 @@ -> Text -- ^ 'dsApplicationId' -> DeleteSegment deleteSegment pSegmentId_ pApplicationId_ =- DeleteSegment'- { _dsSegmentId = pSegmentId_- , _dsApplicationId = pApplicationId_- }+ DeleteSegment'+ {_dsSegmentId = pSegmentId_, _dsApplicationId = pApplicationId_} + -- | Undocumented member. dsSegmentId :: Lens' DeleteSegment Text dsSegmentId = lens _dsSegmentId (\ s a -> s{_dsSegmentId = a});@@ -83,9 +83,9 @@ DeleteSegmentResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable DeleteSegment+instance Hashable DeleteSegment where -instance NFData DeleteSegment+instance NFData DeleteSegment where instance ToHeaders DeleteSegment where toHeaders@@ -105,10 +105,11 @@ -- | /See:/ 'deleteSegmentResponse' smart constructor. data DeleteSegmentResponse = DeleteSegmentResponse'- { _dsrsResponseStatus :: !Int- , _dsrsSegmentResponse :: !SegmentResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dsrsResponseStatus :: !Int+ , _dsrsSegmentResponse :: !SegmentResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteSegmentResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +122,12 @@ -> SegmentResponse -- ^ 'dsrsSegmentResponse' -> DeleteSegmentResponse deleteSegmentResponse pResponseStatus_ pSegmentResponse_ =- DeleteSegmentResponse'- { _dsrsResponseStatus = pResponseStatus_- , _dsrsSegmentResponse = pSegmentResponse_- }+ DeleteSegmentResponse'+ { _dsrsResponseStatus = pResponseStatus_+ , _dsrsSegmentResponse = pSegmentResponse_+ } + -- | -- | The response status code. dsrsResponseStatus :: Lens' DeleteSegmentResponse Int dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a});@@ -134,4 +136,4 @@ dsrsSegmentResponse :: Lens' DeleteSegmentResponse SegmentResponse dsrsSegmentResponse = lens _dsrsSegmentResponse (\ s a -> s{_dsrsSegmentResponse = a}); -instance NFData DeleteSegmentResponse+instance NFData DeleteSegmentResponse where
+ gen/Network/AWS/Pinpoint/DeleteSmsChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.DeleteSmsChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an SMS channel+module Network.AWS.Pinpoint.DeleteSmsChannel+ (+ -- * Creating a Request+ deleteSmsChannel+ , DeleteSmsChannel+ -- * Request Lenses+ , dscApplicationId++ -- * Destructuring the Response+ , deleteSmsChannelResponse+ , DeleteSmsChannelResponse+ -- * Response Lenses+ , dscrsResponseStatus+ , dscrsSMSChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'deleteSmsChannel' smart constructor.+newtype DeleteSmsChannel = DeleteSmsChannel'+ { _dscApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteSmsChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dscApplicationId' - Undocumented member.+deleteSmsChannel+ :: Text -- ^ 'dscApplicationId'+ -> DeleteSmsChannel+deleteSmsChannel pApplicationId_ =+ DeleteSmsChannel' {_dscApplicationId = pApplicationId_}+++-- | Undocumented member.+dscApplicationId :: Lens' DeleteSmsChannel Text+dscApplicationId = lens _dscApplicationId (\ s a -> s{_dscApplicationId = a});++instance AWSRequest DeleteSmsChannel where+ type Rs DeleteSmsChannel = DeleteSmsChannelResponse+ request = delete pinpoint+ response+ = receiveJSON+ (\ s h x ->+ DeleteSmsChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable DeleteSmsChannel where++instance NFData DeleteSmsChannel where++instance ToHeaders DeleteSmsChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath DeleteSmsChannel where+ toPath DeleteSmsChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _dscApplicationId,+ "/channels/sms"]++instance ToQuery DeleteSmsChannel where+ toQuery = const mempty++-- | /See:/ 'deleteSmsChannelResponse' smart constructor.+data DeleteSmsChannelResponse = DeleteSmsChannelResponse'+ { _dscrsResponseStatus :: !Int+ , _dscrsSMSChannelResponse :: !SMSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteSmsChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dscrsResponseStatus' - -- | The response status code.+--+-- * 'dscrsSMSChannelResponse' - Undocumented member.+deleteSmsChannelResponse+ :: Int -- ^ 'dscrsResponseStatus'+ -> SMSChannelResponse -- ^ 'dscrsSMSChannelResponse'+ -> DeleteSmsChannelResponse+deleteSmsChannelResponse pResponseStatus_ pSMSChannelResponse_ =+ DeleteSmsChannelResponse'+ { _dscrsResponseStatus = pResponseStatus_+ , _dscrsSMSChannelResponse = pSMSChannelResponse_+ }+++-- | -- | The response status code.+dscrsResponseStatus :: Lens' DeleteSmsChannelResponse Int+dscrsResponseStatus = lens _dscrsResponseStatus (\ s a -> s{_dscrsResponseStatus = a});++-- | Undocumented member.+dscrsSMSChannelResponse :: Lens' DeleteSmsChannelResponse SMSChannelResponse+dscrsSMSChannelResponse = lens _dscrsSMSChannelResponse (\ s a -> s{_dscrsSMSChannelResponse = a});++instance NFData DeleteSmsChannelResponse where
+ gen/Network/AWS/Pinpoint/GetADMChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetADMChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an ADM channel+module Network.AWS.Pinpoint.GetADMChannel+ (+ -- * Creating a Request+ getADMChannel+ , GetADMChannel+ -- * Request Lenses+ , gadmcApplicationId++ -- * Destructuring the Response+ , getADMChannelResponse+ , GetADMChannelResponse+ -- * Response Lenses+ , gadmcrsResponseStatus+ , gadmcrsADMChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getADMChannel' smart constructor.+newtype GetADMChannel = GetADMChannel'+ { _gadmcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetADMChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gadmcApplicationId' - Undocumented member.+getADMChannel+ :: Text -- ^ 'gadmcApplicationId'+ -> GetADMChannel+getADMChannel pApplicationId_ =+ GetADMChannel' {_gadmcApplicationId = pApplicationId_}+++-- | Undocumented member.+gadmcApplicationId :: Lens' GetADMChannel Text+gadmcApplicationId = lens _gadmcApplicationId (\ s a -> s{_gadmcApplicationId = a});++instance AWSRequest GetADMChannel where+ type Rs GetADMChannel = GetADMChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetADMChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetADMChannel where++instance NFData GetADMChannel where++instance ToHeaders GetADMChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetADMChannel where+ toPath GetADMChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gadmcApplicationId,+ "/channels/adm"]++instance ToQuery GetADMChannel where+ toQuery = const mempty++-- | /See:/ 'getADMChannelResponse' smart constructor.+data GetADMChannelResponse = GetADMChannelResponse'+ { _gadmcrsResponseStatus :: !Int+ , _gadmcrsADMChannelResponse :: !ADMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetADMChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gadmcrsResponseStatus' - -- | The response status code.+--+-- * 'gadmcrsADMChannelResponse' - Undocumented member.+getADMChannelResponse+ :: Int -- ^ 'gadmcrsResponseStatus'+ -> ADMChannelResponse -- ^ 'gadmcrsADMChannelResponse'+ -> GetADMChannelResponse+getADMChannelResponse pResponseStatus_ pADMChannelResponse_ =+ GetADMChannelResponse'+ { _gadmcrsResponseStatus = pResponseStatus_+ , _gadmcrsADMChannelResponse = pADMChannelResponse_+ }+++-- | -- | The response status code.+gadmcrsResponseStatus :: Lens' GetADMChannelResponse Int+gadmcrsResponseStatus = lens _gadmcrsResponseStatus (\ s a -> s{_gadmcrsResponseStatus = a});++-- | Undocumented member.+gadmcrsADMChannelResponse :: Lens' GetADMChannelResponse ADMChannelResponse+gadmcrsADMChannelResponse = lens _gadmcrsADMChannelResponse (\ s a -> s{_gadmcrsADMChannelResponse = a});++instance NFData GetADMChannelResponse where
gen/Network/AWS/Pinpoint/GetAPNSChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetAPNSChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,18 +35,19 @@ , gacrsAPNSChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getAPNSChannel' smart constructor. newtype GetAPNSChannel = GetAPNSChannel'- { _gacApplicationId :: Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gacApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetAPNSChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -56,10 +57,9 @@ :: Text -- ^ 'gacApplicationId' -> GetAPNSChannel getAPNSChannel pApplicationId_ =- GetAPNSChannel'- { _gacApplicationId = pApplicationId_- }+ GetAPNSChannel' {_gacApplicationId = pApplicationId_} + -- | Undocumented member. gacApplicationId :: Lens' GetAPNSChannel Text gacApplicationId = lens _gacApplicationId (\ s a -> s{_gacApplicationId = a});@@ -73,9 +73,9 @@ GetAPNSChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetAPNSChannel+instance Hashable GetAPNSChannel where -instance NFData GetAPNSChannel+instance NFData GetAPNSChannel where instance ToHeaders GetAPNSChannel where toHeaders@@ -95,10 +95,11 @@ -- | /See:/ 'getAPNSChannelResponse' smart constructor. data GetAPNSChannelResponse = GetAPNSChannelResponse'- { _gacrsResponseStatus :: !Int- , _gacrsAPNSChannelResponse :: !APNSChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gacrsResponseStatus :: !Int+ , _gacrsAPNSChannelResponse :: !APNSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetAPNSChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -111,11 +112,12 @@ -> APNSChannelResponse -- ^ 'gacrsAPNSChannelResponse' -> GetAPNSChannelResponse getAPNSChannelResponse pResponseStatus_ pAPNSChannelResponse_ =- GetAPNSChannelResponse'- { _gacrsResponseStatus = pResponseStatus_- , _gacrsAPNSChannelResponse = pAPNSChannelResponse_- }+ GetAPNSChannelResponse'+ { _gacrsResponseStatus = pResponseStatus_+ , _gacrsAPNSChannelResponse = pAPNSChannelResponse_+ } + -- | -- | The response status code. gacrsResponseStatus :: Lens' GetAPNSChannelResponse Int gacrsResponseStatus = lens _gacrsResponseStatus (\ s a -> s{_gacrsResponseStatus = a});@@ -124,4 +126,4 @@ gacrsAPNSChannelResponse :: Lens' GetAPNSChannelResponse APNSChannelResponse gacrsAPNSChannelResponse = lens _gacrsAPNSChannelResponse (\ s a -> s{_gacrsAPNSChannelResponse = a}); -instance NFData GetAPNSChannelResponse+instance NFData GetAPNSChannelResponse where
+ gen/Network/AWS/Pinpoint/GetAPNSSandboxChannel.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetAPNSSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an APNS sandbox channel+module Network.AWS.Pinpoint.GetAPNSSandboxChannel+ (+ -- * Creating a Request+ getAPNSSandboxChannel+ , GetAPNSSandboxChannel+ -- * Request Lenses+ , gascApplicationId++ -- * Destructuring the Response+ , getAPNSSandboxChannelResponse+ , GetAPNSSandboxChannelResponse+ -- * Response Lenses+ , gascrsResponseStatus+ , gascrsAPNSSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getAPNSSandboxChannel' smart constructor.+newtype GetAPNSSandboxChannel = GetAPNSSandboxChannel'+ { _gascApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gascApplicationId' - Undocumented member.+getAPNSSandboxChannel+ :: Text -- ^ 'gascApplicationId'+ -> GetAPNSSandboxChannel+getAPNSSandboxChannel pApplicationId_ =+ GetAPNSSandboxChannel' {_gascApplicationId = pApplicationId_}+++-- | Undocumented member.+gascApplicationId :: Lens' GetAPNSSandboxChannel Text+gascApplicationId = lens _gascApplicationId (\ s a -> s{_gascApplicationId = a});++instance AWSRequest GetAPNSSandboxChannel where+ type Rs GetAPNSSandboxChannel =+ GetAPNSSandboxChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetAPNSSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetAPNSSandboxChannel where++instance NFData GetAPNSSandboxChannel where++instance ToHeaders GetAPNSSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetAPNSSandboxChannel where+ toPath GetAPNSSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gascApplicationId,+ "/channels/apns_sandbox"]++instance ToQuery GetAPNSSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'getAPNSSandboxChannelResponse' smart constructor.+data GetAPNSSandboxChannelResponse = GetAPNSSandboxChannelResponse'+ { _gascrsResponseStatus :: !Int+ , _gascrsAPNSSandboxChannelResponse :: !APNSSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gascrsResponseStatus' - -- | The response status code.+--+-- * 'gascrsAPNSSandboxChannelResponse' - Undocumented member.+getAPNSSandboxChannelResponse+ :: Int -- ^ 'gascrsResponseStatus'+ -> APNSSandboxChannelResponse -- ^ 'gascrsAPNSSandboxChannelResponse'+ -> GetAPNSSandboxChannelResponse+getAPNSSandboxChannelResponse pResponseStatus_ pAPNSSandboxChannelResponse_ =+ GetAPNSSandboxChannelResponse'+ { _gascrsResponseStatus = pResponseStatus_+ , _gascrsAPNSSandboxChannelResponse = pAPNSSandboxChannelResponse_+ }+++-- | -- | The response status code.+gascrsResponseStatus :: Lens' GetAPNSSandboxChannelResponse Int+gascrsResponseStatus = lens _gascrsResponseStatus (\ s a -> s{_gascrsResponseStatus = a});++-- | Undocumented member.+gascrsAPNSSandboxChannelResponse :: Lens' GetAPNSSandboxChannelResponse APNSSandboxChannelResponse+gascrsAPNSSandboxChannelResponse = lens _gascrsAPNSSandboxChannelResponse (\ s a -> s{_gascrsAPNSSandboxChannelResponse = a});++instance NFData GetAPNSSandboxChannelResponse where
+ gen/Network/AWS/Pinpoint/GetAPNSVoipChannel.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetAPNSVoipChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an APNS VoIP channel+module Network.AWS.Pinpoint.GetAPNSVoipChannel+ (+ -- * Creating a Request+ getAPNSVoipChannel+ , GetAPNSVoipChannel+ -- * Request Lenses+ , gavcApplicationId++ -- * Destructuring the Response+ , getAPNSVoipChannelResponse+ , GetAPNSVoipChannelResponse+ -- * Response Lenses+ , gavcrsResponseStatus+ , gavcrsAPNSVoipChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getAPNSVoipChannel' smart constructor.+newtype GetAPNSVoipChannel = GetAPNSVoipChannel'+ { _gavcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSVoipChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gavcApplicationId' - Undocumented member.+getAPNSVoipChannel+ :: Text -- ^ 'gavcApplicationId'+ -> GetAPNSVoipChannel+getAPNSVoipChannel pApplicationId_ =+ GetAPNSVoipChannel' {_gavcApplicationId = pApplicationId_}+++-- | Undocumented member.+gavcApplicationId :: Lens' GetAPNSVoipChannel Text+gavcApplicationId = lens _gavcApplicationId (\ s a -> s{_gavcApplicationId = a});++instance AWSRequest GetAPNSVoipChannel where+ type Rs GetAPNSVoipChannel =+ GetAPNSVoipChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetAPNSVoipChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetAPNSVoipChannel where++instance NFData GetAPNSVoipChannel where++instance ToHeaders GetAPNSVoipChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetAPNSVoipChannel where+ toPath GetAPNSVoipChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gavcApplicationId,+ "/channels/apns_voip"]++instance ToQuery GetAPNSVoipChannel where+ toQuery = const mempty++-- | /See:/ 'getAPNSVoipChannelResponse' smart constructor.+data GetAPNSVoipChannelResponse = GetAPNSVoipChannelResponse'+ { _gavcrsResponseStatus :: !Int+ , _gavcrsAPNSVoipChannelResponse :: !APNSVoipChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSVoipChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gavcrsResponseStatus' - -- | The response status code.+--+-- * 'gavcrsAPNSVoipChannelResponse' - Undocumented member.+getAPNSVoipChannelResponse+ :: Int -- ^ 'gavcrsResponseStatus'+ -> APNSVoipChannelResponse -- ^ 'gavcrsAPNSVoipChannelResponse'+ -> GetAPNSVoipChannelResponse+getAPNSVoipChannelResponse pResponseStatus_ pAPNSVoipChannelResponse_ =+ GetAPNSVoipChannelResponse'+ { _gavcrsResponseStatus = pResponseStatus_+ , _gavcrsAPNSVoipChannelResponse = pAPNSVoipChannelResponse_+ }+++-- | -- | The response status code.+gavcrsResponseStatus :: Lens' GetAPNSVoipChannelResponse Int+gavcrsResponseStatus = lens _gavcrsResponseStatus (\ s a -> s{_gavcrsResponseStatus = a});++-- | Undocumented member.+gavcrsAPNSVoipChannelResponse :: Lens' GetAPNSVoipChannelResponse APNSVoipChannelResponse+gavcrsAPNSVoipChannelResponse = lens _gavcrsAPNSVoipChannelResponse (\ s a -> s{_gavcrsAPNSVoipChannelResponse = a});++instance NFData GetAPNSVoipChannelResponse where
+ gen/Network/AWS/Pinpoint/GetAPNSVoipSandboxChannel.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an APNS VoipSandbox channel+module Network.AWS.Pinpoint.GetAPNSVoipSandboxChannel+ (+ -- * Creating a Request+ getAPNSVoipSandboxChannel+ , GetAPNSVoipSandboxChannel+ -- * Request Lenses+ , gavscApplicationId++ -- * Destructuring the Response+ , getAPNSVoipSandboxChannelResponse+ , GetAPNSVoipSandboxChannelResponse+ -- * Response Lenses+ , gavscrsResponseStatus+ , gavscrsAPNSVoipSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getAPNSVoipSandboxChannel' smart constructor.+newtype GetAPNSVoipSandboxChannel = GetAPNSVoipSandboxChannel'+ { _gavscApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSVoipSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gavscApplicationId' - Undocumented member.+getAPNSVoipSandboxChannel+ :: Text -- ^ 'gavscApplicationId'+ -> GetAPNSVoipSandboxChannel+getAPNSVoipSandboxChannel pApplicationId_ =+ GetAPNSVoipSandboxChannel' {_gavscApplicationId = pApplicationId_}+++-- | Undocumented member.+gavscApplicationId :: Lens' GetAPNSVoipSandboxChannel Text+gavscApplicationId = lens _gavscApplicationId (\ s a -> s{_gavscApplicationId = a});++instance AWSRequest GetAPNSVoipSandboxChannel where+ type Rs GetAPNSVoipSandboxChannel =+ GetAPNSVoipSandboxChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetAPNSVoipSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetAPNSVoipSandboxChannel where++instance NFData GetAPNSVoipSandboxChannel where++instance ToHeaders GetAPNSVoipSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetAPNSVoipSandboxChannel where+ toPath GetAPNSVoipSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gavscApplicationId,+ "/channels/apns_voip_sandbox"]++instance ToQuery GetAPNSVoipSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'getAPNSVoipSandboxChannelResponse' smart constructor.+data GetAPNSVoipSandboxChannelResponse = GetAPNSVoipSandboxChannelResponse'+ { _gavscrsResponseStatus :: !Int+ , _gavscrsAPNSVoipSandboxChannelResponse :: !APNSVoipSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAPNSVoipSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gavscrsResponseStatus' - -- | The response status code.+--+-- * 'gavscrsAPNSVoipSandboxChannelResponse' - Undocumented member.+getAPNSVoipSandboxChannelResponse+ :: Int -- ^ 'gavscrsResponseStatus'+ -> APNSVoipSandboxChannelResponse -- ^ 'gavscrsAPNSVoipSandboxChannelResponse'+ -> GetAPNSVoipSandboxChannelResponse+getAPNSVoipSandboxChannelResponse pResponseStatus_ pAPNSVoipSandboxChannelResponse_ =+ GetAPNSVoipSandboxChannelResponse'+ { _gavscrsResponseStatus = pResponseStatus_+ , _gavscrsAPNSVoipSandboxChannelResponse = pAPNSVoipSandboxChannelResponse_+ }+++-- | -- | The response status code.+gavscrsResponseStatus :: Lens' GetAPNSVoipSandboxChannelResponse Int+gavscrsResponseStatus = lens _gavscrsResponseStatus (\ s a -> s{_gavscrsResponseStatus = a});++-- | Undocumented member.+gavscrsAPNSVoipSandboxChannelResponse :: Lens' GetAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse+gavscrsAPNSVoipSandboxChannelResponse = lens _gavscrsAPNSVoipSandboxChannelResponse (\ s a -> s{_gavscrsAPNSVoipSandboxChannelResponse = a});++instance NFData GetAPNSVoipSandboxChannelResponse+ where
+ gen/Network/AWS/Pinpoint/GetApp.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetApp+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about an app.+module Network.AWS.Pinpoint.GetApp+ (+ -- * Creating a Request+ getApp+ , GetApp+ -- * Request Lenses+ , gaApplicationId++ -- * Destructuring the Response+ , getAppResponse+ , GetAppResponse+ -- * Response Lenses+ , garsResponseStatus+ , garsApplicationResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getApp' smart constructor.+newtype GetApp = GetApp'+ { _gaApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetApp' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gaApplicationId' - Undocumented member.+getApp+ :: Text -- ^ 'gaApplicationId'+ -> GetApp+getApp pApplicationId_ = GetApp' {_gaApplicationId = pApplicationId_}+++-- | Undocumented member.+gaApplicationId :: Lens' GetApp Text+gaApplicationId = lens _gaApplicationId (\ s a -> s{_gaApplicationId = a});++instance AWSRequest GetApp where+ type Rs GetApp = GetAppResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetAppResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetApp where++instance NFData GetApp where++instance ToHeaders GetApp where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetApp where+ toPath GetApp'{..}+ = mconcat ["/v1/apps/", toBS _gaApplicationId]++instance ToQuery GetApp where+ toQuery = const mempty++-- | /See:/ 'getAppResponse' smart constructor.+data GetAppResponse = GetAppResponse'+ { _garsResponseStatus :: !Int+ , _garsApplicationResponse :: !ApplicationResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAppResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'garsResponseStatus' - -- | The response status code.+--+-- * 'garsApplicationResponse' - Undocumented member.+getAppResponse+ :: Int -- ^ 'garsResponseStatus'+ -> ApplicationResponse -- ^ 'garsApplicationResponse'+ -> GetAppResponse+getAppResponse pResponseStatus_ pApplicationResponse_ =+ GetAppResponse'+ { _garsResponseStatus = pResponseStatus_+ , _garsApplicationResponse = pApplicationResponse_+ }+++-- | -- | The response status code.+garsResponseStatus :: Lens' GetAppResponse Int+garsResponseStatus = lens _garsResponseStatus (\ s a -> s{_garsResponseStatus = a});++-- | Undocumented member.+garsApplicationResponse :: Lens' GetAppResponse ApplicationResponse+garsApplicationResponse = lens _garsApplicationResponse (\ s a -> s{_garsApplicationResponse = a});++instance NFData GetAppResponse where
gen/Network/AWS/Pinpoint/GetApplicationSettings.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetApplicationSettings--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -31,22 +31,23 @@ , getApplicationSettingsResponse , GetApplicationSettingsResponse -- * Response Lenses- , gasrsResponseStatus- , gasrsApplicationSettingsResource+ , gassrsResponseStatus+ , gassrsApplicationSettingsResource ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getApplicationSettings' smart constructor. newtype GetApplicationSettings = GetApplicationSettings'- { _gasApplicationId :: Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gasApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetApplicationSettings' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -56,10 +57,9 @@ :: Text -- ^ 'gasApplicationId' -> GetApplicationSettings getApplicationSettings pApplicationId_ =- GetApplicationSettings'- { _gasApplicationId = pApplicationId_- }+ GetApplicationSettings' {_gasApplicationId = pApplicationId_} + -- | Undocumented member. gasApplicationId :: Lens' GetApplicationSettings Text gasApplicationId = lens _gasApplicationId (\ s a -> s{_gasApplicationId = a});@@ -74,9 +74,9 @@ GetApplicationSettingsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetApplicationSettings+instance Hashable GetApplicationSettings where -instance NFData GetApplicationSettings+instance NFData GetApplicationSettings where instance ToHeaders GetApplicationSettings where toHeaders@@ -95,33 +95,35 @@ -- | /See:/ 'getApplicationSettingsResponse' smart constructor. data GetApplicationSettingsResponse = GetApplicationSettingsResponse'- { _gasrsResponseStatus :: !Int- , _gasrsApplicationSettingsResource :: !ApplicationSettingsResource- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gassrsResponseStatus :: !Int+ , _gassrsApplicationSettingsResource :: !ApplicationSettingsResource+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetApplicationSettingsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gasrsResponseStatus' - -- | The response status code.+-- * 'gassrsResponseStatus' - -- | The response status code. ----- * 'gasrsApplicationSettingsResource' - Undocumented member.+-- * 'gassrsApplicationSettingsResource' - Undocumented member. getApplicationSettingsResponse- :: Int -- ^ 'gasrsResponseStatus'- -> ApplicationSettingsResource -- ^ 'gasrsApplicationSettingsResource'+ :: Int -- ^ 'gassrsResponseStatus'+ -> ApplicationSettingsResource -- ^ 'gassrsApplicationSettingsResource' -> GetApplicationSettingsResponse getApplicationSettingsResponse pResponseStatus_ pApplicationSettingsResource_ =- GetApplicationSettingsResponse'- { _gasrsResponseStatus = pResponseStatus_- , _gasrsApplicationSettingsResource = pApplicationSettingsResource_- }+ GetApplicationSettingsResponse'+ { _gassrsResponseStatus = pResponseStatus_+ , _gassrsApplicationSettingsResource = pApplicationSettingsResource_+ } + -- | -- | The response status code.-gasrsResponseStatus :: Lens' GetApplicationSettingsResponse Int-gasrsResponseStatus = lens _gasrsResponseStatus (\ s a -> s{_gasrsResponseStatus = a});+gassrsResponseStatus :: Lens' GetApplicationSettingsResponse Int+gassrsResponseStatus = lens _gassrsResponseStatus (\ s a -> s{_gassrsResponseStatus = a}); -- | Undocumented member.-gasrsApplicationSettingsResource :: Lens' GetApplicationSettingsResponse ApplicationSettingsResource-gasrsApplicationSettingsResource = lens _gasrsApplicationSettingsResource (\ s a -> s{_gasrsApplicationSettingsResource = a});+gassrsApplicationSettingsResource :: Lens' GetApplicationSettingsResponse ApplicationSettingsResource+gassrsApplicationSettingsResource = lens _gassrsApplicationSettingsResource (\ s a -> s{_gassrsApplicationSettingsResource = a}); -instance NFData GetApplicationSettingsResponse+instance NFData GetApplicationSettingsResponse where
+ gen/Network/AWS/Pinpoint/GetApps.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetApps+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about your apps.+module Network.AWS.Pinpoint.GetApps+ (+ -- * Creating a Request+ getApps+ , GetApps+ -- * Request Lenses+ , gaToken+ , gaPageSize++ -- * Destructuring the Response+ , getAppsResponse+ , GetAppsResponse+ -- * Response Lenses+ , gasrsResponseStatus+ , gasrsApplicationsResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getApps' smart constructor.+data GetApps = GetApps'+ { _gaToken :: !(Maybe Text)+ , _gaPageSize :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetApps' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gaToken' - Undocumented member.+--+-- * 'gaPageSize' - Undocumented member.+getApps+ :: GetApps+getApps = GetApps' {_gaToken = Nothing, _gaPageSize = Nothing}+++-- | Undocumented member.+gaToken :: Lens' GetApps (Maybe Text)+gaToken = lens _gaToken (\ s a -> s{_gaToken = a});++-- | Undocumented member.+gaPageSize :: Lens' GetApps (Maybe Text)+gaPageSize = lens _gaPageSize (\ s a -> s{_gaPageSize = a});++instance AWSRequest GetApps where+ type Rs GetApps = GetAppsResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetAppsResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetApps where++instance NFData GetApps where++instance ToHeaders GetApps where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetApps where+ toPath = const "/v1/apps"++instance ToQuery GetApps where+ toQuery GetApps'{..}+ = mconcat+ ["token" =: _gaToken, "page-size" =: _gaPageSize]++-- | /See:/ 'getAppsResponse' smart constructor.+data GetAppsResponse = GetAppsResponse'+ { _gasrsResponseStatus :: !Int+ , _gasrsApplicationsResponse :: !ApplicationsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetAppsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gasrsResponseStatus' - -- | The response status code.+--+-- * 'gasrsApplicationsResponse' - Undocumented member.+getAppsResponse+ :: Int -- ^ 'gasrsResponseStatus'+ -> ApplicationsResponse -- ^ 'gasrsApplicationsResponse'+ -> GetAppsResponse+getAppsResponse pResponseStatus_ pApplicationsResponse_ =+ GetAppsResponse'+ { _gasrsResponseStatus = pResponseStatus_+ , _gasrsApplicationsResponse = pApplicationsResponse_+ }+++-- | -- | The response status code.+gasrsResponseStatus :: Lens' GetAppsResponse Int+gasrsResponseStatus = lens _gasrsResponseStatus (\ s a -> s{_gasrsResponseStatus = a});++-- | Undocumented member.+gasrsApplicationsResponse :: Lens' GetAppsResponse ApplicationsResponse+gasrsApplicationsResponse = lens _gasrsApplicationsResponse (\ s a -> s{_gasrsApplicationsResponse = a});++instance NFData GetAppsResponse where
+ gen/Network/AWS/Pinpoint/GetBaiduChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetBaiduChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get a BAIDU GCM channel+module Network.AWS.Pinpoint.GetBaiduChannel+ (+ -- * Creating a Request+ getBaiduChannel+ , GetBaiduChannel+ -- * Request Lenses+ , gbcApplicationId++ -- * Destructuring the Response+ , getBaiduChannelResponse+ , GetBaiduChannelResponse+ -- * Response Lenses+ , gbcrsResponseStatus+ , gbcrsBaiduChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getBaiduChannel' smart constructor.+newtype GetBaiduChannel = GetBaiduChannel'+ { _gbcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetBaiduChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gbcApplicationId' - Undocumented member.+getBaiduChannel+ :: Text -- ^ 'gbcApplicationId'+ -> GetBaiduChannel+getBaiduChannel pApplicationId_ =+ GetBaiduChannel' {_gbcApplicationId = pApplicationId_}+++-- | Undocumented member.+gbcApplicationId :: Lens' GetBaiduChannel Text+gbcApplicationId = lens _gbcApplicationId (\ s a -> s{_gbcApplicationId = a});++instance AWSRequest GetBaiduChannel where+ type Rs GetBaiduChannel = GetBaiduChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetBaiduChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetBaiduChannel where++instance NFData GetBaiduChannel where++instance ToHeaders GetBaiduChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetBaiduChannel where+ toPath GetBaiduChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gbcApplicationId,+ "/channels/baidu"]++instance ToQuery GetBaiduChannel where+ toQuery = const mempty++-- | /See:/ 'getBaiduChannelResponse' smart constructor.+data GetBaiduChannelResponse = GetBaiduChannelResponse'+ { _gbcrsResponseStatus :: !Int+ , _gbcrsBaiduChannelResponse :: !BaiduChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetBaiduChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gbcrsResponseStatus' - -- | The response status code.+--+-- * 'gbcrsBaiduChannelResponse' - Undocumented member.+getBaiduChannelResponse+ :: Int -- ^ 'gbcrsResponseStatus'+ -> BaiduChannelResponse -- ^ 'gbcrsBaiduChannelResponse'+ -> GetBaiduChannelResponse+getBaiduChannelResponse pResponseStatus_ pBaiduChannelResponse_ =+ GetBaiduChannelResponse'+ { _gbcrsResponseStatus = pResponseStatus_+ , _gbcrsBaiduChannelResponse = pBaiduChannelResponse_+ }+++-- | -- | The response status code.+gbcrsResponseStatus :: Lens' GetBaiduChannelResponse Int+gbcrsResponseStatus = lens _gbcrsResponseStatus (\ s a -> s{_gbcrsResponseStatus = a});++-- | Undocumented member.+gbcrsBaiduChannelResponse :: Lens' GetBaiduChannelResponse BaiduChannelResponse+gbcrsBaiduChannelResponse = lens _gbcrsBaiduChannelResponse (\ s a -> s{_gbcrsBaiduChannelResponse = a});++instance NFData GetBaiduChannelResponse where
gen/Network/AWS/Pinpoint/GetCampaign.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetCampaign--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , gcrsCampaignResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getCampaign' smart constructor. data GetCampaign = GetCampaign'- { _getCampaignId :: !Text- , _getApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _getCampaignId :: !Text+ , _getApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaign' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,10 @@ -> Text -- ^ 'getApplicationId' -> GetCampaign getCampaign pCampaignId_ pApplicationId_ =- GetCampaign'- { _getCampaignId = pCampaignId_- , _getApplicationId = pApplicationId_- }+ GetCampaign'+ {_getCampaignId = pCampaignId_, _getApplicationId = pApplicationId_} + -- | Undocumented member. getCampaignId :: Lens' GetCampaign Text getCampaignId = lens _getCampaignId (\ s a -> s{_getCampaignId = a});@@ -83,9 +83,9 @@ GetCampaignResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetCampaign+instance Hashable GetCampaign where -instance NFData GetCampaign+instance NFData GetCampaign where instance ToHeaders GetCampaign where toHeaders@@ -105,10 +105,11 @@ -- | /See:/ 'getCampaignResponse' smart constructor. data GetCampaignResponse = GetCampaignResponse'- { _gcrsResponseStatus :: !Int- , _gcrsCampaignResponse :: !CampaignResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcrsResponseStatus :: !Int+ , _gcrsCampaignResponse :: !CampaignResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +122,12 @@ -> CampaignResponse -- ^ 'gcrsCampaignResponse' -> GetCampaignResponse getCampaignResponse pResponseStatus_ pCampaignResponse_ =- GetCampaignResponse'- { _gcrsResponseStatus = pResponseStatus_- , _gcrsCampaignResponse = pCampaignResponse_- }+ GetCampaignResponse'+ { _gcrsResponseStatus = pResponseStatus_+ , _gcrsCampaignResponse = pCampaignResponse_+ } + -- | -- | The response status code. gcrsResponseStatus :: Lens' GetCampaignResponse Int gcrsResponseStatus = lens _gcrsResponseStatus (\ s a -> s{_gcrsResponseStatus = a});@@ -134,4 +136,4 @@ gcrsCampaignResponse :: Lens' GetCampaignResponse CampaignResponse gcrsCampaignResponse = lens _gcrsCampaignResponse (\ s a -> s{_gcrsCampaignResponse = a}); -instance NFData GetCampaignResponse+instance NFData GetCampaignResponse where
gen/Network/AWS/Pinpoint/GetCampaignActivities.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetCampaignActivities--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,28 +38,29 @@ , gcarsActivitiesResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getCampaignActivities' smart constructor. data GetCampaignActivities = GetCampaignActivities'- { _gcaToken :: !(Maybe Text)- , _gcaPageSize :: !(Maybe Text)- , _gcaApplicationId :: !Text- , _gcaCampaignId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcaToken :: !(Maybe Text)+ , _gcaPageSize :: !(Maybe Text)+ , _gcaApplicationId :: !Text+ , _gcaCampaignId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignActivities' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcaToken' - Undocumented member.+-- * 'gcaToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gcaPageSize' - Undocumented member.+-- * 'gcaPageSize' - The number of entries you want on each page in the response. -- -- * 'gcaApplicationId' - Undocumented member. --@@ -69,18 +70,19 @@ -> Text -- ^ 'gcaCampaignId' -> GetCampaignActivities getCampaignActivities pApplicationId_ pCampaignId_ =- GetCampaignActivities'- { _gcaToken = Nothing- , _gcaPageSize = Nothing- , _gcaApplicationId = pApplicationId_- , _gcaCampaignId = pCampaignId_- }+ GetCampaignActivities'+ { _gcaToken = Nothing+ , _gcaPageSize = Nothing+ , _gcaApplicationId = pApplicationId_+ , _gcaCampaignId = pCampaignId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gcaToken :: Lens' GetCampaignActivities (Maybe Text) gcaToken = lens _gcaToken (\ s a -> s{_gcaToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gcaPageSize :: Lens' GetCampaignActivities (Maybe Text) gcaPageSize = lens _gcaPageSize (\ s a -> s{_gcaPageSize = a}); @@ -102,9 +104,9 @@ GetCampaignActivitiesResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetCampaignActivities+instance Hashable GetCampaignActivities where -instance NFData GetCampaignActivities+instance NFData GetCampaignActivities where instance ToHeaders GetCampaignActivities where toHeaders@@ -126,10 +128,11 @@ -- | /See:/ 'getCampaignActivitiesResponse' smart constructor. data GetCampaignActivitiesResponse = GetCampaignActivitiesResponse'- { _gcarsResponseStatus :: !Int- , _gcarsActivitiesResponse :: !ActivitiesResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcarsResponseStatus :: !Int+ , _gcarsActivitiesResponse :: !ActivitiesResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignActivitiesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -142,11 +145,12 @@ -> ActivitiesResponse -- ^ 'gcarsActivitiesResponse' -> GetCampaignActivitiesResponse getCampaignActivitiesResponse pResponseStatus_ pActivitiesResponse_ =- GetCampaignActivitiesResponse'- { _gcarsResponseStatus = pResponseStatus_- , _gcarsActivitiesResponse = pActivitiesResponse_- }+ GetCampaignActivitiesResponse'+ { _gcarsResponseStatus = pResponseStatus_+ , _gcarsActivitiesResponse = pActivitiesResponse_+ } + -- | -- | The response status code. gcarsResponseStatus :: Lens' GetCampaignActivitiesResponse Int gcarsResponseStatus = lens _gcarsResponseStatus (\ s a -> s{_gcarsResponseStatus = a});@@ -155,4 +159,4 @@ gcarsActivitiesResponse :: Lens' GetCampaignActivitiesResponse ActivitiesResponse gcarsActivitiesResponse = lens _gcarsActivitiesResponse (\ s a -> s{_gcarsActivitiesResponse = a}); -instance NFData GetCampaignActivitiesResponse+instance NFData GetCampaignActivitiesResponse where
gen/Network/AWS/Pinpoint/GetCampaignVersion.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.Pinpoint.GetCampaignVersion--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns information about your campaign versions.+-- Returns information about a specific version of a campaign. module Network.AWS.Pinpoint.GetCampaignVersion ( -- * Creating a Request@@ -37,20 +37,21 @@ , gcvcrsCampaignResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getCampaignVersion' smart constructor. data GetCampaignVersion = GetCampaignVersion'- { _gcvcVersion :: !Text- , _gcvcApplicationId :: !Text- , _gcvcCampaignId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcvcVersion :: !Text+ , _gcvcApplicationId :: !Text+ , _gcvcCampaignId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignVersion' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,12 +67,13 @@ -> Text -- ^ 'gcvcCampaignId' -> GetCampaignVersion getCampaignVersion pVersion_ pApplicationId_ pCampaignId_ =- GetCampaignVersion'- { _gcvcVersion = pVersion_- , _gcvcApplicationId = pApplicationId_- , _gcvcCampaignId = pCampaignId_- }+ GetCampaignVersion'+ { _gcvcVersion = pVersion_+ , _gcvcApplicationId = pApplicationId_+ , _gcvcCampaignId = pCampaignId_+ } + -- | Undocumented member. gcvcVersion :: Lens' GetCampaignVersion Text gcvcVersion = lens _gcvcVersion (\ s a -> s{_gcvcVersion = a});@@ -94,9 +96,9 @@ GetCampaignVersionResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetCampaignVersion+instance Hashable GetCampaignVersion where -instance NFData GetCampaignVersion+instance NFData GetCampaignVersion where instance ToHeaders GetCampaignVersion where toHeaders@@ -117,10 +119,11 @@ -- | /See:/ 'getCampaignVersionResponse' smart constructor. data GetCampaignVersionResponse = GetCampaignVersionResponse'- { _gcvcrsResponseStatus :: !Int- , _gcvcrsCampaignResponse :: !CampaignResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcvcrsResponseStatus :: !Int+ , _gcvcrsCampaignResponse :: !CampaignResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignVersionResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -133,11 +136,12 @@ -> CampaignResponse -- ^ 'gcvcrsCampaignResponse' -> GetCampaignVersionResponse getCampaignVersionResponse pResponseStatus_ pCampaignResponse_ =- GetCampaignVersionResponse'- { _gcvcrsResponseStatus = pResponseStatus_- , _gcvcrsCampaignResponse = pCampaignResponse_- }+ GetCampaignVersionResponse'+ { _gcvcrsResponseStatus = pResponseStatus_+ , _gcvcrsCampaignResponse = pCampaignResponse_+ } + -- | -- | The response status code. gcvcrsResponseStatus :: Lens' GetCampaignVersionResponse Int gcvcrsResponseStatus = lens _gcvcrsResponseStatus (\ s a -> s{_gcvcrsResponseStatus = a});@@ -146,4 +150,4 @@ gcvcrsCampaignResponse :: Lens' GetCampaignVersionResponse CampaignResponse gcvcrsCampaignResponse = lens _gcvcrsCampaignResponse (\ s a -> s{_gcvcrsCampaignResponse = a}); -instance NFData GetCampaignVersionResponse+instance NFData GetCampaignVersionResponse where
gen/Network/AWS/Pinpoint/GetCampaignVersions.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetCampaignVersions--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,28 +38,29 @@ , gcvrsCampaignsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getCampaignVersions' smart constructor. data GetCampaignVersions = GetCampaignVersions'- { _gcvToken :: !(Maybe Text)- , _gcvPageSize :: !(Maybe Text)- , _gcvApplicationId :: !Text- , _gcvCampaignId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcvToken :: !(Maybe Text)+ , _gcvPageSize :: !(Maybe Text)+ , _gcvApplicationId :: !Text+ , _gcvCampaignId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignVersions' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcvToken' - Undocumented member.+-- * 'gcvToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gcvPageSize' - Undocumented member.+-- * 'gcvPageSize' - The number of entries you want on each page in the response. -- -- * 'gcvApplicationId' - Undocumented member. --@@ -69,18 +70,19 @@ -> Text -- ^ 'gcvCampaignId' -> GetCampaignVersions getCampaignVersions pApplicationId_ pCampaignId_ =- GetCampaignVersions'- { _gcvToken = Nothing- , _gcvPageSize = Nothing- , _gcvApplicationId = pApplicationId_- , _gcvCampaignId = pCampaignId_- }+ GetCampaignVersions'+ { _gcvToken = Nothing+ , _gcvPageSize = Nothing+ , _gcvApplicationId = pApplicationId_+ , _gcvCampaignId = pCampaignId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gcvToken :: Lens' GetCampaignVersions (Maybe Text) gcvToken = lens _gcvToken (\ s a -> s{_gcvToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gcvPageSize :: Lens' GetCampaignVersions (Maybe Text) gcvPageSize = lens _gcvPageSize (\ s a -> s{_gcvPageSize = a}); @@ -102,9 +104,9 @@ GetCampaignVersionsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetCampaignVersions+instance Hashable GetCampaignVersions where -instance NFData GetCampaignVersions+instance NFData GetCampaignVersions where instance ToHeaders GetCampaignVersions where toHeaders@@ -126,10 +128,11 @@ -- | /See:/ 'getCampaignVersionsResponse' smart constructor. data GetCampaignVersionsResponse = GetCampaignVersionsResponse'- { _gcvrsResponseStatus :: !Int- , _gcvrsCampaignsResponse :: !CampaignsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcvrsResponseStatus :: !Int+ , _gcvrsCampaignsResponse :: !CampaignsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignVersionsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -142,11 +145,12 @@ -> CampaignsResponse -- ^ 'gcvrsCampaignsResponse' -> GetCampaignVersionsResponse getCampaignVersionsResponse pResponseStatus_ pCampaignsResponse_ =- GetCampaignVersionsResponse'- { _gcvrsResponseStatus = pResponseStatus_- , _gcvrsCampaignsResponse = pCampaignsResponse_- }+ GetCampaignVersionsResponse'+ { _gcvrsResponseStatus = pResponseStatus_+ , _gcvrsCampaignsResponse = pCampaignsResponse_+ } + -- | -- | The response status code. gcvrsResponseStatus :: Lens' GetCampaignVersionsResponse Int gcvrsResponseStatus = lens _gcvrsResponseStatus (\ s a -> s{_gcvrsResponseStatus = a});@@ -155,4 +159,4 @@ gcvrsCampaignsResponse :: Lens' GetCampaignVersionsResponse CampaignsResponse gcvrsCampaignsResponse = lens _gcvrsCampaignsResponse (\ s a -> s{_gcvrsCampaignsResponse = a}); -instance NFData GetCampaignVersionsResponse+instance NFData GetCampaignVersionsResponse where
gen/Network/AWS/Pinpoint/GetCampaigns.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetCampaigns--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,44 +37,46 @@ , gcsrsCampaignsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getCampaigns' smart constructor. data GetCampaigns = GetCampaigns'- { _gcsToken :: !(Maybe Text)- , _gcsPageSize :: !(Maybe Text)- , _gcsApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcsToken :: !(Maybe Text)+ , _gcsPageSize :: !(Maybe Text)+ , _gcsApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaigns' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcsToken' - Undocumented member.+-- * 'gcsToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gcsPageSize' - Undocumented member.+-- * 'gcsPageSize' - The number of entries you want on each page in the response. -- -- * 'gcsApplicationId' - Undocumented member. getCampaigns :: Text -- ^ 'gcsApplicationId' -> GetCampaigns getCampaigns pApplicationId_ =- GetCampaigns'- { _gcsToken = Nothing- , _gcsPageSize = Nothing- , _gcsApplicationId = pApplicationId_- }+ GetCampaigns'+ { _gcsToken = Nothing+ , _gcsPageSize = Nothing+ , _gcsApplicationId = pApplicationId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gcsToken :: Lens' GetCampaigns (Maybe Text) gcsToken = lens _gcsToken (\ s a -> s{_gcsToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gcsPageSize :: Lens' GetCampaigns (Maybe Text) gcsPageSize = lens _gcsPageSize (\ s a -> s{_gcsPageSize = a}); @@ -91,9 +93,9 @@ GetCampaignsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetCampaigns+instance Hashable GetCampaigns where -instance NFData GetCampaigns+instance NFData GetCampaigns where instance ToHeaders GetCampaigns where toHeaders@@ -114,10 +116,11 @@ -- | /See:/ 'getCampaignsResponse' smart constructor. data GetCampaignsResponse = GetCampaignsResponse'- { _gcsrsResponseStatus :: !Int- , _gcsrsCampaignsResponse :: !CampaignsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gcsrsResponseStatus :: !Int+ , _gcsrsCampaignsResponse :: !CampaignsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetCampaignsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -130,11 +133,12 @@ -> CampaignsResponse -- ^ 'gcsrsCampaignsResponse' -> GetCampaignsResponse getCampaignsResponse pResponseStatus_ pCampaignsResponse_ =- GetCampaignsResponse'- { _gcsrsResponseStatus = pResponseStatus_- , _gcsrsCampaignsResponse = pCampaignsResponse_- }+ GetCampaignsResponse'+ { _gcsrsResponseStatus = pResponseStatus_+ , _gcsrsCampaignsResponse = pCampaignsResponse_+ } + -- | -- | The response status code. gcsrsResponseStatus :: Lens' GetCampaignsResponse Int gcsrsResponseStatus = lens _gcsrsResponseStatus (\ s a -> s{_gcsrsResponseStatus = a});@@ -143,4 +147,4 @@ gcsrsCampaignsResponse :: Lens' GetCampaignsResponse CampaignsResponse gcsrsCampaignsResponse = lens _gcsrsCampaignsResponse (\ s a -> s{_gcsrsCampaignsResponse = a}); -instance NFData GetCampaignsResponse+instance NFData GetCampaignsResponse where
+ gen/Network/AWS/Pinpoint/GetEmailChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetEmailChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an email channel+module Network.AWS.Pinpoint.GetEmailChannel+ (+ -- * Creating a Request+ getEmailChannel+ , GetEmailChannel+ -- * Request Lenses+ , gecApplicationId++ -- * Destructuring the Response+ , getEmailChannelResponse+ , GetEmailChannelResponse+ -- * Response Lenses+ , gecrsResponseStatus+ , gecrsEmailChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getEmailChannel' smart constructor.+newtype GetEmailChannel = GetEmailChannel'+ { _gecApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetEmailChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gecApplicationId' - Undocumented member.+getEmailChannel+ :: Text -- ^ 'gecApplicationId'+ -> GetEmailChannel+getEmailChannel pApplicationId_ =+ GetEmailChannel' {_gecApplicationId = pApplicationId_}+++-- | Undocumented member.+gecApplicationId :: Lens' GetEmailChannel Text+gecApplicationId = lens _gecApplicationId (\ s a -> s{_gecApplicationId = a});++instance AWSRequest GetEmailChannel where+ type Rs GetEmailChannel = GetEmailChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetEmailChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetEmailChannel where++instance NFData GetEmailChannel where++instance ToHeaders GetEmailChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetEmailChannel where+ toPath GetEmailChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gecApplicationId,+ "/channels/email"]++instance ToQuery GetEmailChannel where+ toQuery = const mempty++-- | /See:/ 'getEmailChannelResponse' smart constructor.+data GetEmailChannelResponse = GetEmailChannelResponse'+ { _gecrsResponseStatus :: !Int+ , _gecrsEmailChannelResponse :: !EmailChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetEmailChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gecrsResponseStatus' - -- | The response status code.+--+-- * 'gecrsEmailChannelResponse' - Undocumented member.+getEmailChannelResponse+ :: Int -- ^ 'gecrsResponseStatus'+ -> EmailChannelResponse -- ^ 'gecrsEmailChannelResponse'+ -> GetEmailChannelResponse+getEmailChannelResponse pResponseStatus_ pEmailChannelResponse_ =+ GetEmailChannelResponse'+ { _gecrsResponseStatus = pResponseStatus_+ , _gecrsEmailChannelResponse = pEmailChannelResponse_+ }+++-- | -- | The response status code.+gecrsResponseStatus :: Lens' GetEmailChannelResponse Int+gecrsResponseStatus = lens _gecrsResponseStatus (\ s a -> s{_gecrsResponseStatus = a});++-- | Undocumented member.+gecrsEmailChannelResponse :: Lens' GetEmailChannelResponse EmailChannelResponse+gecrsEmailChannelResponse = lens _gecrsEmailChannelResponse (\ s a -> s{_gecrsEmailChannelResponse = a});++instance NFData GetEmailChannelResponse where
gen/Network/AWS/Pinpoint/GetEndpoint.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetEndpoint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , gersEndpointResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getEndpoint' smart constructor. data GetEndpoint = GetEndpoint'- { _geApplicationId :: !Text- , _geEndpointId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _geApplicationId :: !Text+ , _geEndpointId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetEndpoint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,10 @@ -> Text -- ^ 'geEndpointId' -> GetEndpoint getEndpoint pApplicationId_ pEndpointId_ =- GetEndpoint'- { _geApplicationId = pApplicationId_- , _geEndpointId = pEndpointId_- }+ GetEndpoint'+ {_geApplicationId = pApplicationId_, _geEndpointId = pEndpointId_} + -- | Undocumented member. geApplicationId :: Lens' GetEndpoint Text geApplicationId = lens _geApplicationId (\ s a -> s{_geApplicationId = a});@@ -83,9 +83,9 @@ GetEndpointResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetEndpoint+instance Hashable GetEndpoint where -instance NFData GetEndpoint+instance NFData GetEndpoint where instance ToHeaders GetEndpoint where toHeaders@@ -105,10 +105,11 @@ -- | /See:/ 'getEndpointResponse' smart constructor. data GetEndpointResponse = GetEndpointResponse'- { _gersResponseStatus :: !Int- , _gersEndpointResponse :: !EndpointResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gersResponseStatus :: !Int+ , _gersEndpointResponse :: !EndpointResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetEndpointResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +122,12 @@ -> EndpointResponse -- ^ 'gersEndpointResponse' -> GetEndpointResponse getEndpointResponse pResponseStatus_ pEndpointResponse_ =- GetEndpointResponse'- { _gersResponseStatus = pResponseStatus_- , _gersEndpointResponse = pEndpointResponse_- }+ GetEndpointResponse'+ { _gersResponseStatus = pResponseStatus_+ , _gersEndpointResponse = pEndpointResponse_+ } + -- | -- | The response status code. gersResponseStatus :: Lens' GetEndpointResponse Int gersResponseStatus = lens _gersResponseStatus (\ s a -> s{_gersResponseStatus = a});@@ -134,4 +136,4 @@ gersEndpointResponse :: Lens' GetEndpointResponse EndpointResponse gersEndpointResponse = lens _gersEndpointResponse (\ s a -> s{_gersEndpointResponse = a}); -instance NFData GetEndpointResponse+instance NFData GetEndpointResponse where
+ gen/Network/AWS/Pinpoint/GetEventStream.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetEventStream+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the event stream for an app.+module Network.AWS.Pinpoint.GetEventStream+ (+ -- * Creating a Request+ getEventStream+ , GetEventStream+ -- * Request Lenses+ , gesApplicationId++ -- * Destructuring the Response+ , getEventStreamResponse+ , GetEventStreamResponse+ -- * Response Lenses+ , gesrsResponseStatus+ , gesrsEventStream+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | GetEventStreamRequest+--+-- /See:/ 'getEventStream' smart constructor.+newtype GetEventStream = GetEventStream'+ { _gesApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetEventStream' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gesApplicationId' - ApplicationId+getEventStream+ :: Text -- ^ 'gesApplicationId'+ -> GetEventStream+getEventStream pApplicationId_ =+ GetEventStream' {_gesApplicationId = pApplicationId_}+++-- | ApplicationId+gesApplicationId :: Lens' GetEventStream Text+gesApplicationId = lens _gesApplicationId (\ s a -> s{_gesApplicationId = a});++instance AWSRequest GetEventStream where+ type Rs GetEventStream = GetEventStreamResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetEventStreamResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetEventStream where++instance NFData GetEventStream where++instance ToHeaders GetEventStream where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetEventStream where+ toPath GetEventStream'{..}+ = mconcat+ ["/v1/apps/", toBS _gesApplicationId, "/eventstream"]++instance ToQuery GetEventStream where+ toQuery = const mempty++-- | /See:/ 'getEventStreamResponse' smart constructor.+data GetEventStreamResponse = GetEventStreamResponse'+ { _gesrsResponseStatus :: !Int+ , _gesrsEventStream :: !EventStream+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetEventStreamResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gesrsResponseStatus' - -- | The response status code.+--+-- * 'gesrsEventStream' - Undocumented member.+getEventStreamResponse+ :: Int -- ^ 'gesrsResponseStatus'+ -> EventStream -- ^ 'gesrsEventStream'+ -> GetEventStreamResponse+getEventStreamResponse pResponseStatus_ pEventStream_ =+ GetEventStreamResponse'+ {_gesrsResponseStatus = pResponseStatus_, _gesrsEventStream = pEventStream_}+++-- | -- | The response status code.+gesrsResponseStatus :: Lens' GetEventStreamResponse Int+gesrsResponseStatus = lens _gesrsResponseStatus (\ s a -> s{_gesrsResponseStatus = a});++-- | Undocumented member.+gesrsEventStream :: Lens' GetEventStreamResponse EventStream+gesrsEventStream = lens _gesrsEventStream (\ s a -> s{_gesrsEventStream = a});++instance NFData GetEventStreamResponse where
gen/Network/AWS/Pinpoint/GetGCMChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetGCMChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,18 +35,19 @@ , ggcrsGCMChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getGCMChannel' smart constructor. newtype GetGCMChannel = GetGCMChannel'- { _ggcApplicationId :: Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ggcApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetGCMChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -56,10 +57,9 @@ :: Text -- ^ 'ggcApplicationId' -> GetGCMChannel getGCMChannel pApplicationId_ =- GetGCMChannel'- { _ggcApplicationId = pApplicationId_- }+ GetGCMChannel' {_ggcApplicationId = pApplicationId_} + -- | Undocumented member. ggcApplicationId :: Lens' GetGCMChannel Text ggcApplicationId = lens _ggcApplicationId (\ s a -> s{_ggcApplicationId = a});@@ -73,9 +73,9 @@ GetGCMChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetGCMChannel+instance Hashable GetGCMChannel where -instance NFData GetGCMChannel+instance NFData GetGCMChannel where instance ToHeaders GetGCMChannel where toHeaders@@ -95,10 +95,11 @@ -- | /See:/ 'getGCMChannelResponse' smart constructor. data GetGCMChannelResponse = GetGCMChannelResponse'- { _ggcrsResponseStatus :: !Int- , _ggcrsGCMChannelResponse :: !GCMChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ggcrsResponseStatus :: !Int+ , _ggcrsGCMChannelResponse :: !GCMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetGCMChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -111,11 +112,12 @@ -> GCMChannelResponse -- ^ 'ggcrsGCMChannelResponse' -> GetGCMChannelResponse getGCMChannelResponse pResponseStatus_ pGCMChannelResponse_ =- GetGCMChannelResponse'- { _ggcrsResponseStatus = pResponseStatus_- , _ggcrsGCMChannelResponse = pGCMChannelResponse_- }+ GetGCMChannelResponse'+ { _ggcrsResponseStatus = pResponseStatus_+ , _ggcrsGCMChannelResponse = pGCMChannelResponse_+ } + -- | -- | The response status code. ggcrsResponseStatus :: Lens' GetGCMChannelResponse Int ggcrsResponseStatus = lens _ggcrsResponseStatus (\ s a -> s{_ggcrsResponseStatus = a});@@ -124,4 +126,4 @@ ggcrsGCMChannelResponse :: Lens' GetGCMChannelResponse GCMChannelResponse ggcrsGCMChannelResponse = lens _ggcrsGCMChannelResponse (\ s a -> s{_ggcrsGCMChannelResponse = a}); -instance NFData GetGCMChannelResponse+instance NFData GetGCMChannelResponse where
gen/Network/AWS/Pinpoint/GetImportJob.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetImportJob--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , gijrsImportJobResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getImportJob' smart constructor. data GetImportJob = GetImportJob'- { _gijApplicationId :: !Text- , _gijJobId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gijApplicationId :: !Text+ , _gijJobId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetImportJob' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,9 @@ -> Text -- ^ 'gijJobId' -> GetImportJob getImportJob pApplicationId_ pJobId_ =- GetImportJob'- { _gijApplicationId = pApplicationId_- , _gijJobId = pJobId_- }+ GetImportJob' {_gijApplicationId = pApplicationId_, _gijJobId = pJobId_} + -- | Undocumented member. gijApplicationId :: Lens' GetImportJob Text gijApplicationId = lens _gijApplicationId (\ s a -> s{_gijApplicationId = a});@@ -83,9 +82,9 @@ GetImportJobResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetImportJob+instance Hashable GetImportJob where -instance NFData GetImportJob+instance NFData GetImportJob where instance ToHeaders GetImportJob where toHeaders@@ -105,10 +104,11 @@ -- | /See:/ 'getImportJobResponse' smart constructor. data GetImportJobResponse = GetImportJobResponse'- { _gijrsResponseStatus :: !Int- , _gijrsImportJobResponse :: !ImportJobResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gijrsResponseStatus :: !Int+ , _gijrsImportJobResponse :: !ImportJobResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetImportJobResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +121,12 @@ -> ImportJobResponse -- ^ 'gijrsImportJobResponse' -> GetImportJobResponse getImportJobResponse pResponseStatus_ pImportJobResponse_ =- GetImportJobResponse'- { _gijrsResponseStatus = pResponseStatus_- , _gijrsImportJobResponse = pImportJobResponse_- }+ GetImportJobResponse'+ { _gijrsResponseStatus = pResponseStatus_+ , _gijrsImportJobResponse = pImportJobResponse_+ } + -- | -- | The response status code. gijrsResponseStatus :: Lens' GetImportJobResponse Int gijrsResponseStatus = lens _gijrsResponseStatus (\ s a -> s{_gijrsResponseStatus = a});@@ -134,4 +135,4 @@ gijrsImportJobResponse :: Lens' GetImportJobResponse ImportJobResponse gijrsImportJobResponse = lens _gijrsImportJobResponse (\ s a -> s{_gijrsImportJobResponse = a}); -instance NFData GetImportJobResponse+instance NFData GetImportJobResponse where
gen/Network/AWS/Pinpoint/GetImportJobs.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetImportJobs--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,44 +37,46 @@ , gijsrsImportJobsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getImportJobs' smart constructor. data GetImportJobs = GetImportJobs'- { _gijsToken :: !(Maybe Text)- , _gijsPageSize :: !(Maybe Text)- , _gijsApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gijsToken :: !(Maybe Text)+ , _gijsPageSize :: !(Maybe Text)+ , _gijsApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetImportJobs' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gijsToken' - Undocumented member.+-- * 'gijsToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gijsPageSize' - Undocumented member.+-- * 'gijsPageSize' - The number of entries you want on each page in the response. -- -- * 'gijsApplicationId' - Undocumented member. getImportJobs :: Text -- ^ 'gijsApplicationId' -> GetImportJobs getImportJobs pApplicationId_ =- GetImportJobs'- { _gijsToken = Nothing- , _gijsPageSize = Nothing- , _gijsApplicationId = pApplicationId_- }+ GetImportJobs'+ { _gijsToken = Nothing+ , _gijsPageSize = Nothing+ , _gijsApplicationId = pApplicationId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gijsToken :: Lens' GetImportJobs (Maybe Text) gijsToken = lens _gijsToken (\ s a -> s{_gijsToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gijsPageSize :: Lens' GetImportJobs (Maybe Text) gijsPageSize = lens _gijsPageSize (\ s a -> s{_gijsPageSize = a}); @@ -91,9 +93,9 @@ GetImportJobsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetImportJobs+instance Hashable GetImportJobs where -instance NFData GetImportJobs+instance NFData GetImportJobs where instance ToHeaders GetImportJobs where toHeaders@@ -115,10 +117,11 @@ -- | /See:/ 'getImportJobsResponse' smart constructor. data GetImportJobsResponse = GetImportJobsResponse'- { _gijsrsResponseStatus :: !Int- , _gijsrsImportJobsResponse :: !ImportJobsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gijsrsResponseStatus :: !Int+ , _gijsrsImportJobsResponse :: !ImportJobsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetImportJobsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -131,11 +134,12 @@ -> ImportJobsResponse -- ^ 'gijsrsImportJobsResponse' -> GetImportJobsResponse getImportJobsResponse pResponseStatus_ pImportJobsResponse_ =- GetImportJobsResponse'- { _gijsrsResponseStatus = pResponseStatus_- , _gijsrsImportJobsResponse = pImportJobsResponse_- }+ GetImportJobsResponse'+ { _gijsrsResponseStatus = pResponseStatus_+ , _gijsrsImportJobsResponse = pImportJobsResponse_+ } + -- | -- | The response status code. gijsrsResponseStatus :: Lens' GetImportJobsResponse Int gijsrsResponseStatus = lens _gijsrsResponseStatus (\ s a -> s{_gijsrsResponseStatus = a});@@ -144,4 +148,4 @@ gijsrsImportJobsResponse :: Lens' GetImportJobsResponse ImportJobsResponse gijsrsImportJobsResponse = lens _gijsrsImportJobsResponse (\ s a -> s{_gijsrsImportJobsResponse = a}); -instance NFData GetImportJobsResponse+instance NFData GetImportJobsResponse where
gen/Network/AWS/Pinpoint/GetSegment.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetSegment--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , getrsSegmentResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getSegment' smart constructor. data GetSegment = GetSegment'- { _gsSegmentId :: !Text- , _gsApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsSegmentId :: !Text+ , _gsApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,9 @@ -> Text -- ^ 'gsApplicationId' -> GetSegment getSegment pSegmentId_ pApplicationId_ =- GetSegment'- { _gsSegmentId = pSegmentId_- , _gsApplicationId = pApplicationId_- }+ GetSegment' {_gsSegmentId = pSegmentId_, _gsApplicationId = pApplicationId_} + -- | Undocumented member. gsSegmentId :: Lens' GetSegment Text gsSegmentId = lens _gsSegmentId (\ s a -> s{_gsSegmentId = a});@@ -83,9 +82,9 @@ GetSegmentResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetSegment+instance Hashable GetSegment where -instance NFData GetSegment+instance NFData GetSegment where instance ToHeaders GetSegment where toHeaders@@ -105,10 +104,11 @@ -- | /See:/ 'getSegmentResponse' smart constructor. data GetSegmentResponse = GetSegmentResponse'- { _getrsResponseStatus :: !Int- , _getrsSegmentResponse :: !SegmentResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _getrsResponseStatus :: !Int+ , _getrsSegmentResponse :: !SegmentResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -121,11 +121,12 @@ -> SegmentResponse -- ^ 'getrsSegmentResponse' -> GetSegmentResponse getSegmentResponse pResponseStatus_ pSegmentResponse_ =- GetSegmentResponse'- { _getrsResponseStatus = pResponseStatus_- , _getrsSegmentResponse = pSegmentResponse_- }+ GetSegmentResponse'+ { _getrsResponseStatus = pResponseStatus_+ , _getrsSegmentResponse = pSegmentResponse_+ } + -- | -- | The response status code. getrsResponseStatus :: Lens' GetSegmentResponse Int getrsResponseStatus = lens _getrsResponseStatus (\ s a -> s{_getrsResponseStatus = a});@@ -134,4 +135,4 @@ getrsSegmentResponse :: Lens' GetSegmentResponse SegmentResponse getrsSegmentResponse = lens _getrsSegmentResponse (\ s a -> s{_getrsSegmentResponse = a}); -instance NFData GetSegmentResponse+instance NFData GetSegmentResponse where
gen/Network/AWS/Pinpoint/GetSegmentImportJobs.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetSegmentImportJobs--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,28 +38,29 @@ , gsijrsImportJobsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getSegmentImportJobs' smart constructor. data GetSegmentImportJobs = GetSegmentImportJobs'- { _gsijToken :: !(Maybe Text)- , _gsijPageSize :: !(Maybe Text)- , _gsijSegmentId :: !Text- , _gsijApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsijToken :: !(Maybe Text)+ , _gsijPageSize :: !(Maybe Text)+ , _gsijSegmentId :: !Text+ , _gsijApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentImportJobs' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsijToken' - Undocumented member.+-- * 'gsijToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gsijPageSize' - Undocumented member.+-- * 'gsijPageSize' - The number of entries you want on each page in the response. -- -- * 'gsijSegmentId' - Undocumented member. --@@ -69,18 +70,19 @@ -> Text -- ^ 'gsijApplicationId' -> GetSegmentImportJobs getSegmentImportJobs pSegmentId_ pApplicationId_ =- GetSegmentImportJobs'- { _gsijToken = Nothing- , _gsijPageSize = Nothing- , _gsijSegmentId = pSegmentId_- , _gsijApplicationId = pApplicationId_- }+ GetSegmentImportJobs'+ { _gsijToken = Nothing+ , _gsijPageSize = Nothing+ , _gsijSegmentId = pSegmentId_+ , _gsijApplicationId = pApplicationId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gsijToken :: Lens' GetSegmentImportJobs (Maybe Text) gsijToken = lens _gsijToken (\ s a -> s{_gsijToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gsijPageSize :: Lens' GetSegmentImportJobs (Maybe Text) gsijPageSize = lens _gsijPageSize (\ s a -> s{_gsijPageSize = a}); @@ -102,9 +104,9 @@ GetSegmentImportJobsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetSegmentImportJobs+instance Hashable GetSegmentImportJobs where -instance NFData GetSegmentImportJobs+instance NFData GetSegmentImportJobs where instance ToHeaders GetSegmentImportJobs where toHeaders@@ -126,10 +128,11 @@ -- | /See:/ 'getSegmentImportJobsResponse' smart constructor. data GetSegmentImportJobsResponse = GetSegmentImportJobsResponse'- { _gsijrsResponseStatus :: !Int- , _gsijrsImportJobsResponse :: !ImportJobsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsijrsResponseStatus :: !Int+ , _gsijrsImportJobsResponse :: !ImportJobsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentImportJobsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -142,11 +145,12 @@ -> ImportJobsResponse -- ^ 'gsijrsImportJobsResponse' -> GetSegmentImportJobsResponse getSegmentImportJobsResponse pResponseStatus_ pImportJobsResponse_ =- GetSegmentImportJobsResponse'- { _gsijrsResponseStatus = pResponseStatus_- , _gsijrsImportJobsResponse = pImportJobsResponse_- }+ GetSegmentImportJobsResponse'+ { _gsijrsResponseStatus = pResponseStatus_+ , _gsijrsImportJobsResponse = pImportJobsResponse_+ } + -- | -- | The response status code. gsijrsResponseStatus :: Lens' GetSegmentImportJobsResponse Int gsijrsResponseStatus = lens _gsijrsResponseStatus (\ s a -> s{_gsijrsResponseStatus = a});@@ -155,4 +159,4 @@ gsijrsImportJobsResponse :: Lens' GetSegmentImportJobsResponse ImportJobsResponse gsijrsImportJobsResponse = lens _gsijrsImportJobsResponse (\ s a -> s{_gsijrsImportJobsResponse = a}); -instance NFData GetSegmentImportJobsResponse+instance NFData GetSegmentImportJobsResponse where
gen/Network/AWS/Pinpoint/GetSegmentVersion.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetSegmentVersion--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,20 +37,21 @@ , gsvrsSegmentResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getSegmentVersion' smart constructor. data GetSegmentVersion = GetSegmentVersion'- { _gSegmentId :: !Text- , _gVersion :: !Text- , _gApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gSegmentId :: !Text+ , _gVersion :: !Text+ , _gApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentVersion' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,12 +67,13 @@ -> Text -- ^ 'gApplicationId' -> GetSegmentVersion getSegmentVersion pSegmentId_ pVersion_ pApplicationId_ =- GetSegmentVersion'- { _gSegmentId = pSegmentId_- , _gVersion = pVersion_- , _gApplicationId = pApplicationId_- }+ GetSegmentVersion'+ { _gSegmentId = pSegmentId_+ , _gVersion = pVersion_+ , _gApplicationId = pApplicationId_+ } + -- | Undocumented member. gSegmentId :: Lens' GetSegmentVersion Text gSegmentId = lens _gSegmentId (\ s a -> s{_gSegmentId = a});@@ -93,9 +95,9 @@ GetSegmentVersionResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetSegmentVersion+instance Hashable GetSegmentVersion where -instance NFData GetSegmentVersion+instance NFData GetSegmentVersion where instance ToHeaders GetSegmentVersion where toHeaders@@ -115,10 +117,11 @@ -- | /See:/ 'getSegmentVersionResponse' smart constructor. data GetSegmentVersionResponse = GetSegmentVersionResponse'- { _gsvrsResponseStatus :: !Int- , _gsvrsSegmentResponse :: !SegmentResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsvrsResponseStatus :: !Int+ , _gsvrsSegmentResponse :: !SegmentResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentVersionResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -131,11 +134,12 @@ -> SegmentResponse -- ^ 'gsvrsSegmentResponse' -> GetSegmentVersionResponse getSegmentVersionResponse pResponseStatus_ pSegmentResponse_ =- GetSegmentVersionResponse'- { _gsvrsResponseStatus = pResponseStatus_- , _gsvrsSegmentResponse = pSegmentResponse_- }+ GetSegmentVersionResponse'+ { _gsvrsResponseStatus = pResponseStatus_+ , _gsvrsSegmentResponse = pSegmentResponse_+ } + -- | -- | The response status code. gsvrsResponseStatus :: Lens' GetSegmentVersionResponse Int gsvrsResponseStatus = lens _gsvrsResponseStatus (\ s a -> s{_gsvrsResponseStatus = a});@@ -144,4 +148,4 @@ gsvrsSegmentResponse :: Lens' GetSegmentVersionResponse SegmentResponse gsvrsSegmentResponse = lens _gsvrsSegmentResponse (\ s a -> s{_gsvrsSegmentResponse = a}); -instance NFData GetSegmentVersionResponse+instance NFData GetSegmentVersionResponse where
gen/Network/AWS/Pinpoint/GetSegmentVersions.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetSegmentVersions--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,28 +38,29 @@ , grsSegmentsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getSegmentVersions' smart constructor. data GetSegmentVersions = GetSegmentVersions'- { _gsvToken :: !(Maybe Text)- , _gsvPageSize :: !(Maybe Text)- , _gsvSegmentId :: !Text- , _gsvApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsvToken :: !(Maybe Text)+ , _gsvPageSize :: !(Maybe Text)+ , _gsvSegmentId :: !Text+ , _gsvApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentVersions' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsvToken' - Undocumented member.+-- * 'gsvToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gsvPageSize' - Undocumented member.+-- * 'gsvPageSize' - The number of entries you want on each page in the response. -- -- * 'gsvSegmentId' - Undocumented member. --@@ -69,18 +70,19 @@ -> Text -- ^ 'gsvApplicationId' -> GetSegmentVersions getSegmentVersions pSegmentId_ pApplicationId_ =- GetSegmentVersions'- { _gsvToken = Nothing- , _gsvPageSize = Nothing- , _gsvSegmentId = pSegmentId_- , _gsvApplicationId = pApplicationId_- }+ GetSegmentVersions'+ { _gsvToken = Nothing+ , _gsvPageSize = Nothing+ , _gsvSegmentId = pSegmentId_+ , _gsvApplicationId = pApplicationId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gsvToken :: Lens' GetSegmentVersions (Maybe Text) gsvToken = lens _gsvToken (\ s a -> s{_gsvToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gsvPageSize :: Lens' GetSegmentVersions (Maybe Text) gsvPageSize = lens _gsvPageSize (\ s a -> s{_gsvPageSize = a}); @@ -102,9 +104,9 @@ GetSegmentVersionsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetSegmentVersions+instance Hashable GetSegmentVersions where -instance NFData GetSegmentVersions+instance NFData GetSegmentVersions where instance ToHeaders GetSegmentVersions where toHeaders@@ -126,10 +128,11 @@ -- | /See:/ 'getSegmentVersionsResponse' smart constructor. data GetSegmentVersionsResponse = GetSegmentVersionsResponse'- { _grsResponseStatus :: !Int- , _grsSegmentsResponse :: !SegmentsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _grsResponseStatus :: !Int+ , _grsSegmentsResponse :: !SegmentsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentVersionsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -142,11 +145,12 @@ -> SegmentsResponse -- ^ 'grsSegmentsResponse' -> GetSegmentVersionsResponse getSegmentVersionsResponse pResponseStatus_ pSegmentsResponse_ =- GetSegmentVersionsResponse'- { _grsResponseStatus = pResponseStatus_- , _grsSegmentsResponse = pSegmentsResponse_- }+ GetSegmentVersionsResponse'+ { _grsResponseStatus = pResponseStatus_+ , _grsSegmentsResponse = pSegmentsResponse_+ } + -- | -- | The response status code. grsResponseStatus :: Lens' GetSegmentVersionsResponse Int grsResponseStatus = lens _grsResponseStatus (\ s a -> s{_grsResponseStatus = a});@@ -155,4 +159,4 @@ grsSegmentsResponse :: Lens' GetSegmentVersionsResponse SegmentsResponse grsSegmentsResponse = lens _grsSegmentsResponse (\ s a -> s{_grsSegmentsResponse = a}); -instance NFData GetSegmentVersionsResponse+instance NFData GetSegmentVersionsResponse where
gen/Network/AWS/Pinpoint/GetSegments.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.GetSegments--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,44 +37,46 @@ , gsrsSegmentsResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'getSegments' smart constructor. data GetSegments = GetSegments'- { _gssToken :: !(Maybe Text)- , _gssPageSize :: !(Maybe Text)- , _gssApplicationId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gssToken :: !(Maybe Text)+ , _gssPageSize :: !(Maybe Text)+ , _gssApplicationId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegments' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gssToken' - Undocumented member.+-- * 'gssToken' - The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. ----- * 'gssPageSize' - Undocumented member.+-- * 'gssPageSize' - The number of entries you want on each page in the response. -- -- * 'gssApplicationId' - Undocumented member. getSegments :: Text -- ^ 'gssApplicationId' -> GetSegments getSegments pApplicationId_ =- GetSegments'- { _gssToken = Nothing- , _gssPageSize = Nothing- , _gssApplicationId = pApplicationId_- }+ GetSegments'+ { _gssToken = Nothing+ , _gssPageSize = Nothing+ , _gssApplicationId = pApplicationId_+ } --- | Undocumented member.++-- | The NextToken string returned on a previous page that you use to get the next page of results in a paginated response. gssToken :: Lens' GetSegments (Maybe Text) gssToken = lens _gssToken (\ s a -> s{_gssToken = a}); --- | Undocumented member.+-- | The number of entries you want on each page in the response. gssPageSize :: Lens' GetSegments (Maybe Text) gssPageSize = lens _gssPageSize (\ s a -> s{_gssPageSize = a}); @@ -91,9 +93,9 @@ GetSegmentsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable GetSegments+instance Hashable GetSegments where -instance NFData GetSegments+instance NFData GetSegments where instance ToHeaders GetSegments where toHeaders@@ -114,10 +116,11 @@ -- | /See:/ 'getSegmentsResponse' smart constructor. data GetSegmentsResponse = GetSegmentsResponse'- { _gsrsResponseStatus :: !Int- , _gsrsSegmentsResponse :: !SegmentsResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _gsrsResponseStatus :: !Int+ , _gsrsSegmentsResponse :: !SegmentsResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSegmentsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -130,11 +133,12 @@ -> SegmentsResponse -- ^ 'gsrsSegmentsResponse' -> GetSegmentsResponse getSegmentsResponse pResponseStatus_ pSegmentsResponse_ =- GetSegmentsResponse'- { _gsrsResponseStatus = pResponseStatus_- , _gsrsSegmentsResponse = pSegmentsResponse_- }+ GetSegmentsResponse'+ { _gsrsResponseStatus = pResponseStatus_+ , _gsrsSegmentsResponse = pSegmentsResponse_+ } + -- | -- | The response status code. gsrsResponseStatus :: Lens' GetSegmentsResponse Int gsrsResponseStatus = lens _gsrsResponseStatus (\ s a -> s{_gsrsResponseStatus = a});@@ -143,4 +147,4 @@ gsrsSegmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse gsrsSegmentsResponse = lens _gsrsSegmentsResponse (\ s a -> s{_gsrsSegmentsResponse = a}); -instance NFData GetSegmentsResponse+instance NFData GetSegmentsResponse where
+ gen/Network/AWS/Pinpoint/GetSmsChannel.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.GetSmsChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get an SMS channel+module Network.AWS.Pinpoint.GetSmsChannel+ (+ -- * Creating a Request+ getSmsChannel+ , GetSmsChannel+ -- * Request Lenses+ , gscApplicationId++ -- * Destructuring the Response+ , getSmsChannelResponse+ , GetSmsChannelResponse+ -- * Response Lenses+ , gscrsResponseStatus+ , gscrsSMSChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getSmsChannel' smart constructor.+newtype GetSmsChannel = GetSmsChannel'+ { _gscApplicationId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetSmsChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gscApplicationId' - Undocumented member.+getSmsChannel+ :: Text -- ^ 'gscApplicationId'+ -> GetSmsChannel+getSmsChannel pApplicationId_ =+ GetSmsChannel' {_gscApplicationId = pApplicationId_}+++-- | Undocumented member.+gscApplicationId :: Lens' GetSmsChannel Text+gscApplicationId = lens _gscApplicationId (\ s a -> s{_gscApplicationId = a});++instance AWSRequest GetSmsChannel where+ type Rs GetSmsChannel = GetSmsChannelResponse+ request = get pinpoint+ response+ = receiveJSON+ (\ s h x ->+ GetSmsChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable GetSmsChannel where++instance NFData GetSmsChannel where++instance ToHeaders GetSmsChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToPath GetSmsChannel where+ toPath GetSmsChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _gscApplicationId,+ "/channels/sms"]++instance ToQuery GetSmsChannel where+ toQuery = const mempty++-- | /See:/ 'getSmsChannelResponse' smart constructor.+data GetSmsChannelResponse = GetSmsChannelResponse'+ { _gscrsResponseStatus :: !Int+ , _gscrsSMSChannelResponse :: !SMSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetSmsChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gscrsResponseStatus' - -- | The response status code.+--+-- * 'gscrsSMSChannelResponse' - Undocumented member.+getSmsChannelResponse+ :: Int -- ^ 'gscrsResponseStatus'+ -> SMSChannelResponse -- ^ 'gscrsSMSChannelResponse'+ -> GetSmsChannelResponse+getSmsChannelResponse pResponseStatus_ pSMSChannelResponse_ =+ GetSmsChannelResponse'+ { _gscrsResponseStatus = pResponseStatus_+ , _gscrsSMSChannelResponse = pSMSChannelResponse_+ }+++-- | -- | The response status code.+gscrsResponseStatus :: Lens' GetSmsChannelResponse Int+gscrsResponseStatus = lens _gscrsResponseStatus (\ s a -> s{_gscrsResponseStatus = a});++-- | Undocumented member.+gscrsSMSChannelResponse :: Lens' GetSmsChannelResponse SMSChannelResponse+gscrsSMSChannelResponse = lens _gscrsSMSChannelResponse (\ s a -> s{_gscrsSMSChannelResponse = a});++instance NFData GetSmsChannelResponse where
+ gen/Network/AWS/Pinpoint/PutEventStream.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.PutEventStream+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Use to create or update the event stream for an app.+module Network.AWS.Pinpoint.PutEventStream+ (+ -- * Creating a Request+ putEventStream+ , PutEventStream+ -- * Request Lenses+ , pesApplicationId+ , pesWriteEventStream++ -- * Destructuring the Response+ , putEventStreamResponse+ , PutEventStreamResponse+ -- * Response Lenses+ , pesrsResponseStatus+ , pesrsEventStream+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'putEventStream' smart constructor.+data PutEventStream = PutEventStream'+ { _pesApplicationId :: !Text+ , _pesWriteEventStream :: !WriteEventStream+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'PutEventStream' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pesApplicationId' - ApplicationId+--+-- * 'pesWriteEventStream' - EventStream to write.+putEventStream+ :: Text -- ^ 'pesApplicationId'+ -> WriteEventStream -- ^ 'pesWriteEventStream'+ -> PutEventStream+putEventStream pApplicationId_ pWriteEventStream_ =+ PutEventStream'+ { _pesApplicationId = pApplicationId_+ , _pesWriteEventStream = pWriteEventStream_+ }+++-- | ApplicationId+pesApplicationId :: Lens' PutEventStream Text+pesApplicationId = lens _pesApplicationId (\ s a -> s{_pesApplicationId = a});++-- | EventStream to write.+pesWriteEventStream :: Lens' PutEventStream WriteEventStream+pesWriteEventStream = lens _pesWriteEventStream (\ s a -> s{_pesWriteEventStream = a});++instance AWSRequest PutEventStream where+ type Rs PutEventStream = PutEventStreamResponse+ request = postJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ PutEventStreamResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable PutEventStream where++instance NFData PutEventStream where++instance ToHeaders PutEventStream where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON PutEventStream where+ toJSON PutEventStream'{..}+ = object+ (catMaybes+ [Just ("WriteEventStream" .= _pesWriteEventStream)])++instance ToPath PutEventStream where+ toPath PutEventStream'{..}+ = mconcat+ ["/v1/apps/", toBS _pesApplicationId, "/eventstream"]++instance ToQuery PutEventStream where+ toQuery = const mempty++-- | /See:/ 'putEventStreamResponse' smart constructor.+data PutEventStreamResponse = PutEventStreamResponse'+ { _pesrsResponseStatus :: !Int+ , _pesrsEventStream :: !EventStream+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'PutEventStreamResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pesrsResponseStatus' - -- | The response status code.+--+-- * 'pesrsEventStream' - Undocumented member.+putEventStreamResponse+ :: Int -- ^ 'pesrsResponseStatus'+ -> EventStream -- ^ 'pesrsEventStream'+ -> PutEventStreamResponse+putEventStreamResponse pResponseStatus_ pEventStream_ =+ PutEventStreamResponse'+ {_pesrsResponseStatus = pResponseStatus_, _pesrsEventStream = pEventStream_}+++-- | -- | The response status code.+pesrsResponseStatus :: Lens' PutEventStreamResponse Int+pesrsResponseStatus = lens _pesrsResponseStatus (\ s a -> s{_pesrsResponseStatus = a});++-- | Undocumented member.+pesrsEventStream :: Lens' PutEventStreamResponse EventStream+pesrsEventStream = lens _pesrsEventStream (\ s a -> s{_pesrsEventStream = a});++instance NFData PutEventStreamResponse where
+ gen/Network/AWS/Pinpoint/SendMessages.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.SendMessages+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Send a batch of messages+module Network.AWS.Pinpoint.SendMessages+ (+ -- * Creating a Request+ sendMessages+ , SendMessages+ -- * Request Lenses+ , smApplicationId+ , smMessageRequest++ -- * Destructuring the Response+ , sendMessagesResponse+ , SendMessagesResponse+ -- * Response Lenses+ , smrsResponseStatus+ , smrsMessageResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'sendMessages' smart constructor.+data SendMessages = SendMessages'+ { _smApplicationId :: !Text+ , _smMessageRequest :: !MessageRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendMessages' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smApplicationId' - Undocumented member.+--+-- * 'smMessageRequest' - Undocumented member.+sendMessages+ :: Text -- ^ 'smApplicationId'+ -> MessageRequest -- ^ 'smMessageRequest'+ -> SendMessages+sendMessages pApplicationId_ pMessageRequest_ =+ SendMessages'+ {_smApplicationId = pApplicationId_, _smMessageRequest = pMessageRequest_}+++-- | Undocumented member.+smApplicationId :: Lens' SendMessages Text+smApplicationId = lens _smApplicationId (\ s a -> s{_smApplicationId = a});++-- | Undocumented member.+smMessageRequest :: Lens' SendMessages MessageRequest+smMessageRequest = lens _smMessageRequest (\ s a -> s{_smMessageRequest = a});++instance AWSRequest SendMessages where+ type Rs SendMessages = SendMessagesResponse+ request = postJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ SendMessagesResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable SendMessages where++instance NFData SendMessages where++instance ToHeaders SendMessages where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON SendMessages where+ toJSON SendMessages'{..}+ = object+ (catMaybes+ [Just ("MessageRequest" .= _smMessageRequest)])++instance ToPath SendMessages where+ toPath SendMessages'{..}+ = mconcat+ ["/v1/apps/", toBS _smApplicationId, "/messages"]++instance ToQuery SendMessages where+ toQuery = const mempty++-- | /See:/ 'sendMessagesResponse' smart constructor.+data SendMessagesResponse = SendMessagesResponse'+ { _smrsResponseStatus :: !Int+ , _smrsMessageResponse :: !MessageResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendMessagesResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smrsResponseStatus' - -- | The response status code.+--+-- * 'smrsMessageResponse' - Undocumented member.+sendMessagesResponse+ :: Int -- ^ 'smrsResponseStatus'+ -> MessageResponse -- ^ 'smrsMessageResponse'+ -> SendMessagesResponse+sendMessagesResponse pResponseStatus_ pMessageResponse_ =+ SendMessagesResponse'+ { _smrsResponseStatus = pResponseStatus_+ , _smrsMessageResponse = pMessageResponse_+ }+++-- | -- | The response status code.+smrsResponseStatus :: Lens' SendMessagesResponse Int+smrsResponseStatus = lens _smrsResponseStatus (\ s a -> s{_smrsResponseStatus = a});++-- | Undocumented member.+smrsMessageResponse :: Lens' SendMessagesResponse MessageResponse+smrsMessageResponse = lens _smrsMessageResponse (\ s a -> s{_smrsMessageResponse = a});++instance NFData SendMessagesResponse where
+ gen/Network/AWS/Pinpoint/SendUsersMessages.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.SendUsersMessages+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Send a batch of messages to users+module Network.AWS.Pinpoint.SendUsersMessages+ (+ -- * Creating a Request+ sendUsersMessages+ , SendUsersMessages+ -- * Request Lenses+ , sumsApplicationId+ , sumsSendUsersMessageRequest++ -- * Destructuring the Response+ , sendUsersMessagesResponse+ , SendUsersMessagesResponse+ -- * Response Lenses+ , sumrsResponseStatus+ , sumrsSendUsersMessageResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'sendUsersMessages' smart constructor.+data SendUsersMessages = SendUsersMessages'+ { _sumsApplicationId :: !Text+ , _sumsSendUsersMessageRequest :: !SendUsersMessageRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendUsersMessages' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumsApplicationId' - Undocumented member.+--+-- * 'sumsSendUsersMessageRequest' - Undocumented member.+sendUsersMessages+ :: Text -- ^ 'sumsApplicationId'+ -> SendUsersMessageRequest -- ^ 'sumsSendUsersMessageRequest'+ -> SendUsersMessages+sendUsersMessages pApplicationId_ pSendUsersMessageRequest_ =+ SendUsersMessages'+ { _sumsApplicationId = pApplicationId_+ , _sumsSendUsersMessageRequest = pSendUsersMessageRequest_+ }+++-- | Undocumented member.+sumsApplicationId :: Lens' SendUsersMessages Text+sumsApplicationId = lens _sumsApplicationId (\ s a -> s{_sumsApplicationId = a});++-- | Undocumented member.+sumsSendUsersMessageRequest :: Lens' SendUsersMessages SendUsersMessageRequest+sumsSendUsersMessageRequest = lens _sumsSendUsersMessageRequest (\ s a -> s{_sumsSendUsersMessageRequest = a});++instance AWSRequest SendUsersMessages where+ type Rs SendUsersMessages = SendUsersMessagesResponse+ request = postJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ SendUsersMessagesResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable SendUsersMessages where++instance NFData SendUsersMessages where++instance ToHeaders SendUsersMessages where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON SendUsersMessages where+ toJSON SendUsersMessages'{..}+ = object+ (catMaybes+ [Just+ ("SendUsersMessageRequest" .=+ _sumsSendUsersMessageRequest)])++instance ToPath SendUsersMessages where+ toPath SendUsersMessages'{..}+ = mconcat+ ["/v1/apps/", toBS _sumsApplicationId,+ "/users-messages"]++instance ToQuery SendUsersMessages where+ toQuery = const mempty++-- | /See:/ 'sendUsersMessagesResponse' smart constructor.+data SendUsersMessagesResponse = SendUsersMessagesResponse'+ { _sumrsResponseStatus :: !Int+ , _sumrsSendUsersMessageResponse :: !SendUsersMessageResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendUsersMessagesResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumrsResponseStatus' - -- | The response status code.+--+-- * 'sumrsSendUsersMessageResponse' - Undocumented member.+sendUsersMessagesResponse+ :: Int -- ^ 'sumrsResponseStatus'+ -> SendUsersMessageResponse -- ^ 'sumrsSendUsersMessageResponse'+ -> SendUsersMessagesResponse+sendUsersMessagesResponse pResponseStatus_ pSendUsersMessageResponse_ =+ SendUsersMessagesResponse'+ { _sumrsResponseStatus = pResponseStatus_+ , _sumrsSendUsersMessageResponse = pSendUsersMessageResponse_+ }+++-- | -- | The response status code.+sumrsResponseStatus :: Lens' SendUsersMessagesResponse Int+sumrsResponseStatus = lens _sumrsResponseStatus (\ s a -> s{_sumrsResponseStatus = a});++-- | Undocumented member.+sumrsSendUsersMessageResponse :: Lens' SendUsersMessagesResponse SendUsersMessageResponse+sumrsSendUsersMessageResponse = lens _sumrsSendUsersMessageResponse (\ s a -> s{_sumrsSendUsersMessageResponse = a});++instance NFData SendUsersMessagesResponse where
gen/Network/AWS/Pinpoint/Types.hs view
@@ -4,9 +4,9 @@ -- | -- Module : Network.AWS.Pinpoint.Types--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,6 +38,9 @@ -- * DefinitionFormat , DefinitionFormat (..) + -- * DeliveryStatus+ , DeliveryStatus (..)+ -- * DimensionType , DimensionType (..) @@ -50,30 +53,189 @@ -- * JobStatus , JobStatus (..) + -- * MessageType+ , MessageType (..)+ -- * RecencyType , RecencyType (..) -- * SegmentType , SegmentType (..) + -- * ADMChannelRequest+ , ADMChannelRequest+ , aDMChannelRequest+ , admcrClientId+ , admcrClientSecret+ , admcrEnabled++ -- * ADMChannelResponse+ , ADMChannelResponse+ , aDMChannelResponse+ , admcPlatform+ , admcLastModifiedDate+ , admcEnabled+ , admcIsArchived+ , admcApplicationId+ , admcVersion+ , admcId+ , admcCreationDate+ , admcLastModifiedBy+ , admcHasCredential++ -- * ADMMessage+ , ADMMessage+ , aDMMessage+ , admmSubstitutions+ , admmExpiresAfter+ , admmMD5+ , admmSilentPush+ , admmImageIconURL+ , admmRawContent+ , admmData+ , admmSmallImageIconURL+ , admmBody+ , admmURL+ , admmSound+ , admmAction+ , admmImageURL+ , admmConsolidationKey+ , admmTitle+ , admmIconReference+ -- * APNSChannelRequest , APNSChannelRequest , apnsChannelRequest+ , acrTokenKey , acrPrivateKey+ , acrEnabled+ , acrTeamId+ , acrBundleId+ , acrDefaultAuthenticationMethod , acrCertificate+ , acrTokenKeyId -- * APNSChannelResponse , APNSChannelResponse , apnsChannelResponse , acPlatform , acLastModifiedDate+ , acEnabled+ , acHasTokenKey+ , acDefaultAuthenticationMethod , acIsArchived , acApplicationId , acVersion , acId , acCreationDate , acLastModifiedBy+ , acHasCredential + -- * APNSMessage+ , APNSMessage+ , apnsMessage+ , amSubstitutions+ , amSilentPush+ , amPriority+ , amRawContent+ , amData+ , amBody+ , amCategory+ , amTimeToLive+ , amURL+ , amSound+ , amAction+ , amMediaURL+ , amPreferredAuthenticationMethod+ , amBadge+ , amTitle+ , amThreadId+ , amCollapseId++ -- * APNSSandboxChannelRequest+ , APNSSandboxChannelRequest+ , apnsSandboxChannelRequest+ , ascrTokenKey+ , ascrPrivateKey+ , ascrEnabled+ , ascrTeamId+ , ascrBundleId+ , ascrDefaultAuthenticationMethod+ , ascrCertificate+ , ascrTokenKeyId++ -- * APNSSandboxChannelResponse+ , APNSSandboxChannelResponse+ , apnsSandboxChannelResponse+ , ascPlatform+ , ascLastModifiedDate+ , ascEnabled+ , ascHasTokenKey+ , ascDefaultAuthenticationMethod+ , ascIsArchived+ , ascApplicationId+ , ascVersion+ , ascId+ , ascCreationDate+ , ascLastModifiedBy+ , ascHasCredential++ -- * APNSVoipChannelRequest+ , APNSVoipChannelRequest+ , apnsVoipChannelRequest+ , avcrTokenKey+ , avcrPrivateKey+ , avcrEnabled+ , avcrTeamId+ , avcrBundleId+ , avcrDefaultAuthenticationMethod+ , avcrCertificate+ , avcrTokenKeyId++ -- * APNSVoipChannelResponse+ , APNSVoipChannelResponse+ , apnsVoipChannelResponse+ , avcPlatform+ , avcLastModifiedDate+ , avcEnabled+ , avcHasTokenKey+ , avcDefaultAuthenticationMethod+ , avcIsArchived+ , avcApplicationId+ , avcVersion+ , avcId+ , avcCreationDate+ , avcLastModifiedBy+ , avcHasCredential++ -- * APNSVoipSandboxChannelRequest+ , APNSVoipSandboxChannelRequest+ , apnsVoipSandboxChannelRequest+ , avscrTokenKey+ , avscrPrivateKey+ , avscrEnabled+ , avscrTeamId+ , avscrBundleId+ , avscrDefaultAuthenticationMethod+ , avscrCertificate+ , avscrTokenKeyId++ -- * APNSVoipSandboxChannelResponse+ , APNSVoipSandboxChannelResponse+ , apnsVoipSandboxChannelResponse+ , avscPlatform+ , avscLastModifiedDate+ , avscEnabled+ , avscHasTokenKey+ , avscDefaultAuthenticationMethod+ , avscIsArchived+ , avscApplicationId+ , avscVersion+ , avscId+ , avscCreationDate+ , avscLastModifiedBy+ , avscHasCredential+ -- * ActivitiesResponse , ActivitiesResponse , activitiesResponse@@ -85,6 +247,8 @@ , aState , aStart , aCampaignId+ , aTimezonesCompletedCount+ , aTimezonesTotalCount , aResult , aTreatmentId , aSuccessfulEndpointCount@@ -94,6 +258,22 @@ , aId , aScheduledStart + -- * AddressConfiguration+ , AddressConfiguration+ , addressConfiguration+ , acSubstitutions+ , acTitleOverride+ , acContext+ , acRawContent+ , acBodyOverride+ , acChannelType++ -- * ApplicationResponse+ , ApplicationResponse+ , applicationResponse+ , appName+ , appId+ -- * ApplicationSettingsResource , ApplicationSettingsResource , applicationSettingsResource@@ -102,17 +282,72 @@ , asrQuietTime , asrApplicationId + -- * ApplicationsResponse+ , ApplicationsResponse+ , applicationsResponse+ , appNextToken+ , appItem+ -- * AttributeDimension , AttributeDimension , attributeDimension , adValues , adAttributeType + -- * BaiduChannelRequest+ , BaiduChannelRequest+ , baiduChannelRequest+ , bcrAPIKey+ , bcrEnabled+ , bcrSecretKey++ -- * BaiduChannelResponse+ , BaiduChannelResponse+ , baiduChannelResponse+ , bcPlatform+ , bcLastModifiedDate+ , bcEnabled+ , bcCredential+ , bcIsArchived+ , bcApplicationId+ , bcVersion+ , bcId+ , bcCreationDate+ , bcLastModifiedBy+ , bcHasCredential++ -- * BaiduMessage+ , BaiduMessage+ , baiduMessage+ , bmSubstitutions+ , bmSilentPush+ , bmImageIconURL+ , bmRawContent+ , bmData+ , bmSmallImageIconURL+ , bmBody+ , bmURL+ , bmSound+ , bmAction+ , bmImageURL+ , bmTitle+ , bmIconReference++ -- * CampaignEmailMessage+ , CampaignEmailMessage+ , campaignEmailMessage+ , cemBody+ , cemFromAddress+ , cemHTMLBody+ , cemTitle+ -- * CampaignLimits , CampaignLimits , campaignLimits+ , clMessagesPerSecond , clDaily , clTotal+ , clMaximumDuration -- * CampaignResponse , CampaignResponse@@ -137,6 +372,13 @@ , cAdditionalTreatments , cSegmentVersion + -- * CampaignSmsMessage+ , CampaignSmsMessage+ , campaignSmsMessage+ , csmBody+ , csmMessageType+ , csmSenderId+ -- * CampaignState , CampaignState , campaignState@@ -148,6 +390,64 @@ , cNextToken , cItem + -- * CreateApplicationRequest+ , CreateApplicationRequest+ , createApplicationRequest+ , carName++ -- * DefaultMessage+ , DefaultMessage+ , defaultMessage+ , dmSubstitutions+ , dmBody++ -- * DefaultPushNotificationMessage+ , DefaultPushNotificationMessage+ , defaultPushNotificationMessage+ , dpnmSubstitutions+ , dpnmSilentPush+ , dpnmData+ , dpnmBody+ , dpnmURL+ , dpnmAction+ , dpnmTitle++ -- * DirectMessageConfiguration+ , DirectMessageConfiguration+ , directMessageConfiguration+ , dmcAPNSMessage+ , dmcGCMMessage+ , dmcDefaultMessage+ , dmcADMMessage+ , dmcSMSMessage+ , dmcBaiduMessage+ , dmcDefaultPushNotificationMessage++ -- * EmailChannelRequest+ , EmailChannelRequest+ , emailChannelRequest+ , ecrEnabled+ , ecrFromAddress+ , ecrIdentity+ , ecrRoleARN++ -- * EmailChannelResponse+ , EmailChannelResponse+ , emailChannelResponse+ , ecPlatform+ , ecLastModifiedDate+ , ecEnabled+ , ecFromAddress+ , ecIsArchived+ , ecApplicationId+ , ecVersion+ , ecId+ , ecCreationDate+ , ecLastModifiedBy+ , ecIdentity+ , ecHasCredential+ , ecRoleARN+ -- * EndpointBatchItem , EndpointBatchItem , endpointBatchItem@@ -191,6 +491,15 @@ , elRegion , elLongitude + -- * EndpointMessageResult+ , EndpointMessageResult+ , endpointMessageResult+ , emrDeliveryStatus+ , emrAddress+ , emrStatusMessage+ , emrUpdatedToken+ , emrStatusCode+ -- * EndpointRequest , EndpointRequest , endpointRequest@@ -224,24 +533,44 @@ , eId , eCreationDate , eChannelType- , eShardId + -- * EndpointSendConfiguration+ , EndpointSendConfiguration+ , endpointSendConfiguration+ , escSubstitutions+ , escTitleOverride+ , escContext+ , escRawContent+ , escBodyOverride+ -- * EndpointUser , EndpointUser , endpointUser , euUserAttributes , euUserId + -- * EventStream+ , EventStream+ , eventStream+ , esLastUpdatedBy+ , esLastModifiedDate+ , esDestinationStreamARN+ , esApplicationId+ , esExternalId+ , esRoleARN+ -- * GCMChannelRequest , GCMChannelRequest , gcmChannelRequest , gcrAPIKey+ , gcrEnabled -- * GCMChannelResponse , GCMChannelResponse , gcmChannelResponse , gcPlatform , gcLastModifiedDate+ , gcEnabled , gcCredential , gcIsArchived , gcApplicationId@@ -249,7 +578,29 @@ , gcId , gcCreationDate , gcLastModifiedBy+ , gcHasCredential + -- * GCMMessage+ , GCMMessage+ , gcmMessage+ , gmSubstitutions+ , gmSilentPush+ , gmImageIconURL+ , gmPriority+ , gmRawContent+ , gmData+ , gmRestrictedPackageName+ , gmSmallImageIconURL+ , gmBody+ , gmTimeToLive+ , gmURL+ , gmSound+ , gmAction+ , gmCollapseKey+ , gmImageURL+ , gmTitle+ , gmIconReference+ -- * ImportJobRequest , ImportJobRequest , importJobRequest@@ -302,7 +653,9 @@ , message , mSilentPush , mImageIconURL+ , mRawContent , mBody+ , mImageSmallIconURL , mJSONBody , mURL , mAction@@ -322,7 +675,35 @@ , mcAPNSMessage , mcGCMMessage , mcDefaultMessage+ , mcADMMessage+ , mcSMSMessage+ , mcEmailMessage+ , mcBaiduMessage + -- * MessageRequest+ , MessageRequest+ , messageRequest+ , mrContext+ , mrAddresses+ , mrEndpoints+ , mrMessageConfiguration++ -- * MessageResponse+ , MessageResponse+ , messageResponse+ , mRequestId+ , mResult+ , mApplicationId+ , mEndpointResult++ -- * MessageResult+ , MessageResult+ , messageResult+ , mrDeliveryStatus+ , mrStatusMessage+ , mrUpdatedToken+ , mrStatusCode+ -- * QuietTime , QuietTime , quietTime@@ -335,6 +716,37 @@ , rdRecencyType , rdDuration + -- * SMSChannelRequest+ , SMSChannelRequest+ , sMSChannelRequest+ , smscrShortCode+ , smscrEnabled+ , smscrSenderId++ -- * SMSChannelResponse+ , SMSChannelResponse+ , sMSChannelResponse+ , smscPlatform+ , smscShortCode+ , smscLastModifiedDate+ , smscEnabled+ , smscSenderId+ , smscIsArchived+ , smscApplicationId+ , smscVersion+ , smscId+ , smscCreationDate+ , smscLastModifiedBy+ , smscHasCredential++ -- * SMSMessage+ , SMSMessage+ , sMSMessage+ , smsmSubstitutions+ , smsmBody+ , smsmMessageType+ , smsmSenderId+ -- * Schedule , Schedule , schedule@@ -355,6 +767,7 @@ , segmentDemographics , sdPlatform , sdAppVersion+ , sdChannel , sdModel , sdMake , sdDeviceType@@ -364,6 +777,7 @@ , segmentDimensions , sdLocation , sdDemographic+ , sdUserAttributes , sdBehavior , sdAttributes @@ -372,6 +786,7 @@ , segmentImportResource , sirSize , sirFormat+ , sirChannelCounts , sirExternalId , sirS3URL , sirRoleARN@@ -400,6 +815,20 @@ , sNextToken , sItem + -- * SendUsersMessageRequest+ , SendUsersMessageRequest+ , sendUsersMessageRequest+ , sumrContext+ , sumrUsers+ , sumrMessageConfiguration++ -- * SendUsersMessageResponse+ , SendUsersMessageResponse+ , sendUsersMessageResponse+ , sumRequestId+ , sumResult+ , sumApplicationId+ -- * SetDimension , SetDimension , setDimension@@ -439,6 +868,12 @@ , wcrAdditionalTreatments , wcrSegmentVersion + -- * WriteEventStream+ , WriteEventStream+ , writeEventStream+ , wesDestinationStreamARN+ , wesRoleARN+ -- * WriteSegmentRequest , WriteSegmentRequest , writeSegmentRequest@@ -455,38 +890,40 @@ , wtrMessageConfiguration ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Pinpoint.Types.Sum-import Network.AWS.Prelude-import Network.AWS.Sign.V4+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Pinpoint.Types.Sum+import Network.AWS.Prelude+import Network.AWS.Sign.V4 -- | API version @2016-12-01@ of the Amazon Pinpoint SDK configuration. pinpoint :: Service pinpoint =- Service- { _svcAbbrev = "Pinpoint"- , _svcSigner = v4- , _svcPrefix = "pinpoint"- , _svcVersion = "2016-12-01"- , _svcEndpoint = defaultEndpoint pinpoint- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "Pinpoint"- , _svcRetry = retry- }+ Service+ { _svcAbbrev = "Pinpoint"+ , _svcSigner = v4+ , _svcPrefix = "pinpoint"+ , _svcVersion = "2016-12-01"+ , _svcEndpoint = defaultEndpoint pinpoint+ , _svcTimeout = Just 70+ , _svcCheck = statusSuccess+ , _svcError = parseJSONError "Pinpoint"+ , _svcRetry = retry+ } where retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }+ Exponential+ { _retryBase = 5.0e-2+ , _retryGrowth = 2+ , _retryAttempts = 5+ , _retryCheck = check+ } check e+ | has (hasCode "ThrottledException" . hasStatus 400) e =+ Just "throttled_exception" | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"+ Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling" | has (hasStatus 504) e = Just "gateway_timeout" | has (hasStatus 502) e = Just "bad_gateway"@@ -495,32 +932,39 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing --- | Prism for ForbiddenException' errors.++-- | Simple message object. _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError _ForbiddenException =- _ServiceError . hasStatus 403 . hasCode "ForbiddenException"+ _MatchServiceError pinpoint "ForbiddenException" . hasStatus 403 --- | Prism for NotFoundException' errors.++-- | Simple message object. _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _NotFoundException =- _ServiceError . hasStatus 404 . hasCode "NotFoundException"+ _MatchServiceError pinpoint "NotFoundException" . hasStatus 404 --- | Prism for TooManyRequestsException' errors.++-- | Simple message object. _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyRequestsException =- _ServiceError . hasStatus 429 . hasCode "TooManyRequestsException"+ _MatchServiceError pinpoint "TooManyRequestsException" . hasStatus 429 --- | Prism for InternalServerErrorException' errors.++-- | Simple message object. _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerErrorException =- _ServiceError . hasStatus 500 . hasCode "InternalServerErrorException"+ _MatchServiceError pinpoint "InternalServerErrorException" . hasStatus 500 --- | Prism for MethodNotAllowedException' errors.++-- | Simple message object. _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError _MethodNotAllowedException =- _ServiceError . hasStatus 405 . hasCode "MethodNotAllowedException"+ _MatchServiceError pinpoint "MethodNotAllowedException" . hasStatus 405 --- | Prism for BadRequestException' errors.++-- | Simple message object. _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError _BadRequestException =- _ServiceError . hasStatus 400 . hasCode "BadRequestException"+ _MatchServiceError pinpoint "BadRequestException" . hasStatus 400+
gen/Network/AWS/Pinpoint/Types/Product.hs view
@@ -9,3119 +9,6720 @@ -- | -- Module : Network.AWS.Pinpoint.Types.Product--- Copyright : (c) 2013-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Pinpoint.Types.Product where--import Network.AWS.Lens-import Network.AWS.Pinpoint.Types.Sum-import Network.AWS.Prelude---- | /See:/ 'apnsChannelRequest' smart constructor.-data APNSChannelRequest = APNSChannelRequest'- { _acrPrivateKey :: !(Maybe Text)- , _acrCertificate :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | 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:------ * 'acrPrivateKey' - The certificate private key.------ * 'acrCertificate' - The distribution certificate from Apple.-apnsChannelRequest- :: APNSChannelRequest-apnsChannelRequest =- APNSChannelRequest'- { _acrPrivateKey = Nothing- , _acrCertificate = Nothing- }---- | The certificate private key.-acrPrivateKey :: Lens' APNSChannelRequest (Maybe Text)-acrPrivateKey = lens _acrPrivateKey (\ s a -> s{_acrPrivateKey = a});---- | The distribution certificate from Apple.-acrCertificate :: Lens' APNSChannelRequest (Maybe Text)-acrCertificate = lens _acrCertificate (\ s a -> s{_acrCertificate = a});--instance Hashable APNSChannelRequest--instance NFData APNSChannelRequest--instance ToJSON APNSChannelRequest where- toJSON APNSChannelRequest'{..}- = object- (catMaybes- [("PrivateKey" .=) <$> _acrPrivateKey,- ("Certificate" .=) <$> _acrCertificate])---- | /See:/ 'apnsChannelResponse' smart constructor.-data APNSChannelResponse = APNSChannelResponse'- { _acPlatform :: !(Maybe Text)- , _acLastModifiedDate :: !(Maybe Text)- , _acIsArchived :: !(Maybe Bool)- , _acApplicationId :: !(Maybe Text)- , _acVersion :: !(Maybe Int)- , _acId :: !(Maybe Text)- , _acCreationDate :: !(Maybe Text)- , _acLastModifiedBy :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | 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------ * 'acIsArchived' - Is this channel archived------ * 'acApplicationId' - Undocumented member.------ * 'acVersion' - Version of channel------ * 'acId' - Undocumented member.------ * 'acCreationDate' - When was this segment created------ * 'acLastModifiedBy' - Who last updated this entry-apnsChannelResponse- :: APNSChannelResponse-apnsChannelResponse =- APNSChannelResponse'- { _acPlatform = Nothing- , _acLastModifiedDate = Nothing- , _acIsArchived = Nothing- , _acApplicationId = Nothing- , _acVersion = Nothing- , _acId = Nothing- , _acCreationDate = Nothing- , _acLastModifiedBy = Nothing- }---- | The platform type. Will be APNS.-acPlatform :: Lens' APNSChannelResponse (Maybe Text)-acPlatform = lens _acPlatform (\ s a -> s{_acPlatform = a});---- | Last date this was updated-acLastModifiedDate :: Lens' APNSChannelResponse (Maybe Text)-acLastModifiedDate = lens _acLastModifiedDate (\ s a -> s{_acLastModifiedDate = a});---- | Is this channel archived-acIsArchived :: Lens' APNSChannelResponse (Maybe Bool)-acIsArchived = lens _acIsArchived (\ s a -> s{_acIsArchived = a});---- | Undocumented member.-acApplicationId :: Lens' APNSChannelResponse (Maybe Text)-acApplicationId = lens _acApplicationId (\ s a -> s{_acApplicationId = a});---- | Version of channel-acVersion :: Lens' APNSChannelResponse (Maybe Int)-acVersion = lens _acVersion (\ s a -> s{_acVersion = a});---- | Undocumented member.-acId :: Lens' APNSChannelResponse (Maybe Text)-acId = lens _acId (\ s a -> s{_acId = a});---- | When was this segment created-acCreationDate :: Lens' APNSChannelResponse (Maybe Text)-acCreationDate = lens _acCreationDate (\ s a -> s{_acCreationDate = a});---- | Who last updated this entry-acLastModifiedBy :: Lens' APNSChannelResponse (Maybe Text)-acLastModifiedBy = lens _acLastModifiedBy (\ s a -> s{_acLastModifiedBy = a});--instance FromJSON APNSChannelResponse where- parseJSON- = withObject "APNSChannelResponse"- (\ x ->- APNSChannelResponse' <$>- (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>- (x .:? "IsArchived")- <*> (x .:? "ApplicationId")- <*> (x .:? "Version")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "LastModifiedBy"))--instance Hashable APNSChannelResponse--instance NFData APNSChannelResponse---- | /See:/ 'activitiesResponse' smart constructor.-newtype ActivitiesResponse = ActivitiesResponse'- { _aItem :: Maybe [ActivityResponse]- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ActivitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aItem' - List of campaign activities-activitiesResponse- :: ActivitiesResponse-activitiesResponse =- ActivitiesResponse'- { _aItem = Nothing- }---- | List of campaign activities-aItem :: Lens' ActivitiesResponse [ActivityResponse]-aItem = lens _aItem (\ s a -> s{_aItem = a}) . _Default . _Coerce;--instance FromJSON ActivitiesResponse where- parseJSON- = withObject "ActivitiesResponse"- (\ x ->- ActivitiesResponse' <$> (x .:? "Item" .!= mempty))--instance Hashable ActivitiesResponse--instance NFData ActivitiesResponse---- | /See:/ 'activityResponse' smart constructor.-data ActivityResponse = ActivityResponse'- { _aState :: !(Maybe Text)- , _aStart :: !(Maybe Text)- , _aCampaignId :: !(Maybe Text)- , _aResult :: !(Maybe Text)- , _aTreatmentId :: !(Maybe Text)- , _aSuccessfulEndpointCount :: !(Maybe Int)- , _aEnd :: !(Maybe Text)- , _aApplicationId :: !(Maybe Text)- , _aTotalEndpointCount :: !(Maybe Int)- , _aId :: !(Maybe Text)- , _aScheduledStart :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ActivityResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aState' - The state of the activity. Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED------ * 'aStart' - The actual start time of the activity in ISO 8601 format.------ * 'aCampaignId' - The ID of the campaign to which the activity applies.------ * 'aResult' - Indicates whether the activity succeeded. Valid values: SUCCESS, FAIL------ * 'aTreatmentId' - The ID of a variation of the campaign used for A/B testing.------ * 'aSuccessfulEndpointCount' - The total number of endpoints to which the campaign successfully delivered messages.------ * 'aEnd' - The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.------ * 'aApplicationId' - The ID of the application to which the campaign applies.------ * 'aTotalEndpointCount' - The total number of endpoints to which the campaign attempts to deliver messages.------ * 'aId' - The unique activity ID.------ * 'aScheduledStart' - The scheduled start time for the activity in ISO 8601 format.-activityResponse- :: ActivityResponse-activityResponse =- ActivityResponse'- { _aState = Nothing- , _aStart = Nothing- , _aCampaignId = Nothing- , _aResult = Nothing- , _aTreatmentId = Nothing- , _aSuccessfulEndpointCount = Nothing- , _aEnd = Nothing- , _aApplicationId = Nothing- , _aTotalEndpointCount = Nothing- , _aId = Nothing- , _aScheduledStart = Nothing- }---- | The state of the activity. Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED-aState :: Lens' ActivityResponse (Maybe Text)-aState = lens _aState (\ s a -> s{_aState = a});---- | The actual start time of the activity in ISO 8601 format.-aStart :: Lens' ActivityResponse (Maybe Text)-aStart = lens _aStart (\ s a -> s{_aStart = a});---- | The ID of the campaign to which the activity applies.-aCampaignId :: Lens' ActivityResponse (Maybe Text)-aCampaignId = lens _aCampaignId (\ s a -> s{_aCampaignId = a});---- | Indicates whether the activity succeeded. Valid values: SUCCESS, FAIL-aResult :: Lens' ActivityResponse (Maybe Text)-aResult = lens _aResult (\ s a -> s{_aResult = a});---- | The ID of a variation of the campaign used for A/B testing.-aTreatmentId :: Lens' ActivityResponse (Maybe Text)-aTreatmentId = lens _aTreatmentId (\ s a -> s{_aTreatmentId = a});---- | The total number of endpoints to which the campaign successfully delivered messages.-aSuccessfulEndpointCount :: Lens' ActivityResponse (Maybe Int)-aSuccessfulEndpointCount = lens _aSuccessfulEndpointCount (\ s a -> s{_aSuccessfulEndpointCount = a});---- | The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.-aEnd :: Lens' ActivityResponse (Maybe Text)-aEnd = lens _aEnd (\ s a -> s{_aEnd = a});---- | The ID of the application to which the campaign applies.-aApplicationId :: Lens' ActivityResponse (Maybe Text)-aApplicationId = lens _aApplicationId (\ s a -> s{_aApplicationId = a});---- | The total number of endpoints to which the campaign attempts to deliver messages.-aTotalEndpointCount :: Lens' ActivityResponse (Maybe Int)-aTotalEndpointCount = lens _aTotalEndpointCount (\ s a -> s{_aTotalEndpointCount = a});---- | The unique activity ID.-aId :: Lens' ActivityResponse (Maybe Text)-aId = lens _aId (\ s a -> s{_aId = a});---- | The scheduled start time for the activity in ISO 8601 format.-aScheduledStart :: Lens' ActivityResponse (Maybe Text)-aScheduledStart = lens _aScheduledStart (\ s a -> s{_aScheduledStart = a});--instance FromJSON ActivityResponse where- parseJSON- = withObject "ActivityResponse"- (\ x ->- ActivityResponse' <$>- (x .:? "State") <*> (x .:? "Start") <*>- (x .:? "CampaignId")- <*> (x .:? "Result")- <*> (x .:? "TreatmentId")- <*> (x .:? "SuccessfulEndpointCount")- <*> (x .:? "End")- <*> (x .:? "ApplicationId")- <*> (x .:? "TotalEndpointCount")- <*> (x .:? "Id")- <*> (x .:? "ScheduledStart"))--instance Hashable ActivityResponse--instance NFData ActivityResponse---- | /See:/ 'applicationSettingsResource' smart constructor.-data ApplicationSettingsResource = ApplicationSettingsResource'- { _asrLastModifiedDate :: !(Maybe Text)- , _asrLimits :: !(Maybe CampaignLimits)- , _asrQuietTime :: !(Maybe QuietTime)- , _asrApplicationId :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ApplicationSettingsResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'asrLastModifiedDate' - The date that the settings were last updated in ISO 8601 format.------ * 'asrLimits' - The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.------ * 'asrQuietTime' - The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.------ * 'asrApplicationId' - The unique ID for the application.-applicationSettingsResource- :: ApplicationSettingsResource-applicationSettingsResource =- ApplicationSettingsResource'- { _asrLastModifiedDate = Nothing- , _asrLimits = Nothing- , _asrQuietTime = Nothing- , _asrApplicationId = Nothing- }---- | The date that the settings were last updated in ISO 8601 format.-asrLastModifiedDate :: Lens' ApplicationSettingsResource (Maybe Text)-asrLastModifiedDate = lens _asrLastModifiedDate (\ s a -> s{_asrLastModifiedDate = a});---- | The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.-asrLimits :: Lens' ApplicationSettingsResource (Maybe CampaignLimits)-asrLimits = lens _asrLimits (\ s a -> s{_asrLimits = a});---- | The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.-asrQuietTime :: Lens' ApplicationSettingsResource (Maybe QuietTime)-asrQuietTime = lens _asrQuietTime (\ s a -> s{_asrQuietTime = a});---- | The unique ID for the application.-asrApplicationId :: Lens' ApplicationSettingsResource (Maybe Text)-asrApplicationId = lens _asrApplicationId (\ s a -> s{_asrApplicationId = a});--instance FromJSON ApplicationSettingsResource where- parseJSON- = withObject "ApplicationSettingsResource"- (\ x ->- ApplicationSettingsResource' <$>- (x .:? "LastModifiedDate") <*> (x .:? "Limits") <*>- (x .:? "QuietTime")- <*> (x .:? "ApplicationId"))--instance Hashable ApplicationSettingsResource--instance NFData ApplicationSettingsResource---- | /See:/ 'attributeDimension' smart constructor.-data AttributeDimension = AttributeDimension'- { _adValues :: !(Maybe [Text])- , _adAttributeType :: !(Maybe AttributeType)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'AttributeDimension' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adValues' - The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.------ * 'adAttributeType' - The type of dimension: INCLUSIVE – Endpoints that match the criteria are included in the segment. EXCLUSIVE – Endpoints that match the criteria are excluded from the segment.-attributeDimension- :: AttributeDimension-attributeDimension =- AttributeDimension'- { _adValues = Nothing- , _adAttributeType = Nothing- }---- | The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.-adValues :: Lens' AttributeDimension [Text]-adValues = lens _adValues (\ s a -> s{_adValues = a}) . _Default . _Coerce;---- | The type of dimension: INCLUSIVE – Endpoints that match the criteria are included in the segment. EXCLUSIVE – Endpoints that match the criteria are excluded from the segment.-adAttributeType :: Lens' AttributeDimension (Maybe AttributeType)-adAttributeType = lens _adAttributeType (\ s a -> s{_adAttributeType = a});--instance FromJSON AttributeDimension where- parseJSON- = withObject "AttributeDimension"- (\ x ->- AttributeDimension' <$>- (x .:? "Values" .!= mempty) <*>- (x .:? "AttributeType"))--instance Hashable AttributeDimension--instance NFData AttributeDimension--instance ToJSON AttributeDimension where- toJSON AttributeDimension'{..}- = object- (catMaybes- [("Values" .=) <$> _adValues,- ("AttributeType" .=) <$> _adAttributeType])---- | /See:/ 'campaignLimits' smart constructor.-data CampaignLimits = CampaignLimits'- { _clDaily :: !(Maybe Int)- , _clTotal :: !(Maybe Int)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CampaignLimits' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'clDaily' - The maximum number of messages that the campaign can send daily.------ * 'clTotal' - The maximum total number of messages that the campaign can send.-campaignLimits- :: CampaignLimits-campaignLimits =- CampaignLimits'- { _clDaily = Nothing- , _clTotal = Nothing- }---- | The maximum number of messages that the campaign can send daily.-clDaily :: Lens' CampaignLimits (Maybe Int)-clDaily = lens _clDaily (\ s a -> s{_clDaily = a});---- | The maximum total number of messages that the campaign can send.-clTotal :: Lens' CampaignLimits (Maybe Int)-clTotal = lens _clTotal (\ s a -> s{_clTotal = a});--instance FromJSON CampaignLimits where- parseJSON- = withObject "CampaignLimits"- (\ x ->- CampaignLimits' <$>- (x .:? "Daily") <*> (x .:? "Total"))--instance Hashable CampaignLimits--instance NFData CampaignLimits--instance ToJSON CampaignLimits where- toJSON CampaignLimits'{..}- = object- (catMaybes- [("Daily" .=) <$> _clDaily,- ("Total" .=) <$> _clTotal])---- | /See:/ 'campaignResponse' smart constructor.-data CampaignResponse = CampaignResponse'- { _cState :: !(Maybe CampaignState)- , _cLastModifiedDate :: !(Maybe Text)- , _cSchedule :: !(Maybe Schedule)- , _cTreatmentName :: !(Maybe Text)- , _cLimits :: !(Maybe CampaignLimits)- , _cIsPaused :: !(Maybe Bool)- , _cDefaultState :: !(Maybe CampaignState)- , _cApplicationId :: !(Maybe Text)- , _cName :: !(Maybe Text)- , _cVersion :: !(Maybe Int)- , _cHoldoutPercent :: !(Maybe Int)- , _cTreatmentDescription :: !(Maybe Text)- , _cId :: !(Maybe Text)- , _cCreationDate :: !(Maybe Text)- , _cMessageConfiguration :: !(Maybe MessageConfiguration)- , _cDescription :: !(Maybe Text)- , _cSegmentId :: !(Maybe Text)- , _cAdditionalTreatments :: !(Maybe [TreatmentResource])- , _cSegmentVersion :: !(Maybe Int)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CampaignResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cState' - The campaign status. An A/B test campaign will have a status of COMPLETED only when all treatments have a status of COMPLETED.------ * 'cLastModifiedDate' - The date the campaign was last updated in ISO 8601 format.------ * 'cSchedule' - The campaign schedule.------ * 'cTreatmentName' - The custom name of a variation of the campaign used for A/B testing.------ * 'cLimits' - The campaign limits settings.------ * 'cIsPaused' - Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.------ * 'cDefaultState' - The status of the campaign's default treatment. Only present for A/B test campaigns.------ * 'cApplicationId' - The ID of the application to which the campaign applies.------ * 'cName' - The custom name of the campaign.------ * 'cVersion' - The campaign version number.------ * 'cHoldoutPercent' - The allocated percentage of end users who will not receive messages from this campaign.------ * 'cTreatmentDescription' - A custom description for the treatment.------ * 'cId' - The unique campaign ID.------ * 'cCreationDate' - The date the campaign was created in ISO 8601 format.------ * 'cMessageConfiguration' - The message configuration settings.------ * 'cDescription' - A description of the campaign.------ * 'cSegmentId' - The ID of the segment to which the campaign sends messages.------ * 'cAdditionalTreatments' - Treatments that are defined in addition to the default treatment.------ * 'cSegmentVersion' - The version of the segment to which the campaign sends messages.-campaignResponse- :: CampaignResponse-campaignResponse =- CampaignResponse'- { _cState = Nothing- , _cLastModifiedDate = Nothing- , _cSchedule = Nothing- , _cTreatmentName = Nothing- , _cLimits = Nothing- , _cIsPaused = Nothing- , _cDefaultState = Nothing- , _cApplicationId = Nothing- , _cName = Nothing- , _cVersion = Nothing- , _cHoldoutPercent = Nothing- , _cTreatmentDescription = Nothing- , _cId = Nothing- , _cCreationDate = Nothing- , _cMessageConfiguration = Nothing- , _cDescription = Nothing- , _cSegmentId = Nothing- , _cAdditionalTreatments = Nothing- , _cSegmentVersion = Nothing- }---- | The campaign status. An A/B test campaign will have a status of COMPLETED only when all treatments have a status of COMPLETED.-cState :: Lens' CampaignResponse (Maybe CampaignState)-cState = lens _cState (\ s a -> s{_cState = a});---- | The date the campaign was last updated in ISO 8601 format.-cLastModifiedDate :: Lens' CampaignResponse (Maybe Text)-cLastModifiedDate = lens _cLastModifiedDate (\ s a -> s{_cLastModifiedDate = a});---- | The campaign schedule.-cSchedule :: Lens' CampaignResponse (Maybe Schedule)-cSchedule = lens _cSchedule (\ s a -> s{_cSchedule = a});---- | The custom name of a variation of the campaign used for A/B testing.-cTreatmentName :: Lens' CampaignResponse (Maybe Text)-cTreatmentName = lens _cTreatmentName (\ s a -> s{_cTreatmentName = a});---- | The campaign limits settings.-cLimits :: Lens' CampaignResponse (Maybe CampaignLimits)-cLimits = lens _cLimits (\ s a -> s{_cLimits = a});---- | Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.-cIsPaused :: Lens' CampaignResponse (Maybe Bool)-cIsPaused = lens _cIsPaused (\ s a -> s{_cIsPaused = a});---- | The status of the campaign's default treatment. Only present for A/B test campaigns.-cDefaultState :: Lens' CampaignResponse (Maybe CampaignState)-cDefaultState = lens _cDefaultState (\ s a -> s{_cDefaultState = a});---- | The ID of the application to which the campaign applies.-cApplicationId :: Lens' CampaignResponse (Maybe Text)-cApplicationId = lens _cApplicationId (\ s a -> s{_cApplicationId = a});---- | The custom name of the campaign.-cName :: Lens' CampaignResponse (Maybe Text)-cName = lens _cName (\ s a -> s{_cName = a});---- | The campaign version number.-cVersion :: Lens' CampaignResponse (Maybe Int)-cVersion = lens _cVersion (\ s a -> s{_cVersion = a});---- | The allocated percentage of end users who will not receive messages from this campaign.-cHoldoutPercent :: Lens' CampaignResponse (Maybe Int)-cHoldoutPercent = lens _cHoldoutPercent (\ s a -> s{_cHoldoutPercent = a});---- | A custom description for the treatment.-cTreatmentDescription :: Lens' CampaignResponse (Maybe Text)-cTreatmentDescription = lens _cTreatmentDescription (\ s a -> s{_cTreatmentDescription = a});---- | The unique campaign ID.-cId :: Lens' CampaignResponse (Maybe Text)-cId = lens _cId (\ s a -> s{_cId = a});---- | The date the campaign was created in ISO 8601 format.-cCreationDate :: Lens' CampaignResponse (Maybe Text)-cCreationDate = lens _cCreationDate (\ s a -> s{_cCreationDate = a});---- | The message configuration settings.-cMessageConfiguration :: Lens' CampaignResponse (Maybe MessageConfiguration)-cMessageConfiguration = lens _cMessageConfiguration (\ s a -> s{_cMessageConfiguration = a});---- | A description of the campaign.-cDescription :: Lens' CampaignResponse (Maybe Text)-cDescription = lens _cDescription (\ s a -> s{_cDescription = a});---- | The ID of the segment to which the campaign sends messages.-cSegmentId :: Lens' CampaignResponse (Maybe Text)-cSegmentId = lens _cSegmentId (\ s a -> s{_cSegmentId = a});---- | Treatments that are defined in addition to the default treatment.-cAdditionalTreatments :: Lens' CampaignResponse [TreatmentResource]-cAdditionalTreatments = lens _cAdditionalTreatments (\ s a -> s{_cAdditionalTreatments = a}) . _Default . _Coerce;---- | The version of the segment to which the campaign sends messages.-cSegmentVersion :: Lens' CampaignResponse (Maybe Int)-cSegmentVersion = lens _cSegmentVersion (\ s a -> s{_cSegmentVersion = a});--instance FromJSON CampaignResponse where- parseJSON- = withObject "CampaignResponse"- (\ x ->- CampaignResponse' <$>- (x .:? "State") <*> (x .:? "LastModifiedDate") <*>- (x .:? "Schedule")- <*> (x .:? "TreatmentName")- <*> (x .:? "Limits")- <*> (x .:? "IsPaused")- <*> (x .:? "DefaultState")- <*> (x .:? "ApplicationId")- <*> (x .:? "Name")- <*> (x .:? "Version")- <*> (x .:? "HoldoutPercent")- <*> (x .:? "TreatmentDescription")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "MessageConfiguration")- <*> (x .:? "Description")- <*> (x .:? "SegmentId")- <*> (x .:? "AdditionalTreatments" .!= mempty)- <*> (x .:? "SegmentVersion"))--instance Hashable CampaignResponse--instance NFData CampaignResponse---- | /See:/ 'campaignState' smart constructor.-newtype CampaignState = CampaignState'- { _csCampaignStatus :: Maybe CampaignStatus- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CampaignState' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csCampaignStatus' - The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED-campaignState- :: CampaignState-campaignState =- CampaignState'- { _csCampaignStatus = Nothing- }---- | The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED-csCampaignStatus :: Lens' CampaignState (Maybe CampaignStatus)-csCampaignStatus = lens _csCampaignStatus (\ s a -> s{_csCampaignStatus = a});--instance FromJSON CampaignState where- parseJSON- = withObject "CampaignState"- (\ x -> CampaignState' <$> (x .:? "CampaignStatus"))--instance Hashable CampaignState--instance NFData CampaignState---- | /See:/ 'campaignsResponse' smart constructor.-data CampaignsResponse = CampaignsResponse'- { _cNextToken :: !(Maybe Text)- , _cItem :: !(Maybe [CampaignResponse])- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CampaignsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cNextToken' - The string that you use in a subsequent request to get the next page of results in a paginated response.------ * 'cItem' - A list of campaigns.-campaignsResponse- :: CampaignsResponse-campaignsResponse =- CampaignsResponse'- { _cNextToken = Nothing- , _cItem = Nothing- }---- | The string that you use in a subsequent request to get the next page of results in a paginated response.-cNextToken :: Lens' CampaignsResponse (Maybe Text)-cNextToken = lens _cNextToken (\ s a -> s{_cNextToken = a});---- | A list of campaigns.-cItem :: Lens' CampaignsResponse [CampaignResponse]-cItem = lens _cItem (\ s a -> s{_cItem = a}) . _Default . _Coerce;--instance FromJSON CampaignsResponse where- parseJSON- = withObject "CampaignsResponse"- (\ x ->- CampaignsResponse' <$>- (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))--instance Hashable CampaignsResponse--instance NFData CampaignsResponse---- | /See:/ 'endpointBatchItem' smart constructor.-data EndpointBatchItem = EndpointBatchItem'- { _ebiRequestId :: !(Maybe Text)- , _ebiMetrics :: !(Maybe (Map Text Double))- , _ebiLocation :: !(Maybe EndpointLocation)- , _ebiDemographic :: !(Maybe EndpointDemographic)- , _ebiAddress :: !(Maybe Text)- , _ebiEffectiveDate :: !(Maybe Text)- , _ebiUser :: !(Maybe EndpointUser)- , _ebiAttributes :: !(Maybe (Map Text [Text]))- , _ebiEndpointStatus :: !(Maybe Text)- , _ebiOptOut :: !(Maybe Text)- , _ebiId :: !(Maybe Text)- , _ebiChannelType :: !(Maybe ChannelType)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointBatchItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ebiRequestId' - The unique ID for the most recent request to update the endpoint.------ * 'ebiMetrics' - Custom metrics that your app reports to Amazon Pinpoint.------ * 'ebiLocation' - The endpoint location attributes.------ * 'ebiDemographic' - The endpoint demographic attributes.------ * 'ebiAddress' - The address or token of the endpoint.------ * 'ebiEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.------ * 'ebiUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.------ * 'ebiAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.------ * 'ebiEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.------ * 'ebiOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.------ * 'ebiId' - Undocumented member.------ * 'ebiChannelType' - The channel type. Valid values: APNS, GCM-endpointBatchItem- :: EndpointBatchItem-endpointBatchItem =- EndpointBatchItem'- { _ebiRequestId = Nothing- , _ebiMetrics = Nothing- , _ebiLocation = Nothing- , _ebiDemographic = Nothing- , _ebiAddress = Nothing- , _ebiEffectiveDate = Nothing- , _ebiUser = Nothing- , _ebiAttributes = Nothing- , _ebiEndpointStatus = Nothing- , _ebiOptOut = Nothing- , _ebiId = Nothing- , _ebiChannelType = Nothing- }---- | The unique ID for the most recent request to update the endpoint.-ebiRequestId :: Lens' EndpointBatchItem (Maybe Text)-ebiRequestId = lens _ebiRequestId (\ s a -> s{_ebiRequestId = a});---- | Custom metrics that your app reports to Amazon Pinpoint.-ebiMetrics :: Lens' EndpointBatchItem (HashMap Text Double)-ebiMetrics = lens _ebiMetrics (\ s a -> s{_ebiMetrics = a}) . _Default . _Map;---- | The endpoint location attributes.-ebiLocation :: Lens' EndpointBatchItem (Maybe EndpointLocation)-ebiLocation = lens _ebiLocation (\ s a -> s{_ebiLocation = a});---- | The endpoint demographic attributes.-ebiDemographic :: Lens' EndpointBatchItem (Maybe EndpointDemographic)-ebiDemographic = lens _ebiDemographic (\ s a -> s{_ebiDemographic = a});---- | The address or token of the endpoint.-ebiAddress :: Lens' EndpointBatchItem (Maybe Text)-ebiAddress = lens _ebiAddress (\ s a -> s{_ebiAddress = a});---- | The last time the endpoint was updated. Provided in ISO 8601 format.-ebiEffectiveDate :: Lens' EndpointBatchItem (Maybe Text)-ebiEffectiveDate = lens _ebiEffectiveDate (\ s a -> s{_ebiEffectiveDate = a});---- | Custom user-specific attributes that your app reports to Amazon Pinpoint.-ebiUser :: Lens' EndpointBatchItem (Maybe EndpointUser)-ebiUser = lens _ebiUser (\ s a -> s{_ebiUser = a});---- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.-ebiAttributes :: Lens' EndpointBatchItem (HashMap Text [Text])-ebiAttributes = lens _ebiAttributes (\ s a -> s{_ebiAttributes = a}) . _Default . _Map;---- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.-ebiEndpointStatus :: Lens' EndpointBatchItem (Maybe Text)-ebiEndpointStatus = lens _ebiEndpointStatus (\ s a -> s{_ebiEndpointStatus = a});---- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.-ebiOptOut :: Lens' EndpointBatchItem (Maybe Text)-ebiOptOut = lens _ebiOptOut (\ s a -> s{_ebiOptOut = a});---- | Undocumented member.-ebiId :: Lens' EndpointBatchItem (Maybe Text)-ebiId = lens _ebiId (\ s a -> s{_ebiId = a});---- | The channel type. Valid values: APNS, GCM-ebiChannelType :: Lens' EndpointBatchItem (Maybe ChannelType)-ebiChannelType = lens _ebiChannelType (\ s a -> s{_ebiChannelType = a});--instance Hashable EndpointBatchItem--instance NFData EndpointBatchItem--instance ToJSON EndpointBatchItem where- toJSON EndpointBatchItem'{..}- = object- (catMaybes- [("RequestId" .=) <$> _ebiRequestId,- ("Metrics" .=) <$> _ebiMetrics,- ("Location" .=) <$> _ebiLocation,- ("Demographic" .=) <$> _ebiDemographic,- ("Address" .=) <$> _ebiAddress,- ("EffectiveDate" .=) <$> _ebiEffectiveDate,- ("User" .=) <$> _ebiUser,- ("Attributes" .=) <$> _ebiAttributes,- ("EndpointStatus" .=) <$> _ebiEndpointStatus,- ("OptOut" .=) <$> _ebiOptOut, ("Id" .=) <$> _ebiId,- ("ChannelType" .=) <$> _ebiChannelType])---- | /See:/ 'endpointBatchRequest' smart constructor.-newtype EndpointBatchRequest = EndpointBatchRequest'- { _ebrItem :: Maybe [EndpointBatchItem]- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointBatchRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ebrItem' - List of items to update. Maximum 100 items-endpointBatchRequest- :: EndpointBatchRequest-endpointBatchRequest =- EndpointBatchRequest'- { _ebrItem = Nothing- }---- | List of items to update. Maximum 100 items-ebrItem :: Lens' EndpointBatchRequest [EndpointBatchItem]-ebrItem = lens _ebrItem (\ s a -> s{_ebrItem = a}) . _Default . _Coerce;--instance Hashable EndpointBatchRequest--instance NFData EndpointBatchRequest--instance ToJSON EndpointBatchRequest where- toJSON EndpointBatchRequest'{..}- = object (catMaybes [("Item" .=) <$> _ebrItem])---- | /See:/ 'endpointDemographic' smart constructor.-data EndpointDemographic = EndpointDemographic'- { _edPlatform :: !(Maybe Text)- , _edPlatformVersion :: !(Maybe Text)- , _edLocale :: !(Maybe Text)- , _edAppVersion :: !(Maybe Text)- , _edModel :: !(Maybe Text)- , _edMake :: !(Maybe Text)- , _edModelVersion :: !(Maybe Text)- , _edTimezone :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointDemographic' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'edPlatform' - The endpoint platform, such as ios or android.------ * 'edPlatformVersion' - The endpoint platform version.------ * 'edLocale' - The endpoint locale in the following format: The ISO 639-1 alpha-2 code, followed by an underscore, followed by an ISO 3166-1 alpha-2 value.------ * 'edAppVersion' - The version of the application associated with the endpoint.------ * 'edModel' - The endpoint model, such as iPhone.------ * 'edMake' - The endpoint make, such as such as Apple or Samsung.------ * 'edModelVersion' - The endpoint model version.------ * 'edTimezone' - The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles.-endpointDemographic- :: EndpointDemographic-endpointDemographic =- EndpointDemographic'- { _edPlatform = Nothing- , _edPlatformVersion = Nothing- , _edLocale = Nothing- , _edAppVersion = Nothing- , _edModel = Nothing- , _edMake = Nothing- , _edModelVersion = Nothing- , _edTimezone = Nothing- }---- | The endpoint platform, such as ios or android.-edPlatform :: Lens' EndpointDemographic (Maybe Text)-edPlatform = lens _edPlatform (\ s a -> s{_edPlatform = a});---- | The endpoint platform version.-edPlatformVersion :: Lens' EndpointDemographic (Maybe Text)-edPlatformVersion = lens _edPlatformVersion (\ s a -> s{_edPlatformVersion = a});---- | The endpoint locale in the following format: The ISO 639-1 alpha-2 code, followed by an underscore, followed by an ISO 3166-1 alpha-2 value.-edLocale :: Lens' EndpointDemographic (Maybe Text)-edLocale = lens _edLocale (\ s a -> s{_edLocale = a});---- | The version of the application associated with the endpoint.-edAppVersion :: Lens' EndpointDemographic (Maybe Text)-edAppVersion = lens _edAppVersion (\ s a -> s{_edAppVersion = a});---- | The endpoint model, such as iPhone.-edModel :: Lens' EndpointDemographic (Maybe Text)-edModel = lens _edModel (\ s a -> s{_edModel = a});---- | The endpoint make, such as such as Apple or Samsung.-edMake :: Lens' EndpointDemographic (Maybe Text)-edMake = lens _edMake (\ s a -> s{_edMake = a});---- | The endpoint model version.-edModelVersion :: Lens' EndpointDemographic (Maybe Text)-edModelVersion = lens _edModelVersion (\ s a -> s{_edModelVersion = a});---- | The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles.-edTimezone :: Lens' EndpointDemographic (Maybe Text)-edTimezone = lens _edTimezone (\ s a -> s{_edTimezone = a});--instance FromJSON EndpointDemographic where- parseJSON- = withObject "EndpointDemographic"- (\ x ->- EndpointDemographic' <$>- (x .:? "Platform") <*> (x .:? "PlatformVersion") <*>- (x .:? "Locale")- <*> (x .:? "AppVersion")- <*> (x .:? "Model")- <*> (x .:? "Make")- <*> (x .:? "ModelVersion")- <*> (x .:? "Timezone"))--instance Hashable EndpointDemographic--instance NFData EndpointDemographic--instance ToJSON EndpointDemographic where- toJSON EndpointDemographic'{..}- = object- (catMaybes- [("Platform" .=) <$> _edPlatform,- ("PlatformVersion" .=) <$> _edPlatformVersion,- ("Locale" .=) <$> _edLocale,- ("AppVersion" .=) <$> _edAppVersion,- ("Model" .=) <$> _edModel, ("Make" .=) <$> _edMake,- ("ModelVersion" .=) <$> _edModelVersion,- ("Timezone" .=) <$> _edTimezone])---- | /See:/ 'endpointLocation' smart constructor.-data EndpointLocation = EndpointLocation'- { _elPostalCode :: !(Maybe Text)- , _elLatitude :: !(Maybe Double)- , _elCountry :: !(Maybe Text)- , _elCity :: !(Maybe Text)- , _elRegion :: !(Maybe Text)- , _elLongitude :: !(Maybe Double)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'elPostalCode' - The postal code or zip code of the endpoint.------ * 'elLatitude' - The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).------ * 'elCountry' - Country according to ISO 3166-1 Alpha-2 codes. For example, US.------ * 'elCity' - The city where the endpoint is located.------ * 'elRegion' - The region of the endpoint location. For example, corresponds to a state in US.------ * 'elLongitude' - The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).-endpointLocation- :: EndpointLocation-endpointLocation =- EndpointLocation'- { _elPostalCode = Nothing- , _elLatitude = Nothing- , _elCountry = Nothing- , _elCity = Nothing- , _elRegion = Nothing- , _elLongitude = Nothing- }---- | The postal code or zip code of the endpoint.-elPostalCode :: Lens' EndpointLocation (Maybe Text)-elPostalCode = lens _elPostalCode (\ s a -> s{_elPostalCode = a});---- | The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).-elLatitude :: Lens' EndpointLocation (Maybe Double)-elLatitude = lens _elLatitude (\ s a -> s{_elLatitude = a});---- | Country according to ISO 3166-1 Alpha-2 codes. For example, US.-elCountry :: Lens' EndpointLocation (Maybe Text)-elCountry = lens _elCountry (\ s a -> s{_elCountry = a});---- | The city where the endpoint is located.-elCity :: Lens' EndpointLocation (Maybe Text)-elCity = lens _elCity (\ s a -> s{_elCity = a});---- | The region of the endpoint location. For example, corresponds to a state in US.-elRegion :: Lens' EndpointLocation (Maybe Text)-elRegion = lens _elRegion (\ s a -> s{_elRegion = a});---- | The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).-elLongitude :: Lens' EndpointLocation (Maybe Double)-elLongitude = lens _elLongitude (\ s a -> s{_elLongitude = a});--instance FromJSON EndpointLocation where- parseJSON- = withObject "EndpointLocation"- (\ x ->- EndpointLocation' <$>- (x .:? "PostalCode") <*> (x .:? "Latitude") <*>- (x .:? "Country")- <*> (x .:? "City")- <*> (x .:? "Region")- <*> (x .:? "Longitude"))--instance Hashable EndpointLocation--instance NFData EndpointLocation--instance ToJSON EndpointLocation where- toJSON EndpointLocation'{..}- = object- (catMaybes- [("PostalCode" .=) <$> _elPostalCode,- ("Latitude" .=) <$> _elLatitude,- ("Country" .=) <$> _elCountry,- ("City" .=) <$> _elCity, ("Region" .=) <$> _elRegion,- ("Longitude" .=) <$> _elLongitude])---- | /See:/ 'endpointRequest' smart constructor.-data EndpointRequest = EndpointRequest'- { _erRequestId :: !(Maybe Text)- , _erMetrics :: !(Maybe (Map Text Double))- , _erLocation :: !(Maybe EndpointLocation)- , _erDemographic :: !(Maybe EndpointDemographic)- , _erAddress :: !(Maybe Text)- , _erEffectiveDate :: !(Maybe Text)- , _erUser :: !(Maybe EndpointUser)- , _erAttributes :: !(Maybe (Map Text [Text]))- , _erEndpointStatus :: !(Maybe Text)- , _erOptOut :: !(Maybe Text)- , _erChannelType :: !(Maybe ChannelType)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'erRequestId' - The unique ID for the most recent request to update the endpoint.------ * 'erMetrics' - Custom metrics that your app reports to Amazon Pinpoint.------ * 'erLocation' - The endpoint location attributes.------ * 'erDemographic' - The endpoint demographic attributes.------ * 'erAddress' - The address or token of the endpoint.------ * 'erEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.------ * 'erUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.------ * 'erAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.------ * 'erEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.------ * 'erOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.------ * 'erChannelType' - The channel type. Valid values: APNS, GCM-endpointRequest- :: EndpointRequest-endpointRequest =- EndpointRequest'- { _erRequestId = Nothing- , _erMetrics = Nothing- , _erLocation = Nothing- , _erDemographic = Nothing- , _erAddress = Nothing- , _erEffectiveDate = Nothing- , _erUser = Nothing- , _erAttributes = Nothing- , _erEndpointStatus = Nothing- , _erOptOut = Nothing- , _erChannelType = Nothing- }---- | The unique ID for the most recent request to update the endpoint.-erRequestId :: Lens' EndpointRequest (Maybe Text)-erRequestId = lens _erRequestId (\ s a -> s{_erRequestId = a});---- | Custom metrics that your app reports to Amazon Pinpoint.-erMetrics :: Lens' EndpointRequest (HashMap Text Double)-erMetrics = lens _erMetrics (\ s a -> s{_erMetrics = a}) . _Default . _Map;---- | The endpoint location attributes.-erLocation :: Lens' EndpointRequest (Maybe EndpointLocation)-erLocation = lens _erLocation (\ s a -> s{_erLocation = a});---- | The endpoint demographic attributes.-erDemographic :: Lens' EndpointRequest (Maybe EndpointDemographic)-erDemographic = lens _erDemographic (\ s a -> s{_erDemographic = a});---- | The address or token of the endpoint.-erAddress :: Lens' EndpointRequest (Maybe Text)-erAddress = lens _erAddress (\ s a -> s{_erAddress = a});---- | The last time the endpoint was updated. Provided in ISO 8601 format.-erEffectiveDate :: Lens' EndpointRequest (Maybe Text)-erEffectiveDate = lens _erEffectiveDate (\ s a -> s{_erEffectiveDate = a});---- | Custom user-specific attributes that your app reports to Amazon Pinpoint.-erUser :: Lens' EndpointRequest (Maybe EndpointUser)-erUser = lens _erUser (\ s a -> s{_erUser = a});---- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.-erAttributes :: Lens' EndpointRequest (HashMap Text [Text])-erAttributes = lens _erAttributes (\ s a -> s{_erAttributes = a}) . _Default . _Map;---- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.-erEndpointStatus :: Lens' EndpointRequest (Maybe Text)-erEndpointStatus = lens _erEndpointStatus (\ s a -> s{_erEndpointStatus = a});---- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.-erOptOut :: Lens' EndpointRequest (Maybe Text)-erOptOut = lens _erOptOut (\ s a -> s{_erOptOut = a});---- | The channel type. Valid values: APNS, GCM-erChannelType :: Lens' EndpointRequest (Maybe ChannelType)-erChannelType = lens _erChannelType (\ s a -> s{_erChannelType = a});--instance Hashable EndpointRequest--instance NFData EndpointRequest--instance ToJSON EndpointRequest where- toJSON EndpointRequest'{..}- = object- (catMaybes- [("RequestId" .=) <$> _erRequestId,- ("Metrics" .=) <$> _erMetrics,- ("Location" .=) <$> _erLocation,- ("Demographic" .=) <$> _erDemographic,- ("Address" .=) <$> _erAddress,- ("EffectiveDate" .=) <$> _erEffectiveDate,- ("User" .=) <$> _erUser,- ("Attributes" .=) <$> _erAttributes,- ("EndpointStatus" .=) <$> _erEndpointStatus,- ("OptOut" .=) <$> _erOptOut,- ("ChannelType" .=) <$> _erChannelType])---- | /See:/ 'endpointResponse' smart constructor.-data EndpointResponse = EndpointResponse'- { _eRequestId :: !(Maybe Text)- , _eMetrics :: !(Maybe (Map Text Double))- , _eLocation :: !(Maybe EndpointLocation)- , _eDemographic :: !(Maybe EndpointDemographic)- , _eCohortId :: !(Maybe Text)- , _eAddress :: !(Maybe Text)- , _eEffectiveDate :: !(Maybe Text)- , _eUser :: !(Maybe EndpointUser)- , _eApplicationId :: !(Maybe Text)- , _eAttributes :: !(Maybe (Map Text [Text]))- , _eEndpointStatus :: !(Maybe Text)- , _eOptOut :: !(Maybe Text)- , _eId :: !(Maybe Text)- , _eCreationDate :: !(Maybe Text)- , _eChannelType :: !(Maybe ChannelType)- , _eShardId :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eRequestId' - The unique ID for the most recent request to update the endpoint.------ * 'eMetrics' - Custom metrics that your app reports to Amazon Pinpoint.------ * 'eLocation' - The endpoint location attributes.------ * 'eDemographic' - The endpoint demographic attributes.------ * 'eCohortId' - A number from 0 - 99 that represents the cohort the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for a campaign.------ * 'eAddress' - The address or token of the endpoint.------ * 'eEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.------ * 'eUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.------ * 'eApplicationId' - The ID of the application associated with the endpoint.------ * 'eAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.------ * 'eEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.------ * 'eOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.------ * 'eId' - The unique ID that you assigned to the endpoint. The ID should be a globally unique identifier (GUID) to ensure that it is unique compared to all other endpoints for the application.------ * 'eCreationDate' - The last time the endpoint was created. Provided in ISO 8601 format.------ * 'eChannelType' - The channel type. Valid values: APNS, GCM------ * 'eShardId' - The ShardId of endpoint-endpointResponse- :: EndpointResponse-endpointResponse =- EndpointResponse'- { _eRequestId = Nothing- , _eMetrics = Nothing- , _eLocation = Nothing- , _eDemographic = Nothing- , _eCohortId = Nothing- , _eAddress = Nothing- , _eEffectiveDate = Nothing- , _eUser = Nothing- , _eApplicationId = Nothing- , _eAttributes = Nothing- , _eEndpointStatus = Nothing- , _eOptOut = Nothing- , _eId = Nothing- , _eCreationDate = Nothing- , _eChannelType = Nothing- , _eShardId = Nothing- }---- | The unique ID for the most recent request to update the endpoint.-eRequestId :: Lens' EndpointResponse (Maybe Text)-eRequestId = lens _eRequestId (\ s a -> s{_eRequestId = a});---- | Custom metrics that your app reports to Amazon Pinpoint.-eMetrics :: Lens' EndpointResponse (HashMap Text Double)-eMetrics = lens _eMetrics (\ s a -> s{_eMetrics = a}) . _Default . _Map;---- | The endpoint location attributes.-eLocation :: Lens' EndpointResponse (Maybe EndpointLocation)-eLocation = lens _eLocation (\ s a -> s{_eLocation = a});---- | The endpoint demographic attributes.-eDemographic :: Lens' EndpointResponse (Maybe EndpointDemographic)-eDemographic = lens _eDemographic (\ s a -> s{_eDemographic = a});---- | A number from 0 - 99 that represents the cohort the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for a campaign.-eCohortId :: Lens' EndpointResponse (Maybe Text)-eCohortId = lens _eCohortId (\ s a -> s{_eCohortId = a});---- | The address or token of the endpoint.-eAddress :: Lens' EndpointResponse (Maybe Text)-eAddress = lens _eAddress (\ s a -> s{_eAddress = a});---- | The last time the endpoint was updated. Provided in ISO 8601 format.-eEffectiveDate :: Lens' EndpointResponse (Maybe Text)-eEffectiveDate = lens _eEffectiveDate (\ s a -> s{_eEffectiveDate = a});---- | Custom user-specific attributes that your app reports to Amazon Pinpoint.-eUser :: Lens' EndpointResponse (Maybe EndpointUser)-eUser = lens _eUser (\ s a -> s{_eUser = a});---- | The ID of the application associated with the endpoint.-eApplicationId :: Lens' EndpointResponse (Maybe Text)-eApplicationId = lens _eApplicationId (\ s a -> s{_eApplicationId = a});---- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.-eAttributes :: Lens' EndpointResponse (HashMap Text [Text])-eAttributes = lens _eAttributes (\ s a -> s{_eAttributes = a}) . _Default . _Map;---- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.-eEndpointStatus :: Lens' EndpointResponse (Maybe Text)-eEndpointStatus = lens _eEndpointStatus (\ s a -> s{_eEndpointStatus = a});---- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL – User receives all messages. NONE – User receives no messages.-eOptOut :: Lens' EndpointResponse (Maybe Text)-eOptOut = lens _eOptOut (\ s a -> s{_eOptOut = a});---- | The unique ID that you assigned to the endpoint. The ID should be a globally unique identifier (GUID) to ensure that it is unique compared to all other endpoints for the application.-eId :: Lens' EndpointResponse (Maybe Text)-eId = lens _eId (\ s a -> s{_eId = a});---- | The last time the endpoint was created. Provided in ISO 8601 format.-eCreationDate :: Lens' EndpointResponse (Maybe Text)-eCreationDate = lens _eCreationDate (\ s a -> s{_eCreationDate = a});---- | The channel type. Valid values: APNS, GCM-eChannelType :: Lens' EndpointResponse (Maybe ChannelType)-eChannelType = lens _eChannelType (\ s a -> s{_eChannelType = a});---- | The ShardId of endpoint-eShardId :: Lens' EndpointResponse (Maybe Text)-eShardId = lens _eShardId (\ s a -> s{_eShardId = a});--instance FromJSON EndpointResponse where- parseJSON- = withObject "EndpointResponse"- (\ x ->- EndpointResponse' <$>- (x .:? "RequestId") <*> (x .:? "Metrics" .!= mempty)- <*> (x .:? "Location")- <*> (x .:? "Demographic")- <*> (x .:? "CohortId")- <*> (x .:? "Address")- <*> (x .:? "EffectiveDate")- <*> (x .:? "User")- <*> (x .:? "ApplicationId")- <*> (x .:? "Attributes" .!= mempty)- <*> (x .:? "EndpointStatus")- <*> (x .:? "OptOut")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "ChannelType")- <*> (x .:? "ShardId"))--instance Hashable EndpointResponse--instance NFData EndpointResponse---- | /See:/ 'endpointUser' smart constructor.-data EndpointUser = EndpointUser'- { _euUserAttributes :: !(Maybe (Map Text [Text]))- , _euUserId :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EndpointUser' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'euUserAttributes' - Custom attributesd specific to the user.------ * 'euUserId' - The unique ID of the user.-endpointUser- :: EndpointUser-endpointUser =- EndpointUser'- { _euUserAttributes = Nothing- , _euUserId = Nothing- }---- | Custom attributesd specific to the user.-euUserAttributes :: Lens' EndpointUser (HashMap Text [Text])-euUserAttributes = lens _euUserAttributes (\ s a -> s{_euUserAttributes = a}) . _Default . _Map;---- | The unique ID of the user.-euUserId :: Lens' EndpointUser (Maybe Text)-euUserId = lens _euUserId (\ s a -> s{_euUserId = a});--instance FromJSON EndpointUser where- parseJSON- = withObject "EndpointUser"- (\ x ->- EndpointUser' <$>- (x .:? "UserAttributes" .!= mempty) <*>- (x .:? "UserId"))--instance Hashable EndpointUser--instance NFData EndpointUser--instance ToJSON EndpointUser where- toJSON EndpointUser'{..}- = object- (catMaybes- [("UserAttributes" .=) <$> _euUserAttributes,- ("UserId" .=) <$> _euUserId])---- | /See:/ 'gcmChannelRequest' smart constructor.-newtype GCMChannelRequest = GCMChannelRequest'- { _gcrAPIKey :: Maybe Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'GCMChannelRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gcrAPIKey' - Platform credential API key from Google.-gcmChannelRequest- :: GCMChannelRequest-gcmChannelRequest =- GCMChannelRequest'- { _gcrAPIKey = Nothing- }---- | Platform credential API key from Google.-gcrAPIKey :: Lens' GCMChannelRequest (Maybe Text)-gcrAPIKey = lens _gcrAPIKey (\ s a -> s{_gcrAPIKey = a});--instance Hashable GCMChannelRequest--instance NFData GCMChannelRequest--instance ToJSON GCMChannelRequest where- toJSON GCMChannelRequest'{..}- = object (catMaybes [("ApiKey" .=) <$> _gcrAPIKey])---- | /See:/ 'gcmChannelResponse' smart constructor.-data GCMChannelResponse = GCMChannelResponse'- { _gcPlatform :: !(Maybe Text)- , _gcLastModifiedDate :: !(Maybe Text)- , _gcCredential :: !(Maybe Text)- , _gcIsArchived :: !(Maybe Bool)- , _gcApplicationId :: !(Maybe Text)- , _gcVersion :: !(Maybe Int)- , _gcId :: !(Maybe Text)- , _gcCreationDate :: !(Maybe Text)- , _gcLastModifiedBy :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'GCMChannelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gcPlatform' - The platform type. Will be GCM------ * 'gcLastModifiedDate' - Last date this was updated------ * 'gcCredential' - The GCM API key from Google.------ * 'gcIsArchived' - Is this channel archived------ * 'gcApplicationId' - Undocumented member.------ * 'gcVersion' - Version of channel------ * 'gcId' - Undocumented member.------ * 'gcCreationDate' - When was this segment created------ * 'gcLastModifiedBy' - Who last updated this entry-gcmChannelResponse- :: GCMChannelResponse-gcmChannelResponse =- GCMChannelResponse'- { _gcPlatform = Nothing- , _gcLastModifiedDate = Nothing- , _gcCredential = Nothing- , _gcIsArchived = Nothing- , _gcApplicationId = Nothing- , _gcVersion = Nothing- , _gcId = Nothing- , _gcCreationDate = Nothing- , _gcLastModifiedBy = Nothing- }---- | The platform type. Will be GCM-gcPlatform :: Lens' GCMChannelResponse (Maybe Text)-gcPlatform = lens _gcPlatform (\ s a -> s{_gcPlatform = a});---- | Last date this was updated-gcLastModifiedDate :: Lens' GCMChannelResponse (Maybe Text)-gcLastModifiedDate = lens _gcLastModifiedDate (\ s a -> s{_gcLastModifiedDate = a});---- | The GCM API key from Google.-gcCredential :: Lens' GCMChannelResponse (Maybe Text)-gcCredential = lens _gcCredential (\ s a -> s{_gcCredential = a});---- | Is this channel archived-gcIsArchived :: Lens' GCMChannelResponse (Maybe Bool)-gcIsArchived = lens _gcIsArchived (\ s a -> s{_gcIsArchived = a});---- | Undocumented member.-gcApplicationId :: Lens' GCMChannelResponse (Maybe Text)-gcApplicationId = lens _gcApplicationId (\ s a -> s{_gcApplicationId = a});---- | Version of channel-gcVersion :: Lens' GCMChannelResponse (Maybe Int)-gcVersion = lens _gcVersion (\ s a -> s{_gcVersion = a});---- | Undocumented member.-gcId :: Lens' GCMChannelResponse (Maybe Text)-gcId = lens _gcId (\ s a -> s{_gcId = a});---- | When was this segment created-gcCreationDate :: Lens' GCMChannelResponse (Maybe Text)-gcCreationDate = lens _gcCreationDate (\ s a -> s{_gcCreationDate = a});---- | Who last updated this entry-gcLastModifiedBy :: Lens' GCMChannelResponse (Maybe Text)-gcLastModifiedBy = lens _gcLastModifiedBy (\ s a -> s{_gcLastModifiedBy = a});--instance FromJSON GCMChannelResponse where- parseJSON- = withObject "GCMChannelResponse"- (\ x ->- GCMChannelResponse' <$>- (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>- (x .:? "Credential")- <*> (x .:? "IsArchived")- <*> (x .:? "ApplicationId")- <*> (x .:? "Version")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "LastModifiedBy"))--instance Hashable GCMChannelResponse--instance NFData GCMChannelResponse---- | /See:/ 'importJobRequest' smart constructor.-data ImportJobRequest = ImportJobRequest'- { _iSegmentName :: !(Maybe Text)- , _iFormat :: !(Maybe DefinitionFormat)- , _iDefineSegment :: !(Maybe Bool)- , _iRegisterEndpoints :: !(Maybe Bool)- , _iExternalId :: !(Maybe Text)- , _iS3URL :: !(Maybe Text)- , _iSegmentId :: !(Maybe Text)- , _iRoleARN :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ImportJobRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iSegmentName' - A custom name for the segment created by the import job. Use if DefineSegment is true.------ * 'iFormat' - The format of the files that contain the endpoint definitions. Valid values: CSV, JSON------ * 'iDefineSegment' - Sets whether the endpoints create a segment when they are imported.------ * 'iRegisterEndpoints' - Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.------ * 'iExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.------ * 'iS3URL' - A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.------ * 'iSegmentId' - The ID of the segment to update if the import job is meant to update an existing segment.------ * 'iRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.-importJobRequest- :: ImportJobRequest-importJobRequest =- ImportJobRequest'- { _iSegmentName = Nothing- , _iFormat = Nothing- , _iDefineSegment = Nothing- , _iRegisterEndpoints = Nothing- , _iExternalId = Nothing- , _iS3URL = Nothing- , _iSegmentId = Nothing- , _iRoleARN = Nothing- }---- | A custom name for the segment created by the import job. Use if DefineSegment is true.-iSegmentName :: Lens' ImportJobRequest (Maybe Text)-iSegmentName = lens _iSegmentName (\ s a -> s{_iSegmentName = a});---- | The format of the files that contain the endpoint definitions. Valid values: CSV, JSON-iFormat :: Lens' ImportJobRequest (Maybe DefinitionFormat)-iFormat = lens _iFormat (\ s a -> s{_iFormat = a});---- | Sets whether the endpoints create a segment when they are imported.-iDefineSegment :: Lens' ImportJobRequest (Maybe Bool)-iDefineSegment = lens _iDefineSegment (\ s a -> s{_iDefineSegment = a});---- | Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.-iRegisterEndpoints :: Lens' ImportJobRequest (Maybe Bool)-iRegisterEndpoints = lens _iRegisterEndpoints (\ s a -> s{_iRegisterEndpoints = a});---- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.-iExternalId :: Lens' ImportJobRequest (Maybe Text)-iExternalId = lens _iExternalId (\ s a -> s{_iExternalId = a});---- | A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.-iS3URL :: Lens' ImportJobRequest (Maybe Text)-iS3URL = lens _iS3URL (\ s a -> s{_iS3URL = a});---- | The ID of the segment to update if the import job is meant to update an existing segment.-iSegmentId :: Lens' ImportJobRequest (Maybe Text)-iSegmentId = lens _iSegmentId (\ s a -> s{_iSegmentId = a});---- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.-iRoleARN :: Lens' ImportJobRequest (Maybe Text)-iRoleARN = lens _iRoleARN (\ s a -> s{_iRoleARN = a});--instance Hashable ImportJobRequest--instance NFData ImportJobRequest--instance ToJSON ImportJobRequest where- toJSON ImportJobRequest'{..}- = object- (catMaybes- [("SegmentName" .=) <$> _iSegmentName,- ("Format" .=) <$> _iFormat,- ("DefineSegment" .=) <$> _iDefineSegment,- ("RegisterEndpoints" .=) <$> _iRegisterEndpoints,- ("ExternalId" .=) <$> _iExternalId,- ("S3Url" .=) <$> _iS3URL,- ("SegmentId" .=) <$> _iSegmentId,- ("RoleArn" .=) <$> _iRoleARN])---- | /See:/ 'importJobResource' smart constructor.-data ImportJobResource = ImportJobResource'- { _ijrSegmentName :: !(Maybe Text)- , _ijrFormat :: !(Maybe DefinitionFormat)- , _ijrDefineSegment :: !(Maybe Bool)- , _ijrRegisterEndpoints :: !(Maybe Bool)- , _ijrExternalId :: !(Maybe Text)- , _ijrS3URL :: !(Maybe Text)- , _ijrSegmentId :: !(Maybe Text)- , _ijrRoleARN :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ImportJobResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ijrSegmentName' - A custom name for the segment created by the import job. Use if DefineSegment is true.------ * 'ijrFormat' - The format of the files that contain the endpoint definitions. Valid values: CSV, JSON------ * 'ijrDefineSegment' - Sets whether the endpoints create a segment when they are imported.------ * 'ijrRegisterEndpoints' - Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.------ * 'ijrExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.------ * 'ijrS3URL' - A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.------ * 'ijrSegmentId' - The ID of the segment to update if the import job is meant to update an existing segment.------ * 'ijrRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.-importJobResource- :: ImportJobResource-importJobResource =- ImportJobResource'- { _ijrSegmentName = Nothing- , _ijrFormat = Nothing- , _ijrDefineSegment = Nothing- , _ijrRegisterEndpoints = Nothing- , _ijrExternalId = Nothing- , _ijrS3URL = Nothing- , _ijrSegmentId = Nothing- , _ijrRoleARN = Nothing- }---- | A custom name for the segment created by the import job. Use if DefineSegment is true.-ijrSegmentName :: Lens' ImportJobResource (Maybe Text)-ijrSegmentName = lens _ijrSegmentName (\ s a -> s{_ijrSegmentName = a});---- | The format of the files that contain the endpoint definitions. Valid values: CSV, JSON-ijrFormat :: Lens' ImportJobResource (Maybe DefinitionFormat)-ijrFormat = lens _ijrFormat (\ s a -> s{_ijrFormat = a});---- | Sets whether the endpoints create a segment when they are imported.-ijrDefineSegment :: Lens' ImportJobResource (Maybe Bool)-ijrDefineSegment = lens _ijrDefineSegment (\ s a -> s{_ijrDefineSegment = a});---- | Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.-ijrRegisterEndpoints :: Lens' ImportJobResource (Maybe Bool)-ijrRegisterEndpoints = lens _ijrRegisterEndpoints (\ s a -> s{_ijrRegisterEndpoints = a});---- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.-ijrExternalId :: Lens' ImportJobResource (Maybe Text)-ijrExternalId = lens _ijrExternalId (\ s a -> s{_ijrExternalId = a});---- | A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.-ijrS3URL :: Lens' ImportJobResource (Maybe Text)-ijrS3URL = lens _ijrS3URL (\ s a -> s{_ijrS3URL = a});---- | The ID of the segment to update if the import job is meant to update an existing segment.-ijrSegmentId :: Lens' ImportJobResource (Maybe Text)-ijrSegmentId = lens _ijrSegmentId (\ s a -> s{_ijrSegmentId = a});---- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.-ijrRoleARN :: Lens' ImportJobResource (Maybe Text)-ijrRoleARN = lens _ijrRoleARN (\ s a -> s{_ijrRoleARN = a});--instance FromJSON ImportJobResource where- parseJSON- = withObject "ImportJobResource"- (\ x ->- ImportJobResource' <$>- (x .:? "SegmentName") <*> (x .:? "Format") <*>- (x .:? "DefineSegment")- <*> (x .:? "RegisterEndpoints")- <*> (x .:? "ExternalId")- <*> (x .:? "S3Url")- <*> (x .:? "SegmentId")- <*> (x .:? "RoleArn"))--instance Hashable ImportJobResource--instance NFData ImportJobResource---- | /See:/ 'importJobResponse' smart constructor.-data ImportJobResponse = ImportJobResponse'- { _ijCompletedPieces :: !(Maybe Int)- , _ijFailedPieces :: !(Maybe Int)- , _ijDefinition :: !(Maybe ImportJobResource)- , _ijTotalProcessed :: !(Maybe Int)- , _ijFailures :: !(Maybe [Text])- , _ijTotalPieces :: !(Maybe Int)- , _ijApplicationId :: !(Maybe Text)- , _ijId :: !(Maybe Text)- , _ijCreationDate :: !(Maybe Text)- , _ijType :: !(Maybe Text)- , _ijCompletionDate :: !(Maybe Text)- , _ijJobStatus :: !(Maybe JobStatus)- , _ijTotalFailures :: !(Maybe Int)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ImportJobResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ijCompletedPieces' - The number of pieces that have successfully imported as of the time of the request.------ * 'ijFailedPieces' - The number of pieces that have failed to import as of the time of the request.------ * 'ijDefinition' - The import job settings.------ * 'ijTotalProcessed' - The number of endpoints that were processed by the import job.------ * 'ijFailures' - Provides up to 100 of the first failed entries for the job, if any exist.------ * 'ijTotalPieces' - The total number of pieces that must be imported to finish the job. Each piece is an approximately equal portion of the endpoints to import.------ * 'ijApplicationId' - The unique ID of the application to which the import job applies.------ * 'ijId' - The unique ID of the import job.------ * 'ijCreationDate' - The date the import job was created in ISO 8601 format.------ * 'ijType' - The job type. Will be Import.------ * 'ijCompletionDate' - The date the import job completed in ISO 8601 format.------ * 'ijJobStatus' - The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED The job status is FAILED if one or more pieces failed to import.------ * 'ijTotalFailures' - The number of endpoints that failed to import; for example, because of syntax errors.-importJobResponse- :: ImportJobResponse-importJobResponse =- ImportJobResponse'- { _ijCompletedPieces = Nothing- , _ijFailedPieces = Nothing- , _ijDefinition = Nothing- , _ijTotalProcessed = Nothing- , _ijFailures = Nothing- , _ijTotalPieces = Nothing- , _ijApplicationId = Nothing- , _ijId = Nothing- , _ijCreationDate = Nothing- , _ijType = Nothing- , _ijCompletionDate = Nothing- , _ijJobStatus = Nothing- , _ijTotalFailures = Nothing- }---- | The number of pieces that have successfully imported as of the time of the request.-ijCompletedPieces :: Lens' ImportJobResponse (Maybe Int)-ijCompletedPieces = lens _ijCompletedPieces (\ s a -> s{_ijCompletedPieces = a});---- | The number of pieces that have failed to import as of the time of the request.-ijFailedPieces :: Lens' ImportJobResponse (Maybe Int)-ijFailedPieces = lens _ijFailedPieces (\ s a -> s{_ijFailedPieces = a});---- | The import job settings.-ijDefinition :: Lens' ImportJobResponse (Maybe ImportJobResource)-ijDefinition = lens _ijDefinition (\ s a -> s{_ijDefinition = a});---- | The number of endpoints that were processed by the import job.-ijTotalProcessed :: Lens' ImportJobResponse (Maybe Int)-ijTotalProcessed = lens _ijTotalProcessed (\ s a -> s{_ijTotalProcessed = a});---- | Provides up to 100 of the first failed entries for the job, if any exist.-ijFailures :: Lens' ImportJobResponse [Text]-ijFailures = lens _ijFailures (\ s a -> s{_ijFailures = a}) . _Default . _Coerce;---- | The total number of pieces that must be imported to finish the job. Each piece is an approximately equal portion of the endpoints to import.-ijTotalPieces :: Lens' ImportJobResponse (Maybe Int)-ijTotalPieces = lens _ijTotalPieces (\ s a -> s{_ijTotalPieces = a});---- | The unique ID of the application to which the import job applies.-ijApplicationId :: Lens' ImportJobResponse (Maybe Text)-ijApplicationId = lens _ijApplicationId (\ s a -> s{_ijApplicationId = a});---- | The unique ID of the import job.-ijId :: Lens' ImportJobResponse (Maybe Text)-ijId = lens _ijId (\ s a -> s{_ijId = a});---- | The date the import job was created in ISO 8601 format.-ijCreationDate :: Lens' ImportJobResponse (Maybe Text)-ijCreationDate = lens _ijCreationDate (\ s a -> s{_ijCreationDate = a});---- | The job type. Will be Import.-ijType :: Lens' ImportJobResponse (Maybe Text)-ijType = lens _ijType (\ s a -> s{_ijType = a});---- | The date the import job completed in ISO 8601 format.-ijCompletionDate :: Lens' ImportJobResponse (Maybe Text)-ijCompletionDate = lens _ijCompletionDate (\ s a -> s{_ijCompletionDate = a});---- | The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED The job status is FAILED if one or more pieces failed to import.-ijJobStatus :: Lens' ImportJobResponse (Maybe JobStatus)-ijJobStatus = lens _ijJobStatus (\ s a -> s{_ijJobStatus = a});---- | The number of endpoints that failed to import; for example, because of syntax errors.-ijTotalFailures :: Lens' ImportJobResponse (Maybe Int)-ijTotalFailures = lens _ijTotalFailures (\ s a -> s{_ijTotalFailures = a});--instance FromJSON ImportJobResponse where- parseJSON- = withObject "ImportJobResponse"- (\ x ->- ImportJobResponse' <$>- (x .:? "CompletedPieces") <*> (x .:? "FailedPieces")- <*> (x .:? "Definition")- <*> (x .:? "TotalProcessed")- <*> (x .:? "Failures" .!= mempty)- <*> (x .:? "TotalPieces")- <*> (x .:? "ApplicationId")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "Type")- <*> (x .:? "CompletionDate")- <*> (x .:? "JobStatus")- <*> (x .:? "TotalFailures"))--instance Hashable ImportJobResponse--instance NFData ImportJobResponse---- | /See:/ 'importJobsResponse' smart constructor.-data ImportJobsResponse = ImportJobsResponse'- { _ijNextToken :: !(Maybe Text)- , _ijItem :: !(Maybe [ImportJobResponse])- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ImportJobsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ijNextToken' - The string that you use in a subsequent request to get the next page of results in a paginated response.------ * 'ijItem' - A list of import jobs for the application.-importJobsResponse- :: ImportJobsResponse-importJobsResponse =- ImportJobsResponse'- { _ijNextToken = Nothing- , _ijItem = Nothing- }---- | The string that you use in a subsequent request to get the next page of results in a paginated response.-ijNextToken :: Lens' ImportJobsResponse (Maybe Text)-ijNextToken = lens _ijNextToken (\ s a -> s{_ijNextToken = a});---- | A list of import jobs for the application.-ijItem :: Lens' ImportJobsResponse [ImportJobResponse]-ijItem = lens _ijItem (\ s a -> s{_ijItem = a}) . _Default . _Coerce;--instance FromJSON ImportJobsResponse where- parseJSON- = withObject "ImportJobsResponse"- (\ x ->- ImportJobsResponse' <$>- (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))--instance Hashable ImportJobsResponse--instance NFData ImportJobsResponse---- | /See:/ 'message' smart constructor.-data Message = Message'- { _mSilentPush :: !(Maybe Bool)- , _mImageIconURL :: !(Maybe Text)- , _mBody :: !(Maybe Text)- , _mJSONBody :: !(Maybe Text)- , _mURL :: !(Maybe Text)- , _mAction :: !(Maybe Action)- , _mImageURL :: !(Maybe Text)- , _mMediaURL :: !(Maybe Text)- , _mTitle :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Message' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mSilentPush' - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.------ * 'mImageIconURL' - The URL that points to the icon image for the push notification icon, for example, the app icon.------ * 'mBody' - The message body. Can include up to 140 characters.------ * 'mJSONBody' - The JSON payload used for a silent push.------ * 'mURL' - The URL to open in the user's mobile browser. Used if the value for Action is URL.------ * 'mAction' - 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.------ * 'mImageURL' - The URL that points to an image used in the push notification.------ * 'mMediaURL' - The URL that points to the media resource, for example a .mp4 or .gif file.------ * 'mTitle' - The message title that displays above the message on the user's device.-message- :: Message-message =- Message'- { _mSilentPush = Nothing- , _mImageIconURL = Nothing- , _mBody = Nothing- , _mJSONBody = Nothing- , _mURL = Nothing- , _mAction = Nothing- , _mImageURL = Nothing- , _mMediaURL = Nothing- , _mTitle = Nothing- }---- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.-mSilentPush :: Lens' Message (Maybe Bool)-mSilentPush = lens _mSilentPush (\ s a -> s{_mSilentPush = a});---- | The URL that points to the icon image for the push notification icon, for example, the app icon.-mImageIconURL :: Lens' Message (Maybe Text)-mImageIconURL = lens _mImageIconURL (\ s a -> s{_mImageIconURL = a});---- | The message body. Can include up to 140 characters.-mBody :: Lens' Message (Maybe Text)-mBody = lens _mBody (\ s a -> s{_mBody = a});---- | The JSON payload used for a silent push.-mJSONBody :: Lens' Message (Maybe Text)-mJSONBody = lens _mJSONBody (\ s a -> s{_mJSONBody = a});---- | The URL to open in the user's mobile browser. Used if the value for Action is URL.-mURL :: Lens' Message (Maybe Text)-mURL = lens _mURL (\ s a -> s{_mURL = a});---- | 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.-mAction :: Lens' Message (Maybe Action)-mAction = lens _mAction (\ s a -> s{_mAction = a});---- | The URL that points to an image used in the push notification.-mImageURL :: Lens' Message (Maybe Text)-mImageURL = lens _mImageURL (\ s a -> s{_mImageURL = a});---- | The URL that points to the media resource, for example a .mp4 or .gif file.-mMediaURL :: Lens' Message (Maybe Text)-mMediaURL = lens _mMediaURL (\ s a -> s{_mMediaURL = a});---- | The message title that displays above the message on the user's device.-mTitle :: Lens' Message (Maybe Text)-mTitle = lens _mTitle (\ s a -> s{_mTitle = a});--instance FromJSON Message where- parseJSON- = withObject "Message"- (\ x ->- Message' <$>- (x .:? "SilentPush") <*> (x .:? "ImageIconUrl") <*>- (x .:? "Body")- <*> (x .:? "JsonBody")- <*> (x .:? "Url")- <*> (x .:? "Action")- <*> (x .:? "ImageUrl")- <*> (x .:? "MediaUrl")- <*> (x .:? "Title"))--instance Hashable Message--instance NFData Message--instance ToJSON Message where- toJSON Message'{..}- = object- (catMaybes- [("SilentPush" .=) <$> _mSilentPush,- ("ImageIconUrl" .=) <$> _mImageIconURL,- ("Body" .=) <$> _mBody,- ("JsonBody" .=) <$> _mJSONBody, ("Url" .=) <$> _mURL,- ("Action" .=) <$> _mAction,- ("ImageUrl" .=) <$> _mImageURL,- ("MediaUrl" .=) <$> _mMediaURL,- ("Title" .=) <$> _mTitle])---- | /See:/ 'messageBody' smart constructor.-data MessageBody = MessageBody'- { _mbRequestId :: !(Maybe Text)- , _mbMessage :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'MessageBody' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mbRequestId' - Undocumented member.------ * 'mbMessage' - Undocumented member.-messageBody- :: MessageBody-messageBody =- MessageBody'- { _mbRequestId = Nothing- , _mbMessage = Nothing- }---- | Undocumented member.-mbRequestId :: Lens' MessageBody (Maybe Text)-mbRequestId = lens _mbRequestId (\ s a -> s{_mbRequestId = a});---- | Undocumented member.-mbMessage :: Lens' MessageBody (Maybe Text)-mbMessage = lens _mbMessage (\ s a -> s{_mbMessage = a});--instance FromJSON MessageBody where- parseJSON- = withObject "MessageBody"- (\ x ->- MessageBody' <$>- (x .:? "RequestID") <*> (x .:? "Message"))--instance Hashable MessageBody--instance NFData MessageBody---- | /See:/ 'messageConfiguration' smart constructor.-data MessageConfiguration = MessageConfiguration'- { _mcAPNSMessage :: !(Maybe Message)- , _mcGCMMessage :: !(Maybe Message)- , _mcDefaultMessage :: !(Maybe Message)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'MessageConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mcAPNSMessage' - The message that the campaign delivers to APNS channels. Overrides the default message.------ * 'mcGCMMessage' - The message that the campaign delivers to GCM channels. Overrides the default message.------ * 'mcDefaultMessage' - The default message for all channels.-messageConfiguration- :: MessageConfiguration-messageConfiguration =- MessageConfiguration'- { _mcAPNSMessage = Nothing- , _mcGCMMessage = Nothing- , _mcDefaultMessage = Nothing- }---- | The message that the campaign delivers to APNS channels. Overrides the default message.-mcAPNSMessage :: Lens' MessageConfiguration (Maybe Message)-mcAPNSMessage = lens _mcAPNSMessage (\ s a -> s{_mcAPNSMessage = a});---- | The message that the campaign delivers to GCM channels. Overrides the default message.-mcGCMMessage :: Lens' MessageConfiguration (Maybe Message)-mcGCMMessage = lens _mcGCMMessage (\ s a -> s{_mcGCMMessage = a});---- | The default message for all channels.-mcDefaultMessage :: Lens' MessageConfiguration (Maybe Message)-mcDefaultMessage = lens _mcDefaultMessage (\ s a -> s{_mcDefaultMessage = a});--instance FromJSON MessageConfiguration where- parseJSON- = withObject "MessageConfiguration"- (\ x ->- MessageConfiguration' <$>- (x .:? "APNSMessage") <*> (x .:? "GCMMessage") <*>- (x .:? "DefaultMessage"))--instance Hashable MessageConfiguration--instance NFData MessageConfiguration--instance ToJSON MessageConfiguration where- toJSON MessageConfiguration'{..}- = object- (catMaybes- [("APNSMessage" .=) <$> _mcAPNSMessage,- ("GCMMessage" .=) <$> _mcGCMMessage,- ("DefaultMessage" .=) <$> _mcDefaultMessage])---- | /See:/ 'quietTime' smart constructor.-data QuietTime = QuietTime'- { _qtStart :: !(Maybe Text)- , _qtEnd :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'QuietTime' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qtStart' - The default start time for quiet time in ISO 8601 format.------ * 'qtEnd' - The default end time for quiet time in ISO 8601 format.-quietTime- :: QuietTime-quietTime =- QuietTime'- { _qtStart = Nothing- , _qtEnd = Nothing- }---- | The default start time for quiet time in ISO 8601 format.-qtStart :: Lens' QuietTime (Maybe Text)-qtStart = lens _qtStart (\ s a -> s{_qtStart = a});---- | The default end time for quiet time in ISO 8601 format.-qtEnd :: Lens' QuietTime (Maybe Text)-qtEnd = lens _qtEnd (\ s a -> s{_qtEnd = a});--instance FromJSON QuietTime where- parseJSON- = withObject "QuietTime"- (\ x ->- QuietTime' <$> (x .:? "Start") <*> (x .:? "End"))--instance Hashable QuietTime--instance NFData QuietTime--instance ToJSON QuietTime where- toJSON QuietTime'{..}- = object- (catMaybes- [("Start" .=) <$> _qtStart, ("End" .=) <$> _qtEnd])---- | /See:/ 'recencyDimension' smart constructor.-data RecencyDimension = RecencyDimension'- { _rdRecencyType :: !(Maybe RecencyType)- , _rdDuration :: !(Maybe Duration)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecencyDimension' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdRecencyType' - The recency dimension type: ACTIVE – Users who have used your app within the specified duration are included in the segment. INACTIVE – Users who have not used your app within the specified duration are included in the segment.------ * 'rdDuration' - The length of time during which users have been active or inactive with your app. Valid values: HR_24, DAY_7, DAY_14, DAY_30-recencyDimension- :: RecencyDimension-recencyDimension =- RecencyDimension'- { _rdRecencyType = Nothing- , _rdDuration = Nothing- }---- | The recency dimension type: ACTIVE – Users who have used your app within the specified duration are included in the segment. INACTIVE – Users who have not used your app within the specified duration are included in the segment.-rdRecencyType :: Lens' RecencyDimension (Maybe RecencyType)-rdRecencyType = lens _rdRecencyType (\ s a -> s{_rdRecencyType = a});---- | The length of time during which users have been active or inactive with your app. Valid values: HR_24, DAY_7, DAY_14, DAY_30-rdDuration :: Lens' RecencyDimension (Maybe Duration)-rdDuration = lens _rdDuration (\ s a -> s{_rdDuration = a});--instance FromJSON RecencyDimension where- parseJSON- = withObject "RecencyDimension"- (\ x ->- RecencyDimension' <$>- (x .:? "RecencyType") <*> (x .:? "Duration"))--instance Hashable RecencyDimension--instance NFData RecencyDimension--instance ToJSON RecencyDimension where- toJSON RecencyDimension'{..}- = object- (catMaybes- [("RecencyType" .=) <$> _rdRecencyType,- ("Duration" .=) <$> _rdDuration])---- | /See:/ 'schedule' smart constructor.-data Schedule = Schedule'- { _sFrequency :: !(Maybe Frequency)- , _sStartTime :: !(Maybe Text)- , _sQuietTime :: !(Maybe QuietTime)- , _sIsLocalTime :: !(Maybe Bool)- , _sEndTime :: !(Maybe Text)- , _sTimezone :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Schedule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sFrequency' - How often the campaign delivers messages. Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY------ * 'sStartTime' - The scheduled time that the campaign begins in ISO 8601 format.------ * 'sQuietTime' - The time during which the campaign sends no messages.------ * 'sIsLocalTime' - Indicates whether the campaign schedule takes effect according to each user's local time.------ * 'sEndTime' - The scheduled time that the campaign ends in ISO 8601 format.------ * 'sTimezone' - The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11-schedule- :: Schedule-schedule =- Schedule'- { _sFrequency = Nothing- , _sStartTime = Nothing- , _sQuietTime = Nothing- , _sIsLocalTime = Nothing- , _sEndTime = Nothing- , _sTimezone = Nothing- }---- | How often the campaign delivers messages. Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY-sFrequency :: Lens' Schedule (Maybe Frequency)-sFrequency = lens _sFrequency (\ s a -> s{_sFrequency = a});---- | The scheduled time that the campaign begins in ISO 8601 format.-sStartTime :: Lens' Schedule (Maybe Text)-sStartTime = lens _sStartTime (\ s a -> s{_sStartTime = a});---- | The time during which the campaign sends no messages.-sQuietTime :: Lens' Schedule (Maybe QuietTime)-sQuietTime = lens _sQuietTime (\ s a -> s{_sQuietTime = a});---- | Indicates whether the campaign schedule takes effect according to each user's local time.-sIsLocalTime :: Lens' Schedule (Maybe Bool)-sIsLocalTime = lens _sIsLocalTime (\ s a -> s{_sIsLocalTime = a});---- | The scheduled time that the campaign ends in ISO 8601 format.-sEndTime :: Lens' Schedule (Maybe Text)-sEndTime = lens _sEndTime (\ s a -> s{_sEndTime = a});---- | The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11-sTimezone :: Lens' Schedule (Maybe Text)-sTimezone = lens _sTimezone (\ s a -> s{_sTimezone = a});--instance FromJSON Schedule where- parseJSON- = withObject "Schedule"- (\ x ->- Schedule' <$>- (x .:? "Frequency") <*> (x .:? "StartTime") <*>- (x .:? "QuietTime")- <*> (x .:? "IsLocalTime")- <*> (x .:? "EndTime")- <*> (x .:? "Timezone"))--instance Hashable Schedule--instance NFData Schedule--instance ToJSON Schedule where- toJSON Schedule'{..}- = object- (catMaybes- [("Frequency" .=) <$> _sFrequency,- ("StartTime" .=) <$> _sStartTime,- ("QuietTime" .=) <$> _sQuietTime,- ("IsLocalTime" .=) <$> _sIsLocalTime,- ("EndTime" .=) <$> _sEndTime,- ("Timezone" .=) <$> _sTimezone])---- | /See:/ 'segmentBehaviors' smart constructor.-newtype SegmentBehaviors = SegmentBehaviors'- { _sbRecency :: Maybe RecencyDimension- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentBehaviors' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sbRecency' - The recency of use.-segmentBehaviors- :: SegmentBehaviors-segmentBehaviors =- SegmentBehaviors'- { _sbRecency = Nothing- }---- | The recency of use.-sbRecency :: Lens' SegmentBehaviors (Maybe RecencyDimension)-sbRecency = lens _sbRecency (\ s a -> s{_sbRecency = a});--instance FromJSON SegmentBehaviors where- parseJSON- = withObject "SegmentBehaviors"- (\ x -> SegmentBehaviors' <$> (x .:? "Recency"))--instance Hashable SegmentBehaviors--instance NFData SegmentBehaviors--instance ToJSON SegmentBehaviors where- toJSON SegmentBehaviors'{..}- = object (catMaybes [("Recency" .=) <$> _sbRecency])---- | /See:/ 'segmentDemographics' smart constructor.-data SegmentDemographics = SegmentDemographics'- { _sdPlatform :: !(Maybe SetDimension)- , _sdAppVersion :: !(Maybe SetDimension)- , _sdModel :: !(Maybe SetDimension)- , _sdMake :: !(Maybe SetDimension)- , _sdDeviceType :: !(Maybe SetDimension)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentDemographics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdPlatform' - The device platform criteria for the segment.------ * 'sdAppVersion' - The app version criteria for the segment.------ * 'sdModel' - The device model criteria for the segment.------ * 'sdMake' - The device make criteria for the segment.------ * 'sdDeviceType' - The device type criteria for the segment.-segmentDemographics- :: SegmentDemographics-segmentDemographics =- SegmentDemographics'- { _sdPlatform = Nothing- , _sdAppVersion = Nothing- , _sdModel = Nothing- , _sdMake = Nothing- , _sdDeviceType = Nothing- }---- | The device platform criteria for the segment.-sdPlatform :: Lens' SegmentDemographics (Maybe SetDimension)-sdPlatform = lens _sdPlatform (\ s a -> s{_sdPlatform = a});---- | The app version criteria for the segment.-sdAppVersion :: Lens' SegmentDemographics (Maybe SetDimension)-sdAppVersion = lens _sdAppVersion (\ s a -> s{_sdAppVersion = a});---- | The device model criteria for the segment.-sdModel :: Lens' SegmentDemographics (Maybe SetDimension)-sdModel = lens _sdModel (\ s a -> s{_sdModel = a});---- | The device make criteria for the segment.-sdMake :: Lens' SegmentDemographics (Maybe SetDimension)-sdMake = lens _sdMake (\ s a -> s{_sdMake = a});---- | The device type criteria for the segment.-sdDeviceType :: Lens' SegmentDemographics (Maybe SetDimension)-sdDeviceType = lens _sdDeviceType (\ s a -> s{_sdDeviceType = a});--instance FromJSON SegmentDemographics where- parseJSON- = withObject "SegmentDemographics"- (\ x ->- SegmentDemographics' <$>- (x .:? "Platform") <*> (x .:? "AppVersion") <*>- (x .:? "Model")- <*> (x .:? "Make")- <*> (x .:? "DeviceType"))--instance Hashable SegmentDemographics--instance NFData SegmentDemographics--instance ToJSON SegmentDemographics where- toJSON SegmentDemographics'{..}- = object- (catMaybes- [("Platform" .=) <$> _sdPlatform,- ("AppVersion" .=) <$> _sdAppVersion,- ("Model" .=) <$> _sdModel, ("Make" .=) <$> _sdMake,- ("DeviceType" .=) <$> _sdDeviceType])---- | /See:/ 'segmentDimensions' smart constructor.-data SegmentDimensions = SegmentDimensions'- { _sdLocation :: !(Maybe SegmentLocation)- , _sdDemographic :: !(Maybe SegmentDemographics)- , _sdBehavior :: !(Maybe SegmentBehaviors)- , _sdAttributes :: !(Maybe (Map Text AttributeDimension))- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentDimensions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdLocation' - The segment location attributes.------ * 'sdDemographic' - The segment demographics attributes.------ * 'sdBehavior' - The segment behaviors attributes.------ * 'sdAttributes' - Custom segment attributes.-segmentDimensions- :: SegmentDimensions-segmentDimensions =- SegmentDimensions'- { _sdLocation = Nothing- , _sdDemographic = Nothing- , _sdBehavior = Nothing- , _sdAttributes = Nothing- }---- | The segment location attributes.-sdLocation :: Lens' SegmentDimensions (Maybe SegmentLocation)-sdLocation = lens _sdLocation (\ s a -> s{_sdLocation = a});---- | The segment demographics attributes.-sdDemographic :: Lens' SegmentDimensions (Maybe SegmentDemographics)-sdDemographic = lens _sdDemographic (\ s a -> s{_sdDemographic = a});---- | The segment behaviors attributes.-sdBehavior :: Lens' SegmentDimensions (Maybe SegmentBehaviors)-sdBehavior = lens _sdBehavior (\ s a -> s{_sdBehavior = a});---- | Custom segment attributes.-sdAttributes :: Lens' SegmentDimensions (HashMap Text AttributeDimension)-sdAttributes = lens _sdAttributes (\ s a -> s{_sdAttributes = a}) . _Default . _Map;--instance FromJSON SegmentDimensions where- parseJSON- = withObject "SegmentDimensions"- (\ x ->- SegmentDimensions' <$>- (x .:? "Location") <*> (x .:? "Demographic") <*>- (x .:? "Behavior")- <*> (x .:? "Attributes" .!= mempty))--instance Hashable SegmentDimensions--instance NFData SegmentDimensions--instance ToJSON SegmentDimensions where- toJSON SegmentDimensions'{..}- = object- (catMaybes- [("Location" .=) <$> _sdLocation,- ("Demographic" .=) <$> _sdDemographic,- ("Behavior" .=) <$> _sdBehavior,- ("Attributes" .=) <$> _sdAttributes])---- | /See:/ 'segmentImportResource' smart constructor.-data SegmentImportResource = SegmentImportResource'- { _sirSize :: !(Maybe Int)- , _sirFormat :: !(Maybe DefinitionFormat)- , _sirExternalId :: !(Maybe Text)- , _sirS3URL :: !(Maybe Text)- , _sirRoleARN :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentImportResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sirSize' - The number of endpoints that were successfully imported to create this segment.------ * 'sirFormat' - The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSON------ * 'sirExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.------ * 'sirS3URL' - A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.------ * 'sirRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3.-segmentImportResource- :: SegmentImportResource-segmentImportResource =- SegmentImportResource'- { _sirSize = Nothing- , _sirFormat = Nothing- , _sirExternalId = Nothing- , _sirS3URL = Nothing- , _sirRoleARN = Nothing- }---- | The number of endpoints that were successfully imported to create this segment.-sirSize :: Lens' SegmentImportResource (Maybe Int)-sirSize = lens _sirSize (\ s a -> s{_sirSize = a});---- | The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSON-sirFormat :: Lens' SegmentImportResource (Maybe DefinitionFormat)-sirFormat = lens _sirFormat (\ s a -> s{_sirFormat = a});---- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.-sirExternalId :: Lens' SegmentImportResource (Maybe Text)-sirExternalId = lens _sirExternalId (\ s a -> s{_sirExternalId = a});---- | A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.-sirS3URL :: Lens' SegmentImportResource (Maybe Text)-sirS3URL = lens _sirS3URL (\ s a -> s{_sirS3URL = a});---- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3.-sirRoleARN :: Lens' SegmentImportResource (Maybe Text)-sirRoleARN = lens _sirRoleARN (\ s a -> s{_sirRoleARN = a});--instance FromJSON SegmentImportResource where- parseJSON- = withObject "SegmentImportResource"- (\ x ->- SegmentImportResource' <$>- (x .:? "Size") <*> (x .:? "Format") <*>- (x .:? "ExternalId")- <*> (x .:? "S3Url")- <*> (x .:? "RoleArn"))--instance Hashable SegmentImportResource--instance NFData SegmentImportResource---- | /See:/ 'segmentLocation' smart constructor.-newtype SegmentLocation = SegmentLocation'- { _slCountry :: Maybe SetDimension- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'slCountry' - The country filter according to ISO 3166-1 Alpha-2 codes.-segmentLocation- :: SegmentLocation-segmentLocation =- SegmentLocation'- { _slCountry = Nothing- }---- | The country filter according to ISO 3166-1 Alpha-2 codes.-slCountry :: Lens' SegmentLocation (Maybe SetDimension)-slCountry = lens _slCountry (\ s a -> s{_slCountry = a});--instance FromJSON SegmentLocation where- parseJSON- = withObject "SegmentLocation"- (\ x -> SegmentLocation' <$> (x .:? "Country"))--instance Hashable SegmentLocation--instance NFData SegmentLocation--instance ToJSON SegmentLocation where- toJSON SegmentLocation'{..}- = object (catMaybes [("Country" .=) <$> _slCountry])---- | /See:/ 'segmentResponse' smart constructor.-data SegmentResponse = SegmentResponse'- { _sLastModifiedDate :: !(Maybe Text)- , _sSegmentType :: !(Maybe SegmentType)- , _sApplicationId :: !(Maybe Text)- , _sName :: !(Maybe Text)- , _sVersion :: !(Maybe Int)- , _sId :: !(Maybe Text)- , _sCreationDate :: !(Maybe Text)- , _sImportDefinition :: !(Maybe SegmentImportResource)- , _sDimensions :: !(Maybe SegmentDimensions)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sLastModifiedDate' - The date the segment was last updated in ISO 8601 format.------ * 'sSegmentType' - The segment type: DIMENSIONAL – A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. IMPORT – A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.------ * 'sApplicationId' - The ID of the application to which the segment applies.------ * 'sName' - The name of segment------ * 'sVersion' - The segment version number.------ * 'sId' - The unique segment ID.------ * 'sCreationDate' - The date the segment was created in ISO 8601 format.------ * 'sImportDefinition' - The import job settings.------ * 'sDimensions' - The segment dimensions attributes.-segmentResponse- :: SegmentResponse-segmentResponse =- SegmentResponse'- { _sLastModifiedDate = Nothing- , _sSegmentType = Nothing- , _sApplicationId = Nothing- , _sName = Nothing- , _sVersion = Nothing- , _sId = Nothing- , _sCreationDate = Nothing- , _sImportDefinition = Nothing- , _sDimensions = Nothing- }---- | The date the segment was last updated in ISO 8601 format.-sLastModifiedDate :: Lens' SegmentResponse (Maybe Text)-sLastModifiedDate = lens _sLastModifiedDate (\ s a -> s{_sLastModifiedDate = a});---- | The segment type: DIMENSIONAL – A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. IMPORT – A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.-sSegmentType :: Lens' SegmentResponse (Maybe SegmentType)-sSegmentType = lens _sSegmentType (\ s a -> s{_sSegmentType = a});---- | The ID of the application to which the segment applies.-sApplicationId :: Lens' SegmentResponse (Maybe Text)-sApplicationId = lens _sApplicationId (\ s a -> s{_sApplicationId = a});---- | The name of segment-sName :: Lens' SegmentResponse (Maybe Text)-sName = lens _sName (\ s a -> s{_sName = a});---- | The segment version number.-sVersion :: Lens' SegmentResponse (Maybe Int)-sVersion = lens _sVersion (\ s a -> s{_sVersion = a});---- | The unique segment ID.-sId :: Lens' SegmentResponse (Maybe Text)-sId = lens _sId (\ s a -> s{_sId = a});---- | The date the segment was created in ISO 8601 format.-sCreationDate :: Lens' SegmentResponse (Maybe Text)-sCreationDate = lens _sCreationDate (\ s a -> s{_sCreationDate = a});---- | The import job settings.-sImportDefinition :: Lens' SegmentResponse (Maybe SegmentImportResource)-sImportDefinition = lens _sImportDefinition (\ s a -> s{_sImportDefinition = a});---- | The segment dimensions attributes.-sDimensions :: Lens' SegmentResponse (Maybe SegmentDimensions)-sDimensions = lens _sDimensions (\ s a -> s{_sDimensions = a});--instance FromJSON SegmentResponse where- parseJSON- = withObject "SegmentResponse"- (\ x ->- SegmentResponse' <$>- (x .:? "LastModifiedDate") <*> (x .:? "SegmentType")- <*> (x .:? "ApplicationId")- <*> (x .:? "Name")- <*> (x .:? "Version")- <*> (x .:? "Id")- <*> (x .:? "CreationDate")- <*> (x .:? "ImportDefinition")- <*> (x .:? "Dimensions"))--instance Hashable SegmentResponse--instance NFData SegmentResponse---- | /See:/ 'segmentsResponse' smart constructor.-data SegmentsResponse = SegmentsResponse'- { _sNextToken :: !(Maybe Text)- , _sItem :: !(Maybe [SegmentResponse])- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SegmentsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sNextToken' - An identifier used to retrieve the next page of results. The token is null if no additional pages exist.------ * 'sItem' - The list of segments.-segmentsResponse- :: SegmentsResponse-segmentsResponse =- SegmentsResponse'- { _sNextToken = Nothing- , _sItem = Nothing- }---- | An identifier used to retrieve the next page of results. The token is null if no additional pages exist.-sNextToken :: Lens' SegmentsResponse (Maybe Text)-sNextToken = lens _sNextToken (\ s a -> s{_sNextToken = a});---- | The list of segments.-sItem :: Lens' SegmentsResponse [SegmentResponse]-sItem = lens _sItem (\ s a -> s{_sItem = a}) . _Default . _Coerce;--instance FromJSON SegmentsResponse where- parseJSON- = withObject "SegmentsResponse"- (\ x ->- SegmentsResponse' <$>- (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))--instance Hashable SegmentsResponse--instance NFData SegmentsResponse---- | /See:/ 'setDimension' smart constructor.-data SetDimension = SetDimension'- { _sdValues :: !(Maybe [Text])- , _sdDimensionType :: !(Maybe DimensionType)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SetDimension' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdValues' - The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.------ * 'sdDimensionType' - The type of dimension: INCLUSIVE – Endpoints that match the criteria are included in the segment. EXCLUSIVE – Endpoints that match the criteria are excluded from the segment.-setDimension- :: SetDimension-setDimension =- SetDimension'- { _sdValues = Nothing- , _sdDimensionType = Nothing- }---- | The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.-sdValues :: Lens' SetDimension [Text]-sdValues = lens _sdValues (\ s a -> s{_sdValues = a}) . _Default . _Coerce;---- | The type of dimension: INCLUSIVE – Endpoints that match the criteria are included in the segment. EXCLUSIVE – Endpoints that match the criteria are excluded from the segment.-sdDimensionType :: Lens' SetDimension (Maybe DimensionType)-sdDimensionType = lens _sdDimensionType (\ s a -> s{_sdDimensionType = a});--instance FromJSON SetDimension where- parseJSON- = withObject "SetDimension"- (\ x ->- SetDimension' <$>- (x .:? "Values" .!= mempty) <*>- (x .:? "DimensionType"))--instance Hashable SetDimension--instance NFData SetDimension--instance ToJSON SetDimension where- toJSON SetDimension'{..}- = object- (catMaybes- [("Values" .=) <$> _sdValues,- ("DimensionType" .=) <$> _sdDimensionType])---- | /See:/ 'treatmentResource' smart constructor.-data TreatmentResource = TreatmentResource'- { _trState :: !(Maybe CampaignState)- , _trSchedule :: !(Maybe Schedule)- , _trTreatmentName :: !(Maybe Text)- , _trSizePercent :: !(Maybe Int)- , _trTreatmentDescription :: !(Maybe Text)- , _trId :: !(Maybe Text)- , _trMessageConfiguration :: !(Maybe MessageConfiguration)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'TreatmentResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trState' - The treatment status.------ * 'trSchedule' - The campaign schedule.------ * 'trTreatmentName' - The custom name of a variation of the campaign used for A/B testing.------ * 'trSizePercent' - The allocated percentage of users for this treatment.------ * 'trTreatmentDescription' - A custom description for the treatment.------ * 'trId' - The unique treatment ID.------ * 'trMessageConfiguration' - The message configuration settings.-treatmentResource- :: TreatmentResource-treatmentResource =- TreatmentResource'- { _trState = Nothing- , _trSchedule = Nothing- , _trTreatmentName = Nothing- , _trSizePercent = Nothing- , _trTreatmentDescription = Nothing- , _trId = Nothing- , _trMessageConfiguration = Nothing- }---- | The treatment status.-trState :: Lens' TreatmentResource (Maybe CampaignState)-trState = lens _trState (\ s a -> s{_trState = a});---- | The campaign schedule.-trSchedule :: Lens' TreatmentResource (Maybe Schedule)-trSchedule = lens _trSchedule (\ s a -> s{_trSchedule = a});---- | The custom name of a variation of the campaign used for A/B testing.-trTreatmentName :: Lens' TreatmentResource (Maybe Text)-trTreatmentName = lens _trTreatmentName (\ s a -> s{_trTreatmentName = a});---- | The allocated percentage of users for this treatment.-trSizePercent :: Lens' TreatmentResource (Maybe Int)-trSizePercent = lens _trSizePercent (\ s a -> s{_trSizePercent = a});---- | A custom description for the treatment.-trTreatmentDescription :: Lens' TreatmentResource (Maybe Text)-trTreatmentDescription = lens _trTreatmentDescription (\ s a -> s{_trTreatmentDescription = a});---- | The unique treatment ID.-trId :: Lens' TreatmentResource (Maybe Text)-trId = lens _trId (\ s a -> s{_trId = a});---- | The message configuration settings.-trMessageConfiguration :: Lens' TreatmentResource (Maybe MessageConfiguration)-trMessageConfiguration = lens _trMessageConfiguration (\ s a -> s{_trMessageConfiguration = a});--instance FromJSON TreatmentResource where- parseJSON- = withObject "TreatmentResource"- (\ x ->- TreatmentResource' <$>- (x .:? "State") <*> (x .:? "Schedule") <*>- (x .:? "TreatmentName")- <*> (x .:? "SizePercent")- <*> (x .:? "TreatmentDescription")- <*> (x .:? "Id")- <*> (x .:? "MessageConfiguration"))--instance Hashable TreatmentResource--instance NFData TreatmentResource---- | /See:/ 'writeApplicationSettingsRequest' smart constructor.-data WriteApplicationSettingsRequest = WriteApplicationSettingsRequest'- { _wasrLimits :: !(Maybe CampaignLimits)- , _wasrQuietTime :: !(Maybe QuietTime)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'WriteApplicationSettingsRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wasrLimits' - The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.------ * 'wasrQuietTime' - The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.-writeApplicationSettingsRequest- :: WriteApplicationSettingsRequest-writeApplicationSettingsRequest =- WriteApplicationSettingsRequest'- { _wasrLimits = Nothing- , _wasrQuietTime = Nothing- }---- | The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.-wasrLimits :: Lens' WriteApplicationSettingsRequest (Maybe CampaignLimits)-wasrLimits = lens _wasrLimits (\ s a -> s{_wasrLimits = a});---- | The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.-wasrQuietTime :: Lens' WriteApplicationSettingsRequest (Maybe QuietTime)-wasrQuietTime = lens _wasrQuietTime (\ s a -> s{_wasrQuietTime = a});--instance Hashable WriteApplicationSettingsRequest--instance NFData WriteApplicationSettingsRequest--instance ToJSON WriteApplicationSettingsRequest where- toJSON WriteApplicationSettingsRequest'{..}- = object- (catMaybes- [("Limits" .=) <$> _wasrLimits,- ("QuietTime" .=) <$> _wasrQuietTime])---- | /See:/ 'writeCampaignRequest' smart constructor.-data WriteCampaignRequest = WriteCampaignRequest'- { _wcrSchedule :: !(Maybe Schedule)- , _wcrTreatmentName :: !(Maybe Text)- , _wcrLimits :: !(Maybe CampaignLimits)- , _wcrIsPaused :: !(Maybe Bool)- , _wcrName :: !(Maybe Text)- , _wcrHoldoutPercent :: !(Maybe Int)- , _wcrTreatmentDescription :: !(Maybe Text)- , _wcrMessageConfiguration :: !(Maybe MessageConfiguration)- , _wcrDescription :: !(Maybe Text)- , _wcrSegmentId :: !(Maybe Text)- , _wcrAdditionalTreatments :: !(Maybe [WriteTreatmentResource])- , _wcrSegmentVersion :: !(Maybe Int)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'WriteCampaignRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wcrSchedule' - The campaign schedule.------ * 'wcrTreatmentName' - The custom name of a variation of the campaign used for A/B testing.------ * 'wcrLimits' - The campaign limits settings.------ * 'wcrIsPaused' - Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.------ * 'wcrName' - The custom name of the campaign.------ * 'wcrHoldoutPercent' - The allocated percentage of end users who will not receive messages from this campaign.------ * 'wcrTreatmentDescription' - A custom description for the treatment.------ * 'wcrMessageConfiguration' - The message configuration settings.------ * 'wcrDescription' - A description of the campaign.------ * 'wcrSegmentId' - The ID of the segment to which the campaign sends messages.------ * 'wcrAdditionalTreatments' - Treatments that are defined in addition to the default treatment.------ * 'wcrSegmentVersion' - The version of the segment to which the campaign sends messages.-writeCampaignRequest- :: WriteCampaignRequest-writeCampaignRequest =- WriteCampaignRequest'- { _wcrSchedule = Nothing- , _wcrTreatmentName = Nothing- , _wcrLimits = Nothing- , _wcrIsPaused = Nothing- , _wcrName = Nothing- , _wcrHoldoutPercent = Nothing- , _wcrTreatmentDescription = Nothing- , _wcrMessageConfiguration = Nothing- , _wcrDescription = Nothing- , _wcrSegmentId = Nothing- , _wcrAdditionalTreatments = Nothing- , _wcrSegmentVersion = Nothing- }---- | The campaign schedule.-wcrSchedule :: Lens' WriteCampaignRequest (Maybe Schedule)-wcrSchedule = lens _wcrSchedule (\ s a -> s{_wcrSchedule = a});---- | The custom name of a variation of the campaign used for A/B testing.-wcrTreatmentName :: Lens' WriteCampaignRequest (Maybe Text)-wcrTreatmentName = lens _wcrTreatmentName (\ s a -> s{_wcrTreatmentName = a});---- | The campaign limits settings.-wcrLimits :: Lens' WriteCampaignRequest (Maybe CampaignLimits)-wcrLimits = lens _wcrLimits (\ s a -> s{_wcrLimits = a});---- | Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.-wcrIsPaused :: Lens' WriteCampaignRequest (Maybe Bool)-wcrIsPaused = lens _wcrIsPaused (\ s a -> s{_wcrIsPaused = a});---- | The custom name of the campaign.-wcrName :: Lens' WriteCampaignRequest (Maybe Text)-wcrName = lens _wcrName (\ s a -> s{_wcrName = a});---- | The allocated percentage of end users who will not receive messages from this campaign.-wcrHoldoutPercent :: Lens' WriteCampaignRequest (Maybe Int)-wcrHoldoutPercent = lens _wcrHoldoutPercent (\ s a -> s{_wcrHoldoutPercent = a});---- | A custom description for the treatment.-wcrTreatmentDescription :: Lens' WriteCampaignRequest (Maybe Text)-wcrTreatmentDescription = lens _wcrTreatmentDescription (\ s a -> s{_wcrTreatmentDescription = a});---- | The message configuration settings.-wcrMessageConfiguration :: Lens' WriteCampaignRequest (Maybe MessageConfiguration)-wcrMessageConfiguration = lens _wcrMessageConfiguration (\ s a -> s{_wcrMessageConfiguration = a});---- | A description of the campaign.-wcrDescription :: Lens' WriteCampaignRequest (Maybe Text)-wcrDescription = lens _wcrDescription (\ s a -> s{_wcrDescription = a});---- | The ID of the segment to which the campaign sends messages.-wcrSegmentId :: Lens' WriteCampaignRequest (Maybe Text)-wcrSegmentId = lens _wcrSegmentId (\ s a -> s{_wcrSegmentId = a});---- | Treatments that are defined in addition to the default treatment.-wcrAdditionalTreatments :: Lens' WriteCampaignRequest [WriteTreatmentResource]-wcrAdditionalTreatments = lens _wcrAdditionalTreatments (\ s a -> s{_wcrAdditionalTreatments = a}) . _Default . _Coerce;---- | The version of the segment to which the campaign sends messages.-wcrSegmentVersion :: Lens' WriteCampaignRequest (Maybe Int)-wcrSegmentVersion = lens _wcrSegmentVersion (\ s a -> s{_wcrSegmentVersion = a});--instance Hashable WriteCampaignRequest--instance NFData WriteCampaignRequest--instance ToJSON WriteCampaignRequest where- toJSON WriteCampaignRequest'{..}- = object- (catMaybes- [("Schedule" .=) <$> _wcrSchedule,- ("TreatmentName" .=) <$> _wcrTreatmentName,- ("Limits" .=) <$> _wcrLimits,- ("IsPaused" .=) <$> _wcrIsPaused,- ("Name" .=) <$> _wcrName,- ("HoldoutPercent" .=) <$> _wcrHoldoutPercent,- ("TreatmentDescription" .=) <$>- _wcrTreatmentDescription,- ("MessageConfiguration" .=) <$>- _wcrMessageConfiguration,- ("Description" .=) <$> _wcrDescription,- ("SegmentId" .=) <$> _wcrSegmentId,- ("AdditionalTreatments" .=) <$>- _wcrAdditionalTreatments,- ("SegmentVersion" .=) <$> _wcrSegmentVersion])---- | /See:/ 'writeSegmentRequest' smart constructor.-data WriteSegmentRequest = WriteSegmentRequest'- { _wsrName :: !(Maybe Text)- , _wsrDimensions :: !(Maybe SegmentDimensions)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'WriteSegmentRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wsrName' - The name of segment------ * 'wsrDimensions' - The segment dimensions attributes.-writeSegmentRequest- :: WriteSegmentRequest-writeSegmentRequest =- WriteSegmentRequest'- { _wsrName = Nothing- , _wsrDimensions = Nothing- }---- | The name of segment-wsrName :: Lens' WriteSegmentRequest (Maybe Text)-wsrName = lens _wsrName (\ s a -> s{_wsrName = a});---- | The segment dimensions attributes.-wsrDimensions :: Lens' WriteSegmentRequest (Maybe SegmentDimensions)-wsrDimensions = lens _wsrDimensions (\ s a -> s{_wsrDimensions = a});--instance Hashable WriteSegmentRequest--instance NFData WriteSegmentRequest--instance ToJSON WriteSegmentRequest where- toJSON WriteSegmentRequest'{..}- = object- (catMaybes- [("Name" .=) <$> _wsrName,- ("Dimensions" .=) <$> _wsrDimensions])---- | /See:/ 'writeTreatmentResource' smart constructor.-data WriteTreatmentResource = WriteTreatmentResource'- { _wtrSchedule :: !(Maybe Schedule)- , _wtrTreatmentName :: !(Maybe Text)- , _wtrSizePercent :: !(Maybe Int)- , _wtrTreatmentDescription :: !(Maybe Text)- , _wtrMessageConfiguration :: !(Maybe MessageConfiguration)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'WriteTreatmentResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wtrSchedule' - The campaign schedule.------ * 'wtrTreatmentName' - The custom name of a variation of the campaign used for A/B testing.------ * 'wtrSizePercent' - The allocated percentage of users for this treatment.------ * 'wtrTreatmentDescription' - A custom description for the treatment.------ * 'wtrMessageConfiguration' - The message configuration settings.-writeTreatmentResource- :: WriteTreatmentResource-writeTreatmentResource =- WriteTreatmentResource'- { _wtrSchedule = Nothing- , _wtrTreatmentName = Nothing- , _wtrSizePercent = Nothing- , _wtrTreatmentDescription = Nothing- , _wtrMessageConfiguration = Nothing- }---- | The campaign schedule.-wtrSchedule :: Lens' WriteTreatmentResource (Maybe Schedule)-wtrSchedule = lens _wtrSchedule (\ s a -> s{_wtrSchedule = a});---- | The custom name of a variation of the campaign used for A/B testing.-wtrTreatmentName :: Lens' WriteTreatmentResource (Maybe Text)-wtrTreatmentName = lens _wtrTreatmentName (\ s a -> s{_wtrTreatmentName = a});---- | The allocated percentage of users for this treatment.-wtrSizePercent :: Lens' WriteTreatmentResource (Maybe Int)-wtrSizePercent = lens _wtrSizePercent (\ s a -> s{_wtrSizePercent = a});---- | A custom description for the treatment.-wtrTreatmentDescription :: Lens' WriteTreatmentResource (Maybe Text)-wtrTreatmentDescription = lens _wtrTreatmentDescription (\ s a -> s{_wtrTreatmentDescription = a});---- | The message configuration settings.-wtrMessageConfiguration :: Lens' WriteTreatmentResource (Maybe MessageConfiguration)-wtrMessageConfiguration = lens _wtrMessageConfiguration (\ s a -> s{_wtrMessageConfiguration = a});--instance Hashable WriteTreatmentResource--instance NFData WriteTreatmentResource+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+module Network.AWS.Pinpoint.Types.Product where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types.Sum+import Network.AWS.Prelude++-- | Amazon Device Messaging channel definition.+--+-- /See:/ 'aDMChannelRequest' smart constructor.+data ADMChannelRequest = ADMChannelRequest'+ { _admcrClientId :: !(Maybe Text)+ , _admcrClientSecret :: !(Maybe Text)+ , _admcrEnabled :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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' - Client ID as gotten from Amazon+--+-- * 'admcrClientSecret' - Client secret as gotten from Amazon+--+-- * 'admcrEnabled' - If the channel is enabled for sending messages.+aDMChannelRequest+ :: ADMChannelRequest+aDMChannelRequest =+ ADMChannelRequest'+ { _admcrClientId = Nothing+ , _admcrClientSecret = Nothing+ , _admcrEnabled = Nothing+ }+++-- | Client ID as gotten from Amazon+admcrClientId :: Lens' ADMChannelRequest (Maybe Text)+admcrClientId = lens _admcrClientId (\ s a -> s{_admcrClientId = a});++-- | Client secret as gotten from Amazon+admcrClientSecret :: Lens' ADMChannelRequest (Maybe Text)+admcrClientSecret = lens _admcrClientSecret (\ s a -> s{_admcrClientSecret = a});++-- | If the channel is enabled for sending messages.+admcrEnabled :: Lens' ADMChannelRequest (Maybe Bool)+admcrEnabled = lens _admcrEnabled (\ s a -> s{_admcrEnabled = a});++instance Hashable ADMChannelRequest where++instance NFData ADMChannelRequest where++instance ToJSON ADMChannelRequest where+ toJSON ADMChannelRequest'{..}+ = object+ (catMaybes+ [("ClientId" .=) <$> _admcrClientId,+ ("ClientSecret" .=) <$> _admcrClientSecret,+ ("Enabled" .=) <$> _admcrEnabled])++-- | Amazon Device Messaging channel definition.+--+-- /See:/ 'aDMChannelResponse' smart constructor.+data ADMChannelResponse = ADMChannelResponse'+ { _admcPlatform :: !(Maybe Text)+ , _admcLastModifiedDate :: !(Maybe Text)+ , _admcEnabled :: !(Maybe Bool)+ , _admcIsArchived :: !(Maybe Bool)+ , _admcApplicationId :: !(Maybe Text)+ , _admcVersion :: !(Maybe Int)+ , _admcId :: !(Maybe Text)+ , _admcCreationDate :: !(Maybe Text)+ , _admcLastModifiedBy :: !(Maybe Text)+ , _admcHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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:+--+-- * 'admcPlatform' - Platform type. Will be "ADM"+--+-- * 'admcLastModifiedDate' - Last date this was updated+--+-- * 'admcEnabled' - If the channel is enabled for sending messages.+--+-- * 'admcIsArchived' - Is this channel archived+--+-- * 'admcApplicationId' - Application id+--+-- * 'admcVersion' - Version of channel+--+-- * 'admcId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'admcCreationDate' - When was this segment created+--+-- * 'admcLastModifiedBy' - Who last updated this entry+--+-- * 'admcHasCredential' - If the channel is registered with a credential for authentication.+aDMChannelResponse+ :: ADMChannelResponse+aDMChannelResponse =+ ADMChannelResponse'+ { _admcPlatform = Nothing+ , _admcLastModifiedDate = Nothing+ , _admcEnabled = Nothing+ , _admcIsArchived = Nothing+ , _admcApplicationId = Nothing+ , _admcVersion = Nothing+ , _admcId = Nothing+ , _admcCreationDate = Nothing+ , _admcLastModifiedBy = Nothing+ , _admcHasCredential = Nothing+ }+++-- | Platform type. Will be "ADM"+admcPlatform :: Lens' ADMChannelResponse (Maybe Text)+admcPlatform = lens _admcPlatform (\ s a -> s{_admcPlatform = a});++-- | Last date this was updated+admcLastModifiedDate :: Lens' ADMChannelResponse (Maybe Text)+admcLastModifiedDate = lens _admcLastModifiedDate (\ s a -> s{_admcLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+admcEnabled :: Lens' ADMChannelResponse (Maybe Bool)+admcEnabled = lens _admcEnabled (\ s a -> s{_admcEnabled = a});++-- | Is this channel archived+admcIsArchived :: Lens' ADMChannelResponse (Maybe Bool)+admcIsArchived = lens _admcIsArchived (\ s a -> s{_admcIsArchived = a});++-- | Application id+admcApplicationId :: Lens' ADMChannelResponse (Maybe Text)+admcApplicationId = lens _admcApplicationId (\ s a -> s{_admcApplicationId = a});++-- | Version of channel+admcVersion :: Lens' ADMChannelResponse (Maybe Int)+admcVersion = lens _admcVersion (\ s a -> s{_admcVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+admcId :: Lens' ADMChannelResponse (Maybe Text)+admcId = lens _admcId (\ s a -> s{_admcId = a});++-- | When was this segment created+admcCreationDate :: Lens' ADMChannelResponse (Maybe Text)+admcCreationDate = lens _admcCreationDate (\ s a -> s{_admcCreationDate = a});++-- | Who last updated this entry+admcLastModifiedBy :: Lens' ADMChannelResponse (Maybe Text)+admcLastModifiedBy = lens _admcLastModifiedBy (\ s a -> s{_admcLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+admcHasCredential :: Lens' ADMChannelResponse (Maybe Bool)+admcHasCredential = lens _admcHasCredential (\ s a -> s{_admcHasCredential = a});++instance FromJSON ADMChannelResponse where+ parseJSON+ = withObject "ADMChannelResponse"+ (\ x ->+ ADMChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable ADMChannelResponse where++instance NFData ADMChannelResponse where++-- | ADM Message.+--+-- /See:/ 'aDMMessage' smart constructor.+data ADMMessage = ADMMessage'+ { _admmSubstitutions :: !(Maybe (Map Text [Text]))+ , _admmExpiresAfter :: !(Maybe Text)+ , _admmMD5 :: !(Maybe Text)+ , _admmSilentPush :: !(Maybe Bool)+ , _admmImageIconURL :: !(Maybe Text)+ , _admmRawContent :: !(Maybe Text)+ , _admmData :: !(Maybe (Map Text Text))+ , _admmSmallImageIconURL :: !(Maybe Text)+ , _admmBody :: !(Maybe Text)+ , _admmURL :: !(Maybe Text)+ , _admmSound :: !(Maybe Text)+ , _admmAction :: !(Maybe Action)+ , _admmImageURL :: !(Maybe Text)+ , _admmConsolidationKey :: !(Maybe Text)+ , _admmTitle :: !(Maybe Text)+ , _admmIconReference :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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 /res/raw/+--+-- * '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.+aDMMessage+ :: ADMMessage+aDMMessage =+ ADMMessage'+ { _admmSubstitutions = Nothing+ , _admmExpiresAfter = Nothing+ , _admmMD5 = Nothing+ , _admmSilentPush = Nothing+ , _admmImageIconURL = Nothing+ , _admmRawContent = Nothing+ , _admmData = Nothing+ , _admmSmallImageIconURL = Nothing+ , _admmBody = Nothing+ , _admmURL = Nothing+ , _admmSound = Nothing+ , _admmAction = Nothing+ , _admmImageURL = Nothing+ , _admmConsolidationKey = Nothing+ , _admmTitle = Nothing+ , _admmIconReference = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+admmSubstitutions :: Lens' ADMMessage (HashMap Text [Text])+admmSubstitutions = lens _admmSubstitutions (\ s a -> s{_admmSubstitutions = a}) . _Default . _Map;++-- | Optional. Number of seconds ADM should retain the message if the device is offline+admmExpiresAfter :: Lens' ADMMessage (Maybe Text)+admmExpiresAfter = lens _admmExpiresAfter (\ s a -> s{_admmExpiresAfter = a});++-- | Optional. Base-64-encoded MD5 checksum of the data parameter. Used to verify data integrity+admmMD5 :: Lens' ADMMessage (Maybe Text)+admmMD5 = lens _admmMD5 (\ s a -> s{_admmMD5 = a});++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+admmSilentPush :: Lens' ADMMessage (Maybe Bool)+admmSilentPush = lens _admmSilentPush (\ s a -> s{_admmSilentPush = a});++-- | The URL that points to an image used as the large icon to the notification content view.+admmImageIconURL :: Lens' ADMMessage (Maybe Text)+admmImageIconURL = lens _admmImageIconURL (\ s a -> s{_admmImageIconURL = a});++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+admmRawContent :: Lens' ADMMessage (Maybe Text)+admmRawContent = lens _admmRawContent (\ s a -> s{_admmRawContent = a});++-- | The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+admmData :: Lens' ADMMessage (HashMap Text Text)+admmData = lens _admmData (\ s a -> s{_admmData = a}) . _Default . _Map;++-- | 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+admmSmallImageIconURL :: Lens' ADMMessage (Maybe Text)+admmSmallImageIconURL = lens _admmSmallImageIconURL (\ s a -> s{_admmSmallImageIconURL = a});++-- | The message body of the notification, the email body or the text message.+admmBody :: Lens' ADMMessage (Maybe Text)+admmBody = lens _admmBody (\ s a -> s{_admmBody = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+admmURL :: Lens' ADMMessage (Maybe Text)+admmURL = lens _admmURL (\ s a -> s{_admmURL = a});++-- | 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 /res/raw/+admmSound :: Lens' ADMMessage (Maybe Text)+admmSound = lens _admmSound (\ s a -> s{_admmSound = a});++-- | 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+admmAction :: Lens' ADMMessage (Maybe Action)+admmAction = lens _admmAction (\ s a -> s{_admmAction = a});++-- | The URL that points to an image used in the push notification.+admmImageURL :: Lens' ADMMessage (Maybe Text)+admmImageURL = lens _admmImageURL (\ s a -> s{_admmImageURL = a});++-- | 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.+admmConsolidationKey :: Lens' ADMMessage (Maybe Text)+admmConsolidationKey = lens _admmConsolidationKey (\ s a -> s{_admmConsolidationKey = a});++-- | The message title that displays above the message on the user's device.+admmTitle :: Lens' ADMMessage (Maybe Text)+admmTitle = lens _admmTitle (\ s a -> s{_admmTitle = a});++-- | The icon image name of the asset saved in your application.+admmIconReference :: Lens' ADMMessage (Maybe Text)+admmIconReference = lens _admmIconReference (\ s a -> s{_admmIconReference = a});++instance Hashable ADMMessage where++instance NFData ADMMessage where++instance ToJSON ADMMessage where+ toJSON ADMMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _admmSubstitutions,+ ("ExpiresAfter" .=) <$> _admmExpiresAfter,+ ("MD5" .=) <$> _admmMD5,+ ("SilentPush" .=) <$> _admmSilentPush,+ ("ImageIconUrl" .=) <$> _admmImageIconURL,+ ("RawContent" .=) <$> _admmRawContent,+ ("Data" .=) <$> _admmData,+ ("SmallImageIconUrl" .=) <$> _admmSmallImageIconURL,+ ("Body" .=) <$> _admmBody, ("Url" .=) <$> _admmURL,+ ("Sound" .=) <$> _admmSound,+ ("Action" .=) <$> _admmAction,+ ("ImageUrl" .=) <$> _admmImageURL,+ ("ConsolidationKey" .=) <$> _admmConsolidationKey,+ ("Title" .=) <$> _admmTitle,+ ("IconReference" .=) <$> _admmIconReference])++-- | Apple Push Notification Service channel definition.+--+-- /See:/ 'apnsChannelRequest' smart constructor.+data APNSChannelRequest = APNSChannelRequest'+ { _acrTokenKey :: !(Maybe Text)+ , _acrPrivateKey :: !(Maybe Text)+ , _acrEnabled :: !(Maybe Bool)+ , _acrTeamId :: !(Maybe Text)+ , _acrBundleId :: !(Maybe Text)+ , _acrDefaultAuthenticationMethod :: !(Maybe Text)+ , _acrCertificate :: !(Maybe Text)+ , _acrTokenKeyId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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' - The token key used for APNs Tokens.+--+-- * 'acrPrivateKey' - The certificate private key.+--+-- * 'acrEnabled' - If the channel is enabled for sending messages.+--+-- * 'acrTeamId' - The team id used for APNs Tokens.+--+-- * 'acrBundleId' - The bundle id used for APNs Tokens.+--+-- * 'acrDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'acrCertificate' - The distribution certificate from Apple.+--+-- * 'acrTokenKeyId' - The token key used for APNs Tokens.+apnsChannelRequest+ :: APNSChannelRequest+apnsChannelRequest =+ APNSChannelRequest'+ { _acrTokenKey = Nothing+ , _acrPrivateKey = Nothing+ , _acrEnabled = Nothing+ , _acrTeamId = Nothing+ , _acrBundleId = Nothing+ , _acrDefaultAuthenticationMethod = Nothing+ , _acrCertificate = Nothing+ , _acrTokenKeyId = Nothing+ }+++-- | The token key used for APNs Tokens.+acrTokenKey :: Lens' APNSChannelRequest (Maybe Text)+acrTokenKey = lens _acrTokenKey (\ s a -> s{_acrTokenKey = a});++-- | The certificate private key.+acrPrivateKey :: Lens' APNSChannelRequest (Maybe Text)+acrPrivateKey = lens _acrPrivateKey (\ s a -> s{_acrPrivateKey = a});++-- | If the channel is enabled for sending messages.+acrEnabled :: Lens' APNSChannelRequest (Maybe Bool)+acrEnabled = lens _acrEnabled (\ s a -> s{_acrEnabled = a});++-- | The team id used for APNs Tokens.+acrTeamId :: Lens' APNSChannelRequest (Maybe Text)+acrTeamId = lens _acrTeamId (\ s a -> s{_acrTeamId = a});++-- | The bundle id used for APNs Tokens.+acrBundleId :: Lens' APNSChannelRequest (Maybe Text)+acrBundleId = lens _acrBundleId (\ s a -> s{_acrBundleId = a});++-- | The default authentication method used for APNs.+acrDefaultAuthenticationMethod :: Lens' APNSChannelRequest (Maybe Text)+acrDefaultAuthenticationMethod = lens _acrDefaultAuthenticationMethod (\ s a -> s{_acrDefaultAuthenticationMethod = a});++-- | The distribution certificate from Apple.+acrCertificate :: Lens' APNSChannelRequest (Maybe Text)+acrCertificate = lens _acrCertificate (\ s a -> s{_acrCertificate = a});++-- | The token key used for APNs Tokens.+acrTokenKeyId :: Lens' APNSChannelRequest (Maybe Text)+acrTokenKeyId = lens _acrTokenKeyId (\ s a -> s{_acrTokenKeyId = a});++instance Hashable APNSChannelRequest where++instance NFData APNSChannelRequest where++instance ToJSON APNSChannelRequest where+ toJSON APNSChannelRequest'{..}+ = object+ (catMaybes+ [("TokenKey" .=) <$> _acrTokenKey,+ ("PrivateKey" .=) <$> _acrPrivateKey,+ ("Enabled" .=) <$> _acrEnabled,+ ("TeamId" .=) <$> _acrTeamId,+ ("BundleId" .=) <$> _acrBundleId,+ ("DefaultAuthenticationMethod" .=) <$>+ _acrDefaultAuthenticationMethod,+ ("Certificate" .=) <$> _acrCertificate,+ ("TokenKeyId" .=) <$> _acrTokenKeyId])++-- | Apple Distribution Push Notification Service channel definition.+--+-- /See:/ 'apnsChannelResponse' smart constructor.+data APNSChannelResponse = APNSChannelResponse'+ { _acPlatform :: !(Maybe Text)+ , _acLastModifiedDate :: !(Maybe Text)+ , _acEnabled :: !(Maybe Bool)+ , _acHasTokenKey :: !(Maybe Bool)+ , _acDefaultAuthenticationMethod :: !(Maybe Text)+ , _acIsArchived :: !(Maybe Bool)+ , _acApplicationId :: !(Maybe Text)+ , _acVersion :: !(Maybe Int)+ , _acId :: !(Maybe Text)+ , _acCreationDate :: !(Maybe Text)+ , _acLastModifiedBy :: !(Maybe Text)+ , _acHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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' - If the channel is registered with a token key for authentication.+--+-- * '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' - If the channel is registered with a credential for authentication.+apnsChannelResponse+ :: APNSChannelResponse+apnsChannelResponse =+ APNSChannelResponse'+ { _acPlatform = Nothing+ , _acLastModifiedDate = Nothing+ , _acEnabled = Nothing+ , _acHasTokenKey = Nothing+ , _acDefaultAuthenticationMethod = Nothing+ , _acIsArchived = Nothing+ , _acApplicationId = Nothing+ , _acVersion = Nothing+ , _acId = Nothing+ , _acCreationDate = Nothing+ , _acLastModifiedBy = Nothing+ , _acHasCredential = Nothing+ }+++-- | The platform type. Will be APNS.+acPlatform :: Lens' APNSChannelResponse (Maybe Text)+acPlatform = lens _acPlatform (\ s a -> s{_acPlatform = a});++-- | Last date this was updated+acLastModifiedDate :: Lens' APNSChannelResponse (Maybe Text)+acLastModifiedDate = lens _acLastModifiedDate (\ s a -> s{_acLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+acEnabled :: Lens' APNSChannelResponse (Maybe Bool)+acEnabled = lens _acEnabled (\ s a -> s{_acEnabled = a});++-- | If the channel is registered with a token key for authentication.+acHasTokenKey :: Lens' APNSChannelResponse (Maybe Bool)+acHasTokenKey = lens _acHasTokenKey (\ s a -> s{_acHasTokenKey = a});++-- | The default authentication method used for APNs.+acDefaultAuthenticationMethod :: Lens' APNSChannelResponse (Maybe Text)+acDefaultAuthenticationMethod = lens _acDefaultAuthenticationMethod (\ s a -> s{_acDefaultAuthenticationMethod = a});++-- | Is this channel archived+acIsArchived :: Lens' APNSChannelResponse (Maybe Bool)+acIsArchived = lens _acIsArchived (\ s a -> s{_acIsArchived = a});++-- | The ID of the application to which the channel applies.+acApplicationId :: Lens' APNSChannelResponse (Maybe Text)+acApplicationId = lens _acApplicationId (\ s a -> s{_acApplicationId = a});++-- | Version of channel+acVersion :: Lens' APNSChannelResponse (Maybe Int)+acVersion = lens _acVersion (\ s a -> s{_acVersion = a});++-- | Channel ID. Not used. Present only for backwards compatibility.+acId :: Lens' APNSChannelResponse (Maybe Text)+acId = lens _acId (\ s a -> s{_acId = a});++-- | When was this segment created+acCreationDate :: Lens' APNSChannelResponse (Maybe Text)+acCreationDate = lens _acCreationDate (\ s a -> s{_acCreationDate = a});++-- | Who last updated this entry+acLastModifiedBy :: Lens' APNSChannelResponse (Maybe Text)+acLastModifiedBy = lens _acLastModifiedBy (\ s a -> s{_acLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+acHasCredential :: Lens' APNSChannelResponse (Maybe Bool)+acHasCredential = lens _acHasCredential (\ s a -> s{_acHasCredential = a});++instance FromJSON APNSChannelResponse where+ parseJSON+ = withObject "APNSChannelResponse"+ (\ x ->+ APNSChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "HasTokenKey")+ <*> (x .:? "DefaultAuthenticationMethod")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable APNSChannelResponse where++instance NFData APNSChannelResponse where++-- | APNS Message.+--+-- /See:/ 'apnsMessage' smart constructor.+data APNSMessage = APNSMessage'+ { _amSubstitutions :: !(Maybe (Map Text [Text]))+ , _amSilentPush :: !(Maybe Bool)+ , _amPriority :: !(Maybe Text)+ , _amRawContent :: !(Maybe Text)+ , _amData :: !(Maybe (Map Text Text))+ , _amBody :: !(Maybe Text)+ , _amCategory :: !(Maybe Text)+ , _amTimeToLive :: !(Maybe Int)+ , _amURL :: !(Maybe Text)+ , _amSound :: !(Maybe Text)+ , _amAction :: !(Maybe Action)+ , _amMediaURL :: !(Maybe Text)+ , _amPreferredAuthenticationMethod :: !(Maybe Text)+ , _amBadge :: !(Maybe Int)+ , _amTitle :: !(Maybe Text)+ , _amThreadId :: !(Maybe Text)+ , _amCollapseId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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' - Is this a transaction priority message or lower priority.+--+-- * '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' - This parameter specifies how long (in seconds) the message should be kept if APNS is unable to deliver the notification the first time. If the value is 0, APNS treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent 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' - Multiple notifications with the same collapse identifier are displayed to the user as a single notification. The value of this key must not exceed 64 bytes.+apnsMessage+ :: APNSMessage+apnsMessage =+ APNSMessage'+ { _amSubstitutions = Nothing+ , _amSilentPush = Nothing+ , _amPriority = Nothing+ , _amRawContent = Nothing+ , _amData = Nothing+ , _amBody = Nothing+ , _amCategory = Nothing+ , _amTimeToLive = Nothing+ , _amURL = Nothing+ , _amSound = Nothing+ , _amAction = Nothing+ , _amMediaURL = Nothing+ , _amPreferredAuthenticationMethod = Nothing+ , _amBadge = Nothing+ , _amTitle = Nothing+ , _amThreadId = Nothing+ , _amCollapseId = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+amSubstitutions :: Lens' APNSMessage (HashMap Text [Text])+amSubstitutions = lens _amSubstitutions (\ s a -> s{_amSubstitutions = a}) . _Default . _Map;++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+amSilentPush :: Lens' APNSMessage (Maybe Bool)+amSilentPush = lens _amSilentPush (\ s a -> s{_amSilentPush = a});++-- | Is this a transaction priority message or lower priority.+amPriority :: Lens' APNSMessage (Maybe Text)+amPriority = lens _amPriority (\ s a -> s{_amPriority = a});++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+amRawContent :: Lens' APNSMessage (Maybe Text)+amRawContent = lens _amRawContent (\ s a -> s{_amRawContent = a});++-- | The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+amData :: Lens' APNSMessage (HashMap Text Text)+amData = lens _amData (\ s a -> s{_amData = a}) . _Default . _Map;++-- | The message body of the notification, the email body or the text message.+amBody :: Lens' APNSMessage (Maybe Text)+amBody = lens _amBody (\ s a -> s{_amBody = a});++-- | 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.+amCategory :: Lens' APNSMessage (Maybe Text)+amCategory = lens _amCategory (\ s a -> s{_amCategory = a});++-- | This parameter specifies how long (in seconds) the message should be kept if APNS is unable to deliver the notification the first time. If the value is 0, APNS treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to APNS+amTimeToLive :: Lens' APNSMessage (Maybe Int)+amTimeToLive = lens _amTimeToLive (\ s a -> s{_amTimeToLive = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+amURL :: Lens' APNSMessage (Maybe Text)+amURL = lens _amURL (\ s a -> s{_amURL = a});++-- | 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.+amSound :: Lens' APNSMessage (Maybe Text)+amSound = lens _amSound (\ s a -> s{_amSound = a});++-- | 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+amAction :: Lens' APNSMessage (Maybe Action)+amAction = lens _amAction (\ s a -> s{_amAction = a});++-- | The URL that points to a video used in the push notification.+amMediaURL :: Lens' APNSMessage (Maybe Text)+amMediaURL = lens _amMediaURL (\ s a -> s{_amMediaURL = a});++-- | The preferred authentication method, either "CERTIFICATE" or "TOKEN"+amPreferredAuthenticationMethod :: Lens' APNSMessage (Maybe Text)+amPreferredAuthenticationMethod = lens _amPreferredAuthenticationMethod (\ s a -> s{_amPreferredAuthenticationMethod = a});++-- | 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.+amBadge :: Lens' APNSMessage (Maybe Int)+amBadge = lens _amBadge (\ s a -> s{_amBadge = a});++-- | The message title that displays above the message on the user's device.+amTitle :: Lens' APNSMessage (Maybe Text)+amTitle = lens _amTitle (\ s a -> s{_amTitle = a});++-- | 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.+amThreadId :: Lens' APNSMessage (Maybe Text)+amThreadId = lens _amThreadId (\ s a -> s{_amThreadId = a});++-- | Multiple notifications with the same collapse identifier are displayed to the user as a single notification. The value of this key must not exceed 64 bytes.+amCollapseId :: Lens' APNSMessage (Maybe Text)+amCollapseId = lens _amCollapseId (\ s a -> s{_amCollapseId = a});++instance Hashable APNSMessage where++instance NFData APNSMessage where++instance ToJSON APNSMessage where+ toJSON APNSMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _amSubstitutions,+ ("SilentPush" .=) <$> _amSilentPush,+ ("Priority" .=) <$> _amPriority,+ ("RawContent" .=) <$> _amRawContent,+ ("Data" .=) <$> _amData, ("Body" .=) <$> _amBody,+ ("Category" .=) <$> _amCategory,+ ("TimeToLive" .=) <$> _amTimeToLive,+ ("Url" .=) <$> _amURL, ("Sound" .=) <$> _amSound,+ ("Action" .=) <$> _amAction,+ ("MediaUrl" .=) <$> _amMediaURL,+ ("PreferredAuthenticationMethod" .=) <$>+ _amPreferredAuthenticationMethod,+ ("Badge" .=) <$> _amBadge, ("Title" .=) <$> _amTitle,+ ("ThreadId" .=) <$> _amThreadId,+ ("CollapseId" .=) <$> _amCollapseId])++-- | Apple Development Push Notification Service channel definition.+--+-- /See:/ 'apnsSandboxChannelRequest' smart constructor.+data APNSSandboxChannelRequest = APNSSandboxChannelRequest'+ { _ascrTokenKey :: !(Maybe Text)+ , _ascrPrivateKey :: !(Maybe Text)+ , _ascrEnabled :: !(Maybe Bool)+ , _ascrTeamId :: !(Maybe Text)+ , _ascrBundleId :: !(Maybe Text)+ , _ascrDefaultAuthenticationMethod :: !(Maybe Text)+ , _ascrCertificate :: !(Maybe Text)+ , _ascrTokenKeyId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | 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' - The token key used for APNs Tokens.+--+-- * 'ascrPrivateKey' - The certificate private key.+--+-- * 'ascrEnabled' - If the channel is enabled for sending messages.+--+-- * 'ascrTeamId' - The team id used for APNs Tokens.+--+-- * 'ascrBundleId' - The bundle id used for APNs Tokens.+--+-- * 'ascrDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'ascrCertificate' - The distribution certificate from Apple.+--+-- * 'ascrTokenKeyId' - The token key used for APNs Tokens.+apnsSandboxChannelRequest+ :: APNSSandboxChannelRequest+apnsSandboxChannelRequest =+ APNSSandboxChannelRequest'+ { _ascrTokenKey = Nothing+ , _ascrPrivateKey = Nothing+ , _ascrEnabled = Nothing+ , _ascrTeamId = Nothing+ , _ascrBundleId = Nothing+ , _ascrDefaultAuthenticationMethod = Nothing+ , _ascrCertificate = Nothing+ , _ascrTokenKeyId = Nothing+ }+++-- | The token key used for APNs Tokens.+ascrTokenKey :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrTokenKey = lens _ascrTokenKey (\ s a -> s{_ascrTokenKey = a});++-- | The certificate private key.+ascrPrivateKey :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrPrivateKey = lens _ascrPrivateKey (\ s a -> s{_ascrPrivateKey = a});++-- | If the channel is enabled for sending messages.+ascrEnabled :: Lens' APNSSandboxChannelRequest (Maybe Bool)+ascrEnabled = lens _ascrEnabled (\ s a -> s{_ascrEnabled = a});++-- | The team id used for APNs Tokens.+ascrTeamId :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrTeamId = lens _ascrTeamId (\ s a -> s{_ascrTeamId = a});++-- | The bundle id used for APNs Tokens.+ascrBundleId :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrBundleId = lens _ascrBundleId (\ s a -> s{_ascrBundleId = a});++-- | The default authentication method used for APNs.+ascrDefaultAuthenticationMethod :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrDefaultAuthenticationMethod = lens _ascrDefaultAuthenticationMethod (\ s a -> s{_ascrDefaultAuthenticationMethod = a});++-- | The distribution certificate from Apple.+ascrCertificate :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrCertificate = lens _ascrCertificate (\ s a -> s{_ascrCertificate = a});++-- | The token key used for APNs Tokens.+ascrTokenKeyId :: Lens' APNSSandboxChannelRequest (Maybe Text)+ascrTokenKeyId = lens _ascrTokenKeyId (\ s a -> s{_ascrTokenKeyId = a});++instance Hashable APNSSandboxChannelRequest where++instance NFData APNSSandboxChannelRequest where++instance ToJSON APNSSandboxChannelRequest where+ toJSON APNSSandboxChannelRequest'{..}+ = object+ (catMaybes+ [("TokenKey" .=) <$> _ascrTokenKey,+ ("PrivateKey" .=) <$> _ascrPrivateKey,+ ("Enabled" .=) <$> _ascrEnabled,+ ("TeamId" .=) <$> _ascrTeamId,+ ("BundleId" .=) <$> _ascrBundleId,+ ("DefaultAuthenticationMethod" .=) <$>+ _ascrDefaultAuthenticationMethod,+ ("Certificate" .=) <$> _ascrCertificate,+ ("TokenKeyId" .=) <$> _ascrTokenKeyId])++-- | Apple Development Push Notification Service channel definition.+--+-- /See:/ 'apnsSandboxChannelResponse' smart constructor.+data APNSSandboxChannelResponse = APNSSandboxChannelResponse'+ { _ascPlatform :: !(Maybe Text)+ , _ascLastModifiedDate :: !(Maybe Text)+ , _ascEnabled :: !(Maybe Bool)+ , _ascHasTokenKey :: !(Maybe Bool)+ , _ascDefaultAuthenticationMethod :: !(Maybe Text)+ , _ascIsArchived :: !(Maybe Bool)+ , _ascApplicationId :: !(Maybe Text)+ , _ascVersion :: !(Maybe Int)+ , _ascId :: !(Maybe Text)+ , _ascCreationDate :: !(Maybe Text)+ , _ascLastModifiedBy :: !(Maybe Text)+ , _ascHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'APNSSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ascPlatform' - The platform type. Will be APNS_SANDBOX.+--+-- * 'ascLastModifiedDate' - Last date this was updated+--+-- * 'ascEnabled' - If the channel is enabled for sending messages.+--+-- * 'ascHasTokenKey' - If the channel is registered with a token key for authentication.+--+-- * 'ascDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'ascIsArchived' - Is this channel archived+--+-- * 'ascApplicationId' - Application id+--+-- * 'ascVersion' - Version of channel+--+-- * 'ascId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'ascCreationDate' - When was this segment created+--+-- * 'ascLastModifiedBy' - Who last updated this entry+--+-- * 'ascHasCredential' - If the channel is registered with a credential for authentication.+apnsSandboxChannelResponse+ :: APNSSandboxChannelResponse+apnsSandboxChannelResponse =+ APNSSandboxChannelResponse'+ { _ascPlatform = Nothing+ , _ascLastModifiedDate = Nothing+ , _ascEnabled = Nothing+ , _ascHasTokenKey = Nothing+ , _ascDefaultAuthenticationMethod = Nothing+ , _ascIsArchived = Nothing+ , _ascApplicationId = Nothing+ , _ascVersion = Nothing+ , _ascId = Nothing+ , _ascCreationDate = Nothing+ , _ascLastModifiedBy = Nothing+ , _ascHasCredential = Nothing+ }+++-- | The platform type. Will be APNS_SANDBOX.+ascPlatform :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascPlatform = lens _ascPlatform (\ s a -> s{_ascPlatform = a});++-- | Last date this was updated+ascLastModifiedDate :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascLastModifiedDate = lens _ascLastModifiedDate (\ s a -> s{_ascLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+ascEnabled :: Lens' APNSSandboxChannelResponse (Maybe Bool)+ascEnabled = lens _ascEnabled (\ s a -> s{_ascEnabled = a});++-- | If the channel is registered with a token key for authentication.+ascHasTokenKey :: Lens' APNSSandboxChannelResponse (Maybe Bool)+ascHasTokenKey = lens _ascHasTokenKey (\ s a -> s{_ascHasTokenKey = a});++-- | The default authentication method used for APNs.+ascDefaultAuthenticationMethod :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascDefaultAuthenticationMethod = lens _ascDefaultAuthenticationMethod (\ s a -> s{_ascDefaultAuthenticationMethod = a});++-- | Is this channel archived+ascIsArchived :: Lens' APNSSandboxChannelResponse (Maybe Bool)+ascIsArchived = lens _ascIsArchived (\ s a -> s{_ascIsArchived = a});++-- | Application id+ascApplicationId :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascApplicationId = lens _ascApplicationId (\ s a -> s{_ascApplicationId = a});++-- | Version of channel+ascVersion :: Lens' APNSSandboxChannelResponse (Maybe Int)+ascVersion = lens _ascVersion (\ s a -> s{_ascVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+ascId :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascId = lens _ascId (\ s a -> s{_ascId = a});++-- | When was this segment created+ascCreationDate :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascCreationDate = lens _ascCreationDate (\ s a -> s{_ascCreationDate = a});++-- | Who last updated this entry+ascLastModifiedBy :: Lens' APNSSandboxChannelResponse (Maybe Text)+ascLastModifiedBy = lens _ascLastModifiedBy (\ s a -> s{_ascLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+ascHasCredential :: Lens' APNSSandboxChannelResponse (Maybe Bool)+ascHasCredential = lens _ascHasCredential (\ s a -> s{_ascHasCredential = a});++instance FromJSON APNSSandboxChannelResponse where+ parseJSON+ = withObject "APNSSandboxChannelResponse"+ (\ x ->+ APNSSandboxChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "HasTokenKey")+ <*> (x .:? "DefaultAuthenticationMethod")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable APNSSandboxChannelResponse where++instance NFData APNSSandboxChannelResponse where++-- | Apple VoIP Push Notification Service channel definition.+--+-- /See:/ 'apnsVoipChannelRequest' smart constructor.+data APNSVoipChannelRequest = APNSVoipChannelRequest'+ { _avcrTokenKey :: !(Maybe Text)+ , _avcrPrivateKey :: !(Maybe Text)+ , _avcrEnabled :: !(Maybe Bool)+ , _avcrTeamId :: !(Maybe Text)+ , _avcrBundleId :: !(Maybe Text)+ , _avcrDefaultAuthenticationMethod :: !(Maybe Text)+ , _avcrCertificate :: !(Maybe Text)+ , _avcrTokenKeyId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'APNSVoipChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'avcrTokenKey' - The token key used for APNs Tokens.+--+-- * 'avcrPrivateKey' - The certificate private key.+--+-- * 'avcrEnabled' - If the channel is enabled for sending messages.+--+-- * 'avcrTeamId' - The team id used for APNs Tokens.+--+-- * 'avcrBundleId' - The bundle id used for APNs Tokens.+--+-- * 'avcrDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'avcrCertificate' - The distribution certificate from Apple.+--+-- * 'avcrTokenKeyId' - The token key used for APNs Tokens.+apnsVoipChannelRequest+ :: APNSVoipChannelRequest+apnsVoipChannelRequest =+ APNSVoipChannelRequest'+ { _avcrTokenKey = Nothing+ , _avcrPrivateKey = Nothing+ , _avcrEnabled = Nothing+ , _avcrTeamId = Nothing+ , _avcrBundleId = Nothing+ , _avcrDefaultAuthenticationMethod = Nothing+ , _avcrCertificate = Nothing+ , _avcrTokenKeyId = Nothing+ }+++-- | The token key used for APNs Tokens.+avcrTokenKey :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrTokenKey = lens _avcrTokenKey (\ s a -> s{_avcrTokenKey = a});++-- | The certificate private key.+avcrPrivateKey :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrPrivateKey = lens _avcrPrivateKey (\ s a -> s{_avcrPrivateKey = a});++-- | If the channel is enabled for sending messages.+avcrEnabled :: Lens' APNSVoipChannelRequest (Maybe Bool)+avcrEnabled = lens _avcrEnabled (\ s a -> s{_avcrEnabled = a});++-- | The team id used for APNs Tokens.+avcrTeamId :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrTeamId = lens _avcrTeamId (\ s a -> s{_avcrTeamId = a});++-- | The bundle id used for APNs Tokens.+avcrBundleId :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrBundleId = lens _avcrBundleId (\ s a -> s{_avcrBundleId = a});++-- | The default authentication method used for APNs.+avcrDefaultAuthenticationMethod :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrDefaultAuthenticationMethod = lens _avcrDefaultAuthenticationMethod (\ s a -> s{_avcrDefaultAuthenticationMethod = a});++-- | The distribution certificate from Apple.+avcrCertificate :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrCertificate = lens _avcrCertificate (\ s a -> s{_avcrCertificate = a});++-- | The token key used for APNs Tokens.+avcrTokenKeyId :: Lens' APNSVoipChannelRequest (Maybe Text)+avcrTokenKeyId = lens _avcrTokenKeyId (\ s a -> s{_avcrTokenKeyId = a});++instance Hashable APNSVoipChannelRequest where++instance NFData APNSVoipChannelRequest where++instance ToJSON APNSVoipChannelRequest where+ toJSON APNSVoipChannelRequest'{..}+ = object+ (catMaybes+ [("TokenKey" .=) <$> _avcrTokenKey,+ ("PrivateKey" .=) <$> _avcrPrivateKey,+ ("Enabled" .=) <$> _avcrEnabled,+ ("TeamId" .=) <$> _avcrTeamId,+ ("BundleId" .=) <$> _avcrBundleId,+ ("DefaultAuthenticationMethod" .=) <$>+ _avcrDefaultAuthenticationMethod,+ ("Certificate" .=) <$> _avcrCertificate,+ ("TokenKeyId" .=) <$> _avcrTokenKeyId])++-- | Apple VoIP Push Notification Service channel definition.+--+-- /See:/ 'apnsVoipChannelResponse' smart constructor.+data APNSVoipChannelResponse = APNSVoipChannelResponse'+ { _avcPlatform :: !(Maybe Text)+ , _avcLastModifiedDate :: !(Maybe Text)+ , _avcEnabled :: !(Maybe Bool)+ , _avcHasTokenKey :: !(Maybe Bool)+ , _avcDefaultAuthenticationMethod :: !(Maybe Text)+ , _avcIsArchived :: !(Maybe Bool)+ , _avcApplicationId :: !(Maybe Text)+ , _avcVersion :: !(Maybe Int)+ , _avcId :: !(Maybe Text)+ , _avcCreationDate :: !(Maybe Text)+ , _avcLastModifiedBy :: !(Maybe Text)+ , _avcHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'APNSVoipChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'avcPlatform' - The platform type. Will be APNS.+--+-- * 'avcLastModifiedDate' - Last date this was updated+--+-- * 'avcEnabled' - If the channel is enabled for sending messages.+--+-- * 'avcHasTokenKey' - If the channel is registered with a token key for authentication.+--+-- * 'avcDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'avcIsArchived' - Is this channel archived+--+-- * 'avcApplicationId' - Application id+--+-- * 'avcVersion' - Version of channel+--+-- * 'avcId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'avcCreationDate' - When was this segment created+--+-- * 'avcLastModifiedBy' - Who made the last change+--+-- * 'avcHasCredential' - If the channel is registered with a credential for authentication.+apnsVoipChannelResponse+ :: APNSVoipChannelResponse+apnsVoipChannelResponse =+ APNSVoipChannelResponse'+ { _avcPlatform = Nothing+ , _avcLastModifiedDate = Nothing+ , _avcEnabled = Nothing+ , _avcHasTokenKey = Nothing+ , _avcDefaultAuthenticationMethod = Nothing+ , _avcIsArchived = Nothing+ , _avcApplicationId = Nothing+ , _avcVersion = Nothing+ , _avcId = Nothing+ , _avcCreationDate = Nothing+ , _avcLastModifiedBy = Nothing+ , _avcHasCredential = Nothing+ }+++-- | The platform type. Will be APNS.+avcPlatform :: Lens' APNSVoipChannelResponse (Maybe Text)+avcPlatform = lens _avcPlatform (\ s a -> s{_avcPlatform = a});++-- | Last date this was updated+avcLastModifiedDate :: Lens' APNSVoipChannelResponse (Maybe Text)+avcLastModifiedDate = lens _avcLastModifiedDate (\ s a -> s{_avcLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+avcEnabled :: Lens' APNSVoipChannelResponse (Maybe Bool)+avcEnabled = lens _avcEnabled (\ s a -> s{_avcEnabled = a});++-- | If the channel is registered with a token key for authentication.+avcHasTokenKey :: Lens' APNSVoipChannelResponse (Maybe Bool)+avcHasTokenKey = lens _avcHasTokenKey (\ s a -> s{_avcHasTokenKey = a});++-- | The default authentication method used for APNs.+avcDefaultAuthenticationMethod :: Lens' APNSVoipChannelResponse (Maybe Text)+avcDefaultAuthenticationMethod = lens _avcDefaultAuthenticationMethod (\ s a -> s{_avcDefaultAuthenticationMethod = a});++-- | Is this channel archived+avcIsArchived :: Lens' APNSVoipChannelResponse (Maybe Bool)+avcIsArchived = lens _avcIsArchived (\ s a -> s{_avcIsArchived = a});++-- | Application id+avcApplicationId :: Lens' APNSVoipChannelResponse (Maybe Text)+avcApplicationId = lens _avcApplicationId (\ s a -> s{_avcApplicationId = a});++-- | Version of channel+avcVersion :: Lens' APNSVoipChannelResponse (Maybe Int)+avcVersion = lens _avcVersion (\ s a -> s{_avcVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+avcId :: Lens' APNSVoipChannelResponse (Maybe Text)+avcId = lens _avcId (\ s a -> s{_avcId = a});++-- | When was this segment created+avcCreationDate :: Lens' APNSVoipChannelResponse (Maybe Text)+avcCreationDate = lens _avcCreationDate (\ s a -> s{_avcCreationDate = a});++-- | Who made the last change+avcLastModifiedBy :: Lens' APNSVoipChannelResponse (Maybe Text)+avcLastModifiedBy = lens _avcLastModifiedBy (\ s a -> s{_avcLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+avcHasCredential :: Lens' APNSVoipChannelResponse (Maybe Bool)+avcHasCredential = lens _avcHasCredential (\ s a -> s{_avcHasCredential = a});++instance FromJSON APNSVoipChannelResponse where+ parseJSON+ = withObject "APNSVoipChannelResponse"+ (\ x ->+ APNSVoipChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "HasTokenKey")+ <*> (x .:? "DefaultAuthenticationMethod")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable APNSVoipChannelResponse where++instance NFData APNSVoipChannelResponse where++-- | Apple VoIP Developer Push Notification Service channel definition.+--+-- /See:/ 'apnsVoipSandboxChannelRequest' smart constructor.+data APNSVoipSandboxChannelRequest = APNSVoipSandboxChannelRequest'+ { _avscrTokenKey :: !(Maybe Text)+ , _avscrPrivateKey :: !(Maybe Text)+ , _avscrEnabled :: !(Maybe Bool)+ , _avscrTeamId :: !(Maybe Text)+ , _avscrBundleId :: !(Maybe Text)+ , _avscrDefaultAuthenticationMethod :: !(Maybe Text)+ , _avscrCertificate :: !(Maybe Text)+ , _avscrTokenKeyId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'APNSVoipSandboxChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'avscrTokenKey' - The token key used for APNs Tokens.+--+-- * 'avscrPrivateKey' - The certificate private key.+--+-- * 'avscrEnabled' - If the channel is enabled for sending messages.+--+-- * 'avscrTeamId' - The team id used for APNs Tokens.+--+-- * 'avscrBundleId' - The bundle id used for APNs Tokens.+--+-- * 'avscrDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'avscrCertificate' - The distribution certificate from Apple.+--+-- * 'avscrTokenKeyId' - The token key used for APNs Tokens.+apnsVoipSandboxChannelRequest+ :: APNSVoipSandboxChannelRequest+apnsVoipSandboxChannelRequest =+ APNSVoipSandboxChannelRequest'+ { _avscrTokenKey = Nothing+ , _avscrPrivateKey = Nothing+ , _avscrEnabled = Nothing+ , _avscrTeamId = Nothing+ , _avscrBundleId = Nothing+ , _avscrDefaultAuthenticationMethod = Nothing+ , _avscrCertificate = Nothing+ , _avscrTokenKeyId = Nothing+ }+++-- | The token key used for APNs Tokens.+avscrTokenKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrTokenKey = lens _avscrTokenKey (\ s a -> s{_avscrTokenKey = a});++-- | The certificate private key.+avscrPrivateKey :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrPrivateKey = lens _avscrPrivateKey (\ s a -> s{_avscrPrivateKey = a});++-- | If the channel is enabled for sending messages.+avscrEnabled :: Lens' APNSVoipSandboxChannelRequest (Maybe Bool)+avscrEnabled = lens _avscrEnabled (\ s a -> s{_avscrEnabled = a});++-- | The team id used for APNs Tokens.+avscrTeamId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrTeamId = lens _avscrTeamId (\ s a -> s{_avscrTeamId = a});++-- | The bundle id used for APNs Tokens.+avscrBundleId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrBundleId = lens _avscrBundleId (\ s a -> s{_avscrBundleId = a});++-- | The default authentication method used for APNs.+avscrDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrDefaultAuthenticationMethod = lens _avscrDefaultAuthenticationMethod (\ s a -> s{_avscrDefaultAuthenticationMethod = a});++-- | The distribution certificate from Apple.+avscrCertificate :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrCertificate = lens _avscrCertificate (\ s a -> s{_avscrCertificate = a});++-- | The token key used for APNs Tokens.+avscrTokenKeyId :: Lens' APNSVoipSandboxChannelRequest (Maybe Text)+avscrTokenKeyId = lens _avscrTokenKeyId (\ s a -> s{_avscrTokenKeyId = a});++instance Hashable APNSVoipSandboxChannelRequest where++instance NFData APNSVoipSandboxChannelRequest where++instance ToJSON APNSVoipSandboxChannelRequest where+ toJSON APNSVoipSandboxChannelRequest'{..}+ = object+ (catMaybes+ [("TokenKey" .=) <$> _avscrTokenKey,+ ("PrivateKey" .=) <$> _avscrPrivateKey,+ ("Enabled" .=) <$> _avscrEnabled,+ ("TeamId" .=) <$> _avscrTeamId,+ ("BundleId" .=) <$> _avscrBundleId,+ ("DefaultAuthenticationMethod" .=) <$>+ _avscrDefaultAuthenticationMethod,+ ("Certificate" .=) <$> _avscrCertificate,+ ("TokenKeyId" .=) <$> _avscrTokenKeyId])++-- | Apple VoIP Developer Push Notification Service channel definition.+--+-- /See:/ 'apnsVoipSandboxChannelResponse' smart constructor.+data APNSVoipSandboxChannelResponse = APNSVoipSandboxChannelResponse'+ { _avscPlatform :: !(Maybe Text)+ , _avscLastModifiedDate :: !(Maybe Text)+ , _avscEnabled :: !(Maybe Bool)+ , _avscHasTokenKey :: !(Maybe Bool)+ , _avscDefaultAuthenticationMethod :: !(Maybe Text)+ , _avscIsArchived :: !(Maybe Bool)+ , _avscApplicationId :: !(Maybe Text)+ , _avscVersion :: !(Maybe Int)+ , _avscId :: !(Maybe Text)+ , _avscCreationDate :: !(Maybe Text)+ , _avscLastModifiedBy :: !(Maybe Text)+ , _avscHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'APNSVoipSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'avscPlatform' - The platform type. Will be APNS.+--+-- * 'avscLastModifiedDate' - Last date this was updated+--+-- * 'avscEnabled' - If the channel is enabled for sending messages.+--+-- * 'avscHasTokenKey' - If the channel is registered with a token key for authentication.+--+-- * 'avscDefaultAuthenticationMethod' - The default authentication method used for APNs.+--+-- * 'avscIsArchived' - Is this channel archived+--+-- * 'avscApplicationId' - Application id+--+-- * 'avscVersion' - Version of channel+--+-- * 'avscId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'avscCreationDate' - When was this segment created+--+-- * 'avscLastModifiedBy' - Who made the last change+--+-- * 'avscHasCredential' - If the channel is registered with a credential for authentication.+apnsVoipSandboxChannelResponse+ :: APNSVoipSandboxChannelResponse+apnsVoipSandboxChannelResponse =+ APNSVoipSandboxChannelResponse'+ { _avscPlatform = Nothing+ , _avscLastModifiedDate = Nothing+ , _avscEnabled = Nothing+ , _avscHasTokenKey = Nothing+ , _avscDefaultAuthenticationMethod = Nothing+ , _avscIsArchived = Nothing+ , _avscApplicationId = Nothing+ , _avscVersion = Nothing+ , _avscId = Nothing+ , _avscCreationDate = Nothing+ , _avscLastModifiedBy = Nothing+ , _avscHasCredential = Nothing+ }+++-- | The platform type. Will be APNS.+avscPlatform :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscPlatform = lens _avscPlatform (\ s a -> s{_avscPlatform = a});++-- | Last date this was updated+avscLastModifiedDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscLastModifiedDate = lens _avscLastModifiedDate (\ s a -> s{_avscLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+avscEnabled :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)+avscEnabled = lens _avscEnabled (\ s a -> s{_avscEnabled = a});++-- | If the channel is registered with a token key for authentication.+avscHasTokenKey :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)+avscHasTokenKey = lens _avscHasTokenKey (\ s a -> s{_avscHasTokenKey = a});++-- | The default authentication method used for APNs.+avscDefaultAuthenticationMethod :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscDefaultAuthenticationMethod = lens _avscDefaultAuthenticationMethod (\ s a -> s{_avscDefaultAuthenticationMethod = a});++-- | Is this channel archived+avscIsArchived :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)+avscIsArchived = lens _avscIsArchived (\ s a -> s{_avscIsArchived = a});++-- | Application id+avscApplicationId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscApplicationId = lens _avscApplicationId (\ s a -> s{_avscApplicationId = a});++-- | Version of channel+avscVersion :: Lens' APNSVoipSandboxChannelResponse (Maybe Int)+avscVersion = lens _avscVersion (\ s a -> s{_avscVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+avscId :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscId = lens _avscId (\ s a -> s{_avscId = a});++-- | When was this segment created+avscCreationDate :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscCreationDate = lens _avscCreationDate (\ s a -> s{_avscCreationDate = a});++-- | Who made the last change+avscLastModifiedBy :: Lens' APNSVoipSandboxChannelResponse (Maybe Text)+avscLastModifiedBy = lens _avscLastModifiedBy (\ s a -> s{_avscLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+avscHasCredential :: Lens' APNSVoipSandboxChannelResponse (Maybe Bool)+avscHasCredential = lens _avscHasCredential (\ s a -> s{_avscHasCredential = a});++instance FromJSON APNSVoipSandboxChannelResponse+ where+ parseJSON+ = withObject "APNSVoipSandboxChannelResponse"+ (\ x ->+ APNSVoipSandboxChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "HasTokenKey")+ <*> (x .:? "DefaultAuthenticationMethod")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable APNSVoipSandboxChannelResponse+ where++instance NFData APNSVoipSandboxChannelResponse where++-- | Activities for campaign.+--+-- /See:/ 'activitiesResponse' smart constructor.+newtype ActivitiesResponse = ActivitiesResponse'+ { _aItem :: Maybe [ActivityResponse]+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ActivitiesResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'aItem' - List of campaign activities+activitiesResponse+ :: ActivitiesResponse+activitiesResponse = ActivitiesResponse' {_aItem = Nothing}+++-- | List of campaign activities+aItem :: Lens' ActivitiesResponse [ActivityResponse]+aItem = lens _aItem (\ s a -> s{_aItem = a}) . _Default . _Coerce;++instance FromJSON ActivitiesResponse where+ parseJSON+ = withObject "ActivitiesResponse"+ (\ x ->+ ActivitiesResponse' <$> (x .:? "Item" .!= mempty))++instance Hashable ActivitiesResponse where++instance NFData ActivitiesResponse where++-- | Activity definition+--+-- /See:/ 'activityResponse' smart constructor.+data ActivityResponse = ActivityResponse'+ { _aState :: !(Maybe Text)+ , _aStart :: !(Maybe Text)+ , _aCampaignId :: !(Maybe Text)+ , _aTimezonesCompletedCount :: !(Maybe Int)+ , _aTimezonesTotalCount :: !(Maybe Int)+ , _aResult :: !(Maybe Text)+ , _aTreatmentId :: !(Maybe Text)+ , _aSuccessfulEndpointCount :: !(Maybe Int)+ , _aEnd :: !(Maybe Text)+ , _aApplicationId :: !(Maybe Text)+ , _aTotalEndpointCount :: !(Maybe Int)+ , _aId :: !(Maybe Text)+ , _aScheduledStart :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ActivityResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'aState' - The state of the activity. Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED+--+-- * 'aStart' - The actual start time of the activity in ISO 8601 format.+--+-- * 'aCampaignId' - The ID of the campaign to which the activity applies.+--+-- * 'aTimezonesCompletedCount' - The total number of timezones completed.+--+-- * 'aTimezonesTotalCount' - The total number of unique timezones present in the segment.+--+-- * 'aResult' - Indicates whether the activity succeeded. Valid values: SUCCESS, FAIL+--+-- * 'aTreatmentId' - The ID of a variation of the campaign used for A/B testing.+--+-- * 'aSuccessfulEndpointCount' - The total number of endpoints to which the campaign successfully delivered messages.+--+-- * 'aEnd' - The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.+--+-- * 'aApplicationId' - The ID of the application to which the campaign applies.+--+-- * 'aTotalEndpointCount' - The total number of endpoints to which the campaign attempts to deliver messages.+--+-- * 'aId' - The unique activity ID.+--+-- * 'aScheduledStart' - The scheduled start time for the activity in ISO 8601 format.+activityResponse+ :: ActivityResponse+activityResponse =+ ActivityResponse'+ { _aState = Nothing+ , _aStart = Nothing+ , _aCampaignId = Nothing+ , _aTimezonesCompletedCount = Nothing+ , _aTimezonesTotalCount = Nothing+ , _aResult = Nothing+ , _aTreatmentId = Nothing+ , _aSuccessfulEndpointCount = Nothing+ , _aEnd = Nothing+ , _aApplicationId = Nothing+ , _aTotalEndpointCount = Nothing+ , _aId = Nothing+ , _aScheduledStart = Nothing+ }+++-- | The state of the activity. Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED+aState :: Lens' ActivityResponse (Maybe Text)+aState = lens _aState (\ s a -> s{_aState = a});++-- | The actual start time of the activity in ISO 8601 format.+aStart :: Lens' ActivityResponse (Maybe Text)+aStart = lens _aStart (\ s a -> s{_aStart = a});++-- | The ID of the campaign to which the activity applies.+aCampaignId :: Lens' ActivityResponse (Maybe Text)+aCampaignId = lens _aCampaignId (\ s a -> s{_aCampaignId = a});++-- | The total number of timezones completed.+aTimezonesCompletedCount :: Lens' ActivityResponse (Maybe Int)+aTimezonesCompletedCount = lens _aTimezonesCompletedCount (\ s a -> s{_aTimezonesCompletedCount = a});++-- | The total number of unique timezones present in the segment.+aTimezonesTotalCount :: Lens' ActivityResponse (Maybe Int)+aTimezonesTotalCount = lens _aTimezonesTotalCount (\ s a -> s{_aTimezonesTotalCount = a});++-- | Indicates whether the activity succeeded. Valid values: SUCCESS, FAIL+aResult :: Lens' ActivityResponse (Maybe Text)+aResult = lens _aResult (\ s a -> s{_aResult = a});++-- | The ID of a variation of the campaign used for A/B testing.+aTreatmentId :: Lens' ActivityResponse (Maybe Text)+aTreatmentId = lens _aTreatmentId (\ s a -> s{_aTreatmentId = a});++-- | The total number of endpoints to which the campaign successfully delivered messages.+aSuccessfulEndpointCount :: Lens' ActivityResponse (Maybe Int)+aSuccessfulEndpointCount = lens _aSuccessfulEndpointCount (\ s a -> s{_aSuccessfulEndpointCount = a});++-- | The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.+aEnd :: Lens' ActivityResponse (Maybe Text)+aEnd = lens _aEnd (\ s a -> s{_aEnd = a});++-- | The ID of the application to which the campaign applies.+aApplicationId :: Lens' ActivityResponse (Maybe Text)+aApplicationId = lens _aApplicationId (\ s a -> s{_aApplicationId = a});++-- | The total number of endpoints to which the campaign attempts to deliver messages.+aTotalEndpointCount :: Lens' ActivityResponse (Maybe Int)+aTotalEndpointCount = lens _aTotalEndpointCount (\ s a -> s{_aTotalEndpointCount = a});++-- | The unique activity ID.+aId :: Lens' ActivityResponse (Maybe Text)+aId = lens _aId (\ s a -> s{_aId = a});++-- | The scheduled start time for the activity in ISO 8601 format.+aScheduledStart :: Lens' ActivityResponse (Maybe Text)+aScheduledStart = lens _aScheduledStart (\ s a -> s{_aScheduledStart = a});++instance FromJSON ActivityResponse where+ parseJSON+ = withObject "ActivityResponse"+ (\ x ->+ ActivityResponse' <$>+ (x .:? "State") <*> (x .:? "Start") <*>+ (x .:? "CampaignId")+ <*> (x .:? "TimezonesCompletedCount")+ <*> (x .:? "TimezonesTotalCount")+ <*> (x .:? "Result")+ <*> (x .:? "TreatmentId")+ <*> (x .:? "SuccessfulEndpointCount")+ <*> (x .:? "End")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "TotalEndpointCount")+ <*> (x .:? "Id")+ <*> (x .:? "ScheduledStart"))++instance Hashable ActivityResponse where++instance NFData ActivityResponse where++-- | Address configuration.+--+-- /See:/ 'addressConfiguration' smart constructor.+data AddressConfiguration = AddressConfiguration'+ { _acSubstitutions :: !(Maybe (Map Text [Text]))+ , _acTitleOverride :: !(Maybe Text)+ , _acContext :: !(Maybe (Map Text Text))+ , _acRawContent :: !(Maybe Text)+ , _acBodyOverride :: !(Maybe Text)+ , _acChannelType :: !(Maybe ChannelType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AddressConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'acSubstitutions' - A map of substitution values for the message to be merged with the DefaultMessage's substitutions. Substitutions on this map take precedence over the all other substitutions.+--+-- * 'acTitleOverride' - Title override. If specified will override default title if applicable.+--+-- * 'acContext' - A map of custom attributes to attributes to be attached to the message for this address. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+--+-- * 'acRawContent' - The Raw JSON formatted string to be used as the payload. This value overrides the message.+--+-- * 'acBodyOverride' - Body override. If specified will override default body.+--+-- * 'acChannelType' - The channel type. Valid values: GCM | APNS | SMS | EMAIL+addressConfiguration+ :: AddressConfiguration+addressConfiguration =+ AddressConfiguration'+ { _acSubstitutions = Nothing+ , _acTitleOverride = Nothing+ , _acContext = Nothing+ , _acRawContent = Nothing+ , _acBodyOverride = Nothing+ , _acChannelType = Nothing+ }+++-- | A map of substitution values for the message to be merged with the DefaultMessage's substitutions. Substitutions on this map take precedence over the all other substitutions.+acSubstitutions :: Lens' AddressConfiguration (HashMap Text [Text])+acSubstitutions = lens _acSubstitutions (\ s a -> s{_acSubstitutions = a}) . _Default . _Map;++-- | Title override. If specified will override default title if applicable.+acTitleOverride :: Lens' AddressConfiguration (Maybe Text)+acTitleOverride = lens _acTitleOverride (\ s a -> s{_acTitleOverride = a});++-- | A map of custom attributes to attributes to be attached to the message for this address. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+acContext :: Lens' AddressConfiguration (HashMap Text Text)+acContext = lens _acContext (\ s a -> s{_acContext = a}) . _Default . _Map;++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+acRawContent :: Lens' AddressConfiguration (Maybe Text)+acRawContent = lens _acRawContent (\ s a -> s{_acRawContent = a});++-- | Body override. If specified will override default body.+acBodyOverride :: Lens' AddressConfiguration (Maybe Text)+acBodyOverride = lens _acBodyOverride (\ s a -> s{_acBodyOverride = a});++-- | The channel type. Valid values: GCM | APNS | SMS | EMAIL+acChannelType :: Lens' AddressConfiguration (Maybe ChannelType)+acChannelType = lens _acChannelType (\ s a -> s{_acChannelType = a});++instance Hashable AddressConfiguration where++instance NFData AddressConfiguration where++instance ToJSON AddressConfiguration where+ toJSON AddressConfiguration'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _acSubstitutions,+ ("TitleOverride" .=) <$> _acTitleOverride,+ ("Context" .=) <$> _acContext,+ ("RawContent" .=) <$> _acRawContent,+ ("BodyOverride" .=) <$> _acBodyOverride,+ ("ChannelType" .=) <$> _acChannelType])++-- | Application Response.+--+-- /See:/ 'applicationResponse' smart constructor.+data ApplicationResponse = ApplicationResponse'+ { _appName :: !(Maybe Text)+ , _appId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ApplicationResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'appName' - The display name of the application.+--+-- * 'appId' - The unique application ID.+applicationResponse+ :: ApplicationResponse+applicationResponse =+ ApplicationResponse' {_appName = Nothing, _appId = Nothing}+++-- | The display name of the application.+appName :: Lens' ApplicationResponse (Maybe Text)+appName = lens _appName (\ s a -> s{_appName = a});++-- | The unique application ID.+appId :: Lens' ApplicationResponse (Maybe Text)+appId = lens _appId (\ s a -> s{_appId = a});++instance FromJSON ApplicationResponse where+ parseJSON+ = withObject "ApplicationResponse"+ (\ x ->+ ApplicationResponse' <$>+ (x .:? "Name") <*> (x .:? "Id"))++instance Hashable ApplicationResponse where++instance NFData ApplicationResponse where++-- | Application settings.+--+-- /See:/ 'applicationSettingsResource' smart constructor.+data ApplicationSettingsResource = ApplicationSettingsResource'+ { _asrLastModifiedDate :: !(Maybe Text)+ , _asrLimits :: !(Maybe CampaignLimits)+ , _asrQuietTime :: !(Maybe QuietTime)+ , _asrApplicationId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ApplicationSettingsResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'asrLastModifiedDate' - The date that the settings were last updated in ISO 8601 format.+--+-- * 'asrLimits' - The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.+--+-- * 'asrQuietTime' - The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.+--+-- * 'asrApplicationId' - The unique ID for the application.+applicationSettingsResource+ :: ApplicationSettingsResource+applicationSettingsResource =+ ApplicationSettingsResource'+ { _asrLastModifiedDate = Nothing+ , _asrLimits = Nothing+ , _asrQuietTime = Nothing+ , _asrApplicationId = Nothing+ }+++-- | The date that the settings were last updated in ISO 8601 format.+asrLastModifiedDate :: Lens' ApplicationSettingsResource (Maybe Text)+asrLastModifiedDate = lens _asrLastModifiedDate (\ s a -> s{_asrLastModifiedDate = a});++-- | The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.+asrLimits :: Lens' ApplicationSettingsResource (Maybe CampaignLimits)+asrLimits = lens _asrLimits (\ s a -> s{_asrLimits = a});++-- | The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.+asrQuietTime :: Lens' ApplicationSettingsResource (Maybe QuietTime)+asrQuietTime = lens _asrQuietTime (\ s a -> s{_asrQuietTime = a});++-- | The unique ID for the application.+asrApplicationId :: Lens' ApplicationSettingsResource (Maybe Text)+asrApplicationId = lens _asrApplicationId (\ s a -> s{_asrApplicationId = a});++instance FromJSON ApplicationSettingsResource where+ parseJSON+ = withObject "ApplicationSettingsResource"+ (\ x ->+ ApplicationSettingsResource' <$>+ (x .:? "LastModifiedDate") <*> (x .:? "Limits") <*>+ (x .:? "QuietTime")+ <*> (x .:? "ApplicationId"))++instance Hashable ApplicationSettingsResource where++instance NFData ApplicationSettingsResource where++-- | Get Applications Result.+--+-- /See:/ 'applicationsResponse' smart constructor.+data ApplicationsResponse = ApplicationsResponse'+ { _appNextToken :: !(Maybe Text)+ , _appItem :: !(Maybe [ApplicationResponse])+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ApplicationsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'appNextToken' - The string that you use in a subsequent request to get the next page of results in a paginated response.+--+-- * 'appItem' - List of applications returned in this page.+applicationsResponse+ :: ApplicationsResponse+applicationsResponse =+ ApplicationsResponse' {_appNextToken = Nothing, _appItem = Nothing}+++-- | The string that you use in a subsequent request to get the next page of results in a paginated response.+appNextToken :: Lens' ApplicationsResponse (Maybe Text)+appNextToken = lens _appNextToken (\ s a -> s{_appNextToken = a});++-- | List of applications returned in this page.+appItem :: Lens' ApplicationsResponse [ApplicationResponse]+appItem = lens _appItem (\ s a -> s{_appItem = a}) . _Default . _Coerce;++instance FromJSON ApplicationsResponse where+ parseJSON+ = withObject "ApplicationsResponse"+ (\ x ->+ ApplicationsResponse' <$>+ (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))++instance Hashable ApplicationsResponse where++instance NFData ApplicationsResponse where++-- | Custom attibute dimension+--+-- /See:/ 'attributeDimension' smart constructor.+data AttributeDimension = AttributeDimension'+ { _adValues :: !(Maybe [Text])+ , _adAttributeType :: !(Maybe AttributeType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AttributeDimension' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'adValues' - The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.+--+-- * 'adAttributeType' - The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment. EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.+attributeDimension+ :: AttributeDimension+attributeDimension =+ AttributeDimension' {_adValues = Nothing, _adAttributeType = Nothing}+++-- | The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.+adValues :: Lens' AttributeDimension [Text]+adValues = lens _adValues (\ s a -> s{_adValues = a}) . _Default . _Coerce;++-- | The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment. EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.+adAttributeType :: Lens' AttributeDimension (Maybe AttributeType)+adAttributeType = lens _adAttributeType (\ s a -> s{_adAttributeType = a});++instance FromJSON AttributeDimension where+ parseJSON+ = withObject "AttributeDimension"+ (\ x ->+ AttributeDimension' <$>+ (x .:? "Values" .!= mempty) <*>+ (x .:? "AttributeType"))++instance Hashable AttributeDimension where++instance NFData AttributeDimension where++instance ToJSON AttributeDimension where+ toJSON AttributeDimension'{..}+ = object+ (catMaybes+ [("Values" .=) <$> _adValues,+ ("AttributeType" .=) <$> _adAttributeType])++-- | Baidu Cloud Push credentials+--+-- /See:/ 'baiduChannelRequest' smart constructor.+data BaiduChannelRequest = BaiduChannelRequest'+ { _bcrAPIKey :: !(Maybe Text)+ , _bcrEnabled :: !(Maybe Bool)+ , _bcrSecretKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BaiduChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bcrAPIKey' - Platform credential API key from Baidu.+--+-- * 'bcrEnabled' - If the channel is enabled for sending messages.+--+-- * 'bcrSecretKey' - Platform credential Secret key from Baidu.+baiduChannelRequest+ :: BaiduChannelRequest+baiduChannelRequest =+ BaiduChannelRequest'+ {_bcrAPIKey = Nothing, _bcrEnabled = Nothing, _bcrSecretKey = Nothing}+++-- | Platform credential API key from Baidu.+bcrAPIKey :: Lens' BaiduChannelRequest (Maybe Text)+bcrAPIKey = lens _bcrAPIKey (\ s a -> s{_bcrAPIKey = a});++-- | If the channel is enabled for sending messages.+bcrEnabled :: Lens' BaiduChannelRequest (Maybe Bool)+bcrEnabled = lens _bcrEnabled (\ s a -> s{_bcrEnabled = a});++-- | Platform credential Secret key from Baidu.+bcrSecretKey :: Lens' BaiduChannelRequest (Maybe Text)+bcrSecretKey = lens _bcrSecretKey (\ s a -> s{_bcrSecretKey = a});++instance Hashable BaiduChannelRequest where++instance NFData BaiduChannelRequest where++instance ToJSON BaiduChannelRequest where+ toJSON BaiduChannelRequest'{..}+ = object+ (catMaybes+ [("ApiKey" .=) <$> _bcrAPIKey,+ ("Enabled" .=) <$> _bcrEnabled,+ ("SecretKey" .=) <$> _bcrSecretKey])++-- | Baidu Cloud Messaging channel definition+--+-- /See:/ 'baiduChannelResponse' smart constructor.+data BaiduChannelResponse = BaiduChannelResponse'+ { _bcPlatform :: !(Maybe Text)+ , _bcLastModifiedDate :: !(Maybe Text)+ , _bcEnabled :: !(Maybe Bool)+ , _bcCredential :: !(Maybe Text)+ , _bcIsArchived :: !(Maybe Bool)+ , _bcApplicationId :: !(Maybe Text)+ , _bcVersion :: !(Maybe Int)+ , _bcId :: !(Maybe Text)+ , _bcCreationDate :: !(Maybe Text)+ , _bcLastModifiedBy :: !(Maybe Text)+ , _bcHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BaiduChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bcPlatform' - The platform type. Will be BAIDU+--+-- * 'bcLastModifiedDate' - Last date this was updated+--+-- * 'bcEnabled' - If the channel is enabled for sending messages.+--+-- * 'bcCredential' - The Baidu API key from Baidu.+--+-- * 'bcIsArchived' - Is this channel archived+--+-- * 'bcApplicationId' - Application id+--+-- * 'bcVersion' - Version of channel+--+-- * 'bcId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'bcCreationDate' - When was this segment created+--+-- * 'bcLastModifiedBy' - Who made the last change+--+-- * 'bcHasCredential' - If the channel is registered with a credential for authentication.+baiduChannelResponse+ :: BaiduChannelResponse+baiduChannelResponse =+ BaiduChannelResponse'+ { _bcPlatform = Nothing+ , _bcLastModifiedDate = Nothing+ , _bcEnabled = Nothing+ , _bcCredential = Nothing+ , _bcIsArchived = Nothing+ , _bcApplicationId = Nothing+ , _bcVersion = Nothing+ , _bcId = Nothing+ , _bcCreationDate = Nothing+ , _bcLastModifiedBy = Nothing+ , _bcHasCredential = Nothing+ }+++-- | The platform type. Will be BAIDU+bcPlatform :: Lens' BaiduChannelResponse (Maybe Text)+bcPlatform = lens _bcPlatform (\ s a -> s{_bcPlatform = a});++-- | Last date this was updated+bcLastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text)+bcLastModifiedDate = lens _bcLastModifiedDate (\ s a -> s{_bcLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+bcEnabled :: Lens' BaiduChannelResponse (Maybe Bool)+bcEnabled = lens _bcEnabled (\ s a -> s{_bcEnabled = a});++-- | The Baidu API key from Baidu.+bcCredential :: Lens' BaiduChannelResponse (Maybe Text)+bcCredential = lens _bcCredential (\ s a -> s{_bcCredential = a});++-- | Is this channel archived+bcIsArchived :: Lens' BaiduChannelResponse (Maybe Bool)+bcIsArchived = lens _bcIsArchived (\ s a -> s{_bcIsArchived = a});++-- | Application id+bcApplicationId :: Lens' BaiduChannelResponse (Maybe Text)+bcApplicationId = lens _bcApplicationId (\ s a -> s{_bcApplicationId = a});++-- | Version of channel+bcVersion :: Lens' BaiduChannelResponse (Maybe Int)+bcVersion = lens _bcVersion (\ s a -> s{_bcVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+bcId :: Lens' BaiduChannelResponse (Maybe Text)+bcId = lens _bcId (\ s a -> s{_bcId = a});++-- | When was this segment created+bcCreationDate :: Lens' BaiduChannelResponse (Maybe Text)+bcCreationDate = lens _bcCreationDate (\ s a -> s{_bcCreationDate = a});++-- | Who made the last change+bcLastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text)+bcLastModifiedBy = lens _bcLastModifiedBy (\ s a -> s{_bcLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+bcHasCredential :: Lens' BaiduChannelResponse (Maybe Bool)+bcHasCredential = lens _bcHasCredential (\ s a -> s{_bcHasCredential = a});++instance FromJSON BaiduChannelResponse where+ parseJSON+ = withObject "BaiduChannelResponse"+ (\ x ->+ BaiduChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "Credential")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable BaiduChannelResponse where++instance NFData BaiduChannelResponse where++-- | Baidu Message.+--+-- /See:/ 'baiduMessage' smart constructor.+data BaiduMessage = BaiduMessage'+ { _bmSubstitutions :: !(Maybe (Map Text [Text]))+ , _bmSilentPush :: !(Maybe Bool)+ , _bmImageIconURL :: !(Maybe Text)+ , _bmRawContent :: !(Maybe Text)+ , _bmData :: !(Maybe (Map Text Text))+ , _bmSmallImageIconURL :: !(Maybe Text)+ , _bmBody :: !(Maybe Text)+ , _bmURL :: !(Maybe Text)+ , _bmSound :: !(Maybe Text)+ , _bmAction :: !(Maybe Action)+ , _bmImageURL :: !(Maybe Text)+ , _bmTitle :: !(Maybe Text)+ , _bmIconReference :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BaiduMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bmSubstitutions' - Default message substitutions. Can be overridden by individual address substitutions.+--+-- * 'bmSilentPush' - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+--+-- * 'bmImageIconURL' - The URL that points to an image used as the large icon to the notification content view.+--+-- * 'bmRawContent' - The Raw JSON formatted string to be used as the payload. This value overrides the message.+--+-- * 'bmData' - The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+--+-- * 'bmSmallImageIconURL' - 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+--+-- * 'bmBody' - The message body of the notification, the email body or the text message.+--+-- * 'bmURL' - The URL to open in the user's mobile browser. Used if the value for Action is URL.+--+-- * 'bmSound' - 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 /res/raw/+--+-- * 'bmAction' - 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+--+-- * 'bmImageURL' - The URL that points to an image used in the push notification.+--+-- * 'bmTitle' - The message title that displays above the message on the user's device.+--+-- * 'bmIconReference' - The icon image name of the asset saved in your application.+baiduMessage+ :: BaiduMessage+baiduMessage =+ BaiduMessage'+ { _bmSubstitutions = Nothing+ , _bmSilentPush = Nothing+ , _bmImageIconURL = Nothing+ , _bmRawContent = Nothing+ , _bmData = Nothing+ , _bmSmallImageIconURL = Nothing+ , _bmBody = Nothing+ , _bmURL = Nothing+ , _bmSound = Nothing+ , _bmAction = Nothing+ , _bmImageURL = Nothing+ , _bmTitle = Nothing+ , _bmIconReference = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+bmSubstitutions :: Lens' BaiduMessage (HashMap Text [Text])+bmSubstitutions = lens _bmSubstitutions (\ s a -> s{_bmSubstitutions = a}) . _Default . _Map;++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+bmSilentPush :: Lens' BaiduMessage (Maybe Bool)+bmSilentPush = lens _bmSilentPush (\ s a -> s{_bmSilentPush = a});++-- | The URL that points to an image used as the large icon to the notification content view.+bmImageIconURL :: Lens' BaiduMessage (Maybe Text)+bmImageIconURL = lens _bmImageIconURL (\ s a -> s{_bmImageIconURL = a});++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+bmRawContent :: Lens' BaiduMessage (Maybe Text)+bmRawContent = lens _bmRawContent (\ s a -> s{_bmRawContent = a});++-- | The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+bmData :: Lens' BaiduMessage (HashMap Text Text)+bmData = lens _bmData (\ s a -> s{_bmData = a}) . _Default . _Map;++-- | 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+bmSmallImageIconURL :: Lens' BaiduMessage (Maybe Text)+bmSmallImageIconURL = lens _bmSmallImageIconURL (\ s a -> s{_bmSmallImageIconURL = a});++-- | The message body of the notification, the email body or the text message.+bmBody :: Lens' BaiduMessage (Maybe Text)+bmBody = lens _bmBody (\ s a -> s{_bmBody = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+bmURL :: Lens' BaiduMessage (Maybe Text)+bmURL = lens _bmURL (\ s a -> s{_bmURL = a});++-- | 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 /res/raw/+bmSound :: Lens' BaiduMessage (Maybe Text)+bmSound = lens _bmSound (\ s a -> s{_bmSound = a});++-- | 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+bmAction :: Lens' BaiduMessage (Maybe Action)+bmAction = lens _bmAction (\ s a -> s{_bmAction = a});++-- | The URL that points to an image used in the push notification.+bmImageURL :: Lens' BaiduMessage (Maybe Text)+bmImageURL = lens _bmImageURL (\ s a -> s{_bmImageURL = a});++-- | The message title that displays above the message on the user's device.+bmTitle :: Lens' BaiduMessage (Maybe Text)+bmTitle = lens _bmTitle (\ s a -> s{_bmTitle = a});++-- | The icon image name of the asset saved in your application.+bmIconReference :: Lens' BaiduMessage (Maybe Text)+bmIconReference = lens _bmIconReference (\ s a -> s{_bmIconReference = a});++instance Hashable BaiduMessage where++instance NFData BaiduMessage where++instance ToJSON BaiduMessage where+ toJSON BaiduMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _bmSubstitutions,+ ("SilentPush" .=) <$> _bmSilentPush,+ ("ImageIconUrl" .=) <$> _bmImageIconURL,+ ("RawContent" .=) <$> _bmRawContent,+ ("Data" .=) <$> _bmData,+ ("SmallImageIconUrl" .=) <$> _bmSmallImageIconURL,+ ("Body" .=) <$> _bmBody, ("Url" .=) <$> _bmURL,+ ("Sound" .=) <$> _bmSound,+ ("Action" .=) <$> _bmAction,+ ("ImageUrl" .=) <$> _bmImageURL,+ ("Title" .=) <$> _bmTitle,+ ("IconReference" .=) <$> _bmIconReference])++-- | The email message configuration.+--+-- /See:/ 'campaignEmailMessage' smart constructor.+data CampaignEmailMessage = CampaignEmailMessage'+ { _cemBody :: !(Maybe Text)+ , _cemFromAddress :: !(Maybe Text)+ , _cemHTMLBody :: !(Maybe Text)+ , _cemTitle :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignEmailMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cemBody' - The email text body.+--+-- * 'cemFromAddress' - The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.+--+-- * 'cemHTMLBody' - The email html body.+--+-- * 'cemTitle' - The email title (Or subject).+campaignEmailMessage+ :: CampaignEmailMessage+campaignEmailMessage =+ CampaignEmailMessage'+ { _cemBody = Nothing+ , _cemFromAddress = Nothing+ , _cemHTMLBody = Nothing+ , _cemTitle = Nothing+ }+++-- | The email text body.+cemBody :: Lens' CampaignEmailMessage (Maybe Text)+cemBody = lens _cemBody (\ s a -> s{_cemBody = a});++-- | The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.+cemFromAddress :: Lens' CampaignEmailMessage (Maybe Text)+cemFromAddress = lens _cemFromAddress (\ s a -> s{_cemFromAddress = a});++-- | The email html body.+cemHTMLBody :: Lens' CampaignEmailMessage (Maybe Text)+cemHTMLBody = lens _cemHTMLBody (\ s a -> s{_cemHTMLBody = a});++-- | The email title (Or subject).+cemTitle :: Lens' CampaignEmailMessage (Maybe Text)+cemTitle = lens _cemTitle (\ s a -> s{_cemTitle = a});++instance FromJSON CampaignEmailMessage where+ parseJSON+ = withObject "CampaignEmailMessage"+ (\ x ->+ CampaignEmailMessage' <$>+ (x .:? "Body") <*> (x .:? "FromAddress") <*>+ (x .:? "HtmlBody")+ <*> (x .:? "Title"))++instance Hashable CampaignEmailMessage where++instance NFData CampaignEmailMessage where++instance ToJSON CampaignEmailMessage where+ toJSON CampaignEmailMessage'{..}+ = object+ (catMaybes+ [("Body" .=) <$> _cemBody,+ ("FromAddress" .=) <$> _cemFromAddress,+ ("HtmlBody" .=) <$> _cemHTMLBody,+ ("Title" .=) <$> _cemTitle])++-- | Campaign Limits are used to limit the number of messages that can be sent to a user.+--+-- /See:/ 'campaignLimits' smart constructor.+data CampaignLimits = CampaignLimits'+ { _clMessagesPerSecond :: !(Maybe Int)+ , _clDaily :: !(Maybe Int)+ , _clTotal :: !(Maybe Int)+ , _clMaximumDuration :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignLimits' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'clMessagesPerSecond' - The maximum number of messages per second that the campaign will send. This is a best effort maximum cap and can go as high as 20000 and as low as 50+--+-- * 'clDaily' - The maximum number of messages that the campaign can send daily.+--+-- * 'clTotal' - The maximum total number of messages that the campaign can send.+--+-- * 'clMaximumDuration' - The maximum duration of a campaign from the scheduled start. Must be a minimum of 60 seconds.+campaignLimits+ :: CampaignLimits+campaignLimits =+ CampaignLimits'+ { _clMessagesPerSecond = Nothing+ , _clDaily = Nothing+ , _clTotal = Nothing+ , _clMaximumDuration = Nothing+ }+++-- | The maximum number of messages per second that the campaign will send. This is a best effort maximum cap and can go as high as 20000 and as low as 50+clMessagesPerSecond :: Lens' CampaignLimits (Maybe Int)+clMessagesPerSecond = lens _clMessagesPerSecond (\ s a -> s{_clMessagesPerSecond = a});++-- | The maximum number of messages that the campaign can send daily.+clDaily :: Lens' CampaignLimits (Maybe Int)+clDaily = lens _clDaily (\ s a -> s{_clDaily = a});++-- | The maximum total number of messages that the campaign can send.+clTotal :: Lens' CampaignLimits (Maybe Int)+clTotal = lens _clTotal (\ s a -> s{_clTotal = a});++-- | The maximum duration of a campaign from the scheduled start. Must be a minimum of 60 seconds.+clMaximumDuration :: Lens' CampaignLimits (Maybe Int)+clMaximumDuration = lens _clMaximumDuration (\ s a -> s{_clMaximumDuration = a});++instance FromJSON CampaignLimits where+ parseJSON+ = withObject "CampaignLimits"+ (\ x ->+ CampaignLimits' <$>+ (x .:? "MessagesPerSecond") <*> (x .:? "Daily") <*>+ (x .:? "Total")+ <*> (x .:? "MaximumDuration"))++instance Hashable CampaignLimits where++instance NFData CampaignLimits where++instance ToJSON CampaignLimits where+ toJSON CampaignLimits'{..}+ = object+ (catMaybes+ [("MessagesPerSecond" .=) <$> _clMessagesPerSecond,+ ("Daily" .=) <$> _clDaily, ("Total" .=) <$> _clTotal,+ ("MaximumDuration" .=) <$> _clMaximumDuration])++-- | Campaign definition+--+-- /See:/ 'campaignResponse' smart constructor.+data CampaignResponse = CampaignResponse'+ { _cState :: !(Maybe CampaignState)+ , _cLastModifiedDate :: !(Maybe Text)+ , _cSchedule :: !(Maybe Schedule)+ , _cTreatmentName :: !(Maybe Text)+ , _cLimits :: !(Maybe CampaignLimits)+ , _cIsPaused :: !(Maybe Bool)+ , _cDefaultState :: !(Maybe CampaignState)+ , _cApplicationId :: !(Maybe Text)+ , _cName :: !(Maybe Text)+ , _cVersion :: !(Maybe Int)+ , _cHoldoutPercent :: !(Maybe Int)+ , _cTreatmentDescription :: !(Maybe Text)+ , _cId :: !(Maybe Text)+ , _cCreationDate :: !(Maybe Text)+ , _cMessageConfiguration :: !(Maybe MessageConfiguration)+ , _cDescription :: !(Maybe Text)+ , _cSegmentId :: !(Maybe Text)+ , _cAdditionalTreatments :: !(Maybe [TreatmentResource])+ , _cSegmentVersion :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cState' - The campaign status. An A/B test campaign will have a status of COMPLETED only when all treatments have a status of COMPLETED.+--+-- * 'cLastModifiedDate' - The date the campaign was last updated in ISO 8601 format.+--+-- * 'cSchedule' - The campaign schedule.+--+-- * 'cTreatmentName' - The custom name of a variation of the campaign used for A/B testing.+--+-- * 'cLimits' - The campaign limits settings.+--+-- * 'cIsPaused' - Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.+--+-- * 'cDefaultState' - The status of the campaign's default treatment. Only present for A/B test campaigns.+--+-- * 'cApplicationId' - The ID of the application to which the campaign applies.+--+-- * 'cName' - The custom name of the campaign.+--+-- * 'cVersion' - The campaign version number.+--+-- * 'cHoldoutPercent' - The allocated percentage of end users who will not receive messages from this campaign.+--+-- * 'cTreatmentDescription' - A custom description for the treatment.+--+-- * 'cId' - The unique campaign ID.+--+-- * 'cCreationDate' - The date the campaign was created in ISO 8601 format.+--+-- * 'cMessageConfiguration' - The message configuration settings.+--+-- * 'cDescription' - A description of the campaign.+--+-- * 'cSegmentId' - The ID of the segment to which the campaign sends messages.+--+-- * 'cAdditionalTreatments' - Treatments that are defined in addition to the default treatment.+--+-- * 'cSegmentVersion' - The version of the segment to which the campaign sends messages.+campaignResponse+ :: CampaignResponse+campaignResponse =+ CampaignResponse'+ { _cState = Nothing+ , _cLastModifiedDate = Nothing+ , _cSchedule = Nothing+ , _cTreatmentName = Nothing+ , _cLimits = Nothing+ , _cIsPaused = Nothing+ , _cDefaultState = Nothing+ , _cApplicationId = Nothing+ , _cName = Nothing+ , _cVersion = Nothing+ , _cHoldoutPercent = Nothing+ , _cTreatmentDescription = Nothing+ , _cId = Nothing+ , _cCreationDate = Nothing+ , _cMessageConfiguration = Nothing+ , _cDescription = Nothing+ , _cSegmentId = Nothing+ , _cAdditionalTreatments = Nothing+ , _cSegmentVersion = Nothing+ }+++-- | The campaign status. An A/B test campaign will have a status of COMPLETED only when all treatments have a status of COMPLETED.+cState :: Lens' CampaignResponse (Maybe CampaignState)+cState = lens _cState (\ s a -> s{_cState = a});++-- | The date the campaign was last updated in ISO 8601 format.+cLastModifiedDate :: Lens' CampaignResponse (Maybe Text)+cLastModifiedDate = lens _cLastModifiedDate (\ s a -> s{_cLastModifiedDate = a});++-- | The campaign schedule.+cSchedule :: Lens' CampaignResponse (Maybe Schedule)+cSchedule = lens _cSchedule (\ s a -> s{_cSchedule = a});++-- | The custom name of a variation of the campaign used for A/B testing.+cTreatmentName :: Lens' CampaignResponse (Maybe Text)+cTreatmentName = lens _cTreatmentName (\ s a -> s{_cTreatmentName = a});++-- | The campaign limits settings.+cLimits :: Lens' CampaignResponse (Maybe CampaignLimits)+cLimits = lens _cLimits (\ s a -> s{_cLimits = a});++-- | Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.+cIsPaused :: Lens' CampaignResponse (Maybe Bool)+cIsPaused = lens _cIsPaused (\ s a -> s{_cIsPaused = a});++-- | The status of the campaign's default treatment. Only present for A/B test campaigns.+cDefaultState :: Lens' CampaignResponse (Maybe CampaignState)+cDefaultState = lens _cDefaultState (\ s a -> s{_cDefaultState = a});++-- | The ID of the application to which the campaign applies.+cApplicationId :: Lens' CampaignResponse (Maybe Text)+cApplicationId = lens _cApplicationId (\ s a -> s{_cApplicationId = a});++-- | The custom name of the campaign.+cName :: Lens' CampaignResponse (Maybe Text)+cName = lens _cName (\ s a -> s{_cName = a});++-- | The campaign version number.+cVersion :: Lens' CampaignResponse (Maybe Int)+cVersion = lens _cVersion (\ s a -> s{_cVersion = a});++-- | The allocated percentage of end users who will not receive messages from this campaign.+cHoldoutPercent :: Lens' CampaignResponse (Maybe Int)+cHoldoutPercent = lens _cHoldoutPercent (\ s a -> s{_cHoldoutPercent = a});++-- | A custom description for the treatment.+cTreatmentDescription :: Lens' CampaignResponse (Maybe Text)+cTreatmentDescription = lens _cTreatmentDescription (\ s a -> s{_cTreatmentDescription = a});++-- | The unique campaign ID.+cId :: Lens' CampaignResponse (Maybe Text)+cId = lens _cId (\ s a -> s{_cId = a});++-- | The date the campaign was created in ISO 8601 format.+cCreationDate :: Lens' CampaignResponse (Maybe Text)+cCreationDate = lens _cCreationDate (\ s a -> s{_cCreationDate = a});++-- | The message configuration settings.+cMessageConfiguration :: Lens' CampaignResponse (Maybe MessageConfiguration)+cMessageConfiguration = lens _cMessageConfiguration (\ s a -> s{_cMessageConfiguration = a});++-- | A description of the campaign.+cDescription :: Lens' CampaignResponse (Maybe Text)+cDescription = lens _cDescription (\ s a -> s{_cDescription = a});++-- | The ID of the segment to which the campaign sends messages.+cSegmentId :: Lens' CampaignResponse (Maybe Text)+cSegmentId = lens _cSegmentId (\ s a -> s{_cSegmentId = a});++-- | Treatments that are defined in addition to the default treatment.+cAdditionalTreatments :: Lens' CampaignResponse [TreatmentResource]+cAdditionalTreatments = lens _cAdditionalTreatments (\ s a -> s{_cAdditionalTreatments = a}) . _Default . _Coerce;++-- | The version of the segment to which the campaign sends messages.+cSegmentVersion :: Lens' CampaignResponse (Maybe Int)+cSegmentVersion = lens _cSegmentVersion (\ s a -> s{_cSegmentVersion = a});++instance FromJSON CampaignResponse where+ parseJSON+ = withObject "CampaignResponse"+ (\ x ->+ CampaignResponse' <$>+ (x .:? "State") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Schedule")+ <*> (x .:? "TreatmentName")+ <*> (x .:? "Limits")+ <*> (x .:? "IsPaused")+ <*> (x .:? "DefaultState")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Name")+ <*> (x .:? "Version")+ <*> (x .:? "HoldoutPercent")+ <*> (x .:? "TreatmentDescription")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "MessageConfiguration")+ <*> (x .:? "Description")+ <*> (x .:? "SegmentId")+ <*> (x .:? "AdditionalTreatments" .!= mempty)+ <*> (x .:? "SegmentVersion"))++instance Hashable CampaignResponse where++instance NFData CampaignResponse where++-- | SMS message configuration.+--+-- /See:/ 'campaignSmsMessage' smart constructor.+data CampaignSmsMessage = CampaignSmsMessage'+ { _csmBody :: !(Maybe Text)+ , _csmMessageType :: !(Maybe MessageType)+ , _csmSenderId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignSmsMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'csmBody' - The SMS text body.+--+-- * 'csmMessageType' - Is this is a transactional SMS message, otherwise a promotional message.+--+-- * 'csmSenderId' - Sender ID of sent message.+campaignSmsMessage+ :: CampaignSmsMessage+campaignSmsMessage =+ CampaignSmsMessage'+ {_csmBody = Nothing, _csmMessageType = Nothing, _csmSenderId = Nothing}+++-- | The SMS text body.+csmBody :: Lens' CampaignSmsMessage (Maybe Text)+csmBody = lens _csmBody (\ s a -> s{_csmBody = a});++-- | Is this is a transactional SMS message, otherwise a promotional message.+csmMessageType :: Lens' CampaignSmsMessage (Maybe MessageType)+csmMessageType = lens _csmMessageType (\ s a -> s{_csmMessageType = a});++-- | Sender ID of sent message.+csmSenderId :: Lens' CampaignSmsMessage (Maybe Text)+csmSenderId = lens _csmSenderId (\ s a -> s{_csmSenderId = a});++instance FromJSON CampaignSmsMessage where+ parseJSON+ = withObject "CampaignSmsMessage"+ (\ x ->+ CampaignSmsMessage' <$>+ (x .:? "Body") <*> (x .:? "MessageType") <*>+ (x .:? "SenderId"))++instance Hashable CampaignSmsMessage where++instance NFData CampaignSmsMessage where++instance ToJSON CampaignSmsMessage where+ toJSON CampaignSmsMessage'{..}+ = object+ (catMaybes+ [("Body" .=) <$> _csmBody,+ ("MessageType" .=) <$> _csmMessageType,+ ("SenderId" .=) <$> _csmSenderId])++-- | State of the Campaign+--+-- /See:/ 'campaignState' smart constructor.+newtype CampaignState = CampaignState'+ { _csCampaignStatus :: Maybe CampaignStatus+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignState' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'csCampaignStatus' - The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED+campaignState+ :: CampaignState+campaignState = CampaignState' {_csCampaignStatus = Nothing}+++-- | The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED+csCampaignStatus :: Lens' CampaignState (Maybe CampaignStatus)+csCampaignStatus = lens _csCampaignStatus (\ s a -> s{_csCampaignStatus = a});++instance FromJSON CampaignState where+ parseJSON+ = withObject "CampaignState"+ (\ x -> CampaignState' <$> (x .:? "CampaignStatus"))++instance Hashable CampaignState where++instance NFData CampaignState where++-- | List of available campaigns.+--+-- /See:/ 'campaignsResponse' smart constructor.+data CampaignsResponse = CampaignsResponse'+ { _cNextToken :: !(Maybe Text)+ , _cItem :: !(Maybe [CampaignResponse])+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CampaignsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cNextToken' - The string that you use in a subsequent request to get the next page of results in a paginated response.+--+-- * 'cItem' - A list of campaigns.+campaignsResponse+ :: CampaignsResponse+campaignsResponse = CampaignsResponse' {_cNextToken = Nothing, _cItem = Nothing}+++-- | The string that you use in a subsequent request to get the next page of results in a paginated response.+cNextToken :: Lens' CampaignsResponse (Maybe Text)+cNextToken = lens _cNextToken (\ s a -> s{_cNextToken = a});++-- | A list of campaigns.+cItem :: Lens' CampaignsResponse [CampaignResponse]+cItem = lens _cItem (\ s a -> s{_cItem = a}) . _Default . _Coerce;++instance FromJSON CampaignsResponse where+ parseJSON+ = withObject "CampaignsResponse"+ (\ x ->+ CampaignsResponse' <$>+ (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))++instance Hashable CampaignsResponse where++instance NFData CampaignsResponse where++-- | Application Request.+--+-- /See:/ 'createApplicationRequest' smart constructor.+newtype CreateApplicationRequest = CreateApplicationRequest'+ { _carName :: Maybe Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateApplicationRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'carName' - The display name of the application. Used in the Amazon Pinpoint console.+createApplicationRequest+ :: CreateApplicationRequest+createApplicationRequest = CreateApplicationRequest' {_carName = Nothing}+++-- | The display name of the application. Used in the Amazon Pinpoint console.+carName :: Lens' CreateApplicationRequest (Maybe Text)+carName = lens _carName (\ s a -> s{_carName = a});++instance Hashable CreateApplicationRequest where++instance NFData CreateApplicationRequest where++instance ToJSON CreateApplicationRequest where+ toJSON CreateApplicationRequest'{..}+ = object (catMaybes [("Name" .=) <$> _carName])++-- | Default Message across push notification, email, and sms.+--+-- /See:/ 'defaultMessage' smart constructor.+data DefaultMessage = DefaultMessage'+ { _dmSubstitutions :: !(Maybe (Map Text [Text]))+ , _dmBody :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DefaultMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dmSubstitutions' - Default message substitutions. Can be overridden by individual address substitutions.+--+-- * 'dmBody' - The message body of the notification, the email body or the text message.+defaultMessage+ :: DefaultMessage+defaultMessage = DefaultMessage' {_dmSubstitutions = Nothing, _dmBody = Nothing}+++-- | Default message substitutions. Can be overridden by individual address substitutions.+dmSubstitutions :: Lens' DefaultMessage (HashMap Text [Text])+dmSubstitutions = lens _dmSubstitutions (\ s a -> s{_dmSubstitutions = a}) . _Default . _Map;++-- | The message body of the notification, the email body or the text message.+dmBody :: Lens' DefaultMessage (Maybe Text)+dmBody = lens _dmBody (\ s a -> s{_dmBody = a});++instance Hashable DefaultMessage where++instance NFData DefaultMessage where++instance ToJSON DefaultMessage where+ toJSON DefaultMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _dmSubstitutions,+ ("Body" .=) <$> _dmBody])++-- | Default Push Notification Message.+--+-- /See:/ 'defaultPushNotificationMessage' smart constructor.+data DefaultPushNotificationMessage = DefaultPushNotificationMessage'+ { _dpnmSubstitutions :: !(Maybe (Map Text [Text]))+ , _dpnmSilentPush :: !(Maybe Bool)+ , _dpnmData :: !(Maybe (Map Text Text))+ , _dpnmBody :: !(Maybe Text)+ , _dpnmURL :: !(Maybe Text)+ , _dpnmAction :: !(Maybe Action)+ , _dpnmTitle :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DefaultPushNotificationMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dpnmSubstitutions' - Default message substitutions. Can be overridden by individual address substitutions.+--+-- * 'dpnmSilentPush' - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+--+-- * 'dpnmData' - The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+--+-- * 'dpnmBody' - The message body of the notification, the email body or the text message.+--+-- * 'dpnmURL' - The URL to open in the user's mobile browser. Used if the value for Action is URL.+--+-- * 'dpnmAction' - 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+--+-- * 'dpnmTitle' - The message title that displays above the message on the user's device.+defaultPushNotificationMessage+ :: DefaultPushNotificationMessage+defaultPushNotificationMessage =+ DefaultPushNotificationMessage'+ { _dpnmSubstitutions = Nothing+ , _dpnmSilentPush = Nothing+ , _dpnmData = Nothing+ , _dpnmBody = Nothing+ , _dpnmURL = Nothing+ , _dpnmAction = Nothing+ , _dpnmTitle = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+dpnmSubstitutions :: Lens' DefaultPushNotificationMessage (HashMap Text [Text])+dpnmSubstitutions = lens _dpnmSubstitutions (\ s a -> s{_dpnmSubstitutions = a}) . _Default . _Map;++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+dpnmSilentPush :: Lens' DefaultPushNotificationMessage (Maybe Bool)+dpnmSilentPush = lens _dpnmSilentPush (\ s a -> s{_dpnmSilentPush = a});++-- | The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+dpnmData :: Lens' DefaultPushNotificationMessage (HashMap Text Text)+dpnmData = lens _dpnmData (\ s a -> s{_dpnmData = a}) . _Default . _Map;++-- | The message body of the notification, the email body or the text message.+dpnmBody :: Lens' DefaultPushNotificationMessage (Maybe Text)+dpnmBody = lens _dpnmBody (\ s a -> s{_dpnmBody = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+dpnmURL :: Lens' DefaultPushNotificationMessage (Maybe Text)+dpnmURL = lens _dpnmURL (\ s a -> s{_dpnmURL = a});++-- | 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+dpnmAction :: Lens' DefaultPushNotificationMessage (Maybe Action)+dpnmAction = lens _dpnmAction (\ s a -> s{_dpnmAction = a});++-- | The message title that displays above the message on the user's device.+dpnmTitle :: Lens' DefaultPushNotificationMessage (Maybe Text)+dpnmTitle = lens _dpnmTitle (\ s a -> s{_dpnmTitle = a});++instance Hashable DefaultPushNotificationMessage+ where++instance NFData DefaultPushNotificationMessage where++instance ToJSON DefaultPushNotificationMessage where+ toJSON DefaultPushNotificationMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _dpnmSubstitutions,+ ("SilentPush" .=) <$> _dpnmSilentPush,+ ("Data" .=) <$> _dpnmData, ("Body" .=) <$> _dpnmBody,+ ("Url" .=) <$> _dpnmURL,+ ("Action" .=) <$> _dpnmAction,+ ("Title" .=) <$> _dpnmTitle])++-- | The message configuration.+--+-- /See:/ 'directMessageConfiguration' smart constructor.+data DirectMessageConfiguration = DirectMessageConfiguration'+ { _dmcAPNSMessage :: !(Maybe APNSMessage)+ , _dmcGCMMessage :: !(Maybe GCMMessage)+ , _dmcDefaultMessage :: !(Maybe DefaultMessage)+ , _dmcADMMessage :: !(Maybe ADMMessage)+ , _dmcSMSMessage :: !(Maybe SMSMessage)+ , _dmcBaiduMessage :: !(Maybe BaiduMessage)+ , _dmcDefaultPushNotificationMessage :: !(Maybe DefaultPushNotificationMessage)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DirectMessageConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dmcAPNSMessage' - The message to APNS channels. Overrides the default push notification message.+--+-- * 'dmcGCMMessage' - The message to GCM channels. Overrides the default push notification message.+--+-- * 'dmcDefaultMessage' - The default message for all channels.+--+-- * 'dmcADMMessage' - The message to ADM channels. Overrides the default push notification message.+--+-- * 'dmcSMSMessage' - The message to SMS channels. Overrides the default message.+--+-- * 'dmcBaiduMessage' - The message to Baidu GCM channels. Overrides the default push notification message.+--+-- * 'dmcDefaultPushNotificationMessage' - The default push notification message for all push channels.+directMessageConfiguration+ :: DirectMessageConfiguration+directMessageConfiguration =+ DirectMessageConfiguration'+ { _dmcAPNSMessage = Nothing+ , _dmcGCMMessage = Nothing+ , _dmcDefaultMessage = Nothing+ , _dmcADMMessage = Nothing+ , _dmcSMSMessage = Nothing+ , _dmcBaiduMessage = Nothing+ , _dmcDefaultPushNotificationMessage = Nothing+ }+++-- | The message to APNS channels. Overrides the default push notification message.+dmcAPNSMessage :: Lens' DirectMessageConfiguration (Maybe APNSMessage)+dmcAPNSMessage = lens _dmcAPNSMessage (\ s a -> s{_dmcAPNSMessage = a});++-- | The message to GCM channels. Overrides the default push notification message.+dmcGCMMessage :: Lens' DirectMessageConfiguration (Maybe GCMMessage)+dmcGCMMessage = lens _dmcGCMMessage (\ s a -> s{_dmcGCMMessage = a});++-- | The default message for all channels.+dmcDefaultMessage :: Lens' DirectMessageConfiguration (Maybe DefaultMessage)+dmcDefaultMessage = lens _dmcDefaultMessage (\ s a -> s{_dmcDefaultMessage = a});++-- | The message to ADM channels. Overrides the default push notification message.+dmcADMMessage :: Lens' DirectMessageConfiguration (Maybe ADMMessage)+dmcADMMessage = lens _dmcADMMessage (\ s a -> s{_dmcADMMessage = a});++-- | The message to SMS channels. Overrides the default message.+dmcSMSMessage :: Lens' DirectMessageConfiguration (Maybe SMSMessage)+dmcSMSMessage = lens _dmcSMSMessage (\ s a -> s{_dmcSMSMessage = a});++-- | The message to Baidu GCM channels. Overrides the default push notification message.+dmcBaiduMessage :: Lens' DirectMessageConfiguration (Maybe BaiduMessage)+dmcBaiduMessage = lens _dmcBaiduMessage (\ s a -> s{_dmcBaiduMessage = a});++-- | The default push notification message for all push channels.+dmcDefaultPushNotificationMessage :: Lens' DirectMessageConfiguration (Maybe DefaultPushNotificationMessage)+dmcDefaultPushNotificationMessage = lens _dmcDefaultPushNotificationMessage (\ s a -> s{_dmcDefaultPushNotificationMessage = a});++instance Hashable DirectMessageConfiguration where++instance NFData DirectMessageConfiguration where++instance ToJSON DirectMessageConfiguration where+ toJSON DirectMessageConfiguration'{..}+ = object+ (catMaybes+ [("APNSMessage" .=) <$> _dmcAPNSMessage,+ ("GCMMessage" .=) <$> _dmcGCMMessage,+ ("DefaultMessage" .=) <$> _dmcDefaultMessage,+ ("ADMMessage" .=) <$> _dmcADMMessage,+ ("SMSMessage" .=) <$> _dmcSMSMessage,+ ("BaiduMessage" .=) <$> _dmcBaiduMessage,+ ("DefaultPushNotificationMessage" .=) <$>+ _dmcDefaultPushNotificationMessage])++-- | Email Channel Request+--+-- /See:/ 'emailChannelRequest' smart constructor.+data EmailChannelRequest = EmailChannelRequest'+ { _ecrEnabled :: !(Maybe Bool)+ , _ecrFromAddress :: !(Maybe Text)+ , _ecrIdentity :: !(Maybe Text)+ , _ecrRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EmailChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ecrEnabled' - If the channel is enabled for sending messages.+--+-- * 'ecrFromAddress' - The email address used to send emails from.+--+-- * 'ecrIdentity' - The ARN of an identity verified with SES.+--+-- * 'ecrRoleARN' - The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service+emailChannelRequest+ :: EmailChannelRequest+emailChannelRequest =+ EmailChannelRequest'+ { _ecrEnabled = Nothing+ , _ecrFromAddress = Nothing+ , _ecrIdentity = Nothing+ , _ecrRoleARN = Nothing+ }+++-- | If the channel is enabled for sending messages.+ecrEnabled :: Lens' EmailChannelRequest (Maybe Bool)+ecrEnabled = lens _ecrEnabled (\ s a -> s{_ecrEnabled = a});++-- | The email address used to send emails from.+ecrFromAddress :: Lens' EmailChannelRequest (Maybe Text)+ecrFromAddress = lens _ecrFromAddress (\ s a -> s{_ecrFromAddress = a});++-- | The ARN of an identity verified with SES.+ecrIdentity :: Lens' EmailChannelRequest (Maybe Text)+ecrIdentity = lens _ecrIdentity (\ s a -> s{_ecrIdentity = a});++-- | The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service+ecrRoleARN :: Lens' EmailChannelRequest (Maybe Text)+ecrRoleARN = lens _ecrRoleARN (\ s a -> s{_ecrRoleARN = a});++instance Hashable EmailChannelRequest where++instance NFData EmailChannelRequest where++instance ToJSON EmailChannelRequest where+ toJSON EmailChannelRequest'{..}+ = object+ (catMaybes+ [("Enabled" .=) <$> _ecrEnabled,+ ("FromAddress" .=) <$> _ecrFromAddress,+ ("Identity" .=) <$> _ecrIdentity,+ ("RoleArn" .=) <$> _ecrRoleARN])++-- | Email Channel Response.+--+-- /See:/ 'emailChannelResponse' smart constructor.+data EmailChannelResponse = EmailChannelResponse'+ { _ecPlatform :: !(Maybe Text)+ , _ecLastModifiedDate :: !(Maybe Text)+ , _ecEnabled :: !(Maybe Bool)+ , _ecFromAddress :: !(Maybe Text)+ , _ecIsArchived :: !(Maybe Bool)+ , _ecApplicationId :: !(Maybe Text)+ , _ecVersion :: !(Maybe Int)+ , _ecId :: !(Maybe Text)+ , _ecCreationDate :: !(Maybe Text)+ , _ecLastModifiedBy :: !(Maybe Text)+ , _ecIdentity :: !(Maybe Text)+ , _ecHasCredential :: !(Maybe Bool)+ , _ecRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EmailChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ecPlatform' - Platform type. Will be "EMAIL"+--+-- * 'ecLastModifiedDate' - Last date this was updated+--+-- * 'ecEnabled' - If the channel is enabled for sending messages.+--+-- * 'ecFromAddress' - The email address used to send emails from.+--+-- * 'ecIsArchived' - Is this channel archived+--+-- * 'ecApplicationId' - The unique ID of the application to which the email channel belongs.+--+-- * 'ecVersion' - Version of channel+--+-- * 'ecId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'ecCreationDate' - The date that the settings were last updated in ISO 8601 format.+--+-- * 'ecLastModifiedBy' - Who last updated this entry+--+-- * 'ecIdentity' - The ARN of an identity verified with SES.+--+-- * 'ecHasCredential' - If the channel is registered with a credential for authentication.+--+-- * 'ecRoleARN' - The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service+emailChannelResponse+ :: EmailChannelResponse+emailChannelResponse =+ EmailChannelResponse'+ { _ecPlatform = Nothing+ , _ecLastModifiedDate = Nothing+ , _ecEnabled = Nothing+ , _ecFromAddress = Nothing+ , _ecIsArchived = Nothing+ , _ecApplicationId = Nothing+ , _ecVersion = Nothing+ , _ecId = Nothing+ , _ecCreationDate = Nothing+ , _ecLastModifiedBy = Nothing+ , _ecIdentity = Nothing+ , _ecHasCredential = Nothing+ , _ecRoleARN = Nothing+ }+++-- | Platform type. Will be "EMAIL"+ecPlatform :: Lens' EmailChannelResponse (Maybe Text)+ecPlatform = lens _ecPlatform (\ s a -> s{_ecPlatform = a});++-- | Last date this was updated+ecLastModifiedDate :: Lens' EmailChannelResponse (Maybe Text)+ecLastModifiedDate = lens _ecLastModifiedDate (\ s a -> s{_ecLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+ecEnabled :: Lens' EmailChannelResponse (Maybe Bool)+ecEnabled = lens _ecEnabled (\ s a -> s{_ecEnabled = a});++-- | The email address used to send emails from.+ecFromAddress :: Lens' EmailChannelResponse (Maybe Text)+ecFromAddress = lens _ecFromAddress (\ s a -> s{_ecFromAddress = a});++-- | Is this channel archived+ecIsArchived :: Lens' EmailChannelResponse (Maybe Bool)+ecIsArchived = lens _ecIsArchived (\ s a -> s{_ecIsArchived = a});++-- | The unique ID of the application to which the email channel belongs.+ecApplicationId :: Lens' EmailChannelResponse (Maybe Text)+ecApplicationId = lens _ecApplicationId (\ s a -> s{_ecApplicationId = a});++-- | Version of channel+ecVersion :: Lens' EmailChannelResponse (Maybe Int)+ecVersion = lens _ecVersion (\ s a -> s{_ecVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+ecId :: Lens' EmailChannelResponse (Maybe Text)+ecId = lens _ecId (\ s a -> s{_ecId = a});++-- | The date that the settings were last updated in ISO 8601 format.+ecCreationDate :: Lens' EmailChannelResponse (Maybe Text)+ecCreationDate = lens _ecCreationDate (\ s a -> s{_ecCreationDate = a});++-- | Who last updated this entry+ecLastModifiedBy :: Lens' EmailChannelResponse (Maybe Text)+ecLastModifiedBy = lens _ecLastModifiedBy (\ s a -> s{_ecLastModifiedBy = a});++-- | The ARN of an identity verified with SES.+ecIdentity :: Lens' EmailChannelResponse (Maybe Text)+ecIdentity = lens _ecIdentity (\ s a -> s{_ecIdentity = a});++-- | If the channel is registered with a credential for authentication.+ecHasCredential :: Lens' EmailChannelResponse (Maybe Bool)+ecHasCredential = lens _ecHasCredential (\ s a -> s{_ecHasCredential = a});++-- | The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service+ecRoleARN :: Lens' EmailChannelResponse (Maybe Text)+ecRoleARN = lens _ecRoleARN (\ s a -> s{_ecRoleARN = a});++instance FromJSON EmailChannelResponse where+ parseJSON+ = withObject "EmailChannelResponse"+ (\ x ->+ EmailChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "FromAddress")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "Identity")+ <*> (x .:? "HasCredential")+ <*> (x .:? "RoleArn"))++instance Hashable EmailChannelResponse where++instance NFData EmailChannelResponse where++-- | Endpoint update request+--+-- /See:/ 'endpointBatchItem' smart constructor.+data EndpointBatchItem = EndpointBatchItem'+ { _ebiRequestId :: !(Maybe Text)+ , _ebiMetrics :: !(Maybe (Map Text Double))+ , _ebiLocation :: !(Maybe EndpointLocation)+ , _ebiDemographic :: !(Maybe EndpointDemographic)+ , _ebiAddress :: !(Maybe Text)+ , _ebiEffectiveDate :: !(Maybe Text)+ , _ebiUser :: !(Maybe EndpointUser)+ , _ebiAttributes :: !(Maybe (Map Text [Text]))+ , _ebiEndpointStatus :: !(Maybe Text)+ , _ebiOptOut :: !(Maybe Text)+ , _ebiId :: !(Maybe Text)+ , _ebiChannelType :: !(Maybe ChannelType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointBatchItem' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ebiRequestId' - The unique ID for the most recent request to update the endpoint.+--+-- * 'ebiMetrics' - Custom metrics that your app reports to Amazon Pinpoint.+--+-- * 'ebiLocation' - The endpoint location attributes.+--+-- * 'ebiDemographic' - The endpoint demographic attributes.+--+-- * 'ebiAddress' - The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+--+-- * 'ebiEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.+--+-- * 'ebiUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.+--+-- * 'ebiAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+--+-- * 'ebiEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+--+-- * 'ebiOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+--+-- * 'ebiId' - The unique Id for the Endpoint in the batch.+--+-- * 'ebiChannelType' - The channel type. Valid values: GCM | APNS | SMS | EMAIL+endpointBatchItem+ :: EndpointBatchItem+endpointBatchItem =+ EndpointBatchItem'+ { _ebiRequestId = Nothing+ , _ebiMetrics = Nothing+ , _ebiLocation = Nothing+ , _ebiDemographic = Nothing+ , _ebiAddress = Nothing+ , _ebiEffectiveDate = Nothing+ , _ebiUser = Nothing+ , _ebiAttributes = Nothing+ , _ebiEndpointStatus = Nothing+ , _ebiOptOut = Nothing+ , _ebiId = Nothing+ , _ebiChannelType = Nothing+ }+++-- | The unique ID for the most recent request to update the endpoint.+ebiRequestId :: Lens' EndpointBatchItem (Maybe Text)+ebiRequestId = lens _ebiRequestId (\ s a -> s{_ebiRequestId = a});++-- | Custom metrics that your app reports to Amazon Pinpoint.+ebiMetrics :: Lens' EndpointBatchItem (HashMap Text Double)+ebiMetrics = lens _ebiMetrics (\ s a -> s{_ebiMetrics = a}) . _Default . _Map;++-- | The endpoint location attributes.+ebiLocation :: Lens' EndpointBatchItem (Maybe EndpointLocation)+ebiLocation = lens _ebiLocation (\ s a -> s{_ebiLocation = a});++-- | The endpoint demographic attributes.+ebiDemographic :: Lens' EndpointBatchItem (Maybe EndpointDemographic)+ebiDemographic = lens _ebiDemographic (\ s a -> s{_ebiDemographic = a});++-- | The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+ebiAddress :: Lens' EndpointBatchItem (Maybe Text)+ebiAddress = lens _ebiAddress (\ s a -> s{_ebiAddress = a});++-- | The last time the endpoint was updated. Provided in ISO 8601 format.+ebiEffectiveDate :: Lens' EndpointBatchItem (Maybe Text)+ebiEffectiveDate = lens _ebiEffectiveDate (\ s a -> s{_ebiEffectiveDate = a});++-- | Custom user-specific attributes that your app reports to Amazon Pinpoint.+ebiUser :: Lens' EndpointBatchItem (Maybe EndpointUser)+ebiUser = lens _ebiUser (\ s a -> s{_ebiUser = a});++-- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+ebiAttributes :: Lens' EndpointBatchItem (HashMap Text [Text])+ebiAttributes = lens _ebiAttributes (\ s a -> s{_ebiAttributes = a}) . _Default . _Map;++-- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+ebiEndpointStatus :: Lens' EndpointBatchItem (Maybe Text)+ebiEndpointStatus = lens _ebiEndpointStatus (\ s a -> s{_ebiEndpointStatus = a});++-- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+ebiOptOut :: Lens' EndpointBatchItem (Maybe Text)+ebiOptOut = lens _ebiOptOut (\ s a -> s{_ebiOptOut = a});++-- | The unique Id for the Endpoint in the batch.+ebiId :: Lens' EndpointBatchItem (Maybe Text)+ebiId = lens _ebiId (\ s a -> s{_ebiId = a});++-- | The channel type. Valid values: GCM | APNS | SMS | EMAIL+ebiChannelType :: Lens' EndpointBatchItem (Maybe ChannelType)+ebiChannelType = lens _ebiChannelType (\ s a -> s{_ebiChannelType = a});++instance Hashable EndpointBatchItem where++instance NFData EndpointBatchItem where++instance ToJSON EndpointBatchItem where+ toJSON EndpointBatchItem'{..}+ = object+ (catMaybes+ [("RequestId" .=) <$> _ebiRequestId,+ ("Metrics" .=) <$> _ebiMetrics,+ ("Location" .=) <$> _ebiLocation,+ ("Demographic" .=) <$> _ebiDemographic,+ ("Address" .=) <$> _ebiAddress,+ ("EffectiveDate" .=) <$> _ebiEffectiveDate,+ ("User" .=) <$> _ebiUser,+ ("Attributes" .=) <$> _ebiAttributes,+ ("EndpointStatus" .=) <$> _ebiEndpointStatus,+ ("OptOut" .=) <$> _ebiOptOut, ("Id" .=) <$> _ebiId,+ ("ChannelType" .=) <$> _ebiChannelType])++-- | Endpoint batch update request.+--+-- /See:/ 'endpointBatchRequest' smart constructor.+newtype EndpointBatchRequest = EndpointBatchRequest'+ { _ebrItem :: Maybe [EndpointBatchItem]+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointBatchRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ebrItem' - List of items to update. Maximum 100 items+endpointBatchRequest+ :: EndpointBatchRequest+endpointBatchRequest = EndpointBatchRequest' {_ebrItem = Nothing}+++-- | List of items to update. Maximum 100 items+ebrItem :: Lens' EndpointBatchRequest [EndpointBatchItem]+ebrItem = lens _ebrItem (\ s a -> s{_ebrItem = a}) . _Default . _Coerce;++instance Hashable EndpointBatchRequest where++instance NFData EndpointBatchRequest where++instance ToJSON EndpointBatchRequest where+ toJSON EndpointBatchRequest'{..}+ = object (catMaybes [("Item" .=) <$> _ebrItem])++-- | Endpoint demographic data+--+-- /See:/ 'endpointDemographic' smart constructor.+data EndpointDemographic = EndpointDemographic'+ { _edPlatform :: !(Maybe Text)+ , _edPlatformVersion :: !(Maybe Text)+ , _edLocale :: !(Maybe Text)+ , _edAppVersion :: !(Maybe Text)+ , _edModel :: !(Maybe Text)+ , _edMake :: !(Maybe Text)+ , _edModelVersion :: !(Maybe Text)+ , _edTimezone :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointDemographic' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'edPlatform' - The endpoint platform, such as ios or android.+--+-- * 'edPlatformVersion' - The endpoint platform version.+--+-- * 'edLocale' - The endpoint locale in the following format: The ISO 639-1 alpha-2 code, followed by an underscore, followed by an ISO 3166-1 alpha-2 value.+--+-- * 'edAppVersion' - The version of the application associated with the endpoint.+--+-- * 'edModel' - The endpoint model, such as iPhone.+--+-- * 'edMake' - The endpoint make, such as such as Apple or Samsung.+--+-- * 'edModelVersion' - The endpoint model version.+--+-- * 'edTimezone' - The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles.+endpointDemographic+ :: EndpointDemographic+endpointDemographic =+ EndpointDemographic'+ { _edPlatform = Nothing+ , _edPlatformVersion = Nothing+ , _edLocale = Nothing+ , _edAppVersion = Nothing+ , _edModel = Nothing+ , _edMake = Nothing+ , _edModelVersion = Nothing+ , _edTimezone = Nothing+ }+++-- | The endpoint platform, such as ios or android.+edPlatform :: Lens' EndpointDemographic (Maybe Text)+edPlatform = lens _edPlatform (\ s a -> s{_edPlatform = a});++-- | The endpoint platform version.+edPlatformVersion :: Lens' EndpointDemographic (Maybe Text)+edPlatformVersion = lens _edPlatformVersion (\ s a -> s{_edPlatformVersion = a});++-- | The endpoint locale in the following format: The ISO 639-1 alpha-2 code, followed by an underscore, followed by an ISO 3166-1 alpha-2 value.+edLocale :: Lens' EndpointDemographic (Maybe Text)+edLocale = lens _edLocale (\ s a -> s{_edLocale = a});++-- | The version of the application associated with the endpoint.+edAppVersion :: Lens' EndpointDemographic (Maybe Text)+edAppVersion = lens _edAppVersion (\ s a -> s{_edAppVersion = a});++-- | The endpoint model, such as iPhone.+edModel :: Lens' EndpointDemographic (Maybe Text)+edModel = lens _edModel (\ s a -> s{_edModel = a});++-- | The endpoint make, such as such as Apple or Samsung.+edMake :: Lens' EndpointDemographic (Maybe Text)+edMake = lens _edMake (\ s a -> s{_edMake = a});++-- | The endpoint model version.+edModelVersion :: Lens' EndpointDemographic (Maybe Text)+edModelVersion = lens _edModelVersion (\ s a -> s{_edModelVersion = a});++-- | The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles.+edTimezone :: Lens' EndpointDemographic (Maybe Text)+edTimezone = lens _edTimezone (\ s a -> s{_edTimezone = a});++instance FromJSON EndpointDemographic where+ parseJSON+ = withObject "EndpointDemographic"+ (\ x ->+ EndpointDemographic' <$>+ (x .:? "Platform") <*> (x .:? "PlatformVersion") <*>+ (x .:? "Locale")+ <*> (x .:? "AppVersion")+ <*> (x .:? "Model")+ <*> (x .:? "Make")+ <*> (x .:? "ModelVersion")+ <*> (x .:? "Timezone"))++instance Hashable EndpointDemographic where++instance NFData EndpointDemographic where++instance ToJSON EndpointDemographic where+ toJSON EndpointDemographic'{..}+ = object+ (catMaybes+ [("Platform" .=) <$> _edPlatform,+ ("PlatformVersion" .=) <$> _edPlatformVersion,+ ("Locale" .=) <$> _edLocale,+ ("AppVersion" .=) <$> _edAppVersion,+ ("Model" .=) <$> _edModel, ("Make" .=) <$> _edMake,+ ("ModelVersion" .=) <$> _edModelVersion,+ ("Timezone" .=) <$> _edTimezone])++-- | Endpoint location data+--+-- /See:/ 'endpointLocation' smart constructor.+data EndpointLocation = EndpointLocation'+ { _elPostalCode :: !(Maybe Text)+ , _elLatitude :: !(Maybe Double)+ , _elCountry :: !(Maybe Text)+ , _elCity :: !(Maybe Text)+ , _elRegion :: !(Maybe Text)+ , _elLongitude :: !(Maybe Double)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointLocation' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'elPostalCode' - The postal code or zip code of the endpoint.+--+-- * 'elLatitude' - The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).+--+-- * 'elCountry' - Country according to ISO 3166-1 Alpha-2 codes. For example, US.+--+-- * 'elCity' - The city where the endpoint is located.+--+-- * 'elRegion' - The region of the endpoint location. For example, corresponds to a state in US.+--+-- * 'elLongitude' - The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).+endpointLocation+ :: EndpointLocation+endpointLocation =+ EndpointLocation'+ { _elPostalCode = Nothing+ , _elLatitude = Nothing+ , _elCountry = Nothing+ , _elCity = Nothing+ , _elRegion = Nothing+ , _elLongitude = Nothing+ }+++-- | The postal code or zip code of the endpoint.+elPostalCode :: Lens' EndpointLocation (Maybe Text)+elPostalCode = lens _elPostalCode (\ s a -> s{_elPostalCode = a});++-- | The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).+elLatitude :: Lens' EndpointLocation (Maybe Double)+elLatitude = lens _elLatitude (\ s a -> s{_elLatitude = a});++-- | Country according to ISO 3166-1 Alpha-2 codes. For example, US.+elCountry :: Lens' EndpointLocation (Maybe Text)+elCountry = lens _elCountry (\ s a -> s{_elCountry = a});++-- | The city where the endpoint is located.+elCity :: Lens' EndpointLocation (Maybe Text)+elCity = lens _elCity (\ s a -> s{_elCity = a});++-- | The region of the endpoint location. For example, corresponds to a state in US.+elRegion :: Lens' EndpointLocation (Maybe Text)+elRegion = lens _elRegion (\ s a -> s{_elRegion = a});++-- | The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding to a mile).+elLongitude :: Lens' EndpointLocation (Maybe Double)+elLongitude = lens _elLongitude (\ s a -> s{_elLongitude = a});++instance FromJSON EndpointLocation where+ parseJSON+ = withObject "EndpointLocation"+ (\ x ->+ EndpointLocation' <$>+ (x .:? "PostalCode") <*> (x .:? "Latitude") <*>+ (x .:? "Country")+ <*> (x .:? "City")+ <*> (x .:? "Region")+ <*> (x .:? "Longitude"))++instance Hashable EndpointLocation where++instance NFData EndpointLocation where++instance ToJSON EndpointLocation where+ toJSON EndpointLocation'{..}+ = object+ (catMaybes+ [("PostalCode" .=) <$> _elPostalCode,+ ("Latitude" .=) <$> _elLatitude,+ ("Country" .=) <$> _elCountry,+ ("City" .=) <$> _elCity, ("Region" .=) <$> _elRegion,+ ("Longitude" .=) <$> _elLongitude])++-- | The result from sending a message to an endpoint.+--+-- /See:/ 'endpointMessageResult' smart constructor.+data EndpointMessageResult = EndpointMessageResult'+ { _emrDeliveryStatus :: !(Maybe DeliveryStatus)+ , _emrAddress :: !(Maybe Text)+ , _emrStatusMessage :: !(Maybe Text)+ , _emrUpdatedToken :: !(Maybe Text)+ , _emrStatusCode :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointMessageResult' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'emrDeliveryStatus' - Delivery status of message.+--+-- * 'emrAddress' - Address that endpoint message was delivered to.+--+-- * 'emrStatusMessage' - Status message for message delivery.+--+-- * 'emrUpdatedToken' - If token was updated as part of delivery. (This is GCM Specific)+--+-- * 'emrStatusCode' - Downstream service status code.+endpointMessageResult+ :: EndpointMessageResult+endpointMessageResult =+ EndpointMessageResult'+ { _emrDeliveryStatus = Nothing+ , _emrAddress = Nothing+ , _emrStatusMessage = Nothing+ , _emrUpdatedToken = Nothing+ , _emrStatusCode = Nothing+ }+++-- | Delivery status of message.+emrDeliveryStatus :: Lens' EndpointMessageResult (Maybe DeliveryStatus)+emrDeliveryStatus = lens _emrDeliveryStatus (\ s a -> s{_emrDeliveryStatus = a});++-- | Address that endpoint message was delivered to.+emrAddress :: Lens' EndpointMessageResult (Maybe Text)+emrAddress = lens _emrAddress (\ s a -> s{_emrAddress = a});++-- | Status message for message delivery.+emrStatusMessage :: Lens' EndpointMessageResult (Maybe Text)+emrStatusMessage = lens _emrStatusMessage (\ s a -> s{_emrStatusMessage = a});++-- | If token was updated as part of delivery. (This is GCM Specific)+emrUpdatedToken :: Lens' EndpointMessageResult (Maybe Text)+emrUpdatedToken = lens _emrUpdatedToken (\ s a -> s{_emrUpdatedToken = a});++-- | Downstream service status code.+emrStatusCode :: Lens' EndpointMessageResult (Maybe Int)+emrStatusCode = lens _emrStatusCode (\ s a -> s{_emrStatusCode = a});++instance FromJSON EndpointMessageResult where+ parseJSON+ = withObject "EndpointMessageResult"+ (\ x ->+ EndpointMessageResult' <$>+ (x .:? "DeliveryStatus") <*> (x .:? "Address") <*>+ (x .:? "StatusMessage")+ <*> (x .:? "UpdatedToken")+ <*> (x .:? "StatusCode"))++instance Hashable EndpointMessageResult where++instance NFData EndpointMessageResult where++-- | Endpoint update request+--+-- /See:/ 'endpointRequest' smart constructor.+data EndpointRequest = EndpointRequest'+ { _erRequestId :: !(Maybe Text)+ , _erMetrics :: !(Maybe (Map Text Double))+ , _erLocation :: !(Maybe EndpointLocation)+ , _erDemographic :: !(Maybe EndpointDemographic)+ , _erAddress :: !(Maybe Text)+ , _erEffectiveDate :: !(Maybe Text)+ , _erUser :: !(Maybe EndpointUser)+ , _erAttributes :: !(Maybe (Map Text [Text]))+ , _erEndpointStatus :: !(Maybe Text)+ , _erOptOut :: !(Maybe Text)+ , _erChannelType :: !(Maybe ChannelType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'erRequestId' - The unique ID for the most recent request to update the endpoint.+--+-- * 'erMetrics' - Custom metrics that your app reports to Amazon Pinpoint.+--+-- * 'erLocation' - The endpoint location attributes.+--+-- * 'erDemographic' - The endpoint demographic attributes.+--+-- * 'erAddress' - The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+--+-- * 'erEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.+--+-- * 'erUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.+--+-- * 'erAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+--+-- * 'erEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+--+-- * 'erOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+--+-- * 'erChannelType' - The channel type. Valid values: GCM | APNS | SMS | EMAIL+endpointRequest+ :: EndpointRequest+endpointRequest =+ EndpointRequest'+ { _erRequestId = Nothing+ , _erMetrics = Nothing+ , _erLocation = Nothing+ , _erDemographic = Nothing+ , _erAddress = Nothing+ , _erEffectiveDate = Nothing+ , _erUser = Nothing+ , _erAttributes = Nothing+ , _erEndpointStatus = Nothing+ , _erOptOut = Nothing+ , _erChannelType = Nothing+ }+++-- | The unique ID for the most recent request to update the endpoint.+erRequestId :: Lens' EndpointRequest (Maybe Text)+erRequestId = lens _erRequestId (\ s a -> s{_erRequestId = a});++-- | Custom metrics that your app reports to Amazon Pinpoint.+erMetrics :: Lens' EndpointRequest (HashMap Text Double)+erMetrics = lens _erMetrics (\ s a -> s{_erMetrics = a}) . _Default . _Map;++-- | The endpoint location attributes.+erLocation :: Lens' EndpointRequest (Maybe EndpointLocation)+erLocation = lens _erLocation (\ s a -> s{_erLocation = a});++-- | The endpoint demographic attributes.+erDemographic :: Lens' EndpointRequest (Maybe EndpointDemographic)+erDemographic = lens _erDemographic (\ s a -> s{_erDemographic = a});++-- | The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+erAddress :: Lens' EndpointRequest (Maybe Text)+erAddress = lens _erAddress (\ s a -> s{_erAddress = a});++-- | The last time the endpoint was updated. Provided in ISO 8601 format.+erEffectiveDate :: Lens' EndpointRequest (Maybe Text)+erEffectiveDate = lens _erEffectiveDate (\ s a -> s{_erEffectiveDate = a});++-- | Custom user-specific attributes that your app reports to Amazon Pinpoint.+erUser :: Lens' EndpointRequest (Maybe EndpointUser)+erUser = lens _erUser (\ s a -> s{_erUser = a});++-- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+erAttributes :: Lens' EndpointRequest (HashMap Text [Text])+erAttributes = lens _erAttributes (\ s a -> s{_erAttributes = a}) . _Default . _Map;++-- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+erEndpointStatus :: Lens' EndpointRequest (Maybe Text)+erEndpointStatus = lens _erEndpointStatus (\ s a -> s{_erEndpointStatus = a});++-- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+erOptOut :: Lens' EndpointRequest (Maybe Text)+erOptOut = lens _erOptOut (\ s a -> s{_erOptOut = a});++-- | The channel type. Valid values: GCM | APNS | SMS | EMAIL+erChannelType :: Lens' EndpointRequest (Maybe ChannelType)+erChannelType = lens _erChannelType (\ s a -> s{_erChannelType = a});++instance Hashable EndpointRequest where++instance NFData EndpointRequest where++instance ToJSON EndpointRequest where+ toJSON EndpointRequest'{..}+ = object+ (catMaybes+ [("RequestId" .=) <$> _erRequestId,+ ("Metrics" .=) <$> _erMetrics,+ ("Location" .=) <$> _erLocation,+ ("Demographic" .=) <$> _erDemographic,+ ("Address" .=) <$> _erAddress,+ ("EffectiveDate" .=) <$> _erEffectiveDate,+ ("User" .=) <$> _erUser,+ ("Attributes" .=) <$> _erAttributes,+ ("EndpointStatus" .=) <$> _erEndpointStatus,+ ("OptOut" .=) <$> _erOptOut,+ ("ChannelType" .=) <$> _erChannelType])++-- | Endpoint response+--+-- /See:/ 'endpointResponse' smart constructor.+data EndpointResponse = EndpointResponse'+ { _eRequestId :: !(Maybe Text)+ , _eMetrics :: !(Maybe (Map Text Double))+ , _eLocation :: !(Maybe EndpointLocation)+ , _eDemographic :: !(Maybe EndpointDemographic)+ , _eCohortId :: !(Maybe Text)+ , _eAddress :: !(Maybe Text)+ , _eEffectiveDate :: !(Maybe Text)+ , _eUser :: !(Maybe EndpointUser)+ , _eApplicationId :: !(Maybe Text)+ , _eAttributes :: !(Maybe (Map Text [Text]))+ , _eEndpointStatus :: !(Maybe Text)+ , _eOptOut :: !(Maybe Text)+ , _eId :: !(Maybe Text)+ , _eCreationDate :: !(Maybe Text)+ , _eChannelType :: !(Maybe ChannelType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'eRequestId' - The unique ID for the most recent request to update the endpoint.+--+-- * 'eMetrics' - Custom metrics that your app reports to Amazon Pinpoint.+--+-- * 'eLocation' - The endpoint location attributes.+--+-- * 'eDemographic' - The endpoint demographic attributes.+--+-- * 'eCohortId' - A number from 0 - 99 that represents the cohort the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for a campaign.+--+-- * 'eAddress' - The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+--+-- * 'eEffectiveDate' - The last time the endpoint was updated. Provided in ISO 8601 format.+--+-- * 'eUser' - Custom user-specific attributes that your app reports to Amazon Pinpoint.+--+-- * 'eApplicationId' - The ID of the application associated with the endpoint.+--+-- * 'eAttributes' - Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+--+-- * 'eEndpointStatus' - The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+--+-- * 'eOptOut' - Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+--+-- * 'eId' - The unique ID that you assigned to the endpoint. The ID should be a globally unique identifier (GUID) to ensure that it is unique compared to all other endpoints for the application.+--+-- * 'eCreationDate' - The last time the endpoint was created. Provided in ISO 8601 format.+--+-- * 'eChannelType' - The channel type. Valid values: GCM | APNS | SMS | EMAIL+endpointResponse+ :: EndpointResponse+endpointResponse =+ EndpointResponse'+ { _eRequestId = Nothing+ , _eMetrics = Nothing+ , _eLocation = Nothing+ , _eDemographic = Nothing+ , _eCohortId = Nothing+ , _eAddress = Nothing+ , _eEffectiveDate = Nothing+ , _eUser = Nothing+ , _eApplicationId = Nothing+ , _eAttributes = Nothing+ , _eEndpointStatus = Nothing+ , _eOptOut = Nothing+ , _eId = Nothing+ , _eCreationDate = Nothing+ , _eChannelType = Nothing+ }+++-- | The unique ID for the most recent request to update the endpoint.+eRequestId :: Lens' EndpointResponse (Maybe Text)+eRequestId = lens _eRequestId (\ s a -> s{_eRequestId = a});++-- | Custom metrics that your app reports to Amazon Pinpoint.+eMetrics :: Lens' EndpointResponse (HashMap Text Double)+eMetrics = lens _eMetrics (\ s a -> s{_eMetrics = a}) . _Default . _Map;++-- | The endpoint location attributes.+eLocation :: Lens' EndpointResponse (Maybe EndpointLocation)+eLocation = lens _eLocation (\ s a -> s{_eLocation = a});++-- | The endpoint demographic attributes.+eDemographic :: Lens' EndpointResponse (Maybe EndpointDemographic)+eDemographic = lens _eDemographic (\ s a -> s{_eDemographic = a});++-- | A number from 0 - 99 that represents the cohort the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for a campaign.+eCohortId :: Lens' EndpointResponse (Maybe Text)+eCohortId = lens _eCohortId (\ s a -> s{_eCohortId = a});++-- | The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or RegistrationId).+eAddress :: Lens' EndpointResponse (Maybe Text)+eAddress = lens _eAddress (\ s a -> s{_eAddress = a});++-- | The last time the endpoint was updated. Provided in ISO 8601 format.+eEffectiveDate :: Lens' EndpointResponse (Maybe Text)+eEffectiveDate = lens _eEffectiveDate (\ s a -> s{_eEffectiveDate = a});++-- | Custom user-specific attributes that your app reports to Amazon Pinpoint.+eUser :: Lens' EndpointResponse (Maybe EndpointUser)+eUser = lens _eUser (\ s a -> s{_eUser = a});++-- | The ID of the application associated with the endpoint.+eApplicationId :: Lens' EndpointResponse (Maybe Text)+eApplicationId = lens _eApplicationId (\ s a -> s{_eApplicationId = a});++-- | Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create a segment.+eAttributes :: Lens' EndpointResponse (HashMap Text [Text])+eAttributes = lens _eAttributes (\ s a -> s{_eAttributes = a}) . _Default . _Map;++-- | The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails. Will be set to ACTIVE if the address is updated.+eEndpointStatus :: Lens' EndpointResponse (Maybe Text)+eEndpointStatus = lens _eEndpointStatus (\ s a -> s{_eEndpointStatus = a});++-- | Indicates whether a user has opted out of receiving messages with one of the following values: ALL - User has opted out of all messages. NONE - Users has not opted out and receives all messages.+eOptOut :: Lens' EndpointResponse (Maybe Text)+eOptOut = lens _eOptOut (\ s a -> s{_eOptOut = a});++-- | The unique ID that you assigned to the endpoint. The ID should be a globally unique identifier (GUID) to ensure that it is unique compared to all other endpoints for the application.+eId :: Lens' EndpointResponse (Maybe Text)+eId = lens _eId (\ s a -> s{_eId = a});++-- | The last time the endpoint was created. Provided in ISO 8601 format.+eCreationDate :: Lens' EndpointResponse (Maybe Text)+eCreationDate = lens _eCreationDate (\ s a -> s{_eCreationDate = a});++-- | The channel type. Valid values: GCM | APNS | SMS | EMAIL+eChannelType :: Lens' EndpointResponse (Maybe ChannelType)+eChannelType = lens _eChannelType (\ s a -> s{_eChannelType = a});++instance FromJSON EndpointResponse where+ parseJSON+ = withObject "EndpointResponse"+ (\ x ->+ EndpointResponse' <$>+ (x .:? "RequestId") <*> (x .:? "Metrics" .!= mempty)+ <*> (x .:? "Location")+ <*> (x .:? "Demographic")+ <*> (x .:? "CohortId")+ <*> (x .:? "Address")+ <*> (x .:? "EffectiveDate")+ <*> (x .:? "User")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Attributes" .!= mempty)+ <*> (x .:? "EndpointStatus")+ <*> (x .:? "OptOut")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "ChannelType"))++instance Hashable EndpointResponse where++instance NFData EndpointResponse where++-- | Endpoint send configuration.+--+-- /See:/ 'endpointSendConfiguration' smart constructor.+data EndpointSendConfiguration = EndpointSendConfiguration'+ { _escSubstitutions :: !(Maybe (Map Text [Text]))+ , _escTitleOverride :: !(Maybe Text)+ , _escContext :: !(Maybe (Map Text Text))+ , _escRawContent :: !(Maybe Text)+ , _escBodyOverride :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointSendConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'escSubstitutions' - A map of substitution values for the message to be merged with the DefaultMessage's substitutions. Substitutions on this map take precedence over the all other substitutions.+--+-- * 'escTitleOverride' - Title override. If specified will override default title if applicable.+--+-- * 'escContext' - A map of custom attributes to attributes to be attached to the message for this address. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+--+-- * 'escRawContent' - The Raw JSON formatted string to be used as the payload. This value overrides the message.+--+-- * 'escBodyOverride' - Body override. If specified will override default body.+endpointSendConfiguration+ :: EndpointSendConfiguration+endpointSendConfiguration =+ EndpointSendConfiguration'+ { _escSubstitutions = Nothing+ , _escTitleOverride = Nothing+ , _escContext = Nothing+ , _escRawContent = Nothing+ , _escBodyOverride = Nothing+ }+++-- | A map of substitution values for the message to be merged with the DefaultMessage's substitutions. Substitutions on this map take precedence over the all other substitutions.+escSubstitutions :: Lens' EndpointSendConfiguration (HashMap Text [Text])+escSubstitutions = lens _escSubstitutions (\ s a -> s{_escSubstitutions = a}) . _Default . _Map;++-- | Title override. If specified will override default title if applicable.+escTitleOverride :: Lens' EndpointSendConfiguration (Maybe Text)+escTitleOverride = lens _escTitleOverride (\ s a -> s{_escTitleOverride = a});++-- | A map of custom attributes to attributes to be attached to the message for this address. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+escContext :: Lens' EndpointSendConfiguration (HashMap Text Text)+escContext = lens _escContext (\ s a -> s{_escContext = a}) . _Default . _Map;++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+escRawContent :: Lens' EndpointSendConfiguration (Maybe Text)+escRawContent = lens _escRawContent (\ s a -> s{_escRawContent = a});++-- | Body override. If specified will override default body.+escBodyOverride :: Lens' EndpointSendConfiguration (Maybe Text)+escBodyOverride = lens _escBodyOverride (\ s a -> s{_escBodyOverride = a});++instance Hashable EndpointSendConfiguration where++instance NFData EndpointSendConfiguration where++instance ToJSON EndpointSendConfiguration where+ toJSON EndpointSendConfiguration'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _escSubstitutions,+ ("TitleOverride" .=) <$> _escTitleOverride,+ ("Context" .=) <$> _escContext,+ ("RawContent" .=) <$> _escRawContent,+ ("BodyOverride" .=) <$> _escBodyOverride])++-- | Endpoint user specific custom userAttributes+--+-- /See:/ 'endpointUser' smart constructor.+data EndpointUser = EndpointUser'+ { _euUserAttributes :: !(Maybe (Map Text [Text]))+ , _euUserId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EndpointUser' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'euUserAttributes' - Custom attributes specific to the user.+--+-- * 'euUserId' - The unique ID of the user.+endpointUser+ :: EndpointUser+endpointUser = EndpointUser' {_euUserAttributes = Nothing, _euUserId = Nothing}+++-- | Custom attributes specific to the user.+euUserAttributes :: Lens' EndpointUser (HashMap Text [Text])+euUserAttributes = lens _euUserAttributes (\ s a -> s{_euUserAttributes = a}) . _Default . _Map;++-- | The unique ID of the user.+euUserId :: Lens' EndpointUser (Maybe Text)+euUserId = lens _euUserId (\ s a -> s{_euUserId = a});++instance FromJSON EndpointUser where+ parseJSON+ = withObject "EndpointUser"+ (\ x ->+ EndpointUser' <$>+ (x .:? "UserAttributes" .!= mempty) <*>+ (x .:? "UserId"))++instance Hashable EndpointUser where++instance NFData EndpointUser where++instance ToJSON EndpointUser where+ toJSON EndpointUser'{..}+ = object+ (catMaybes+ [("UserAttributes" .=) <$> _euUserAttributes,+ ("UserId" .=) <$> _euUserId])++-- | Model for an event publishing subscription export.+--+-- /See:/ 'eventStream' smart constructor.+data EventStream = EventStream'+ { _esLastUpdatedBy :: !(Maybe Text)+ , _esLastModifiedDate :: !(Maybe Text)+ , _esDestinationStreamARN :: !(Maybe Text)+ , _esApplicationId :: !(Maybe Text)+ , _esExternalId :: !(Maybe Text)+ , _esRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EventStream' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'esLastUpdatedBy' - The IAM user who last modified the event stream.+--+-- * 'esLastModifiedDate' - The date the event stream was last updated in ISO 8601 format.+--+-- * 'esDestinationStreamARN' - The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME+--+-- * 'esApplicationId' - The ID of the application from which events should be published.+--+-- * 'esExternalId' - The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.+--+-- * 'esRoleARN' - The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.+eventStream+ :: EventStream+eventStream =+ EventStream'+ { _esLastUpdatedBy = Nothing+ , _esLastModifiedDate = Nothing+ , _esDestinationStreamARN = Nothing+ , _esApplicationId = Nothing+ , _esExternalId = Nothing+ , _esRoleARN = Nothing+ }+++-- | The IAM user who last modified the event stream.+esLastUpdatedBy :: Lens' EventStream (Maybe Text)+esLastUpdatedBy = lens _esLastUpdatedBy (\ s a -> s{_esLastUpdatedBy = a});++-- | The date the event stream was last updated in ISO 8601 format.+esLastModifiedDate :: Lens' EventStream (Maybe Text)+esLastModifiedDate = lens _esLastModifiedDate (\ s a -> s{_esLastModifiedDate = a});++-- | The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME+esDestinationStreamARN :: Lens' EventStream (Maybe Text)+esDestinationStreamARN = lens _esDestinationStreamARN (\ s a -> s{_esDestinationStreamARN = a});++-- | The ID of the application from which events should be published.+esApplicationId :: Lens' EventStream (Maybe Text)+esApplicationId = lens _esApplicationId (\ s a -> s{_esApplicationId = a});++-- | The external ID assigned the IAM role that authorizes Amazon Pinpoint to publish to the stream.+esExternalId :: Lens' EventStream (Maybe Text)+esExternalId = lens _esExternalId (\ s a -> s{_esExternalId = a});++-- | The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.+esRoleARN :: Lens' EventStream (Maybe Text)+esRoleARN = lens _esRoleARN (\ s a -> s{_esRoleARN = a});++instance FromJSON EventStream where+ parseJSON+ = withObject "EventStream"+ (\ x ->+ EventStream' <$>+ (x .:? "LastUpdatedBy") <*>+ (x .:? "LastModifiedDate")+ <*> (x .:? "DestinationStreamArn")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "ExternalId")+ <*> (x .:? "RoleArn"))++instance Hashable EventStream where++instance NFData EventStream where++-- | Google Cloud Messaging credentials+--+-- /See:/ 'gcmChannelRequest' smart constructor.+data GCMChannelRequest = GCMChannelRequest'+ { _gcrAPIKey :: !(Maybe Text)+ , _gcrEnabled :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GCMChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gcrAPIKey' - Platform credential API key from Google.+--+-- * 'gcrEnabled' - If the channel is enabled for sending messages.+gcmChannelRequest+ :: GCMChannelRequest+gcmChannelRequest =+ GCMChannelRequest' {_gcrAPIKey = Nothing, _gcrEnabled = Nothing}+++-- | Platform credential API key from Google.+gcrAPIKey :: Lens' GCMChannelRequest (Maybe Text)+gcrAPIKey = lens _gcrAPIKey (\ s a -> s{_gcrAPIKey = a});++-- | If the channel is enabled for sending messages.+gcrEnabled :: Lens' GCMChannelRequest (Maybe Bool)+gcrEnabled = lens _gcrEnabled (\ s a -> s{_gcrEnabled = a});++instance Hashable GCMChannelRequest where++instance NFData GCMChannelRequest where++instance ToJSON GCMChannelRequest where+ toJSON GCMChannelRequest'{..}+ = object+ (catMaybes+ [("ApiKey" .=) <$> _gcrAPIKey,+ ("Enabled" .=) <$> _gcrEnabled])++-- | Google Cloud Messaging channel definition+--+-- /See:/ 'gcmChannelResponse' smart constructor.+data GCMChannelResponse = GCMChannelResponse'+ { _gcPlatform :: !(Maybe Text)+ , _gcLastModifiedDate :: !(Maybe Text)+ , _gcEnabled :: !(Maybe Bool)+ , _gcCredential :: !(Maybe Text)+ , _gcIsArchived :: !(Maybe Bool)+ , _gcApplicationId :: !(Maybe Text)+ , _gcVersion :: !(Maybe Int)+ , _gcId :: !(Maybe Text)+ , _gcCreationDate :: !(Maybe Text)+ , _gcLastModifiedBy :: !(Maybe Text)+ , _gcHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GCMChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gcPlatform' - The platform type. Will be GCM+--+-- * 'gcLastModifiedDate' - Last date this was updated+--+-- * 'gcEnabled' - If the channel is enabled for sending messages.+--+-- * 'gcCredential' - The GCM API key from Google.+--+-- * 'gcIsArchived' - Is this channel archived+--+-- * 'gcApplicationId' - The ID of the application to which the channel applies.+--+-- * 'gcVersion' - Version of channel+--+-- * 'gcId' - Channel ID. Not used. Present only for backwards compatibility.+--+-- * 'gcCreationDate' - When was this segment created+--+-- * 'gcLastModifiedBy' - Who last updated this entry+--+-- * 'gcHasCredential' - If the channel is registered with a credential for authentication.+gcmChannelResponse+ :: GCMChannelResponse+gcmChannelResponse =+ GCMChannelResponse'+ { _gcPlatform = Nothing+ , _gcLastModifiedDate = Nothing+ , _gcEnabled = Nothing+ , _gcCredential = Nothing+ , _gcIsArchived = Nothing+ , _gcApplicationId = Nothing+ , _gcVersion = Nothing+ , _gcId = Nothing+ , _gcCreationDate = Nothing+ , _gcLastModifiedBy = Nothing+ , _gcHasCredential = Nothing+ }+++-- | The platform type. Will be GCM+gcPlatform :: Lens' GCMChannelResponse (Maybe Text)+gcPlatform = lens _gcPlatform (\ s a -> s{_gcPlatform = a});++-- | Last date this was updated+gcLastModifiedDate :: Lens' GCMChannelResponse (Maybe Text)+gcLastModifiedDate = lens _gcLastModifiedDate (\ s a -> s{_gcLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+gcEnabled :: Lens' GCMChannelResponse (Maybe Bool)+gcEnabled = lens _gcEnabled (\ s a -> s{_gcEnabled = a});++-- | The GCM API key from Google.+gcCredential :: Lens' GCMChannelResponse (Maybe Text)+gcCredential = lens _gcCredential (\ s a -> s{_gcCredential = a});++-- | Is this channel archived+gcIsArchived :: Lens' GCMChannelResponse (Maybe Bool)+gcIsArchived = lens _gcIsArchived (\ s a -> s{_gcIsArchived = a});++-- | The ID of the application to which the channel applies.+gcApplicationId :: Lens' GCMChannelResponse (Maybe Text)+gcApplicationId = lens _gcApplicationId (\ s a -> s{_gcApplicationId = a});++-- | Version of channel+gcVersion :: Lens' GCMChannelResponse (Maybe Int)+gcVersion = lens _gcVersion (\ s a -> s{_gcVersion = a});++-- | Channel ID. Not used. Present only for backwards compatibility.+gcId :: Lens' GCMChannelResponse (Maybe Text)+gcId = lens _gcId (\ s a -> s{_gcId = a});++-- | When was this segment created+gcCreationDate :: Lens' GCMChannelResponse (Maybe Text)+gcCreationDate = lens _gcCreationDate (\ s a -> s{_gcCreationDate = a});++-- | Who last updated this entry+gcLastModifiedBy :: Lens' GCMChannelResponse (Maybe Text)+gcLastModifiedBy = lens _gcLastModifiedBy (\ s a -> s{_gcLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+gcHasCredential :: Lens' GCMChannelResponse (Maybe Bool)+gcHasCredential = lens _gcHasCredential (\ s a -> s{_gcHasCredential = a});++instance FromJSON GCMChannelResponse where+ parseJSON+ = withObject "GCMChannelResponse"+ (\ x ->+ GCMChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "LastModifiedDate") <*>+ (x .:? "Enabled")+ <*> (x .:? "Credential")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable GCMChannelResponse where++instance NFData GCMChannelResponse where++-- | GCM Message.+--+-- /See:/ 'gcmMessage' smart constructor.+data GCMMessage = GCMMessage'+ { _gmSubstitutions :: !(Maybe (Map Text [Text]))+ , _gmSilentPush :: !(Maybe Bool)+ , _gmImageIconURL :: !(Maybe Text)+ , _gmPriority :: !(Maybe Text)+ , _gmRawContent :: !(Maybe Text)+ , _gmData :: !(Maybe (Map Text Text))+ , _gmRestrictedPackageName :: !(Maybe Text)+ , _gmSmallImageIconURL :: !(Maybe Text)+ , _gmBody :: !(Maybe Text)+ , _gmTimeToLive :: !(Maybe Int)+ , _gmURL :: !(Maybe Text)+ , _gmSound :: !(Maybe Text)+ , _gmAction :: !(Maybe Action)+ , _gmCollapseKey :: !(Maybe Text)+ , _gmImageURL :: !(Maybe Text)+ , _gmTitle :: !(Maybe Text)+ , _gmIconReference :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GCMMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gmSubstitutions' - Default message substitutions. Can be overridden by individual address substitutions.+--+-- * 'gmSilentPush' - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+--+-- * 'gmImageIconURL' - The URL that points to an image used as the large icon to the notification content view.+--+-- * 'gmPriority' - Is this a transaction priority message or lower priority.+--+-- * 'gmRawContent' - The Raw JSON formatted string to be used as the payload. This value overrides the message.+--+-- * 'gmData' - The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+--+-- * 'gmRestrictedPackageName' - This parameter specifies the package name of the application where the registration tokens must match in order to receive the message.+--+-- * 'gmSmallImageIconURL' - 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+--+-- * 'gmBody' - The message body of the notification, the email body or the text message.+--+-- * 'gmTimeToLive' - This parameter specifies how long (in seconds) the message should be kept in GCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks.+--+-- * 'gmURL' - The URL to open in the user's mobile browser. Used if the value for Action is URL.+--+-- * 'gmSound' - 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 /res/raw/+--+-- * 'gmAction' - 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+--+-- * 'gmCollapseKey' - This parameter identifies a group of messages (e.g., with collapse_key: "Updates Available") that can be collapsed, so that only the last message gets sent when delivery can be resumed. This is intended to avoid sending too many of the same messages when the device comes back online or becomes active.+--+-- * 'gmImageURL' - The URL that points to an image used in the push notification.+--+-- * 'gmTitle' - The message title that displays above the message on the user's device.+--+-- * 'gmIconReference' - The icon image name of the asset saved in your application.+gcmMessage+ :: GCMMessage+gcmMessage =+ GCMMessage'+ { _gmSubstitutions = Nothing+ , _gmSilentPush = Nothing+ , _gmImageIconURL = Nothing+ , _gmPriority = Nothing+ , _gmRawContent = Nothing+ , _gmData = Nothing+ , _gmRestrictedPackageName = Nothing+ , _gmSmallImageIconURL = Nothing+ , _gmBody = Nothing+ , _gmTimeToLive = Nothing+ , _gmURL = Nothing+ , _gmSound = Nothing+ , _gmAction = Nothing+ , _gmCollapseKey = Nothing+ , _gmImageURL = Nothing+ , _gmTitle = Nothing+ , _gmIconReference = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+gmSubstitutions :: Lens' GCMMessage (HashMap Text [Text])+gmSubstitutions = lens _gmSubstitutions (\ s a -> s{_gmSubstitutions = a}) . _Default . _Map;++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+gmSilentPush :: Lens' GCMMessage (Maybe Bool)+gmSilentPush = lens _gmSilentPush (\ s a -> s{_gmSilentPush = a});++-- | The URL that points to an image used as the large icon to the notification content view.+gmImageIconURL :: Lens' GCMMessage (Maybe Text)+gmImageIconURL = lens _gmImageIconURL (\ s a -> s{_gmImageIconURL = a});++-- | Is this a transaction priority message or lower priority.+gmPriority :: Lens' GCMMessage (Maybe Text)+gmPriority = lens _gmPriority (\ s a -> s{_gmPriority = a});++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+gmRawContent :: Lens' GCMMessage (Maybe Text)+gmRawContent = lens _gmRawContent (\ s a -> s{_gmRawContent = a});++-- | The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object+gmData :: Lens' GCMMessage (HashMap Text Text)+gmData = lens _gmData (\ s a -> s{_gmData = a}) . _Default . _Map;++-- | This parameter specifies the package name of the application where the registration tokens must match in order to receive the message.+gmRestrictedPackageName :: Lens' GCMMessage (Maybe Text)+gmRestrictedPackageName = lens _gmRestrictedPackageName (\ s a -> s{_gmRestrictedPackageName = a});++-- | 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+gmSmallImageIconURL :: Lens' GCMMessage (Maybe Text)+gmSmallImageIconURL = lens _gmSmallImageIconURL (\ s a -> s{_gmSmallImageIconURL = a});++-- | The message body of the notification, the email body or the text message.+gmBody :: Lens' GCMMessage (Maybe Text)+gmBody = lens _gmBody (\ s a -> s{_gmBody = a});++-- | This parameter specifies how long (in seconds) the message should be kept in GCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks.+gmTimeToLive :: Lens' GCMMessage (Maybe Int)+gmTimeToLive = lens _gmTimeToLive (\ s a -> s{_gmTimeToLive = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+gmURL :: Lens' GCMMessage (Maybe Text)+gmURL = lens _gmURL (\ s a -> s{_gmURL = a});++-- | 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 /res/raw/+gmSound :: Lens' GCMMessage (Maybe Text)+gmSound = lens _gmSound (\ s a -> s{_gmSound = a});++-- | 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+gmAction :: Lens' GCMMessage (Maybe Action)+gmAction = lens _gmAction (\ s a -> s{_gmAction = a});++-- | This parameter identifies a group of messages (e.g., with collapse_key: "Updates Available") that can be collapsed, so that only the last message gets sent when delivery can be resumed. This is intended to avoid sending too many of the same messages when the device comes back online or becomes active.+gmCollapseKey :: Lens' GCMMessage (Maybe Text)+gmCollapseKey = lens _gmCollapseKey (\ s a -> s{_gmCollapseKey = a});++-- | The URL that points to an image used in the push notification.+gmImageURL :: Lens' GCMMessage (Maybe Text)+gmImageURL = lens _gmImageURL (\ s a -> s{_gmImageURL = a});++-- | The message title that displays above the message on the user's device.+gmTitle :: Lens' GCMMessage (Maybe Text)+gmTitle = lens _gmTitle (\ s a -> s{_gmTitle = a});++-- | The icon image name of the asset saved in your application.+gmIconReference :: Lens' GCMMessage (Maybe Text)+gmIconReference = lens _gmIconReference (\ s a -> s{_gmIconReference = a});++instance Hashable GCMMessage where++instance NFData GCMMessage where++instance ToJSON GCMMessage where+ toJSON GCMMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _gmSubstitutions,+ ("SilentPush" .=) <$> _gmSilentPush,+ ("ImageIconUrl" .=) <$> _gmImageIconURL,+ ("Priority" .=) <$> _gmPriority,+ ("RawContent" .=) <$> _gmRawContent,+ ("Data" .=) <$> _gmData,+ ("RestrictedPackageName" .=) <$>+ _gmRestrictedPackageName,+ ("SmallImageIconUrl" .=) <$> _gmSmallImageIconURL,+ ("Body" .=) <$> _gmBody,+ ("TimeToLive" .=) <$> _gmTimeToLive,+ ("Url" .=) <$> _gmURL, ("Sound" .=) <$> _gmSound,+ ("Action" .=) <$> _gmAction,+ ("CollapseKey" .=) <$> _gmCollapseKey,+ ("ImageUrl" .=) <$> _gmImageURL,+ ("Title" .=) <$> _gmTitle,+ ("IconReference" .=) <$> _gmIconReference])++-- | /See:/ 'importJobRequest' smart constructor.+data ImportJobRequest = ImportJobRequest'+ { _iSegmentName :: !(Maybe Text)+ , _iFormat :: !(Maybe DefinitionFormat)+ , _iDefineSegment :: !(Maybe Bool)+ , _iRegisterEndpoints :: !(Maybe Bool)+ , _iExternalId :: !(Maybe Text)+ , _iS3URL :: !(Maybe Text)+ , _iSegmentId :: !(Maybe Text)+ , _iRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ImportJobRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'iSegmentName' - A custom name for the segment created by the import job. Use if DefineSegment is true.+--+-- * 'iFormat' - The format of the files that contain the endpoint definitions. Valid values: CSV, JSON+--+-- * 'iDefineSegment' - Sets whether the endpoints create a segment when they are imported.+--+-- * 'iRegisterEndpoints' - Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.+--+-- * 'iExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.+--+-- * 'iS3URL' - A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.+--+-- * 'iSegmentId' - The ID of the segment to update if the import job is meant to update an existing segment.+--+-- * 'iRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.+importJobRequest+ :: ImportJobRequest+importJobRequest =+ ImportJobRequest'+ { _iSegmentName = Nothing+ , _iFormat = Nothing+ , _iDefineSegment = Nothing+ , _iRegisterEndpoints = Nothing+ , _iExternalId = Nothing+ , _iS3URL = Nothing+ , _iSegmentId = Nothing+ , _iRoleARN = Nothing+ }+++-- | A custom name for the segment created by the import job. Use if DefineSegment is true.+iSegmentName :: Lens' ImportJobRequest (Maybe Text)+iSegmentName = lens _iSegmentName (\ s a -> s{_iSegmentName = a});++-- | The format of the files that contain the endpoint definitions. Valid values: CSV, JSON+iFormat :: Lens' ImportJobRequest (Maybe DefinitionFormat)+iFormat = lens _iFormat (\ s a -> s{_iFormat = a});++-- | Sets whether the endpoints create a segment when they are imported.+iDefineSegment :: Lens' ImportJobRequest (Maybe Bool)+iDefineSegment = lens _iDefineSegment (\ s a -> s{_iDefineSegment = a});++-- | Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.+iRegisterEndpoints :: Lens' ImportJobRequest (Maybe Bool)+iRegisterEndpoints = lens _iRegisterEndpoints (\ s a -> s{_iRegisterEndpoints = a});++-- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.+iExternalId :: Lens' ImportJobRequest (Maybe Text)+iExternalId = lens _iExternalId (\ s a -> s{_iExternalId = a});++-- | A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.+iS3URL :: Lens' ImportJobRequest (Maybe Text)+iS3URL = lens _iS3URL (\ s a -> s{_iS3URL = a});++-- | The ID of the segment to update if the import job is meant to update an existing segment.+iSegmentId :: Lens' ImportJobRequest (Maybe Text)+iSegmentId = lens _iSegmentId (\ s a -> s{_iSegmentId = a});++-- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.+iRoleARN :: Lens' ImportJobRequest (Maybe Text)+iRoleARN = lens _iRoleARN (\ s a -> s{_iRoleARN = a});++instance Hashable ImportJobRequest where++instance NFData ImportJobRequest where++instance ToJSON ImportJobRequest where+ toJSON ImportJobRequest'{..}+ = object+ (catMaybes+ [("SegmentName" .=) <$> _iSegmentName,+ ("Format" .=) <$> _iFormat,+ ("DefineSegment" .=) <$> _iDefineSegment,+ ("RegisterEndpoints" .=) <$> _iRegisterEndpoints,+ ("ExternalId" .=) <$> _iExternalId,+ ("S3Url" .=) <$> _iS3URL,+ ("SegmentId" .=) <$> _iSegmentId,+ ("RoleArn" .=) <$> _iRoleARN])++-- | /See:/ 'importJobResource' smart constructor.+data ImportJobResource = ImportJobResource'+ { _ijrSegmentName :: !(Maybe Text)+ , _ijrFormat :: !(Maybe DefinitionFormat)+ , _ijrDefineSegment :: !(Maybe Bool)+ , _ijrRegisterEndpoints :: !(Maybe Bool)+ , _ijrExternalId :: !(Maybe Text)+ , _ijrS3URL :: !(Maybe Text)+ , _ijrSegmentId :: !(Maybe Text)+ , _ijrRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ImportJobResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ijrSegmentName' - A custom name for the segment created by the import job. Use if DefineSegment is true.+--+-- * 'ijrFormat' - The format of the files that contain the endpoint definitions. Valid values: CSV, JSON+--+-- * 'ijrDefineSegment' - Sets whether the endpoints create a segment when they are imported.+--+-- * 'ijrRegisterEndpoints' - Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.+--+-- * 'ijrExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.+--+-- * 'ijrS3URL' - A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.+--+-- * 'ijrSegmentId' - The ID of the segment to update if the import job is meant to update an existing segment.+--+-- * 'ijrRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.+importJobResource+ :: ImportJobResource+importJobResource =+ ImportJobResource'+ { _ijrSegmentName = Nothing+ , _ijrFormat = Nothing+ , _ijrDefineSegment = Nothing+ , _ijrRegisterEndpoints = Nothing+ , _ijrExternalId = Nothing+ , _ijrS3URL = Nothing+ , _ijrSegmentId = Nothing+ , _ijrRoleARN = Nothing+ }+++-- | A custom name for the segment created by the import job. Use if DefineSegment is true.+ijrSegmentName :: Lens' ImportJobResource (Maybe Text)+ijrSegmentName = lens _ijrSegmentName (\ s a -> s{_ijrSegmentName = a});++-- | The format of the files that contain the endpoint definitions. Valid values: CSV, JSON+ijrFormat :: Lens' ImportJobResource (Maybe DefinitionFormat)+ijrFormat = lens _ijrFormat (\ s a -> s{_ijrFormat = a});++-- | Sets whether the endpoints create a segment when they are imported.+ijrDefineSegment :: Lens' ImportJobResource (Maybe Bool)+ijrDefineSegment = lens _ijrDefineSegment (\ s a -> s{_ijrDefineSegment = a});++-- | Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.+ijrRegisterEndpoints :: Lens' ImportJobResource (Maybe Bool)+ijrRegisterEndpoints = lens _ijrRegisterEndpoints (\ s a -> s{_ijrRegisterEndpoints = a});++-- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.+ijrExternalId :: Lens' ImportJobResource (Maybe Text)+ijrExternalId = lens _ijrExternalId (\ s a -> s{_ijrExternalId = a});++-- | A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.+ijrS3URL :: Lens' ImportJobResource (Maybe Text)+ijrS3URL = lens _ijrS3URL (\ s a -> s{_ijrS3URL = a});++-- | The ID of the segment to update if the import job is meant to update an existing segment.+ijrSegmentId :: Lens' ImportJobResource (Maybe Text)+ijrSegmentId = lens _ijrSegmentId (\ s a -> s{_ijrSegmentId = a});++-- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.+ijrRoleARN :: Lens' ImportJobResource (Maybe Text)+ijrRoleARN = lens _ijrRoleARN (\ s a -> s{_ijrRoleARN = a});++instance FromJSON ImportJobResource where+ parseJSON+ = withObject "ImportJobResource"+ (\ x ->+ ImportJobResource' <$>+ (x .:? "SegmentName") <*> (x .:? "Format") <*>+ (x .:? "DefineSegment")+ <*> (x .:? "RegisterEndpoints")+ <*> (x .:? "ExternalId")+ <*> (x .:? "S3Url")+ <*> (x .:? "SegmentId")+ <*> (x .:? "RoleArn"))++instance Hashable ImportJobResource where++instance NFData ImportJobResource where++-- | /See:/ 'importJobResponse' smart constructor.+data ImportJobResponse = ImportJobResponse'+ { _ijCompletedPieces :: !(Maybe Int)+ , _ijFailedPieces :: !(Maybe Int)+ , _ijDefinition :: !(Maybe ImportJobResource)+ , _ijTotalProcessed :: !(Maybe Int)+ , _ijFailures :: !(Maybe [Text])+ , _ijTotalPieces :: !(Maybe Int)+ , _ijApplicationId :: !(Maybe Text)+ , _ijId :: !(Maybe Text)+ , _ijCreationDate :: !(Maybe Text)+ , _ijType :: !(Maybe Text)+ , _ijCompletionDate :: !(Maybe Text)+ , _ijJobStatus :: !(Maybe JobStatus)+ , _ijTotalFailures :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ImportJobResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ijCompletedPieces' - The number of pieces that have successfully imported as of the time of the request.+--+-- * 'ijFailedPieces' - The number of pieces that have failed to import as of the time of the request.+--+-- * 'ijDefinition' - The import job settings.+--+-- * 'ijTotalProcessed' - The number of endpoints that were processed by the import job.+--+-- * 'ijFailures' - Provides up to 100 of the first failed entries for the job, if any exist.+--+-- * 'ijTotalPieces' - The total number of pieces that must be imported to finish the job. Each piece is an approximately equal portion of the endpoints to import.+--+-- * 'ijApplicationId' - The unique ID of the application to which the import job applies.+--+-- * 'ijId' - The unique ID of the import job.+--+-- * 'ijCreationDate' - The date the import job was created in ISO 8601 format.+--+-- * 'ijType' - The job type. Will be Import.+--+-- * 'ijCompletionDate' - The date the import job completed in ISO 8601 format.+--+-- * 'ijJobStatus' - The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED The job status is FAILED if one or more pieces failed to import.+--+-- * 'ijTotalFailures' - The number of endpoints that failed to import; for example, because of syntax errors.+importJobResponse+ :: ImportJobResponse+importJobResponse =+ ImportJobResponse'+ { _ijCompletedPieces = Nothing+ , _ijFailedPieces = Nothing+ , _ijDefinition = Nothing+ , _ijTotalProcessed = Nothing+ , _ijFailures = Nothing+ , _ijTotalPieces = Nothing+ , _ijApplicationId = Nothing+ , _ijId = Nothing+ , _ijCreationDate = Nothing+ , _ijType = Nothing+ , _ijCompletionDate = Nothing+ , _ijJobStatus = Nothing+ , _ijTotalFailures = Nothing+ }+++-- | The number of pieces that have successfully imported as of the time of the request.+ijCompletedPieces :: Lens' ImportJobResponse (Maybe Int)+ijCompletedPieces = lens _ijCompletedPieces (\ s a -> s{_ijCompletedPieces = a});++-- | The number of pieces that have failed to import as of the time of the request.+ijFailedPieces :: Lens' ImportJobResponse (Maybe Int)+ijFailedPieces = lens _ijFailedPieces (\ s a -> s{_ijFailedPieces = a});++-- | The import job settings.+ijDefinition :: Lens' ImportJobResponse (Maybe ImportJobResource)+ijDefinition = lens _ijDefinition (\ s a -> s{_ijDefinition = a});++-- | The number of endpoints that were processed by the import job.+ijTotalProcessed :: Lens' ImportJobResponse (Maybe Int)+ijTotalProcessed = lens _ijTotalProcessed (\ s a -> s{_ijTotalProcessed = a});++-- | Provides up to 100 of the first failed entries for the job, if any exist.+ijFailures :: Lens' ImportJobResponse [Text]+ijFailures = lens _ijFailures (\ s a -> s{_ijFailures = a}) . _Default . _Coerce;++-- | The total number of pieces that must be imported to finish the job. Each piece is an approximately equal portion of the endpoints to import.+ijTotalPieces :: Lens' ImportJobResponse (Maybe Int)+ijTotalPieces = lens _ijTotalPieces (\ s a -> s{_ijTotalPieces = a});++-- | The unique ID of the application to which the import job applies.+ijApplicationId :: Lens' ImportJobResponse (Maybe Text)+ijApplicationId = lens _ijApplicationId (\ s a -> s{_ijApplicationId = a});++-- | The unique ID of the import job.+ijId :: Lens' ImportJobResponse (Maybe Text)+ijId = lens _ijId (\ s a -> s{_ijId = a});++-- | The date the import job was created in ISO 8601 format.+ijCreationDate :: Lens' ImportJobResponse (Maybe Text)+ijCreationDate = lens _ijCreationDate (\ s a -> s{_ijCreationDate = a});++-- | The job type. Will be Import.+ijType :: Lens' ImportJobResponse (Maybe Text)+ijType = lens _ijType (\ s a -> s{_ijType = a});++-- | The date the import job completed in ISO 8601 format.+ijCompletionDate :: Lens' ImportJobResponse (Maybe Text)+ijCompletionDate = lens _ijCompletionDate (\ s a -> s{_ijCompletionDate = a});++-- | The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED The job status is FAILED if one or more pieces failed to import.+ijJobStatus :: Lens' ImportJobResponse (Maybe JobStatus)+ijJobStatus = lens _ijJobStatus (\ s a -> s{_ijJobStatus = a});++-- | The number of endpoints that failed to import; for example, because of syntax errors.+ijTotalFailures :: Lens' ImportJobResponse (Maybe Int)+ijTotalFailures = lens _ijTotalFailures (\ s a -> s{_ijTotalFailures = a});++instance FromJSON ImportJobResponse where+ parseJSON+ = withObject "ImportJobResponse"+ (\ x ->+ ImportJobResponse' <$>+ (x .:? "CompletedPieces") <*> (x .:? "FailedPieces")+ <*> (x .:? "Definition")+ <*> (x .:? "TotalProcessed")+ <*> (x .:? "Failures" .!= mempty)+ <*> (x .:? "TotalPieces")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "Type")+ <*> (x .:? "CompletionDate")+ <*> (x .:? "JobStatus")+ <*> (x .:? "TotalFailures"))++instance Hashable ImportJobResponse where++instance NFData ImportJobResponse where++-- | Import job list.+--+-- /See:/ 'importJobsResponse' smart constructor.+data ImportJobsResponse = ImportJobsResponse'+ { _ijNextToken :: !(Maybe Text)+ , _ijItem :: !(Maybe [ImportJobResponse])+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ImportJobsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ijNextToken' - The string that you use in a subsequent request to get the next page of results in a paginated response.+--+-- * 'ijItem' - A list of import jobs for the application.+importJobsResponse+ :: ImportJobsResponse+importJobsResponse =+ ImportJobsResponse' {_ijNextToken = Nothing, _ijItem = Nothing}+++-- | The string that you use in a subsequent request to get the next page of results in a paginated response.+ijNextToken :: Lens' ImportJobsResponse (Maybe Text)+ijNextToken = lens _ijNextToken (\ s a -> s{_ijNextToken = a});++-- | A list of import jobs for the application.+ijItem :: Lens' ImportJobsResponse [ImportJobResponse]+ijItem = lens _ijItem (\ s a -> s{_ijItem = a}) . _Default . _Coerce;++instance FromJSON ImportJobsResponse where+ parseJSON+ = withObject "ImportJobsResponse"+ (\ x ->+ ImportJobsResponse' <$>+ (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))++instance Hashable ImportJobsResponse where++instance NFData ImportJobsResponse where++-- | /See:/ 'message' smart constructor.+data Message = Message'+ { _mSilentPush :: !(Maybe Bool)+ , _mImageIconURL :: !(Maybe Text)+ , _mRawContent :: !(Maybe Text)+ , _mBody :: !(Maybe Text)+ , _mImageSmallIconURL :: !(Maybe Text)+ , _mJSONBody :: !(Maybe Text)+ , _mURL :: !(Maybe Text)+ , _mAction :: !(Maybe Action)+ , _mImageURL :: !(Maybe Text)+ , _mMediaURL :: !(Maybe Text)+ , _mTitle :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Message' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mSilentPush' - Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+--+-- * 'mImageIconURL' - The URL that points to the icon image for the push notification icon, for example, the app icon.+--+-- * 'mRawContent' - The Raw JSON formatted string to be used as the payload. This value overrides the message.+--+-- * 'mBody' - The message body. Can include up to 140 characters.+--+-- * 'mImageSmallIconURL' - The URL that points to the small icon image for the push notification icon, for example, the app icon.+--+-- * 'mJSONBody' - The JSON payload used for a silent push.+--+-- * 'mURL' - The URL to open in the user's mobile browser. Used if the value for Action is URL.+--+-- * 'mAction' - 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.+--+-- * 'mImageURL' - The URL that points to an image used in the push notification.+--+-- * 'mMediaURL' - The URL that points to the media resource, for example a .mp4 or .gif file.+--+-- * 'mTitle' - The message title that displays above the message on the user's device.+message+ :: Message+message =+ Message'+ { _mSilentPush = Nothing+ , _mImageIconURL = Nothing+ , _mRawContent = Nothing+ , _mBody = Nothing+ , _mImageSmallIconURL = Nothing+ , _mJSONBody = Nothing+ , _mURL = Nothing+ , _mAction = Nothing+ , _mImageURL = Nothing+ , _mMediaURL = Nothing+ , _mTitle = Nothing+ }+++-- | Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.+mSilentPush :: Lens' Message (Maybe Bool)+mSilentPush = lens _mSilentPush (\ s a -> s{_mSilentPush = a});++-- | The URL that points to the icon image for the push notification icon, for example, the app icon.+mImageIconURL :: Lens' Message (Maybe Text)+mImageIconURL = lens _mImageIconURL (\ s a -> s{_mImageIconURL = a});++-- | The Raw JSON formatted string to be used as the payload. This value overrides the message.+mRawContent :: Lens' Message (Maybe Text)+mRawContent = lens _mRawContent (\ s a -> s{_mRawContent = a});++-- | The message body. Can include up to 140 characters.+mBody :: Lens' Message (Maybe Text)+mBody = lens _mBody (\ s a -> s{_mBody = a});++-- | The URL that points to the small icon image for the push notification icon, for example, the app icon.+mImageSmallIconURL :: Lens' Message (Maybe Text)+mImageSmallIconURL = lens _mImageSmallIconURL (\ s a -> s{_mImageSmallIconURL = a});++-- | The JSON payload used for a silent push.+mJSONBody :: Lens' Message (Maybe Text)+mJSONBody = lens _mJSONBody (\ s a -> s{_mJSONBody = a});++-- | The URL to open in the user's mobile browser. Used if the value for Action is URL.+mURL :: Lens' Message (Maybe Text)+mURL = lens _mURL (\ s a -> s{_mURL = a});++-- | 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.+mAction :: Lens' Message (Maybe Action)+mAction = lens _mAction (\ s a -> s{_mAction = a});++-- | The URL that points to an image used in the push notification.+mImageURL :: Lens' Message (Maybe Text)+mImageURL = lens _mImageURL (\ s a -> s{_mImageURL = a});++-- | The URL that points to the media resource, for example a .mp4 or .gif file.+mMediaURL :: Lens' Message (Maybe Text)+mMediaURL = lens _mMediaURL (\ s a -> s{_mMediaURL = a});++-- | The message title that displays above the message on the user's device.+mTitle :: Lens' Message (Maybe Text)+mTitle = lens _mTitle (\ s a -> s{_mTitle = a});++instance FromJSON Message where+ parseJSON+ = withObject "Message"+ (\ x ->+ Message' <$>+ (x .:? "SilentPush") <*> (x .:? "ImageIconUrl") <*>+ (x .:? "RawContent")+ <*> (x .:? "Body")+ <*> (x .:? "ImageSmallIconUrl")+ <*> (x .:? "JsonBody")+ <*> (x .:? "Url")+ <*> (x .:? "Action")+ <*> (x .:? "ImageUrl")+ <*> (x .:? "MediaUrl")+ <*> (x .:? "Title"))++instance Hashable Message where++instance NFData Message where++instance ToJSON Message where+ toJSON Message'{..}+ = object+ (catMaybes+ [("SilentPush" .=) <$> _mSilentPush,+ ("ImageIconUrl" .=) <$> _mImageIconURL,+ ("RawContent" .=) <$> _mRawContent,+ ("Body" .=) <$> _mBody,+ ("ImageSmallIconUrl" .=) <$> _mImageSmallIconURL,+ ("JsonBody" .=) <$> _mJSONBody, ("Url" .=) <$> _mURL,+ ("Action" .=) <$> _mAction,+ ("ImageUrl" .=) <$> _mImageURL,+ ("MediaUrl" .=) <$> _mMediaURL,+ ("Title" .=) <$> _mTitle])++-- | Simple message object.+--+-- /See:/ 'messageBody' smart constructor.+data MessageBody = MessageBody'+ { _mbRequestId :: !(Maybe Text)+ , _mbMessage :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageBody' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mbRequestId' - The unique message body ID.+--+-- * 'mbMessage' - The error message returned from the API.+messageBody+ :: MessageBody+messageBody = MessageBody' {_mbRequestId = Nothing, _mbMessage = Nothing}+++-- | The unique message body ID.+mbRequestId :: Lens' MessageBody (Maybe Text)+mbRequestId = lens _mbRequestId (\ s a -> s{_mbRequestId = a});++-- | The error message returned from the API.+mbMessage :: Lens' MessageBody (Maybe Text)+mbMessage = lens _mbMessage (\ s a -> s{_mbMessage = a});++instance FromJSON MessageBody where+ parseJSON+ = withObject "MessageBody"+ (\ x ->+ MessageBody' <$>+ (x .:? "RequestID") <*> (x .:? "Message"))++instance Hashable MessageBody where++instance NFData MessageBody where++-- | Message configuration for a campaign.+--+-- /See:/ 'messageConfiguration' smart constructor.+data MessageConfiguration = MessageConfiguration'+ { _mcAPNSMessage :: !(Maybe Message)+ , _mcGCMMessage :: !(Maybe Message)+ , _mcDefaultMessage :: !(Maybe Message)+ , _mcADMMessage :: !(Maybe Message)+ , _mcSMSMessage :: !(Maybe CampaignSmsMessage)+ , _mcEmailMessage :: !(Maybe CampaignEmailMessage)+ , _mcBaiduMessage :: !(Maybe Message)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mcAPNSMessage' - The message that the campaign delivers to APNS channels. Overrides the default message.+--+-- * 'mcGCMMessage' - The message that the campaign delivers to GCM channels. Overrides the default message.+--+-- * 'mcDefaultMessage' - The default message for all channels.+--+-- * 'mcADMMessage' - The message that the campaign delivers to ADM channels. Overrides the default message.+--+-- * 'mcSMSMessage' - The SMS message configuration.+--+-- * 'mcEmailMessage' - The email message configuration.+--+-- * 'mcBaiduMessage' - The message that the campaign delivers to Baidu channels. Overrides the default message.+messageConfiguration+ :: MessageConfiguration+messageConfiguration =+ MessageConfiguration'+ { _mcAPNSMessage = Nothing+ , _mcGCMMessage = Nothing+ , _mcDefaultMessage = Nothing+ , _mcADMMessage = Nothing+ , _mcSMSMessage = Nothing+ , _mcEmailMessage = Nothing+ , _mcBaiduMessage = Nothing+ }+++-- | The message that the campaign delivers to APNS channels. Overrides the default message.+mcAPNSMessage :: Lens' MessageConfiguration (Maybe Message)+mcAPNSMessage = lens _mcAPNSMessage (\ s a -> s{_mcAPNSMessage = a});++-- | The message that the campaign delivers to GCM channels. Overrides the default message.+mcGCMMessage :: Lens' MessageConfiguration (Maybe Message)+mcGCMMessage = lens _mcGCMMessage (\ s a -> s{_mcGCMMessage = a});++-- | The default message for all channels.+mcDefaultMessage :: Lens' MessageConfiguration (Maybe Message)+mcDefaultMessage = lens _mcDefaultMessage (\ s a -> s{_mcDefaultMessage = a});++-- | The message that the campaign delivers to ADM channels. Overrides the default message.+mcADMMessage :: Lens' MessageConfiguration (Maybe Message)+mcADMMessage = lens _mcADMMessage (\ s a -> s{_mcADMMessage = a});++-- | The SMS message configuration.+mcSMSMessage :: Lens' MessageConfiguration (Maybe CampaignSmsMessage)+mcSMSMessage = lens _mcSMSMessage (\ s a -> s{_mcSMSMessage = a});++-- | The email message configuration.+mcEmailMessage :: Lens' MessageConfiguration (Maybe CampaignEmailMessage)+mcEmailMessage = lens _mcEmailMessage (\ s a -> s{_mcEmailMessage = a});++-- | The message that the campaign delivers to Baidu channels. Overrides the default message.+mcBaiduMessage :: Lens' MessageConfiguration (Maybe Message)+mcBaiduMessage = lens _mcBaiduMessage (\ s a -> s{_mcBaiduMessage = a});++instance FromJSON MessageConfiguration where+ parseJSON+ = withObject "MessageConfiguration"+ (\ x ->+ MessageConfiguration' <$>+ (x .:? "APNSMessage") <*> (x .:? "GCMMessage") <*>+ (x .:? "DefaultMessage")+ <*> (x .:? "ADMMessage")+ <*> (x .:? "SMSMessage")+ <*> (x .:? "EmailMessage")+ <*> (x .:? "BaiduMessage"))++instance Hashable MessageConfiguration where++instance NFData MessageConfiguration where++instance ToJSON MessageConfiguration where+ toJSON MessageConfiguration'{..}+ = object+ (catMaybes+ [("APNSMessage" .=) <$> _mcAPNSMessage,+ ("GCMMessage" .=) <$> _mcGCMMessage,+ ("DefaultMessage" .=) <$> _mcDefaultMessage,+ ("ADMMessage" .=) <$> _mcADMMessage,+ ("SMSMessage" .=) <$> _mcSMSMessage,+ ("EmailMessage" .=) <$> _mcEmailMessage,+ ("BaiduMessage" .=) <$> _mcBaiduMessage])++-- | Send message request.+--+-- /See:/ 'messageRequest' smart constructor.+data MessageRequest = MessageRequest'+ { _mrContext :: !(Maybe (Map Text Text))+ , _mrAddresses :: !(Maybe (Map Text AddressConfiguration))+ , _mrEndpoints :: !(Maybe (Map Text EndpointSendConfiguration))+ , _mrMessageConfiguration :: !(Maybe DirectMessageConfiguration)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mrContext' - A map of custom attributes to attributes to be attached to the message. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+--+-- * 'mrAddresses' - A map of destination addresses, with the address as the key(Email address, phone number or push token) and the Address Configuration as the value.+--+-- * 'mrEndpoints' - A map of destination addresses, with the address as the key(Email address, phone number or push token) and the Address Configuration as the value.+--+-- * 'mrMessageConfiguration' - Message configuration.+messageRequest+ :: MessageRequest+messageRequest =+ MessageRequest'+ { _mrContext = Nothing+ , _mrAddresses = Nothing+ , _mrEndpoints = Nothing+ , _mrMessageConfiguration = Nothing+ }+++-- | A map of custom attributes to attributes to be attached to the message. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+mrContext :: Lens' MessageRequest (HashMap Text Text)+mrContext = lens _mrContext (\ s a -> s{_mrContext = a}) . _Default . _Map;++-- | A map of destination addresses, with the address as the key(Email address, phone number or push token) and the Address Configuration as the value.+mrAddresses :: Lens' MessageRequest (HashMap Text AddressConfiguration)+mrAddresses = lens _mrAddresses (\ s a -> s{_mrAddresses = a}) . _Default . _Map;++-- | A map of destination addresses, with the address as the key(Email address, phone number or push token) and the Address Configuration as the value.+mrEndpoints :: Lens' MessageRequest (HashMap Text EndpointSendConfiguration)+mrEndpoints = lens _mrEndpoints (\ s a -> s{_mrEndpoints = a}) . _Default . _Map;++-- | Message configuration.+mrMessageConfiguration :: Lens' MessageRequest (Maybe DirectMessageConfiguration)+mrMessageConfiguration = lens _mrMessageConfiguration (\ s a -> s{_mrMessageConfiguration = a});++instance Hashable MessageRequest where++instance NFData MessageRequest where++instance ToJSON MessageRequest where+ toJSON MessageRequest'{..}+ = object+ (catMaybes+ [("Context" .=) <$> _mrContext,+ ("Addresses" .=) <$> _mrAddresses,+ ("Endpoints" .=) <$> _mrEndpoints,+ ("MessageConfiguration" .=) <$>+ _mrMessageConfiguration])++-- | Send message response.+--+-- /See:/ 'messageResponse' smart constructor.+data MessageResponse = MessageResponse'+ { _mRequestId :: !(Maybe Text)+ , _mResult :: !(Maybe (Map Text MessageResult))+ , _mApplicationId :: !(Maybe Text)+ , _mEndpointResult :: !(Maybe (Map Text EndpointMessageResult))+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mRequestId' - Original request Id for which this message was delivered.+--+-- * 'mResult' - A map containing a multi part response for each address, with the address as the key(Email address, phone number or push token) and the result as the value.+--+-- * 'mApplicationId' - Application id of the message.+--+-- * 'mEndpointResult' - A map containing a multi part response for each address, with the endpointId as the key and the result as the value.+messageResponse+ :: MessageResponse+messageResponse =+ MessageResponse'+ { _mRequestId = Nothing+ , _mResult = Nothing+ , _mApplicationId = Nothing+ , _mEndpointResult = Nothing+ }+++-- | Original request Id for which this message was delivered.+mRequestId :: Lens' MessageResponse (Maybe Text)+mRequestId = lens _mRequestId (\ s a -> s{_mRequestId = a});++-- | A map containing a multi part response for each address, with the address as the key(Email address, phone number or push token) and the result as the value.+mResult :: Lens' MessageResponse (HashMap Text MessageResult)+mResult = lens _mResult (\ s a -> s{_mResult = a}) . _Default . _Map;++-- | Application id of the message.+mApplicationId :: Lens' MessageResponse (Maybe Text)+mApplicationId = lens _mApplicationId (\ s a -> s{_mApplicationId = a});++-- | A map containing a multi part response for each address, with the endpointId as the key and the result as the value.+mEndpointResult :: Lens' MessageResponse (HashMap Text EndpointMessageResult)+mEndpointResult = lens _mEndpointResult (\ s a -> s{_mEndpointResult = a}) . _Default . _Map;++instance FromJSON MessageResponse where+ parseJSON+ = withObject "MessageResponse"+ (\ x ->+ MessageResponse' <$>+ (x .:? "RequestId") <*> (x .:? "Result" .!= mempty)+ <*> (x .:? "ApplicationId")+ <*> (x .:? "EndpointResult" .!= mempty))++instance Hashable MessageResponse where++instance NFData MessageResponse where++-- | The result from sending a message to an address.+--+-- /See:/ 'messageResult' smart constructor.+data MessageResult = MessageResult'+ { _mrDeliveryStatus :: !(Maybe DeliveryStatus)+ , _mrStatusMessage :: !(Maybe Text)+ , _mrUpdatedToken :: !(Maybe Text)+ , _mrStatusCode :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageResult' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mrDeliveryStatus' - Delivery status of message.+--+-- * 'mrStatusMessage' - Status message for message delivery.+--+-- * 'mrUpdatedToken' - If token was updated as part of delivery. (This is GCM Specific)+--+-- * 'mrStatusCode' - Downstream service status code.+messageResult+ :: MessageResult+messageResult =+ MessageResult'+ { _mrDeliveryStatus = Nothing+ , _mrStatusMessage = Nothing+ , _mrUpdatedToken = Nothing+ , _mrStatusCode = Nothing+ }+++-- | Delivery status of message.+mrDeliveryStatus :: Lens' MessageResult (Maybe DeliveryStatus)+mrDeliveryStatus = lens _mrDeliveryStatus (\ s a -> s{_mrDeliveryStatus = a});++-- | Status message for message delivery.+mrStatusMessage :: Lens' MessageResult (Maybe Text)+mrStatusMessage = lens _mrStatusMessage (\ s a -> s{_mrStatusMessage = a});++-- | If token was updated as part of delivery. (This is GCM Specific)+mrUpdatedToken :: Lens' MessageResult (Maybe Text)+mrUpdatedToken = lens _mrUpdatedToken (\ s a -> s{_mrUpdatedToken = a});++-- | Downstream service status code.+mrStatusCode :: Lens' MessageResult (Maybe Int)+mrStatusCode = lens _mrStatusCode (\ s a -> s{_mrStatusCode = a});++instance FromJSON MessageResult where+ parseJSON+ = withObject "MessageResult"+ (\ x ->+ MessageResult' <$>+ (x .:? "DeliveryStatus") <*> (x .:? "StatusMessage")+ <*> (x .:? "UpdatedToken")+ <*> (x .:? "StatusCode"))++instance Hashable MessageResult where++instance NFData MessageResult where++-- | Quiet Time+--+-- /See:/ 'quietTime' smart constructor.+data QuietTime = QuietTime'+ { _qtStart :: !(Maybe Text)+ , _qtEnd :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'QuietTime' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'qtStart' - The default start time for quiet time in ISO 8601 format.+--+-- * 'qtEnd' - The default end time for quiet time in ISO 8601 format.+quietTime+ :: QuietTime+quietTime = QuietTime' {_qtStart = Nothing, _qtEnd = Nothing}+++-- | The default start time for quiet time in ISO 8601 format.+qtStart :: Lens' QuietTime (Maybe Text)+qtStart = lens _qtStart (\ s a -> s{_qtStart = a});++-- | The default end time for quiet time in ISO 8601 format.+qtEnd :: Lens' QuietTime (Maybe Text)+qtEnd = lens _qtEnd (\ s a -> s{_qtEnd = a});++instance FromJSON QuietTime where+ parseJSON+ = withObject "QuietTime"+ (\ x ->+ QuietTime' <$> (x .:? "Start") <*> (x .:? "End"))++instance Hashable QuietTime where++instance NFData QuietTime where++instance ToJSON QuietTime where+ toJSON QuietTime'{..}+ = object+ (catMaybes+ [("Start" .=) <$> _qtStart, ("End" .=) <$> _qtEnd])++-- | Define how a segment based on recency of use.+--+-- /See:/ 'recencyDimension' smart constructor.+data RecencyDimension = RecencyDimension'+ { _rdRecencyType :: !(Maybe RecencyType)+ , _rdDuration :: !(Maybe Duration)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecencyDimension' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rdRecencyType' - The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in the segment. INACTIVE - Users who have not used your app within the specified duration are included in the segment.+--+-- * 'rdDuration' - The length of time during which users have been active or inactive with your app. Valid values: HR_24, DAY_7, DAY_14, DAY_30+recencyDimension+ :: RecencyDimension+recencyDimension =+ RecencyDimension' {_rdRecencyType = Nothing, _rdDuration = Nothing}+++-- | The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in the segment. INACTIVE - Users who have not used your app within the specified duration are included in the segment.+rdRecencyType :: Lens' RecencyDimension (Maybe RecencyType)+rdRecencyType = lens _rdRecencyType (\ s a -> s{_rdRecencyType = a});++-- | The length of time during which users have been active or inactive with your app. Valid values: HR_24, DAY_7, DAY_14, DAY_30+rdDuration :: Lens' RecencyDimension (Maybe Duration)+rdDuration = lens _rdDuration (\ s a -> s{_rdDuration = a});++instance FromJSON RecencyDimension where+ parseJSON+ = withObject "RecencyDimension"+ (\ x ->+ RecencyDimension' <$>+ (x .:? "RecencyType") <*> (x .:? "Duration"))++instance Hashable RecencyDimension where++instance NFData RecencyDimension where++instance ToJSON RecencyDimension where+ toJSON RecencyDimension'{..}+ = object+ (catMaybes+ [("RecencyType" .=) <$> _rdRecencyType,+ ("Duration" .=) <$> _rdDuration])++-- | SMS Channel Request+--+-- /See:/ 'sMSChannelRequest' smart constructor.+data SMSChannelRequest = SMSChannelRequest'+ { _smscrShortCode :: !(Maybe Text)+ , _smscrEnabled :: !(Maybe Bool)+ , _smscrSenderId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SMSChannelRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smscrShortCode' - ShortCode registered with phone provider.+--+-- * 'smscrEnabled' - If the channel is enabled for sending messages.+--+-- * 'smscrSenderId' - Sender identifier of your messages.+sMSChannelRequest+ :: SMSChannelRequest+sMSChannelRequest =+ SMSChannelRequest'+ {_smscrShortCode = Nothing, _smscrEnabled = Nothing, _smscrSenderId = Nothing}+++-- | ShortCode registered with phone provider.+smscrShortCode :: Lens' SMSChannelRequest (Maybe Text)+smscrShortCode = lens _smscrShortCode (\ s a -> s{_smscrShortCode = a});++-- | If the channel is enabled for sending messages.+smscrEnabled :: Lens' SMSChannelRequest (Maybe Bool)+smscrEnabled = lens _smscrEnabled (\ s a -> s{_smscrEnabled = a});++-- | Sender identifier of your messages.+smscrSenderId :: Lens' SMSChannelRequest (Maybe Text)+smscrSenderId = lens _smscrSenderId (\ s a -> s{_smscrSenderId = a});++instance Hashable SMSChannelRequest where++instance NFData SMSChannelRequest where++instance ToJSON SMSChannelRequest where+ toJSON SMSChannelRequest'{..}+ = object+ (catMaybes+ [("ShortCode" .=) <$> _smscrShortCode,+ ("Enabled" .=) <$> _smscrEnabled,+ ("SenderId" .=) <$> _smscrSenderId])++-- | SMS Channel Response.+--+-- /See:/ 'sMSChannelResponse' smart constructor.+data SMSChannelResponse = SMSChannelResponse'+ { _smscPlatform :: !(Maybe Text)+ , _smscShortCode :: !(Maybe Text)+ , _smscLastModifiedDate :: !(Maybe Text)+ , _smscEnabled :: !(Maybe Bool)+ , _smscSenderId :: !(Maybe Text)+ , _smscIsArchived :: !(Maybe Bool)+ , _smscApplicationId :: !(Maybe Text)+ , _smscVersion :: !(Maybe Int)+ , _smscId :: !(Maybe Text)+ , _smscCreationDate :: !(Maybe Text)+ , _smscLastModifiedBy :: !(Maybe Text)+ , _smscHasCredential :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SMSChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smscPlatform' - Platform type. Will be "SMS"+--+-- * 'smscShortCode' - The short code registered with the phone provider.+--+-- * 'smscLastModifiedDate' - Last date this was updated+--+-- * 'smscEnabled' - If the channel is enabled for sending messages.+--+-- * 'smscSenderId' - Sender identifier of your messages.+--+-- * 'smscIsArchived' - Is this channel archived+--+-- * 'smscApplicationId' - The unique ID of the application to which the SMS channel belongs.+--+-- * 'smscVersion' - Version of channel+--+-- * 'smscId' - Channel ID. Not used, only for backwards compatibility.+--+-- * 'smscCreationDate' - The date that the settings were last updated in ISO 8601 format.+--+-- * 'smscLastModifiedBy' - Who last updated this entry+--+-- * 'smscHasCredential' - If the channel is registered with a credential for authentication.+sMSChannelResponse+ :: SMSChannelResponse+sMSChannelResponse =+ SMSChannelResponse'+ { _smscPlatform = Nothing+ , _smscShortCode = Nothing+ , _smscLastModifiedDate = Nothing+ , _smscEnabled = Nothing+ , _smscSenderId = Nothing+ , _smscIsArchived = Nothing+ , _smscApplicationId = Nothing+ , _smscVersion = Nothing+ , _smscId = Nothing+ , _smscCreationDate = Nothing+ , _smscLastModifiedBy = Nothing+ , _smscHasCredential = Nothing+ }+++-- | Platform type. Will be "SMS"+smscPlatform :: Lens' SMSChannelResponse (Maybe Text)+smscPlatform = lens _smscPlatform (\ s a -> s{_smscPlatform = a});++-- | The short code registered with the phone provider.+smscShortCode :: Lens' SMSChannelResponse (Maybe Text)+smscShortCode = lens _smscShortCode (\ s a -> s{_smscShortCode = a});++-- | Last date this was updated+smscLastModifiedDate :: Lens' SMSChannelResponse (Maybe Text)+smscLastModifiedDate = lens _smscLastModifiedDate (\ s a -> s{_smscLastModifiedDate = a});++-- | If the channel is enabled for sending messages.+smscEnabled :: Lens' SMSChannelResponse (Maybe Bool)+smscEnabled = lens _smscEnabled (\ s a -> s{_smscEnabled = a});++-- | Sender identifier of your messages.+smscSenderId :: Lens' SMSChannelResponse (Maybe Text)+smscSenderId = lens _smscSenderId (\ s a -> s{_smscSenderId = a});++-- | Is this channel archived+smscIsArchived :: Lens' SMSChannelResponse (Maybe Bool)+smscIsArchived = lens _smscIsArchived (\ s a -> s{_smscIsArchived = a});++-- | The unique ID of the application to which the SMS channel belongs.+smscApplicationId :: Lens' SMSChannelResponse (Maybe Text)+smscApplicationId = lens _smscApplicationId (\ s a -> s{_smscApplicationId = a});++-- | Version of channel+smscVersion :: Lens' SMSChannelResponse (Maybe Int)+smscVersion = lens _smscVersion (\ s a -> s{_smscVersion = a});++-- | Channel ID. Not used, only for backwards compatibility.+smscId :: Lens' SMSChannelResponse (Maybe Text)+smscId = lens _smscId (\ s a -> s{_smscId = a});++-- | The date that the settings were last updated in ISO 8601 format.+smscCreationDate :: Lens' SMSChannelResponse (Maybe Text)+smscCreationDate = lens _smscCreationDate (\ s a -> s{_smscCreationDate = a});++-- | Who last updated this entry+smscLastModifiedBy :: Lens' SMSChannelResponse (Maybe Text)+smscLastModifiedBy = lens _smscLastModifiedBy (\ s a -> s{_smscLastModifiedBy = a});++-- | If the channel is registered with a credential for authentication.+smscHasCredential :: Lens' SMSChannelResponse (Maybe Bool)+smscHasCredential = lens _smscHasCredential (\ s a -> s{_smscHasCredential = a});++instance FromJSON SMSChannelResponse where+ parseJSON+ = withObject "SMSChannelResponse"+ (\ x ->+ SMSChannelResponse' <$>+ (x .:? "Platform") <*> (x .:? "ShortCode") <*>+ (x .:? "LastModifiedDate")+ <*> (x .:? "Enabled")+ <*> (x .:? "SenderId")+ <*> (x .:? "IsArchived")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "LastModifiedBy")+ <*> (x .:? "HasCredential"))++instance Hashable SMSChannelResponse where++instance NFData SMSChannelResponse where++-- | SMS Message.+--+-- /See:/ 'sMSMessage' smart constructor.+data SMSMessage = SMSMessage'+ { _smsmSubstitutions :: !(Maybe (Map Text [Text]))+ , _smsmBody :: !(Maybe Text)+ , _smsmMessageType :: !(Maybe MessageType)+ , _smsmSenderId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SMSMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smsmSubstitutions' - Default message substitutions. Can be overridden by individual address substitutions.+--+-- * 'smsmBody' - The message body of the notification, the email body or the text message.+--+-- * 'smsmMessageType' - Is this a transaction priority message or lower priority.+--+-- * 'smsmSenderId' - Sender ID of sent message.+sMSMessage+ :: SMSMessage+sMSMessage =+ SMSMessage'+ { _smsmSubstitutions = Nothing+ , _smsmBody = Nothing+ , _smsmMessageType = Nothing+ , _smsmSenderId = Nothing+ }+++-- | Default message substitutions. Can be overridden by individual address substitutions.+smsmSubstitutions :: Lens' SMSMessage (HashMap Text [Text])+smsmSubstitutions = lens _smsmSubstitutions (\ s a -> s{_smsmSubstitutions = a}) . _Default . _Map;++-- | The message body of the notification, the email body or the text message.+smsmBody :: Lens' SMSMessage (Maybe Text)+smsmBody = lens _smsmBody (\ s a -> s{_smsmBody = a});++-- | Is this a transaction priority message or lower priority.+smsmMessageType :: Lens' SMSMessage (Maybe MessageType)+smsmMessageType = lens _smsmMessageType (\ s a -> s{_smsmMessageType = a});++-- | Sender ID of sent message.+smsmSenderId :: Lens' SMSMessage (Maybe Text)+smsmSenderId = lens _smsmSenderId (\ s a -> s{_smsmSenderId = a});++instance Hashable SMSMessage where++instance NFData SMSMessage where++instance ToJSON SMSMessage where+ toJSON SMSMessage'{..}+ = object+ (catMaybes+ [("Substitutions" .=) <$> _smsmSubstitutions,+ ("Body" .=) <$> _smsmBody,+ ("MessageType" .=) <$> _smsmMessageType,+ ("SenderId" .=) <$> _smsmSenderId])++-- | Shcedule that defines when a campaign is run.+--+-- /See:/ 'schedule' smart constructor.+data Schedule = Schedule'+ { _sFrequency :: !(Maybe Frequency)+ , _sStartTime :: !(Maybe Text)+ , _sQuietTime :: !(Maybe QuietTime)+ , _sIsLocalTime :: !(Maybe Bool)+ , _sEndTime :: !(Maybe Text)+ , _sTimezone :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Schedule' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sFrequency' - How often the campaign delivers messages. Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY+--+-- * 'sStartTime' - The scheduled time that the campaign begins in ISO 8601 format.+--+-- * 'sQuietTime' - The time during which the campaign sends no messages.+--+-- * 'sIsLocalTime' - Indicates whether the campaign schedule takes effect according to each user's local time.+--+-- * 'sEndTime' - The scheduled time that the campaign ends in ISO 8601 format.+--+-- * 'sTimezone' - The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11+schedule+ :: Schedule+schedule =+ Schedule'+ { _sFrequency = Nothing+ , _sStartTime = Nothing+ , _sQuietTime = Nothing+ , _sIsLocalTime = Nothing+ , _sEndTime = Nothing+ , _sTimezone = Nothing+ }+++-- | How often the campaign delivers messages. Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY+sFrequency :: Lens' Schedule (Maybe Frequency)+sFrequency = lens _sFrequency (\ s a -> s{_sFrequency = a});++-- | The scheduled time that the campaign begins in ISO 8601 format.+sStartTime :: Lens' Schedule (Maybe Text)+sStartTime = lens _sStartTime (\ s a -> s{_sStartTime = a});++-- | The time during which the campaign sends no messages.+sQuietTime :: Lens' Schedule (Maybe QuietTime)+sQuietTime = lens _sQuietTime (\ s a -> s{_sQuietTime = a});++-- | Indicates whether the campaign schedule takes effect according to each user's local time.+sIsLocalTime :: Lens' Schedule (Maybe Bool)+sIsLocalTime = lens _sIsLocalTime (\ s a -> s{_sIsLocalTime = a});++-- | The scheduled time that the campaign ends in ISO 8601 format.+sEndTime :: Lens' Schedule (Maybe Text)+sEndTime = lens _sEndTime (\ s a -> s{_sEndTime = a});++-- | The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11+sTimezone :: Lens' Schedule (Maybe Text)+sTimezone = lens _sTimezone (\ s a -> s{_sTimezone = a});++instance FromJSON Schedule where+ parseJSON+ = withObject "Schedule"+ (\ x ->+ Schedule' <$>+ (x .:? "Frequency") <*> (x .:? "StartTime") <*>+ (x .:? "QuietTime")+ <*> (x .:? "IsLocalTime")+ <*> (x .:? "EndTime")+ <*> (x .:? "Timezone"))++instance Hashable Schedule where++instance NFData Schedule where++instance ToJSON Schedule where+ toJSON Schedule'{..}+ = object+ (catMaybes+ [("Frequency" .=) <$> _sFrequency,+ ("StartTime" .=) <$> _sStartTime,+ ("QuietTime" .=) <$> _sQuietTime,+ ("IsLocalTime" .=) <$> _sIsLocalTime,+ ("EndTime" .=) <$> _sEndTime,+ ("Timezone" .=) <$> _sTimezone])++-- | Segment behavior dimensions+--+-- /See:/ 'segmentBehaviors' smart constructor.+newtype SegmentBehaviors = SegmentBehaviors'+ { _sbRecency :: Maybe RecencyDimension+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentBehaviors' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sbRecency' - The recency of use.+segmentBehaviors+ :: SegmentBehaviors+segmentBehaviors = SegmentBehaviors' {_sbRecency = Nothing}+++-- | The recency of use.+sbRecency :: Lens' SegmentBehaviors (Maybe RecencyDimension)+sbRecency = lens _sbRecency (\ s a -> s{_sbRecency = a});++instance FromJSON SegmentBehaviors where+ parseJSON+ = withObject "SegmentBehaviors"+ (\ x -> SegmentBehaviors' <$> (x .:? "Recency"))++instance Hashable SegmentBehaviors where++instance NFData SegmentBehaviors where++instance ToJSON SegmentBehaviors where+ toJSON SegmentBehaviors'{..}+ = object (catMaybes [("Recency" .=) <$> _sbRecency])++-- | Segment demographic dimensions+--+-- /See:/ 'segmentDemographics' smart constructor.+data SegmentDemographics = SegmentDemographics'+ { _sdPlatform :: !(Maybe SetDimension)+ , _sdAppVersion :: !(Maybe SetDimension)+ , _sdChannel :: !(Maybe SetDimension)+ , _sdModel :: !(Maybe SetDimension)+ , _sdMake :: !(Maybe SetDimension)+ , _sdDeviceType :: !(Maybe SetDimension)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentDemographics' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sdPlatform' - The device platform criteria for the segment.+--+-- * 'sdAppVersion' - The app version criteria for the segment.+--+-- * 'sdChannel' - The channel criteria for the segment.+--+-- * 'sdModel' - The device model criteria for the segment.+--+-- * 'sdMake' - The device make criteria for the segment.+--+-- * 'sdDeviceType' - The device type criteria for the segment.+segmentDemographics+ :: SegmentDemographics+segmentDemographics =+ SegmentDemographics'+ { _sdPlatform = Nothing+ , _sdAppVersion = Nothing+ , _sdChannel = Nothing+ , _sdModel = Nothing+ , _sdMake = Nothing+ , _sdDeviceType = Nothing+ }+++-- | The device platform criteria for the segment.+sdPlatform :: Lens' SegmentDemographics (Maybe SetDimension)+sdPlatform = lens _sdPlatform (\ s a -> s{_sdPlatform = a});++-- | The app version criteria for the segment.+sdAppVersion :: Lens' SegmentDemographics (Maybe SetDimension)+sdAppVersion = lens _sdAppVersion (\ s a -> s{_sdAppVersion = a});++-- | The channel criteria for the segment.+sdChannel :: Lens' SegmentDemographics (Maybe SetDimension)+sdChannel = lens _sdChannel (\ s a -> s{_sdChannel = a});++-- | The device model criteria for the segment.+sdModel :: Lens' SegmentDemographics (Maybe SetDimension)+sdModel = lens _sdModel (\ s a -> s{_sdModel = a});++-- | The device make criteria for the segment.+sdMake :: Lens' SegmentDemographics (Maybe SetDimension)+sdMake = lens _sdMake (\ s a -> s{_sdMake = a});++-- | The device type criteria for the segment.+sdDeviceType :: Lens' SegmentDemographics (Maybe SetDimension)+sdDeviceType = lens _sdDeviceType (\ s a -> s{_sdDeviceType = a});++instance FromJSON SegmentDemographics where+ parseJSON+ = withObject "SegmentDemographics"+ (\ x ->+ SegmentDemographics' <$>+ (x .:? "Platform") <*> (x .:? "AppVersion") <*>+ (x .:? "Channel")+ <*> (x .:? "Model")+ <*> (x .:? "Make")+ <*> (x .:? "DeviceType"))++instance Hashable SegmentDemographics where++instance NFData SegmentDemographics where++instance ToJSON SegmentDemographics where+ toJSON SegmentDemographics'{..}+ = object+ (catMaybes+ [("Platform" .=) <$> _sdPlatform,+ ("AppVersion" .=) <$> _sdAppVersion,+ ("Channel" .=) <$> _sdChannel,+ ("Model" .=) <$> _sdModel, ("Make" .=) <$> _sdMake,+ ("DeviceType" .=) <$> _sdDeviceType])++-- | Segment dimensions+--+-- /See:/ 'segmentDimensions' smart constructor.+data SegmentDimensions = SegmentDimensions'+ { _sdLocation :: !(Maybe SegmentLocation)+ , _sdDemographic :: !(Maybe SegmentDemographics)+ , _sdUserAttributes :: !(Maybe (Map Text AttributeDimension))+ , _sdBehavior :: !(Maybe SegmentBehaviors)+ , _sdAttributes :: !(Maybe (Map Text AttributeDimension))+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentDimensions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sdLocation' - The segment location attributes.+--+-- * 'sdDemographic' - The segment demographics attributes.+--+-- * 'sdUserAttributes' - Custom segment user attributes.+--+-- * 'sdBehavior' - The segment behaviors attributes.+--+-- * 'sdAttributes' - Custom segment attributes.+segmentDimensions+ :: SegmentDimensions+segmentDimensions =+ SegmentDimensions'+ { _sdLocation = Nothing+ , _sdDemographic = Nothing+ , _sdUserAttributes = Nothing+ , _sdBehavior = Nothing+ , _sdAttributes = Nothing+ }+++-- | The segment location attributes.+sdLocation :: Lens' SegmentDimensions (Maybe SegmentLocation)+sdLocation = lens _sdLocation (\ s a -> s{_sdLocation = a});++-- | The segment demographics attributes.+sdDemographic :: Lens' SegmentDimensions (Maybe SegmentDemographics)+sdDemographic = lens _sdDemographic (\ s a -> s{_sdDemographic = a});++-- | Custom segment user attributes.+sdUserAttributes :: Lens' SegmentDimensions (HashMap Text AttributeDimension)+sdUserAttributes = lens _sdUserAttributes (\ s a -> s{_sdUserAttributes = a}) . _Default . _Map;++-- | The segment behaviors attributes.+sdBehavior :: Lens' SegmentDimensions (Maybe SegmentBehaviors)+sdBehavior = lens _sdBehavior (\ s a -> s{_sdBehavior = a});++-- | Custom segment attributes.+sdAttributes :: Lens' SegmentDimensions (HashMap Text AttributeDimension)+sdAttributes = lens _sdAttributes (\ s a -> s{_sdAttributes = a}) . _Default . _Map;++instance FromJSON SegmentDimensions where+ parseJSON+ = withObject "SegmentDimensions"+ (\ x ->+ SegmentDimensions' <$>+ (x .:? "Location") <*> (x .:? "Demographic") <*>+ (x .:? "UserAttributes" .!= mempty)+ <*> (x .:? "Behavior")+ <*> (x .:? "Attributes" .!= mempty))++instance Hashable SegmentDimensions where++instance NFData SegmentDimensions where++instance ToJSON SegmentDimensions where+ toJSON SegmentDimensions'{..}+ = object+ (catMaybes+ [("Location" .=) <$> _sdLocation,+ ("Demographic" .=) <$> _sdDemographic,+ ("UserAttributes" .=) <$> _sdUserAttributes,+ ("Behavior" .=) <$> _sdBehavior,+ ("Attributes" .=) <$> _sdAttributes])++-- | Segment import definition.+--+-- /See:/ 'segmentImportResource' smart constructor.+data SegmentImportResource = SegmentImportResource'+ { _sirSize :: !(Maybe Int)+ , _sirFormat :: !(Maybe DefinitionFormat)+ , _sirChannelCounts :: !(Maybe (Map Text Int))+ , _sirExternalId :: !(Maybe Text)+ , _sirS3URL :: !(Maybe Text)+ , _sirRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentImportResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sirSize' - The number of endpoints that were successfully imported to create this segment.+--+-- * 'sirFormat' - The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSON+--+-- * 'sirChannelCounts' - Channel type counts+--+-- * 'sirExternalId' - A unique, custom ID assigned to the IAM role that restricts who can assume the role.+--+-- * 'sirS3URL' - A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.+--+-- * 'sirRoleARN' - The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3.+segmentImportResource+ :: SegmentImportResource+segmentImportResource =+ SegmentImportResource'+ { _sirSize = Nothing+ , _sirFormat = Nothing+ , _sirChannelCounts = Nothing+ , _sirExternalId = Nothing+ , _sirS3URL = Nothing+ , _sirRoleARN = Nothing+ }+++-- | The number of endpoints that were successfully imported to create this segment.+sirSize :: Lens' SegmentImportResource (Maybe Int)+sirSize = lens _sirSize (\ s a -> s{_sirSize = a});++-- | The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSON+sirFormat :: Lens' SegmentImportResource (Maybe DefinitionFormat)+sirFormat = lens _sirFormat (\ s a -> s{_sirFormat = a});++-- | Channel type counts+sirChannelCounts :: Lens' SegmentImportResource (HashMap Text Int)+sirChannelCounts = lens _sirChannelCounts (\ s a -> s{_sirChannelCounts = a}) . _Default . _Map;++-- | A unique, custom ID assigned to the IAM role that restricts who can assume the role.+sirExternalId :: Lens' SegmentImportResource (Maybe Text)+sirExternalId = lens _sirExternalId (\ s a -> s{_sirExternalId = a});++-- | A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.+sirS3URL :: Lens' SegmentImportResource (Maybe Text)+sirS3URL = lens _sirS3URL (\ s a -> s{_sirS3URL = a});++-- | The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3.+sirRoleARN :: Lens' SegmentImportResource (Maybe Text)+sirRoleARN = lens _sirRoleARN (\ s a -> s{_sirRoleARN = a});++instance FromJSON SegmentImportResource where+ parseJSON+ = withObject "SegmentImportResource"+ (\ x ->+ SegmentImportResource' <$>+ (x .:? "Size") <*> (x .:? "Format") <*>+ (x .:? "ChannelCounts" .!= mempty)+ <*> (x .:? "ExternalId")+ <*> (x .:? "S3Url")+ <*> (x .:? "RoleArn"))++instance Hashable SegmentImportResource where++instance NFData SegmentImportResource where++-- | Segment location dimensions+--+-- /See:/ 'segmentLocation' smart constructor.+newtype SegmentLocation = SegmentLocation'+ { _slCountry :: Maybe SetDimension+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentLocation' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'slCountry' - The country filter according to ISO 3166-1 Alpha-2 codes.+segmentLocation+ :: SegmentLocation+segmentLocation = SegmentLocation' {_slCountry = Nothing}+++-- | The country filter according to ISO 3166-1 Alpha-2 codes.+slCountry :: Lens' SegmentLocation (Maybe SetDimension)+slCountry = lens _slCountry (\ s a -> s{_slCountry = a});++instance FromJSON SegmentLocation where+ parseJSON+ = withObject "SegmentLocation"+ (\ x -> SegmentLocation' <$> (x .:? "Country"))++instance Hashable SegmentLocation where++instance NFData SegmentLocation where++instance ToJSON SegmentLocation where+ toJSON SegmentLocation'{..}+ = object (catMaybes [("Country" .=) <$> _slCountry])++-- | Segment definition.+--+-- /See:/ 'segmentResponse' smart constructor.+data SegmentResponse = SegmentResponse'+ { _sLastModifiedDate :: !(Maybe Text)+ , _sSegmentType :: !(Maybe SegmentType)+ , _sApplicationId :: !(Maybe Text)+ , _sName :: !(Maybe Text)+ , _sVersion :: !(Maybe Int)+ , _sId :: !(Maybe Text)+ , _sCreationDate :: !(Maybe Text)+ , _sImportDefinition :: !(Maybe SegmentImportResource)+ , _sDimensions :: !(Maybe SegmentDimensions)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sLastModifiedDate' - The date the segment was last updated in ISO 8601 format.+--+-- * 'sSegmentType' - The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. IMPORT - A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.+--+-- * 'sApplicationId' - The ID of the application to which the segment applies.+--+-- * 'sName' - The name of segment+--+-- * 'sVersion' - The segment version number.+--+-- * 'sId' - The unique segment ID.+--+-- * 'sCreationDate' - The date the segment was created in ISO 8601 format.+--+-- * 'sImportDefinition' - The import job settings.+--+-- * 'sDimensions' - The segment dimensions attributes.+segmentResponse+ :: SegmentResponse+segmentResponse =+ SegmentResponse'+ { _sLastModifiedDate = Nothing+ , _sSegmentType = Nothing+ , _sApplicationId = Nothing+ , _sName = Nothing+ , _sVersion = Nothing+ , _sId = Nothing+ , _sCreationDate = Nothing+ , _sImportDefinition = Nothing+ , _sDimensions = Nothing+ }+++-- | The date the segment was last updated in ISO 8601 format.+sLastModifiedDate :: Lens' SegmentResponse (Maybe Text)+sLastModifiedDate = lens _sLastModifiedDate (\ s a -> s{_sLastModifiedDate = a});++-- | The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. IMPORT - A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.+sSegmentType :: Lens' SegmentResponse (Maybe SegmentType)+sSegmentType = lens _sSegmentType (\ s a -> s{_sSegmentType = a});++-- | The ID of the application to which the segment applies.+sApplicationId :: Lens' SegmentResponse (Maybe Text)+sApplicationId = lens _sApplicationId (\ s a -> s{_sApplicationId = a});++-- | The name of segment+sName :: Lens' SegmentResponse (Maybe Text)+sName = lens _sName (\ s a -> s{_sName = a});++-- | The segment version number.+sVersion :: Lens' SegmentResponse (Maybe Int)+sVersion = lens _sVersion (\ s a -> s{_sVersion = a});++-- | The unique segment ID.+sId :: Lens' SegmentResponse (Maybe Text)+sId = lens _sId (\ s a -> s{_sId = a});++-- | The date the segment was created in ISO 8601 format.+sCreationDate :: Lens' SegmentResponse (Maybe Text)+sCreationDate = lens _sCreationDate (\ s a -> s{_sCreationDate = a});++-- | The import job settings.+sImportDefinition :: Lens' SegmentResponse (Maybe SegmentImportResource)+sImportDefinition = lens _sImportDefinition (\ s a -> s{_sImportDefinition = a});++-- | The segment dimensions attributes.+sDimensions :: Lens' SegmentResponse (Maybe SegmentDimensions)+sDimensions = lens _sDimensions (\ s a -> s{_sDimensions = a});++instance FromJSON SegmentResponse where+ parseJSON+ = withObject "SegmentResponse"+ (\ x ->+ SegmentResponse' <$>+ (x .:? "LastModifiedDate") <*> (x .:? "SegmentType")+ <*> (x .:? "ApplicationId")+ <*> (x .:? "Name")+ <*> (x .:? "Version")+ <*> (x .:? "Id")+ <*> (x .:? "CreationDate")+ <*> (x .:? "ImportDefinition")+ <*> (x .:? "Dimensions"))++instance Hashable SegmentResponse where++instance NFData SegmentResponse where++-- | Segments in your account.+--+-- /See:/ 'segmentsResponse' smart constructor.+data SegmentsResponse = SegmentsResponse'+ { _sNextToken :: !(Maybe Text)+ , _sItem :: !(Maybe [SegmentResponse])+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SegmentsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sNextToken' - An identifier used to retrieve the next page of results. The token is null if no additional pages exist.+--+-- * 'sItem' - The list of segments.+segmentsResponse+ :: SegmentsResponse+segmentsResponse = SegmentsResponse' {_sNextToken = Nothing, _sItem = Nothing}+++-- | An identifier used to retrieve the next page of results. The token is null if no additional pages exist.+sNextToken :: Lens' SegmentsResponse (Maybe Text)+sNextToken = lens _sNextToken (\ s a -> s{_sNextToken = a});++-- | The list of segments.+sItem :: Lens' SegmentsResponse [SegmentResponse]+sItem = lens _sItem (\ s a -> s{_sItem = a}) . _Default . _Coerce;++instance FromJSON SegmentsResponse where+ parseJSON+ = withObject "SegmentsResponse"+ (\ x ->+ SegmentsResponse' <$>+ (x .:? "NextToken") <*> (x .:? "Item" .!= mempty))++instance Hashable SegmentsResponse where++instance NFData SegmentsResponse where++-- | Send message request.+--+-- /See:/ 'sendUsersMessageRequest' smart constructor.+data SendUsersMessageRequest = SendUsersMessageRequest'+ { _sumrContext :: !(Maybe (Map Text Text))+ , _sumrUsers :: !(Maybe (Map Text EndpointSendConfiguration))+ , _sumrMessageConfiguration :: !(Maybe DirectMessageConfiguration)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendUsersMessageRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumrContext' - A map of custom attributes to attributes to be attached to the message. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+--+-- * 'sumrUsers' - A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the value.+--+-- * 'sumrMessageConfiguration' - Message configuration.+sendUsersMessageRequest+ :: SendUsersMessageRequest+sendUsersMessageRequest =+ SendUsersMessageRequest'+ { _sumrContext = Nothing+ , _sumrUsers = Nothing+ , _sumrMessageConfiguration = Nothing+ }+++-- | A map of custom attributes to attributes to be attached to the message. This payload is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.+sumrContext :: Lens' SendUsersMessageRequest (HashMap Text Text)+sumrContext = lens _sumrContext (\ s a -> s{_sumrContext = a}) . _Default . _Map;++-- | A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the value.+sumrUsers :: Lens' SendUsersMessageRequest (HashMap Text EndpointSendConfiguration)+sumrUsers = lens _sumrUsers (\ s a -> s{_sumrUsers = a}) . _Default . _Map;++-- | Message configuration.+sumrMessageConfiguration :: Lens' SendUsersMessageRequest (Maybe DirectMessageConfiguration)+sumrMessageConfiguration = lens _sumrMessageConfiguration (\ s a -> s{_sumrMessageConfiguration = a});++instance Hashable SendUsersMessageRequest where++instance NFData SendUsersMessageRequest where++instance ToJSON SendUsersMessageRequest where+ toJSON SendUsersMessageRequest'{..}+ = object+ (catMaybes+ [("Context" .=) <$> _sumrContext,+ ("Users" .=) <$> _sumrUsers,+ ("MessageConfiguration" .=) <$>+ _sumrMessageConfiguration])++-- | User send message response.+--+-- /See:/ 'sendUsersMessageResponse' smart constructor.+data SendUsersMessageResponse = SendUsersMessageResponse'+ { _sumRequestId :: !(Maybe Text)+ , _sumResult :: !(Maybe (Map Text (Map Text EndpointMessageResult)))+ , _sumApplicationId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendUsersMessageResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumRequestId' - Original request Id for which this message was delivered.+--+-- * 'sumResult' - A map containing of UserId to Map of EndpointId to Endpoint Message Result.+--+-- * 'sumApplicationId' - Application id of the message.+sendUsersMessageResponse+ :: SendUsersMessageResponse+sendUsersMessageResponse =+ SendUsersMessageResponse'+ {_sumRequestId = Nothing, _sumResult = Nothing, _sumApplicationId = Nothing}+++-- | Original request Id for which this message was delivered.+sumRequestId :: Lens' SendUsersMessageResponse (Maybe Text)+sumRequestId = lens _sumRequestId (\ s a -> s{_sumRequestId = a});++-- | A map containing of UserId to Map of EndpointId to Endpoint Message Result.+sumResult :: Lens' SendUsersMessageResponse (HashMap Text (HashMap Text EndpointMessageResult))+sumResult = lens _sumResult (\ s a -> s{_sumResult = a}) . _Default . _Map;++-- | Application id of the message.+sumApplicationId :: Lens' SendUsersMessageResponse (Maybe Text)+sumApplicationId = lens _sumApplicationId (\ s a -> s{_sumApplicationId = a});++instance FromJSON SendUsersMessageResponse where+ parseJSON+ = withObject "SendUsersMessageResponse"+ (\ x ->+ SendUsersMessageResponse' <$>+ (x .:? "RequestId") <*> (x .:? "Result" .!= mempty)+ <*> (x .:? "ApplicationId"))++instance Hashable SendUsersMessageResponse where++instance NFData SendUsersMessageResponse where++-- | Dimension specification of a segment.+--+-- /See:/ 'setDimension' smart constructor.+data SetDimension = SetDimension'+ { _sdValues :: !(Maybe [Text])+ , _sdDimensionType :: !(Maybe DimensionType)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetDimension' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sdValues' - The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.+--+-- * 'sdDimensionType' - The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment. EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.+setDimension+ :: SetDimension+setDimension = SetDimension' {_sdValues = Nothing, _sdDimensionType = Nothing}+++-- | The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.+sdValues :: Lens' SetDimension [Text]+sdValues = lens _sdValues (\ s a -> s{_sdValues = a}) . _Default . _Coerce;++-- | The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment. EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.+sdDimensionType :: Lens' SetDimension (Maybe DimensionType)+sdDimensionType = lens _sdDimensionType (\ s a -> s{_sdDimensionType = a});++instance FromJSON SetDimension where+ parseJSON+ = withObject "SetDimension"+ (\ x ->+ SetDimension' <$>+ (x .:? "Values" .!= mempty) <*>+ (x .:? "DimensionType"))++instance Hashable SetDimension where++instance NFData SetDimension where++instance ToJSON SetDimension where+ toJSON SetDimension'{..}+ = object+ (catMaybes+ [("Values" .=) <$> _sdValues,+ ("DimensionType" .=) <$> _sdDimensionType])++-- | Treatment resource+--+-- /See:/ 'treatmentResource' smart constructor.+data TreatmentResource = TreatmentResource'+ { _trState :: !(Maybe CampaignState)+ , _trSchedule :: !(Maybe Schedule)+ , _trTreatmentName :: !(Maybe Text)+ , _trSizePercent :: !(Maybe Int)+ , _trTreatmentDescription :: !(Maybe Text)+ , _trId :: !(Maybe Text)+ , _trMessageConfiguration :: !(Maybe MessageConfiguration)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TreatmentResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'trState' - The treatment status.+--+-- * 'trSchedule' - The campaign schedule.+--+-- * 'trTreatmentName' - The custom name of a variation of the campaign used for A/B testing.+--+-- * 'trSizePercent' - The allocated percentage of users for this treatment.+--+-- * 'trTreatmentDescription' - A custom description for the treatment.+--+-- * 'trId' - The unique treatment ID.+--+-- * 'trMessageConfiguration' - The message configuration settings.+treatmentResource+ :: TreatmentResource+treatmentResource =+ TreatmentResource'+ { _trState = Nothing+ , _trSchedule = Nothing+ , _trTreatmentName = Nothing+ , _trSizePercent = Nothing+ , _trTreatmentDescription = Nothing+ , _trId = Nothing+ , _trMessageConfiguration = Nothing+ }+++-- | The treatment status.+trState :: Lens' TreatmentResource (Maybe CampaignState)+trState = lens _trState (\ s a -> s{_trState = a});++-- | The campaign schedule.+trSchedule :: Lens' TreatmentResource (Maybe Schedule)+trSchedule = lens _trSchedule (\ s a -> s{_trSchedule = a});++-- | The custom name of a variation of the campaign used for A/B testing.+trTreatmentName :: Lens' TreatmentResource (Maybe Text)+trTreatmentName = lens _trTreatmentName (\ s a -> s{_trTreatmentName = a});++-- | The allocated percentage of users for this treatment.+trSizePercent :: Lens' TreatmentResource (Maybe Int)+trSizePercent = lens _trSizePercent (\ s a -> s{_trSizePercent = a});++-- | A custom description for the treatment.+trTreatmentDescription :: Lens' TreatmentResource (Maybe Text)+trTreatmentDescription = lens _trTreatmentDescription (\ s a -> s{_trTreatmentDescription = a});++-- | The unique treatment ID.+trId :: Lens' TreatmentResource (Maybe Text)+trId = lens _trId (\ s a -> s{_trId = a});++-- | The message configuration settings.+trMessageConfiguration :: Lens' TreatmentResource (Maybe MessageConfiguration)+trMessageConfiguration = lens _trMessageConfiguration (\ s a -> s{_trMessageConfiguration = a});++instance FromJSON TreatmentResource where+ parseJSON+ = withObject "TreatmentResource"+ (\ x ->+ TreatmentResource' <$>+ (x .:? "State") <*> (x .:? "Schedule") <*>+ (x .:? "TreatmentName")+ <*> (x .:? "SizePercent")+ <*> (x .:? "TreatmentDescription")+ <*> (x .:? "Id")+ <*> (x .:? "MessageConfiguration"))++instance Hashable TreatmentResource where++instance NFData TreatmentResource where++-- | Creating application setting request+--+-- /See:/ 'writeApplicationSettingsRequest' smart constructor.+data WriteApplicationSettingsRequest = WriteApplicationSettingsRequest'+ { _wasrLimits :: !(Maybe CampaignLimits)+ , _wasrQuietTime :: !(Maybe QuietTime)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WriteApplicationSettingsRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'wasrLimits' - The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.+--+-- * 'wasrQuietTime' - The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.+writeApplicationSettingsRequest+ :: WriteApplicationSettingsRequest+writeApplicationSettingsRequest =+ WriteApplicationSettingsRequest'+ {_wasrLimits = Nothing, _wasrQuietTime = Nothing}+++-- | The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.+wasrLimits :: Lens' WriteApplicationSettingsRequest (Maybe CampaignLimits)+wasrLimits = lens _wasrLimits (\ s a -> s{_wasrLimits = a});++-- | The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.+wasrQuietTime :: Lens' WriteApplicationSettingsRequest (Maybe QuietTime)+wasrQuietTime = lens _wasrQuietTime (\ s a -> s{_wasrQuietTime = a});++instance Hashable WriteApplicationSettingsRequest+ where++instance NFData WriteApplicationSettingsRequest where++instance ToJSON WriteApplicationSettingsRequest where+ toJSON WriteApplicationSettingsRequest'{..}+ = object+ (catMaybes+ [("Limits" .=) <$> _wasrLimits,+ ("QuietTime" .=) <$> _wasrQuietTime])++-- | Used to create a campaign.+--+-- /See:/ 'writeCampaignRequest' smart constructor.+data WriteCampaignRequest = WriteCampaignRequest'+ { _wcrSchedule :: !(Maybe Schedule)+ , _wcrTreatmentName :: !(Maybe Text)+ , _wcrLimits :: !(Maybe CampaignLimits)+ , _wcrIsPaused :: !(Maybe Bool)+ , _wcrName :: !(Maybe Text)+ , _wcrHoldoutPercent :: !(Maybe Int)+ , _wcrTreatmentDescription :: !(Maybe Text)+ , _wcrMessageConfiguration :: !(Maybe MessageConfiguration)+ , _wcrDescription :: !(Maybe Text)+ , _wcrSegmentId :: !(Maybe Text)+ , _wcrAdditionalTreatments :: !(Maybe [WriteTreatmentResource])+ , _wcrSegmentVersion :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WriteCampaignRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'wcrSchedule' - The campaign schedule.+--+-- * 'wcrTreatmentName' - The custom name of a variation of the campaign used for A/B testing.+--+-- * 'wcrLimits' - The campaign limits settings.+--+-- * 'wcrIsPaused' - Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.+--+-- * 'wcrName' - The custom name of the campaign.+--+-- * 'wcrHoldoutPercent' - The allocated percentage of end users who will not receive messages from this campaign.+--+-- * 'wcrTreatmentDescription' - A custom description for the treatment.+--+-- * 'wcrMessageConfiguration' - The message configuration settings.+--+-- * 'wcrDescription' - A description of the campaign.+--+-- * 'wcrSegmentId' - The ID of the segment to which the campaign sends messages.+--+-- * 'wcrAdditionalTreatments' - Treatments that are defined in addition to the default treatment.+--+-- * 'wcrSegmentVersion' - The version of the segment to which the campaign sends messages.+writeCampaignRequest+ :: WriteCampaignRequest+writeCampaignRequest =+ WriteCampaignRequest'+ { _wcrSchedule = Nothing+ , _wcrTreatmentName = Nothing+ , _wcrLimits = Nothing+ , _wcrIsPaused = Nothing+ , _wcrName = Nothing+ , _wcrHoldoutPercent = Nothing+ , _wcrTreatmentDescription = Nothing+ , _wcrMessageConfiguration = Nothing+ , _wcrDescription = Nothing+ , _wcrSegmentId = Nothing+ , _wcrAdditionalTreatments = Nothing+ , _wcrSegmentVersion = Nothing+ }+++-- | The campaign schedule.+wcrSchedule :: Lens' WriteCampaignRequest (Maybe Schedule)+wcrSchedule = lens _wcrSchedule (\ s a -> s{_wcrSchedule = a});++-- | The custom name of a variation of the campaign used for A/B testing.+wcrTreatmentName :: Lens' WriteCampaignRequest (Maybe Text)+wcrTreatmentName = lens _wcrTreatmentName (\ s a -> s{_wcrTreatmentName = a});++-- | The campaign limits settings.+wcrLimits :: Lens' WriteCampaignRequest (Maybe CampaignLimits)+wcrLimits = lens _wcrLimits (\ s a -> s{_wcrLimits = a});++-- | Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.+wcrIsPaused :: Lens' WriteCampaignRequest (Maybe Bool)+wcrIsPaused = lens _wcrIsPaused (\ s a -> s{_wcrIsPaused = a});++-- | The custom name of the campaign.+wcrName :: Lens' WriteCampaignRequest (Maybe Text)+wcrName = lens _wcrName (\ s a -> s{_wcrName = a});++-- | The allocated percentage of end users who will not receive messages from this campaign.+wcrHoldoutPercent :: Lens' WriteCampaignRequest (Maybe Int)+wcrHoldoutPercent = lens _wcrHoldoutPercent (\ s a -> s{_wcrHoldoutPercent = a});++-- | A custom description for the treatment.+wcrTreatmentDescription :: Lens' WriteCampaignRequest (Maybe Text)+wcrTreatmentDescription = lens _wcrTreatmentDescription (\ s a -> s{_wcrTreatmentDescription = a});++-- | The message configuration settings.+wcrMessageConfiguration :: Lens' WriteCampaignRequest (Maybe MessageConfiguration)+wcrMessageConfiguration = lens _wcrMessageConfiguration (\ s a -> s{_wcrMessageConfiguration = a});++-- | A description of the campaign.+wcrDescription :: Lens' WriteCampaignRequest (Maybe Text)+wcrDescription = lens _wcrDescription (\ s a -> s{_wcrDescription = a});++-- | The ID of the segment to which the campaign sends messages.+wcrSegmentId :: Lens' WriteCampaignRequest (Maybe Text)+wcrSegmentId = lens _wcrSegmentId (\ s a -> s{_wcrSegmentId = a});++-- | Treatments that are defined in addition to the default treatment.+wcrAdditionalTreatments :: Lens' WriteCampaignRequest [WriteTreatmentResource]+wcrAdditionalTreatments = lens _wcrAdditionalTreatments (\ s a -> s{_wcrAdditionalTreatments = a}) . _Default . _Coerce;++-- | The version of the segment to which the campaign sends messages.+wcrSegmentVersion :: Lens' WriteCampaignRequest (Maybe Int)+wcrSegmentVersion = lens _wcrSegmentVersion (\ s a -> s{_wcrSegmentVersion = a});++instance Hashable WriteCampaignRequest where++instance NFData WriteCampaignRequest where++instance ToJSON WriteCampaignRequest where+ toJSON WriteCampaignRequest'{..}+ = object+ (catMaybes+ [("Schedule" .=) <$> _wcrSchedule,+ ("TreatmentName" .=) <$> _wcrTreatmentName,+ ("Limits" .=) <$> _wcrLimits,+ ("IsPaused" .=) <$> _wcrIsPaused,+ ("Name" .=) <$> _wcrName,+ ("HoldoutPercent" .=) <$> _wcrHoldoutPercent,+ ("TreatmentDescription" .=) <$>+ _wcrTreatmentDescription,+ ("MessageConfiguration" .=) <$>+ _wcrMessageConfiguration,+ ("Description" .=) <$> _wcrDescription,+ ("SegmentId" .=) <$> _wcrSegmentId,+ ("AdditionalTreatments" .=) <$>+ _wcrAdditionalTreatments,+ ("SegmentVersion" .=) <$> _wcrSegmentVersion])++-- | Request to save an EventStream.+--+-- /See:/ 'writeEventStream' smart constructor.+data WriteEventStream = WriteEventStream'+ { _wesDestinationStreamARN :: !(Maybe Text)+ , _wesRoleARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WriteEventStream' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'wesDestinationStreamARN' - The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME+--+-- * 'wesRoleARN' - The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.+writeEventStream+ :: WriteEventStream+writeEventStream =+ WriteEventStream' {_wesDestinationStreamARN = Nothing, _wesRoleARN = Nothing}+++-- | The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME+wesDestinationStreamARN :: Lens' WriteEventStream (Maybe Text)+wesDestinationStreamARN = lens _wesDestinationStreamARN (\ s a -> s{_wesDestinationStreamARN = a});++-- | The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.+wesRoleARN :: Lens' WriteEventStream (Maybe Text)+wesRoleARN = lens _wesRoleARN (\ s a -> s{_wesRoleARN = a});++instance Hashable WriteEventStream where++instance NFData WriteEventStream where++instance ToJSON WriteEventStream where+ toJSON WriteEventStream'{..}+ = object+ (catMaybes+ [("DestinationStreamArn" .=) <$>+ _wesDestinationStreamARN,+ ("RoleArn" .=) <$> _wesRoleARN])++-- | Segment definition.+--+-- /See:/ 'writeSegmentRequest' smart constructor.+data WriteSegmentRequest = WriteSegmentRequest'+ { _wsrName :: !(Maybe Text)+ , _wsrDimensions :: !(Maybe SegmentDimensions)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WriteSegmentRequest' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'wsrName' - The name of segment+--+-- * 'wsrDimensions' - The segment dimensions attributes.+writeSegmentRequest+ :: WriteSegmentRequest+writeSegmentRequest =+ WriteSegmentRequest' {_wsrName = Nothing, _wsrDimensions = Nothing}+++-- | The name of segment+wsrName :: Lens' WriteSegmentRequest (Maybe Text)+wsrName = lens _wsrName (\ s a -> s{_wsrName = a});++-- | The segment dimensions attributes.+wsrDimensions :: Lens' WriteSegmentRequest (Maybe SegmentDimensions)+wsrDimensions = lens _wsrDimensions (\ s a -> s{_wsrDimensions = a});++instance Hashable WriteSegmentRequest where++instance NFData WriteSegmentRequest where++instance ToJSON WriteSegmentRequest where+ toJSON WriteSegmentRequest'{..}+ = object+ (catMaybes+ [("Name" .=) <$> _wsrName,+ ("Dimensions" .=) <$> _wsrDimensions])++-- | Used to create a campaign treatment.+--+-- /See:/ 'writeTreatmentResource' smart constructor.+data WriteTreatmentResource = WriteTreatmentResource'+ { _wtrSchedule :: !(Maybe Schedule)+ , _wtrTreatmentName :: !(Maybe Text)+ , _wtrSizePercent :: !(Maybe Int)+ , _wtrTreatmentDescription :: !(Maybe Text)+ , _wtrMessageConfiguration :: !(Maybe MessageConfiguration)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WriteTreatmentResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'wtrSchedule' - The campaign schedule.+--+-- * 'wtrTreatmentName' - The custom name of a variation of the campaign used for A/B testing.+--+-- * 'wtrSizePercent' - The allocated percentage of users for this treatment.+--+-- * 'wtrTreatmentDescription' - A custom description for the treatment.+--+-- * 'wtrMessageConfiguration' - The message configuration settings.+writeTreatmentResource+ :: WriteTreatmentResource+writeTreatmentResource =+ WriteTreatmentResource'+ { _wtrSchedule = Nothing+ , _wtrTreatmentName = Nothing+ , _wtrSizePercent = Nothing+ , _wtrTreatmentDescription = Nothing+ , _wtrMessageConfiguration = Nothing+ }+++-- | The campaign schedule.+wtrSchedule :: Lens' WriteTreatmentResource (Maybe Schedule)+wtrSchedule = lens _wtrSchedule (\ s a -> s{_wtrSchedule = a});++-- | The custom name of a variation of the campaign used for A/B testing.+wtrTreatmentName :: Lens' WriteTreatmentResource (Maybe Text)+wtrTreatmentName = lens _wtrTreatmentName (\ s a -> s{_wtrTreatmentName = a});++-- | The allocated percentage of users for this treatment.+wtrSizePercent :: Lens' WriteTreatmentResource (Maybe Int)+wtrSizePercent = lens _wtrSizePercent (\ s a -> s{_wtrSizePercent = a});++-- | A custom description for the treatment.+wtrTreatmentDescription :: Lens' WriteTreatmentResource (Maybe Text)+wtrTreatmentDescription = lens _wtrTreatmentDescription (\ s a -> s{_wtrTreatmentDescription = a});++-- | The message configuration settings.+wtrMessageConfiguration :: Lens' WriteTreatmentResource (Maybe MessageConfiguration)+wtrMessageConfiguration = lens _wtrMessageConfiguration (\ s a -> s{_wtrMessageConfiguration = a});++instance Hashable WriteTreatmentResource where++instance NFData WriteTreatmentResource where instance ToJSON WriteTreatmentResource where toJSON WriteTreatmentResource'{..}
gen/Network/AWS/Pinpoint/Types/Sum.hs view
@@ -9,22 +9,23 @@ -- | -- Module : Network.AWS.Pinpoint.Types.Sum--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.Pinpoint.Types.Sum where -import Network.AWS.Prelude+import Network.AWS.Prelude data Action- = DeepLink- | OpenApp- | URL- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = DeepLink+ | OpenApp+ | URL+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText Action where parser = takeLowerText >>= \case "deep_link" -> pure DeepLink@@ -52,10 +53,11 @@ parseJSON = parseJSONText "Action" data AttributeType- = Exclusive- | Inclusive- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Exclusive+ | Inclusive+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText AttributeType where parser = takeLowerText >>= \case "exclusive" -> pure Exclusive@@ -81,13 +83,14 @@ parseJSON = parseJSONText "AttributeType" data CampaignStatus- = Completed- | Executing- | Paused- | PendingNextRun- | Scheduled- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Completed+ | Executing+ | Paused+ | PendingNextRun+ | Scheduled+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText CampaignStatus where parser = takeLowerText >>= \case "completed" -> pure Completed@@ -116,21 +119,43 @@ parseJSON = parseJSONText "CampaignStatus" data ChannelType- = APNS- | GCM- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = ADM+ | APNS+ | APNSSandbox+ | APNSVoip+ | APNSVoipSandbox+ | Baidu+ | Email+ | GCM+ | Sms+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ChannelType where parser = takeLowerText >>= \case+ "adm" -> pure ADM "apns" -> pure APNS+ "apns_sandbox" -> pure APNSSandbox+ "apns_voip" -> pure APNSVoip+ "apns_voip_sandbox" -> pure APNSVoipSandbox+ "baidu" -> pure Baidu+ "email" -> pure Email "gcm" -> pure GCM+ "sms" -> pure Sms e -> fromTextError $ "Failure parsing ChannelType from value: '" <> e- <> "'. Accepted values: apns, gcm"+ <> "'. Accepted values: adm, apns, apns_sandbox, apns_voip, apns_voip_sandbox, baidu, email, gcm, sms" instance ToText ChannelType where toText = \case+ ADM -> "ADM" APNS -> "APNS"+ APNSSandbox -> "APNS_SANDBOX"+ APNSVoip -> "APNS_VOIP"+ APNSVoipSandbox -> "APNS_VOIP_SANDBOX"+ Baidu -> "BAIDU"+ Email -> "EMAIL" GCM -> "GCM"+ Sms -> "SMS" instance Hashable ChannelType instance NFData ChannelType@@ -145,10 +170,11 @@ parseJSON = parseJSONText "ChannelType" data DefinitionFormat- = CSV- | JSON- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = CSV+ | JSON+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText DefinitionFormat where parser = takeLowerText >>= \case "csv" -> pure CSV@@ -173,11 +199,54 @@ instance FromJSON DefinitionFormat where parseJSON = parseJSONText "DefinitionFormat" +data DeliveryStatus+ = Duplicate+ | OptOut+ | PermanentFailure+ | Successful+ | TemporaryFailure+ | Throttled+ | UnknownFailure+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText DeliveryStatus where+ parser = takeLowerText >>= \case+ "duplicate" -> pure Duplicate+ "opt_out" -> pure OptOut+ "permanent_failure" -> pure PermanentFailure+ "successful" -> pure Successful+ "temporary_failure" -> pure TemporaryFailure+ "throttled" -> pure Throttled+ "unknown_failure" -> pure UnknownFailure+ e -> fromTextError $ "Failure parsing DeliveryStatus from value: '" <> e+ <> "'. Accepted values: duplicate, opt_out, permanent_failure, successful, temporary_failure, throttled, unknown_failure"++instance ToText DeliveryStatus where+ toText = \case+ Duplicate -> "DUPLICATE"+ OptOut -> "OPT_OUT"+ PermanentFailure -> "PERMANENT_FAILURE"+ Successful -> "SUCCESSFUL"+ TemporaryFailure -> "TEMPORARY_FAILURE"+ Throttled -> "THROTTLED"+ UnknownFailure -> "UNKNOWN_FAILURE"++instance Hashable DeliveryStatus+instance NFData DeliveryStatus+instance ToByteString DeliveryStatus+instance ToQuery DeliveryStatus+instance ToHeader DeliveryStatus++instance FromJSON DeliveryStatus where+ parseJSON = parseJSONText "DeliveryStatus"+ data DimensionType- = DTExclusive- | DTInclusive- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = DTExclusive+ | DTInclusive+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText DimensionType where parser = takeLowerText >>= \case "exclusive" -> pure DTExclusive@@ -203,12 +272,13 @@ parseJSON = parseJSONText "DimensionType" data Duration- = Day14- | Day30- | Day7- | Hr24- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Day14+ | Day30+ | Day7+ | Hr24+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText Duration where parser = takeLowerText >>= \case "day_14" -> pure Day14@@ -238,13 +308,14 @@ parseJSON = parseJSONText "Duration" data Frequency- = Daily- | Hourly- | Monthly- | Once- | Weekly- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Daily+ | Hourly+ | Monthly+ | Once+ | Weekly+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText Frequency where parser = takeLowerText >>= \case "daily" -> pure Daily@@ -276,15 +347,16 @@ parseJSON = parseJSONText "Frequency" data JobStatus- = JSCompleted- | JSCompleting- | JSCreated- | JSFailed- | JSFailing- | JSInitializing- | JSProcessing- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = JSCompleted+ | JSCompleting+ | JSCreated+ | JSFailed+ | JSFailing+ | JSInitializing+ | JSProcessing+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText JobStatus where parser = takeLowerText >>= \case "completed" -> pure JSCompleted@@ -316,11 +388,42 @@ instance FromJSON JobStatus where parseJSON = parseJSONText "JobStatus" +data MessageType+ = Promotional+ | Transactional+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText MessageType where+ parser = takeLowerText >>= \case+ "promotional" -> pure Promotional+ "transactional" -> pure Transactional+ e -> fromTextError $ "Failure parsing MessageType from value: '" <> e+ <> "'. Accepted values: promotional, transactional"++instance ToText MessageType where+ toText = \case+ Promotional -> "PROMOTIONAL"+ Transactional -> "TRANSACTIONAL"++instance Hashable MessageType+instance NFData MessageType+instance ToByteString MessageType+instance ToQuery MessageType+instance ToHeader MessageType++instance ToJSON MessageType where+ toJSON = toJSONText++instance FromJSON MessageType where+ parseJSON = parseJSONText "MessageType"+ data RecencyType- = Active- | Inactive- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Active+ | Inactive+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText RecencyType where parser = takeLowerText >>= \case "active" -> pure Active@@ -346,9 +449,10 @@ parseJSON = parseJSONText "RecencyType" data SegmentType- = Dimensional- | Import- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Dimensional+ | Import+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+ instance FromText SegmentType where parser = takeLowerText >>= \case
+ gen/Network/AWS/Pinpoint/UpdateADMChannel.hs view
@@ -0,0 +1,148 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateADMChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an ADM channel+module Network.AWS.Pinpoint.UpdateADMChannel+ (+ -- * Creating a Request+ updateADMChannel+ , UpdateADMChannel+ -- * Request Lenses+ , uadmcApplicationId+ , uadmcADMChannelRequest++ -- * Destructuring the Response+ , updateADMChannelResponse+ , UpdateADMChannelResponse+ -- * Response Lenses+ , uadmcrsResponseStatus+ , uadmcrsADMChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateADMChannel' smart constructor.+data UpdateADMChannel = UpdateADMChannel'+ { _uadmcApplicationId :: !Text+ , _uadmcADMChannelRequest :: !ADMChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateADMChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uadmcApplicationId' - Undocumented member.+--+-- * 'uadmcADMChannelRequest' - Undocumented member.+updateADMChannel+ :: Text -- ^ 'uadmcApplicationId'+ -> ADMChannelRequest -- ^ 'uadmcADMChannelRequest'+ -> UpdateADMChannel+updateADMChannel pApplicationId_ pADMChannelRequest_ =+ UpdateADMChannel'+ { _uadmcApplicationId = pApplicationId_+ , _uadmcADMChannelRequest = pADMChannelRequest_+ }+++-- | Undocumented member.+uadmcApplicationId :: Lens' UpdateADMChannel Text+uadmcApplicationId = lens _uadmcApplicationId (\ s a -> s{_uadmcApplicationId = a});++-- | Undocumented member.+uadmcADMChannelRequest :: Lens' UpdateADMChannel ADMChannelRequest+uadmcADMChannelRequest = lens _uadmcADMChannelRequest (\ s a -> s{_uadmcADMChannelRequest = a});++instance AWSRequest UpdateADMChannel where+ type Rs UpdateADMChannel = UpdateADMChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateADMChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateADMChannel where++instance NFData UpdateADMChannel where++instance ToHeaders UpdateADMChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateADMChannel where+ toJSON UpdateADMChannel'{..}+ = object+ (catMaybes+ [Just+ ("ADMChannelRequest" .= _uadmcADMChannelRequest)])++instance ToPath UpdateADMChannel where+ toPath UpdateADMChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uadmcApplicationId,+ "/channels/adm"]++instance ToQuery UpdateADMChannel where+ toQuery = const mempty++-- | /See:/ 'updateADMChannelResponse' smart constructor.+data UpdateADMChannelResponse = UpdateADMChannelResponse'+ { _uadmcrsResponseStatus :: !Int+ , _uadmcrsADMChannelResponse :: !ADMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateADMChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uadmcrsResponseStatus' - -- | The response status code.+--+-- * 'uadmcrsADMChannelResponse' - Undocumented member.+updateADMChannelResponse+ :: Int -- ^ 'uadmcrsResponseStatus'+ -> ADMChannelResponse -- ^ 'uadmcrsADMChannelResponse'+ -> UpdateADMChannelResponse+updateADMChannelResponse pResponseStatus_ pADMChannelResponse_ =+ UpdateADMChannelResponse'+ { _uadmcrsResponseStatus = pResponseStatus_+ , _uadmcrsADMChannelResponse = pADMChannelResponse_+ }+++-- | -- | The response status code.+uadmcrsResponseStatus :: Lens' UpdateADMChannelResponse Int+uadmcrsResponseStatus = lens _uadmcrsResponseStatus (\ s a -> s{_uadmcrsResponseStatus = a});++-- | Undocumented member.+uadmcrsADMChannelResponse :: Lens' UpdateADMChannelResponse ADMChannelResponse+uadmcrsADMChannelResponse = lens _uadmcrsADMChannelResponse (\ s a -> s{_uadmcrsADMChannelResponse = a});++instance NFData UpdateADMChannelResponse where
gen/Network/AWS/Pinpoint/UpdateAPNSChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateAPNSChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , uacrsAPNSChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateAPNSChannel' smart constructor. data UpdateAPNSChannel = UpdateAPNSChannel'- { _uacApplicationId :: !Text- , _uacAPNSChannelRequest :: !APNSChannelRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uacApplicationId :: !Text+ , _uacAPNSChannelRequest :: !APNSChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateAPNSChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> APNSChannelRequest -- ^ 'uacAPNSChannelRequest' -> UpdateAPNSChannel updateAPNSChannel pApplicationId_ pAPNSChannelRequest_ =- UpdateAPNSChannel'- { _uacApplicationId = pApplicationId_- , _uacAPNSChannelRequest = pAPNSChannelRequest_- }+ UpdateAPNSChannel'+ { _uacApplicationId = pApplicationId_+ , _uacAPNSChannelRequest = pAPNSChannelRequest_+ } + -- | Undocumented member. uacApplicationId :: Lens' UpdateAPNSChannel Text uacApplicationId = lens _uacApplicationId (\ s a -> s{_uacApplicationId = a});@@ -83,9 +85,9 @@ UpdateAPNSChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateAPNSChannel+instance Hashable UpdateAPNSChannel where -instance NFData UpdateAPNSChannel+instance NFData UpdateAPNSChannel where instance ToHeaders UpdateAPNSChannel where toHeaders@@ -112,10 +114,11 @@ -- | /See:/ 'updateAPNSChannelResponse' smart constructor. data UpdateAPNSChannelResponse = UpdateAPNSChannelResponse'- { _uacrsResponseStatus :: !Int- , _uacrsAPNSChannelResponse :: !APNSChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uacrsResponseStatus :: !Int+ , _uacrsAPNSChannelResponse :: !APNSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateAPNSChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -128,11 +131,12 @@ -> APNSChannelResponse -- ^ 'uacrsAPNSChannelResponse' -> UpdateAPNSChannelResponse updateAPNSChannelResponse pResponseStatus_ pAPNSChannelResponse_ =- UpdateAPNSChannelResponse'- { _uacrsResponseStatus = pResponseStatus_- , _uacrsAPNSChannelResponse = pAPNSChannelResponse_- }+ UpdateAPNSChannelResponse'+ { _uacrsResponseStatus = pResponseStatus_+ , _uacrsAPNSChannelResponse = pAPNSChannelResponse_+ } + -- | -- | The response status code. uacrsResponseStatus :: Lens' UpdateAPNSChannelResponse Int uacrsResponseStatus = lens _uacrsResponseStatus (\ s a -> s{_uacrsResponseStatus = a});@@ -141,4 +145,4 @@ uacrsAPNSChannelResponse :: Lens' UpdateAPNSChannelResponse APNSChannelResponse uacrsAPNSChannelResponse = lens _uacrsAPNSChannelResponse (\ s a -> s{_uacrsAPNSChannelResponse = a}); -instance NFData UpdateAPNSChannelResponse+instance NFData UpdateAPNSChannelResponse where
+ gen/Network/AWS/Pinpoint/UpdateAPNSSandboxChannel.hs view
@@ -0,0 +1,151 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateAPNSSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an APNS sandbox channel+module Network.AWS.Pinpoint.UpdateAPNSSandboxChannel+ (+ -- * Creating a Request+ updateAPNSSandboxChannel+ , UpdateAPNSSandboxChannel+ -- * Request Lenses+ , uascApplicationId+ , uascAPNSSandboxChannelRequest++ -- * Destructuring the Response+ , updateAPNSSandboxChannelResponse+ , UpdateAPNSSandboxChannelResponse+ -- * Response Lenses+ , uascrsResponseStatus+ , uascrsAPNSSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateAPNSSandboxChannel' smart constructor.+data UpdateAPNSSandboxChannel = UpdateAPNSSandboxChannel'+ { _uascApplicationId :: !Text+ , _uascAPNSSandboxChannelRequest :: !APNSSandboxChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uascApplicationId' - Undocumented member.+--+-- * 'uascAPNSSandboxChannelRequest' - Undocumented member.+updateAPNSSandboxChannel+ :: Text -- ^ 'uascApplicationId'+ -> APNSSandboxChannelRequest -- ^ 'uascAPNSSandboxChannelRequest'+ -> UpdateAPNSSandboxChannel+updateAPNSSandboxChannel pApplicationId_ pAPNSSandboxChannelRequest_ =+ UpdateAPNSSandboxChannel'+ { _uascApplicationId = pApplicationId_+ , _uascAPNSSandboxChannelRequest = pAPNSSandboxChannelRequest_+ }+++-- | Undocumented member.+uascApplicationId :: Lens' UpdateAPNSSandboxChannel Text+uascApplicationId = lens _uascApplicationId (\ s a -> s{_uascApplicationId = a});++-- | Undocumented member.+uascAPNSSandboxChannelRequest :: Lens' UpdateAPNSSandboxChannel APNSSandboxChannelRequest+uascAPNSSandboxChannelRequest = lens _uascAPNSSandboxChannelRequest (\ s a -> s{_uascAPNSSandboxChannelRequest = a});++instance AWSRequest UpdateAPNSSandboxChannel where+ type Rs UpdateAPNSSandboxChannel =+ UpdateAPNSSandboxChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateAPNSSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateAPNSSandboxChannel where++instance NFData UpdateAPNSSandboxChannel where++instance ToHeaders UpdateAPNSSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateAPNSSandboxChannel where+ toJSON UpdateAPNSSandboxChannel'{..}+ = object+ (catMaybes+ [Just+ ("APNSSandboxChannelRequest" .=+ _uascAPNSSandboxChannelRequest)])++instance ToPath UpdateAPNSSandboxChannel where+ toPath UpdateAPNSSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uascApplicationId,+ "/channels/apns_sandbox"]++instance ToQuery UpdateAPNSSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'updateAPNSSandboxChannelResponse' smart constructor.+data UpdateAPNSSandboxChannelResponse = UpdateAPNSSandboxChannelResponse'+ { _uascrsResponseStatus :: !Int+ , _uascrsAPNSSandboxChannelResponse :: !APNSSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uascrsResponseStatus' - -- | The response status code.+--+-- * 'uascrsAPNSSandboxChannelResponse' - Undocumented member.+updateAPNSSandboxChannelResponse+ :: Int -- ^ 'uascrsResponseStatus'+ -> APNSSandboxChannelResponse -- ^ 'uascrsAPNSSandboxChannelResponse'+ -> UpdateAPNSSandboxChannelResponse+updateAPNSSandboxChannelResponse pResponseStatus_ pAPNSSandboxChannelResponse_ =+ UpdateAPNSSandboxChannelResponse'+ { _uascrsResponseStatus = pResponseStatus_+ , _uascrsAPNSSandboxChannelResponse = pAPNSSandboxChannelResponse_+ }+++-- | -- | The response status code.+uascrsResponseStatus :: Lens' UpdateAPNSSandboxChannelResponse Int+uascrsResponseStatus = lens _uascrsResponseStatus (\ s a -> s{_uascrsResponseStatus = a});++-- | Undocumented member.+uascrsAPNSSandboxChannelResponse :: Lens' UpdateAPNSSandboxChannelResponse APNSSandboxChannelResponse+uascrsAPNSSandboxChannelResponse = lens _uascrsAPNSSandboxChannelResponse (\ s a -> s{_uascrsAPNSSandboxChannelResponse = a});++instance NFData UpdateAPNSSandboxChannelResponse+ where
+ gen/Network/AWS/Pinpoint/UpdateAPNSVoipChannel.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateAPNSVoipChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an APNS VoIP channel+module Network.AWS.Pinpoint.UpdateAPNSVoipChannel+ (+ -- * Creating a Request+ updateAPNSVoipChannel+ , UpdateAPNSVoipChannel+ -- * Request Lenses+ , uavcApplicationId+ , uavcAPNSVoipChannelRequest++ -- * Destructuring the Response+ , updateAPNSVoipChannelResponse+ , UpdateAPNSVoipChannelResponse+ -- * Response Lenses+ , uavcrsResponseStatus+ , uavcrsAPNSVoipChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateAPNSVoipChannel' smart constructor.+data UpdateAPNSVoipChannel = UpdateAPNSVoipChannel'+ { _uavcApplicationId :: !Text+ , _uavcAPNSVoipChannelRequest :: !APNSVoipChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSVoipChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uavcApplicationId' - Undocumented member.+--+-- * 'uavcAPNSVoipChannelRequest' - Undocumented member.+updateAPNSVoipChannel+ :: Text -- ^ 'uavcApplicationId'+ -> APNSVoipChannelRequest -- ^ 'uavcAPNSVoipChannelRequest'+ -> UpdateAPNSVoipChannel+updateAPNSVoipChannel pApplicationId_ pAPNSVoipChannelRequest_ =+ UpdateAPNSVoipChannel'+ { _uavcApplicationId = pApplicationId_+ , _uavcAPNSVoipChannelRequest = pAPNSVoipChannelRequest_+ }+++-- | Undocumented member.+uavcApplicationId :: Lens' UpdateAPNSVoipChannel Text+uavcApplicationId = lens _uavcApplicationId (\ s a -> s{_uavcApplicationId = a});++-- | Undocumented member.+uavcAPNSVoipChannelRequest :: Lens' UpdateAPNSVoipChannel APNSVoipChannelRequest+uavcAPNSVoipChannelRequest = lens _uavcAPNSVoipChannelRequest (\ s a -> s{_uavcAPNSVoipChannelRequest = a});++instance AWSRequest UpdateAPNSVoipChannel where+ type Rs UpdateAPNSVoipChannel =+ UpdateAPNSVoipChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateAPNSVoipChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateAPNSVoipChannel where++instance NFData UpdateAPNSVoipChannel where++instance ToHeaders UpdateAPNSVoipChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateAPNSVoipChannel where+ toJSON UpdateAPNSVoipChannel'{..}+ = object+ (catMaybes+ [Just+ ("APNSVoipChannelRequest" .=+ _uavcAPNSVoipChannelRequest)])++instance ToPath UpdateAPNSVoipChannel where+ toPath UpdateAPNSVoipChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uavcApplicationId,+ "/channels/apns_voip"]++instance ToQuery UpdateAPNSVoipChannel where+ toQuery = const mempty++-- | /See:/ 'updateAPNSVoipChannelResponse' smart constructor.+data UpdateAPNSVoipChannelResponse = UpdateAPNSVoipChannelResponse'+ { _uavcrsResponseStatus :: !Int+ , _uavcrsAPNSVoipChannelResponse :: !APNSVoipChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSVoipChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uavcrsResponseStatus' - -- | The response status code.+--+-- * 'uavcrsAPNSVoipChannelResponse' - Undocumented member.+updateAPNSVoipChannelResponse+ :: Int -- ^ 'uavcrsResponseStatus'+ -> APNSVoipChannelResponse -- ^ 'uavcrsAPNSVoipChannelResponse'+ -> UpdateAPNSVoipChannelResponse+updateAPNSVoipChannelResponse pResponseStatus_ pAPNSVoipChannelResponse_ =+ UpdateAPNSVoipChannelResponse'+ { _uavcrsResponseStatus = pResponseStatus_+ , _uavcrsAPNSVoipChannelResponse = pAPNSVoipChannelResponse_+ }+++-- | -- | The response status code.+uavcrsResponseStatus :: Lens' UpdateAPNSVoipChannelResponse Int+uavcrsResponseStatus = lens _uavcrsResponseStatus (\ s a -> s{_uavcrsResponseStatus = a});++-- | Undocumented member.+uavcrsAPNSVoipChannelResponse :: Lens' UpdateAPNSVoipChannelResponse APNSVoipChannelResponse+uavcrsAPNSVoipChannelResponse = lens _uavcrsAPNSVoipChannelResponse (\ s a -> s{_uavcrsAPNSVoipChannelResponse = a});++instance NFData UpdateAPNSVoipChannelResponse where
+ gen/Network/AWS/Pinpoint/UpdateAPNSVoipSandboxChannel.hs view
@@ -0,0 +1,152 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an APNS VoIP sandbox channel+module Network.AWS.Pinpoint.UpdateAPNSVoipSandboxChannel+ (+ -- * Creating a Request+ updateAPNSVoipSandboxChannel+ , UpdateAPNSVoipSandboxChannel+ -- * Request Lenses+ , uavscApplicationId+ , uavscAPNSVoipSandboxChannelRequest++ -- * Destructuring the Response+ , updateAPNSVoipSandboxChannelResponse+ , UpdateAPNSVoipSandboxChannelResponse+ -- * Response Lenses+ , uavscrsResponseStatus+ , uavscrsAPNSVoipSandboxChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateAPNSVoipSandboxChannel' smart constructor.+data UpdateAPNSVoipSandboxChannel = UpdateAPNSVoipSandboxChannel'+ { _uavscApplicationId :: !Text+ , _uavscAPNSVoipSandboxChannelRequest :: !APNSVoipSandboxChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSVoipSandboxChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uavscApplicationId' - Undocumented member.+--+-- * 'uavscAPNSVoipSandboxChannelRequest' - Undocumented member.+updateAPNSVoipSandboxChannel+ :: Text -- ^ 'uavscApplicationId'+ -> APNSVoipSandboxChannelRequest -- ^ 'uavscAPNSVoipSandboxChannelRequest'+ -> UpdateAPNSVoipSandboxChannel+updateAPNSVoipSandboxChannel pApplicationId_ pAPNSVoipSandboxChannelRequest_ =+ UpdateAPNSVoipSandboxChannel'+ { _uavscApplicationId = pApplicationId_+ , _uavscAPNSVoipSandboxChannelRequest = pAPNSVoipSandboxChannelRequest_+ }+++-- | Undocumented member.+uavscApplicationId :: Lens' UpdateAPNSVoipSandboxChannel Text+uavscApplicationId = lens _uavscApplicationId (\ s a -> s{_uavscApplicationId = a});++-- | Undocumented member.+uavscAPNSVoipSandboxChannelRequest :: Lens' UpdateAPNSVoipSandboxChannel APNSVoipSandboxChannelRequest+uavscAPNSVoipSandboxChannelRequest = lens _uavscAPNSVoipSandboxChannelRequest (\ s a -> s{_uavscAPNSVoipSandboxChannelRequest = a});++instance AWSRequest UpdateAPNSVoipSandboxChannel+ where+ type Rs UpdateAPNSVoipSandboxChannel =+ UpdateAPNSVoipSandboxChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateAPNSVoipSandboxChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateAPNSVoipSandboxChannel where++instance NFData UpdateAPNSVoipSandboxChannel where++instance ToHeaders UpdateAPNSVoipSandboxChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateAPNSVoipSandboxChannel where+ toJSON UpdateAPNSVoipSandboxChannel'{..}+ = object+ (catMaybes+ [Just+ ("APNSVoipSandboxChannelRequest" .=+ _uavscAPNSVoipSandboxChannelRequest)])++instance ToPath UpdateAPNSVoipSandboxChannel where+ toPath UpdateAPNSVoipSandboxChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uavscApplicationId,+ "/channels/apns_voip_sandbox"]++instance ToQuery UpdateAPNSVoipSandboxChannel where+ toQuery = const mempty++-- | /See:/ 'updateAPNSVoipSandboxChannelResponse' smart constructor.+data UpdateAPNSVoipSandboxChannelResponse = UpdateAPNSVoipSandboxChannelResponse'+ { _uavscrsResponseStatus :: !Int+ , _uavscrsAPNSVoipSandboxChannelResponse :: !APNSVoipSandboxChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAPNSVoipSandboxChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uavscrsResponseStatus' - -- | The response status code.+--+-- * 'uavscrsAPNSVoipSandboxChannelResponse' - Undocumented member.+updateAPNSVoipSandboxChannelResponse+ :: Int -- ^ 'uavscrsResponseStatus'+ -> APNSVoipSandboxChannelResponse -- ^ 'uavscrsAPNSVoipSandboxChannelResponse'+ -> UpdateAPNSVoipSandboxChannelResponse+updateAPNSVoipSandboxChannelResponse pResponseStatus_ pAPNSVoipSandboxChannelResponse_ =+ UpdateAPNSVoipSandboxChannelResponse'+ { _uavscrsResponseStatus = pResponseStatus_+ , _uavscrsAPNSVoipSandboxChannelResponse = pAPNSVoipSandboxChannelResponse_+ }+++-- | -- | The response status code.+uavscrsResponseStatus :: Lens' UpdateAPNSVoipSandboxChannelResponse Int+uavscrsResponseStatus = lens _uavscrsResponseStatus (\ s a -> s{_uavscrsResponseStatus = a});++-- | Undocumented member.+uavscrsAPNSVoipSandboxChannelResponse :: Lens' UpdateAPNSVoipSandboxChannelResponse APNSVoipSandboxChannelResponse+uavscrsAPNSVoipSandboxChannelResponse = lens _uavscrsAPNSVoipSandboxChannelResponse (\ s a -> s{_uavscrsAPNSVoipSandboxChannelResponse = a});++instance NFData UpdateAPNSVoipSandboxChannelResponse+ where
gen/Network/AWS/Pinpoint/UpdateApplicationSettings.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateApplicationSettings--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , uasrsApplicationSettingsResource ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateApplicationSettings' smart constructor. data UpdateApplicationSettings = UpdateApplicationSettings'- { _uasApplicationId :: !Text- , _uasWriteApplicationSettingsRequest :: !WriteApplicationSettingsRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uasApplicationId :: !Text+ , _uasWriteApplicationSettingsRequest :: !WriteApplicationSettingsRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateApplicationSettings' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> WriteApplicationSettingsRequest -- ^ 'uasWriteApplicationSettingsRequest' -> UpdateApplicationSettings updateApplicationSettings pApplicationId_ pWriteApplicationSettingsRequest_ =- UpdateApplicationSettings'- { _uasApplicationId = pApplicationId_- , _uasWriteApplicationSettingsRequest = pWriteApplicationSettingsRequest_- }+ UpdateApplicationSettings'+ { _uasApplicationId = pApplicationId_+ , _uasWriteApplicationSettingsRequest = pWriteApplicationSettingsRequest_+ } + -- | Undocumented member. uasApplicationId :: Lens' UpdateApplicationSettings Text uasApplicationId = lens _uasApplicationId (\ s a -> s{_uasApplicationId = a});@@ -84,9 +86,9 @@ UpdateApplicationSettingsResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateApplicationSettings+instance Hashable UpdateApplicationSettings where -instance NFData UpdateApplicationSettings+instance NFData UpdateApplicationSettings where instance ToHeaders UpdateApplicationSettings where toHeaders@@ -113,10 +115,11 @@ -- | /See:/ 'updateApplicationSettingsResponse' smart constructor. data UpdateApplicationSettingsResponse = UpdateApplicationSettingsResponse'- { _uasrsResponseStatus :: !Int- , _uasrsApplicationSettingsResource :: !ApplicationSettingsResource- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uasrsResponseStatus :: !Int+ , _uasrsApplicationSettingsResource :: !ApplicationSettingsResource+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateApplicationSettingsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -129,11 +132,12 @@ -> ApplicationSettingsResource -- ^ 'uasrsApplicationSettingsResource' -> UpdateApplicationSettingsResponse updateApplicationSettingsResponse pResponseStatus_ pApplicationSettingsResource_ =- UpdateApplicationSettingsResponse'- { _uasrsResponseStatus = pResponseStatus_- , _uasrsApplicationSettingsResource = pApplicationSettingsResource_- }+ UpdateApplicationSettingsResponse'+ { _uasrsResponseStatus = pResponseStatus_+ , _uasrsApplicationSettingsResource = pApplicationSettingsResource_+ } + -- | -- | The response status code. uasrsResponseStatus :: Lens' UpdateApplicationSettingsResponse Int uasrsResponseStatus = lens _uasrsResponseStatus (\ s a -> s{_uasrsResponseStatus = a});@@ -143,3 +147,4 @@ uasrsApplicationSettingsResource = lens _uasrsApplicationSettingsResource (\ s a -> s{_uasrsApplicationSettingsResource = a}); instance NFData UpdateApplicationSettingsResponse+ where
+ gen/Network/AWS/Pinpoint/UpdateBaiduChannel.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateBaiduChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update a BAIDU GCM channel+module Network.AWS.Pinpoint.UpdateBaiduChannel+ (+ -- * Creating a Request+ updateBaiduChannel+ , UpdateBaiduChannel+ -- * Request Lenses+ , ubcApplicationId+ , ubcBaiduChannelRequest++ -- * Destructuring the Response+ , updateBaiduChannelResponse+ , UpdateBaiduChannelResponse+ -- * Response Lenses+ , ubcrsResponseStatus+ , ubcrsBaiduChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateBaiduChannel' smart constructor.+data UpdateBaiduChannel = UpdateBaiduChannel'+ { _ubcApplicationId :: !Text+ , _ubcBaiduChannelRequest :: !BaiduChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateBaiduChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ubcApplicationId' - Undocumented member.+--+-- * 'ubcBaiduChannelRequest' - Undocumented member.+updateBaiduChannel+ :: Text -- ^ 'ubcApplicationId'+ -> BaiduChannelRequest -- ^ 'ubcBaiduChannelRequest'+ -> UpdateBaiduChannel+updateBaiduChannel pApplicationId_ pBaiduChannelRequest_ =+ UpdateBaiduChannel'+ { _ubcApplicationId = pApplicationId_+ , _ubcBaiduChannelRequest = pBaiduChannelRequest_+ }+++-- | Undocumented member.+ubcApplicationId :: Lens' UpdateBaiduChannel Text+ubcApplicationId = lens _ubcApplicationId (\ s a -> s{_ubcApplicationId = a});++-- | Undocumented member.+ubcBaiduChannelRequest :: Lens' UpdateBaiduChannel BaiduChannelRequest+ubcBaiduChannelRequest = lens _ubcBaiduChannelRequest (\ s a -> s{_ubcBaiduChannelRequest = a});++instance AWSRequest UpdateBaiduChannel where+ type Rs UpdateBaiduChannel =+ UpdateBaiduChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateBaiduChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateBaiduChannel where++instance NFData UpdateBaiduChannel where++instance ToHeaders UpdateBaiduChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateBaiduChannel where+ toJSON UpdateBaiduChannel'{..}+ = object+ (catMaybes+ [Just+ ("BaiduChannelRequest" .= _ubcBaiduChannelRequest)])++instance ToPath UpdateBaiduChannel where+ toPath UpdateBaiduChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _ubcApplicationId,+ "/channels/baidu"]++instance ToQuery UpdateBaiduChannel where+ toQuery = const mempty++-- | /See:/ 'updateBaiduChannelResponse' smart constructor.+data UpdateBaiduChannelResponse = UpdateBaiduChannelResponse'+ { _ubcrsResponseStatus :: !Int+ , _ubcrsBaiduChannelResponse :: !BaiduChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateBaiduChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ubcrsResponseStatus' - -- | The response status code.+--+-- * 'ubcrsBaiduChannelResponse' - Undocumented member.+updateBaiduChannelResponse+ :: Int -- ^ 'ubcrsResponseStatus'+ -> BaiduChannelResponse -- ^ 'ubcrsBaiduChannelResponse'+ -> UpdateBaiduChannelResponse+updateBaiduChannelResponse pResponseStatus_ pBaiduChannelResponse_ =+ UpdateBaiduChannelResponse'+ { _ubcrsResponseStatus = pResponseStatus_+ , _ubcrsBaiduChannelResponse = pBaiduChannelResponse_+ }+++-- | -- | The response status code.+ubcrsResponseStatus :: Lens' UpdateBaiduChannelResponse Int+ubcrsResponseStatus = lens _ubcrsResponseStatus (\ s a -> s{_ubcrsResponseStatus = a});++-- | Undocumented member.+ubcrsBaiduChannelResponse :: Lens' UpdateBaiduChannelResponse BaiduChannelResponse+ubcrsBaiduChannelResponse = lens _ubcrsBaiduChannelResponse (\ s a -> s{_ubcrsBaiduChannelResponse = a});++instance NFData UpdateBaiduChannelResponse where
gen/Network/AWS/Pinpoint/UpdateCampaign.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateCampaign--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,20 +37,21 @@ , ucrsCampaignResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateCampaign' smart constructor. data UpdateCampaign = UpdateCampaign'- { _ucCampaignId :: !Text- , _ucApplicationId :: !Text- , _ucWriteCampaignRequest :: !WriteCampaignRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ucCampaignId :: !Text+ , _ucApplicationId :: !Text+ , _ucWriteCampaignRequest :: !WriteCampaignRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateCampaign' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,12 +67,13 @@ -> WriteCampaignRequest -- ^ 'ucWriteCampaignRequest' -> UpdateCampaign updateCampaign pCampaignId_ pApplicationId_ pWriteCampaignRequest_ =- UpdateCampaign'- { _ucCampaignId = pCampaignId_- , _ucApplicationId = pApplicationId_- , _ucWriteCampaignRequest = pWriteCampaignRequest_- }+ UpdateCampaign'+ { _ucCampaignId = pCampaignId_+ , _ucApplicationId = pApplicationId_+ , _ucWriteCampaignRequest = pWriteCampaignRequest_+ } + -- | Undocumented member. ucCampaignId :: Lens' UpdateCampaign Text ucCampaignId = lens _ucCampaignId (\ s a -> s{_ucCampaignId = a});@@ -93,9 +95,9 @@ UpdateCampaignResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateCampaign+instance Hashable UpdateCampaign where -instance NFData UpdateCampaign+instance NFData UpdateCampaign where instance ToHeaders UpdateCampaign where toHeaders@@ -122,10 +124,11 @@ -- | /See:/ 'updateCampaignResponse' smart constructor. data UpdateCampaignResponse = UpdateCampaignResponse'- { _ucrsResponseStatus :: !Int- , _ucrsCampaignResponse :: !CampaignResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ucrsResponseStatus :: !Int+ , _ucrsCampaignResponse :: !CampaignResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateCampaignResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,11 +141,12 @@ -> CampaignResponse -- ^ 'ucrsCampaignResponse' -> UpdateCampaignResponse updateCampaignResponse pResponseStatus_ pCampaignResponse_ =- UpdateCampaignResponse'- { _ucrsResponseStatus = pResponseStatus_- , _ucrsCampaignResponse = pCampaignResponse_- }+ UpdateCampaignResponse'+ { _ucrsResponseStatus = pResponseStatus_+ , _ucrsCampaignResponse = pCampaignResponse_+ } + -- | -- | The response status code. ucrsResponseStatus :: Lens' UpdateCampaignResponse Int ucrsResponseStatus = lens _ucrsResponseStatus (\ s a -> s{_ucrsResponseStatus = a});@@ -151,4 +155,4 @@ ucrsCampaignResponse :: Lens' UpdateCampaignResponse CampaignResponse ucrsCampaignResponse = lens _ucrsCampaignResponse (\ s a -> s{_ucrsCampaignResponse = a}); -instance NFData UpdateCampaignResponse+instance NFData UpdateCampaignResponse where
+ gen/Network/AWS/Pinpoint/UpdateEmailChannel.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateEmailChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an email channel+module Network.AWS.Pinpoint.UpdateEmailChannel+ (+ -- * Creating a Request+ updateEmailChannel+ , UpdateEmailChannel+ -- * Request Lenses+ , uecApplicationId+ , uecEmailChannelRequest++ -- * Destructuring the Response+ , updateEmailChannelResponse+ , UpdateEmailChannelResponse+ -- * Response Lenses+ , uecrsResponseStatus+ , uecrsEmailChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateEmailChannel' smart constructor.+data UpdateEmailChannel = UpdateEmailChannel'+ { _uecApplicationId :: !Text+ , _uecEmailChannelRequest :: !EmailChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateEmailChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uecApplicationId' - Undocumented member.+--+-- * 'uecEmailChannelRequest' - Undocumented member.+updateEmailChannel+ :: Text -- ^ 'uecApplicationId'+ -> EmailChannelRequest -- ^ 'uecEmailChannelRequest'+ -> UpdateEmailChannel+updateEmailChannel pApplicationId_ pEmailChannelRequest_ =+ UpdateEmailChannel'+ { _uecApplicationId = pApplicationId_+ , _uecEmailChannelRequest = pEmailChannelRequest_+ }+++-- | Undocumented member.+uecApplicationId :: Lens' UpdateEmailChannel Text+uecApplicationId = lens _uecApplicationId (\ s a -> s{_uecApplicationId = a});++-- | Undocumented member.+uecEmailChannelRequest :: Lens' UpdateEmailChannel EmailChannelRequest+uecEmailChannelRequest = lens _uecEmailChannelRequest (\ s a -> s{_uecEmailChannelRequest = a});++instance AWSRequest UpdateEmailChannel where+ type Rs UpdateEmailChannel =+ UpdateEmailChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateEmailChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateEmailChannel where++instance NFData UpdateEmailChannel where++instance ToHeaders UpdateEmailChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateEmailChannel where+ toJSON UpdateEmailChannel'{..}+ = object+ (catMaybes+ [Just+ ("EmailChannelRequest" .= _uecEmailChannelRequest)])++instance ToPath UpdateEmailChannel where+ toPath UpdateEmailChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uecApplicationId,+ "/channels/email"]++instance ToQuery UpdateEmailChannel where+ toQuery = const mempty++-- | /See:/ 'updateEmailChannelResponse' smart constructor.+data UpdateEmailChannelResponse = UpdateEmailChannelResponse'+ { _uecrsResponseStatus :: !Int+ , _uecrsEmailChannelResponse :: !EmailChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateEmailChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uecrsResponseStatus' - -- | The response status code.+--+-- * 'uecrsEmailChannelResponse' - Undocumented member.+updateEmailChannelResponse+ :: Int -- ^ 'uecrsResponseStatus'+ -> EmailChannelResponse -- ^ 'uecrsEmailChannelResponse'+ -> UpdateEmailChannelResponse+updateEmailChannelResponse pResponseStatus_ pEmailChannelResponse_ =+ UpdateEmailChannelResponse'+ { _uecrsResponseStatus = pResponseStatus_+ , _uecrsEmailChannelResponse = pEmailChannelResponse_+ }+++-- | -- | The response status code.+uecrsResponseStatus :: Lens' UpdateEmailChannelResponse Int+uecrsResponseStatus = lens _uecrsResponseStatus (\ s a -> s{_uecrsResponseStatus = a});++-- | Undocumented member.+uecrsEmailChannelResponse :: Lens' UpdateEmailChannelResponse EmailChannelResponse+uecrsEmailChannelResponse = lens _uecrsEmailChannelResponse (\ s a -> s{_uecrsEmailChannelResponse = a});++instance NFData UpdateEmailChannelResponse where
gen/Network/AWS/Pinpoint/UpdateEndpoint.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateEndpoint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,20 +37,21 @@ , uersMessageBody ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateEndpoint' smart constructor. data UpdateEndpoint = UpdateEndpoint'- { _ueApplicationId :: !Text- , _ueEndpointId :: !Text- , _ueEndpointRequest :: !EndpointRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ueApplicationId :: !Text+ , _ueEndpointId :: !Text+ , _ueEndpointRequest :: !EndpointRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateEndpoint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,12 +67,13 @@ -> EndpointRequest -- ^ 'ueEndpointRequest' -> UpdateEndpoint updateEndpoint pApplicationId_ pEndpointId_ pEndpointRequest_ =- UpdateEndpoint'- { _ueApplicationId = pApplicationId_- , _ueEndpointId = pEndpointId_- , _ueEndpointRequest = pEndpointRequest_- }+ UpdateEndpoint'+ { _ueApplicationId = pApplicationId_+ , _ueEndpointId = pEndpointId_+ , _ueEndpointRequest = pEndpointRequest_+ } + -- | Undocumented member. ueApplicationId :: Lens' UpdateEndpoint Text ueApplicationId = lens _ueApplicationId (\ s a -> s{_ueApplicationId = a});@@ -93,9 +95,9 @@ UpdateEndpointResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateEndpoint+instance Hashable UpdateEndpoint where -instance NFData UpdateEndpoint+instance NFData UpdateEndpoint where instance ToHeaders UpdateEndpoint where toHeaders@@ -121,10 +123,11 @@ -- | /See:/ 'updateEndpointResponse' smart constructor. data UpdateEndpointResponse = UpdateEndpointResponse'- { _uersResponseStatus :: !Int- , _uersMessageBody :: !MessageBody- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uersResponseStatus :: !Int+ , _uersMessageBody :: !MessageBody+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateEndpointResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -137,11 +140,10 @@ -> MessageBody -- ^ 'uersMessageBody' -> UpdateEndpointResponse updateEndpointResponse pResponseStatus_ pMessageBody_ =- UpdateEndpointResponse'- { _uersResponseStatus = pResponseStatus_- , _uersMessageBody = pMessageBody_- }+ UpdateEndpointResponse'+ {_uersResponseStatus = pResponseStatus_, _uersMessageBody = pMessageBody_} + -- | -- | The response status code. uersResponseStatus :: Lens' UpdateEndpointResponse Int uersResponseStatus = lens _uersResponseStatus (\ s a -> s{_uersResponseStatus = a});@@ -150,4 +152,4 @@ uersMessageBody :: Lens' UpdateEndpointResponse MessageBody uersMessageBody = lens _uersMessageBody (\ s a -> s{_uersMessageBody = a}); -instance NFData UpdateEndpointResponse+instance NFData UpdateEndpointResponse where
gen/Network/AWS/Pinpoint/UpdateEndpointsBatch.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateEndpointsBatch--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Use to update your endpoints.+-- Use to update a batch of endpoints. module Network.AWS.Pinpoint.UpdateEndpointsBatch ( -- * Creating a Request@@ -36,19 +36,20 @@ , uebrsMessageBody ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateEndpointsBatch' smart constructor. data UpdateEndpointsBatch = UpdateEndpointsBatch'- { _uebApplicationId :: !Text- , _uebEndpointBatchRequest :: !EndpointBatchRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uebApplicationId :: !Text+ , _uebEndpointBatchRequest :: !EndpointBatchRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateEndpointsBatch' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> EndpointBatchRequest -- ^ 'uebEndpointBatchRequest' -> UpdateEndpointsBatch updateEndpointsBatch pApplicationId_ pEndpointBatchRequest_ =- UpdateEndpointsBatch'- { _uebApplicationId = pApplicationId_- , _uebEndpointBatchRequest = pEndpointBatchRequest_- }+ UpdateEndpointsBatch'+ { _uebApplicationId = pApplicationId_+ , _uebEndpointBatchRequest = pEndpointBatchRequest_+ } + -- | Undocumented member. uebApplicationId :: Lens' UpdateEndpointsBatch Text uebApplicationId = lens _uebApplicationId (\ s a -> s{_uebApplicationId = a});@@ -84,9 +86,9 @@ UpdateEndpointsBatchResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateEndpointsBatch+instance Hashable UpdateEndpointsBatch where -instance NFData UpdateEndpointsBatch+instance NFData UpdateEndpointsBatch where instance ToHeaders UpdateEndpointsBatch where toHeaders@@ -113,10 +115,11 @@ -- | /See:/ 'updateEndpointsBatchResponse' smart constructor. data UpdateEndpointsBatchResponse = UpdateEndpointsBatchResponse'- { _uebrsResponseStatus :: !Int- , _uebrsMessageBody :: !MessageBody- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uebrsResponseStatus :: !Int+ , _uebrsMessageBody :: !MessageBody+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateEndpointsBatchResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -129,11 +132,10 @@ -> MessageBody -- ^ 'uebrsMessageBody' -> UpdateEndpointsBatchResponse updateEndpointsBatchResponse pResponseStatus_ pMessageBody_ =- UpdateEndpointsBatchResponse'- { _uebrsResponseStatus = pResponseStatus_- , _uebrsMessageBody = pMessageBody_- }+ UpdateEndpointsBatchResponse'+ {_uebrsResponseStatus = pResponseStatus_, _uebrsMessageBody = pMessageBody_} + -- | -- | The response status code. uebrsResponseStatus :: Lens' UpdateEndpointsBatchResponse Int uebrsResponseStatus = lens _uebrsResponseStatus (\ s a -> s{_uebrsResponseStatus = a});@@ -142,4 +144,4 @@ uebrsMessageBody :: Lens' UpdateEndpointsBatchResponse MessageBody uebrsMessageBody = lens _uebrsMessageBody (\ s a -> s{_uebrsMessageBody = a}); -instance NFData UpdateEndpointsBatchResponse+instance NFData UpdateEndpointsBatchResponse where
gen/Network/AWS/Pinpoint/UpdateGCMChannel.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateGCMChannel--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -36,19 +36,20 @@ , ugcrsGCMChannelResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateGCMChannel' smart constructor. data UpdateGCMChannel = UpdateGCMChannel'- { _ugcApplicationId :: !Text- , _ugcGCMChannelRequest :: !GCMChannelRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ugcApplicationId :: !Text+ , _ugcGCMChannelRequest :: !GCMChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateGCMChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -61,11 +62,12 @@ -> GCMChannelRequest -- ^ 'ugcGCMChannelRequest' -> UpdateGCMChannel updateGCMChannel pApplicationId_ pGCMChannelRequest_ =- UpdateGCMChannel'- { _ugcApplicationId = pApplicationId_- , _ugcGCMChannelRequest = pGCMChannelRequest_- }+ UpdateGCMChannel'+ { _ugcApplicationId = pApplicationId_+ , _ugcGCMChannelRequest = pGCMChannelRequest_+ } + -- | Undocumented member. ugcApplicationId :: Lens' UpdateGCMChannel Text ugcApplicationId = lens _ugcApplicationId (\ s a -> s{_ugcApplicationId = a});@@ -83,9 +85,9 @@ UpdateGCMChannelResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateGCMChannel+instance Hashable UpdateGCMChannel where -instance NFData UpdateGCMChannel+instance NFData UpdateGCMChannel where instance ToHeaders UpdateGCMChannel where toHeaders@@ -112,10 +114,11 @@ -- | /See:/ 'updateGCMChannelResponse' smart constructor. data UpdateGCMChannelResponse = UpdateGCMChannelResponse'- { _ugcrsResponseStatus :: !Int- , _ugcrsGCMChannelResponse :: !GCMChannelResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ugcrsResponseStatus :: !Int+ , _ugcrsGCMChannelResponse :: !GCMChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateGCMChannelResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -128,11 +131,12 @@ -> GCMChannelResponse -- ^ 'ugcrsGCMChannelResponse' -> UpdateGCMChannelResponse updateGCMChannelResponse pResponseStatus_ pGCMChannelResponse_ =- UpdateGCMChannelResponse'- { _ugcrsResponseStatus = pResponseStatus_- , _ugcrsGCMChannelResponse = pGCMChannelResponse_- }+ UpdateGCMChannelResponse'+ { _ugcrsResponseStatus = pResponseStatus_+ , _ugcrsGCMChannelResponse = pGCMChannelResponse_+ } + -- | -- | The response status code. ugcrsResponseStatus :: Lens' UpdateGCMChannelResponse Int ugcrsResponseStatus = lens _ugcrsResponseStatus (\ s a -> s{_ugcrsResponseStatus = a});@@ -141,4 +145,4 @@ ugcrsGCMChannelResponse :: Lens' UpdateGCMChannelResponse GCMChannelResponse ugcrsGCMChannelResponse = lens _ugcrsGCMChannelResponse (\ s a -> s{_ugcrsGCMChannelResponse = a}); -instance NFData UpdateGCMChannelResponse+instance NFData UpdateGCMChannelResponse where
gen/Network/AWS/Pinpoint/UpdateSegment.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.Pinpoint.UpdateSegment--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,20 +37,21 @@ , usrsSegmentResponse ) where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Pinpoint.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response -- | /See:/ 'updateSegment' smart constructor. data UpdateSegment = UpdateSegment'- { _usSegmentId :: !Text- , _usApplicationId :: !Text- , _usWriteSegmentRequest :: !WriteSegmentRequest- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _usSegmentId :: !Text+ , _usApplicationId :: !Text+ , _usWriteSegmentRequest :: !WriteSegmentRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateSegment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,12 +67,13 @@ -> WriteSegmentRequest -- ^ 'usWriteSegmentRequest' -> UpdateSegment updateSegment pSegmentId_ pApplicationId_ pWriteSegmentRequest_ =- UpdateSegment'- { _usSegmentId = pSegmentId_- , _usApplicationId = pApplicationId_- , _usWriteSegmentRequest = pWriteSegmentRequest_- }+ UpdateSegment'+ { _usSegmentId = pSegmentId_+ , _usApplicationId = pApplicationId_+ , _usWriteSegmentRequest = pWriteSegmentRequest_+ } + -- | Undocumented member. usSegmentId :: Lens' UpdateSegment Text usSegmentId = lens _usSegmentId (\ s a -> s{_usSegmentId = a});@@ -93,9 +95,9 @@ UpdateSegmentResponse' <$> (pure (fromEnum s)) <*> (eitherParseJSON x)) -instance Hashable UpdateSegment+instance Hashable UpdateSegment where -instance NFData UpdateSegment+instance NFData UpdateSegment where instance ToHeaders UpdateSegment where toHeaders@@ -122,10 +124,11 @@ -- | /See:/ 'updateSegmentResponse' smart constructor. data UpdateSegmentResponse = UpdateSegmentResponse'- { _usrsResponseStatus :: !Int- , _usrsSegmentResponse :: !SegmentResponse- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _usrsResponseStatus :: !Int+ , _usrsSegmentResponse :: !SegmentResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateSegmentResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,11 +141,12 @@ -> SegmentResponse -- ^ 'usrsSegmentResponse' -> UpdateSegmentResponse updateSegmentResponse pResponseStatus_ pSegmentResponse_ =- UpdateSegmentResponse'- { _usrsResponseStatus = pResponseStatus_- , _usrsSegmentResponse = pSegmentResponse_- }+ UpdateSegmentResponse'+ { _usrsResponseStatus = pResponseStatus_+ , _usrsSegmentResponse = pSegmentResponse_+ } + -- | -- | The response status code. usrsResponseStatus :: Lens' UpdateSegmentResponse Int usrsResponseStatus = lens _usrsResponseStatus (\ s a -> s{_usrsResponseStatus = a});@@ -151,4 +155,4 @@ usrsSegmentResponse :: Lens' UpdateSegmentResponse SegmentResponse usrsSegmentResponse = lens _usrsSegmentResponse (\ s a -> s{_usrsSegmentResponse = a}); -instance NFData UpdateSegmentResponse+instance NFData UpdateSegmentResponse where
+ gen/Network/AWS/Pinpoint/UpdateSmsChannel.hs view
@@ -0,0 +1,148 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.Pinpoint.UpdateSmsChannel+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an SMS channel+module Network.AWS.Pinpoint.UpdateSmsChannel+ (+ -- * Creating a Request+ updateSmsChannel+ , UpdateSmsChannel+ -- * Request Lenses+ , uscApplicationId+ , uscSMSChannelRequest++ -- * Destructuring the Response+ , updateSmsChannelResponse+ , UpdateSmsChannelResponse+ -- * Response Lenses+ , uscrsResponseStatus+ , uscrsSMSChannelResponse+ ) where++import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Pinpoint.Types.Product+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateSmsChannel' smart constructor.+data UpdateSmsChannel = UpdateSmsChannel'+ { _uscApplicationId :: !Text+ , _uscSMSChannelRequest :: !SMSChannelRequest+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateSmsChannel' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uscApplicationId' - Undocumented member.+--+-- * 'uscSMSChannelRequest' - Undocumented member.+updateSmsChannel+ :: Text -- ^ 'uscApplicationId'+ -> SMSChannelRequest -- ^ 'uscSMSChannelRequest'+ -> UpdateSmsChannel+updateSmsChannel pApplicationId_ pSMSChannelRequest_ =+ UpdateSmsChannel'+ { _uscApplicationId = pApplicationId_+ , _uscSMSChannelRequest = pSMSChannelRequest_+ }+++-- | Undocumented member.+uscApplicationId :: Lens' UpdateSmsChannel Text+uscApplicationId = lens _uscApplicationId (\ s a -> s{_uscApplicationId = a});++-- | Undocumented member.+uscSMSChannelRequest :: Lens' UpdateSmsChannel SMSChannelRequest+uscSMSChannelRequest = lens _uscSMSChannelRequest (\ s a -> s{_uscSMSChannelRequest = a});++instance AWSRequest UpdateSmsChannel where+ type Rs UpdateSmsChannel = UpdateSmsChannelResponse+ request = putJSON pinpoint+ response+ = receiveJSON+ (\ s h x ->+ UpdateSmsChannelResponse' <$>+ (pure (fromEnum s)) <*> (eitherParseJSON x))++instance Hashable UpdateSmsChannel where++instance NFData UpdateSmsChannel where++instance ToHeaders UpdateSmsChannel where+ toHeaders+ = const+ (mconcat+ ["Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateSmsChannel where+ toJSON UpdateSmsChannel'{..}+ = object+ (catMaybes+ [Just+ ("SMSChannelRequest" .= _uscSMSChannelRequest)])++instance ToPath UpdateSmsChannel where+ toPath UpdateSmsChannel'{..}+ = mconcat+ ["/v1/apps/", toBS _uscApplicationId,+ "/channels/sms"]++instance ToQuery UpdateSmsChannel where+ toQuery = const mempty++-- | /See:/ 'updateSmsChannelResponse' smart constructor.+data UpdateSmsChannelResponse = UpdateSmsChannelResponse'+ { _uscrsResponseStatus :: !Int+ , _uscrsSMSChannelResponse :: !SMSChannelResponse+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateSmsChannelResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uscrsResponseStatus' - -- | The response status code.+--+-- * 'uscrsSMSChannelResponse' - Undocumented member.+updateSmsChannelResponse+ :: Int -- ^ 'uscrsResponseStatus'+ -> SMSChannelResponse -- ^ 'uscrsSMSChannelResponse'+ -> UpdateSmsChannelResponse+updateSmsChannelResponse pResponseStatus_ pSMSChannelResponse_ =+ UpdateSmsChannelResponse'+ { _uscrsResponseStatus = pResponseStatus_+ , _uscrsSMSChannelResponse = pSMSChannelResponse_+ }+++-- | -- | The response status code.+uscrsResponseStatus :: Lens' UpdateSmsChannelResponse Int+uscrsResponseStatus = lens _uscrsResponseStatus (\ s a -> s{_uscrsResponseStatus = a});++-- | Undocumented member.+uscrsSMSChannelResponse :: Lens' UpdateSmsChannelResponse SMSChannelResponse+uscrsSMSChannelResponse = lens _uscrsSMSChannelResponse (\ s a -> s{_uscrsSMSChannelResponse = a});++instance NFData UpdateSmsChannelResponse where
gen/Network/AWS/Pinpoint/Waiters.hs view
@@ -7,15 +7,15 @@ -- | -- Module : Network.AWS.Pinpoint.Waiters--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.Pinpoint.Waiters where -import Network.AWS.Lens-import Network.AWS.Pinpoint.Types-import Network.AWS.Prelude-import Network.AWS.Waiter+import Network.AWS.Lens+import Network.AWS.Pinpoint.Types+import Network.AWS.Prelude+import Network.AWS.Waiter
test/Main.hs view
@@ -2,9 +2,9 @@ -- | -- Module : Main--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --
test/Test/AWS/Gen/Pinpoint.hs view
@@ -5,20 +5,20 @@ -- | -- Module : Test.AWS.Gen.Pinpoint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.Pinpoint where import Data.Proxy+import Network.AWS.Pinpoint import Test.AWS.Fixture+import Test.AWS.Pinpoint.Internal import Test.AWS.Prelude import Test.Tasty-import Network.AWS.Pinpoint-import Test.AWS.Pinpoint.Internal -- Auto-generated: the actual test selection needs to be manually placed into -- the top-level so that real test data can be incrementally added.@@ -34,9 +34,15 @@ -- , requestGetSegmentImportJobs $ -- getSegmentImportJobs --+-- , requestSendMessages $+-- sendMessages+-- -- , requestGetImportJob $ -- getImportJob --+-- , requestGetAPNSVoipSandboxChannel $+-- getAPNSVoipSandboxChannel+-- -- , requestGetSegmentVersions $ -- getSegmentVersions --@@ -52,6 +58,12 @@ -- , requestCreateSegment $ -- createSegment --+-- , requestUpdateADMChannel $+-- updateADMChannel+--+-- , requestDeleteADMChannel $+-- deleteADMChannel+-- -- , requestUpdateEndpoint $ -- updateEndpoint --@@ -67,9 +79,21 @@ -- , requestUpdateEndpointsBatch $ -- updateEndpointsBatch --+-- , requestGetADMChannel $+-- getADMChannel+-- -- , requestGetCampaign $ -- getCampaign --+-- , requestDeleteApp $+-- deleteApp+--+-- , requestUpdateAPNSVoipSandboxChannel $+-- updateAPNSVoipSandboxChannel+--+-- , requestDeleteAPNSVoipSandboxChannel $+-- deleteAPNSVoipSandboxChannel+-- -- , requestUpdateGCMChannel $ -- updateGCMChannel --@@ -79,21 +103,54 @@ -- , requestGetCampaignActivities $ -- getCampaignActivities --+-- , requestGetEventStream $+-- getEventStream+--+-- , requestDeleteEmailChannel $+-- deleteEmailChannel+--+-- , requestUpdateEmailChannel $+-- updateEmailChannel+--+-- , requestGetBaiduChannel $+-- getBaiduChannel+-- -- , requestDeleteAPNSChannel $ -- deleteAPNSChannel -- -- , requestUpdateAPNSChannel $ -- updateAPNSChannel --+-- , requestPutEventStream $+-- putEventStream+--+-- , requestDeleteEventStream $+-- deleteEventStream+-- -- , requestGetCampaignVersions $ -- getCampaignVersions -- -- , requestGetAPNSChannel $ -- getAPNSChannel --+-- , requestGetApps $+-- getApps+--+-- , requestGetAPNSSandboxChannel $+-- getAPNSSandboxChannel+-- -- , requestGetImportJobs $ -- getImportJobs --+-- , requestDeleteSmsChannel $+-- deleteSmsChannel+--+-- , requestUpdateSmsChannel $+-- updateSmsChannel+--+-- , requestGetApp $+-- getApp+-- -- , requestGetCampaignVersion $ -- getCampaignVersion --@@ -103,6 +160,18 @@ -- , requestUpdateSegment $ -- updateSegment --+-- , requestCreateApp $+-- createApp+--+-- , requestGetSmsChannel $+-- getSmsChannel+--+-- , requestDeleteAPNSSandboxChannel $+-- deleteAPNSSandboxChannel+--+-- , requestUpdateAPNSSandboxChannel $+-- updateAPNSSandboxChannel+-- -- , requestGetCampaigns $ -- getCampaigns --@@ -115,9 +184,30 @@ -- , requestCreateImportJob $ -- createImportJob --+-- , requestDeleteAPNSVoipChannel $+-- deleteAPNSVoipChannel+--+-- , requestUpdateAPNSVoipChannel $+-- updateAPNSVoipChannel+--+-- , requestSendUsersMessages $+-- sendUsersMessages+-- -- , requestGetApplicationSettings $ -- getApplicationSettings --+-- , requestDeleteBaiduChannel $+-- deleteBaiduChannel+--+-- , requestUpdateBaiduChannel $+-- updateBaiduChannel+--+-- , requestGetAPNSVoipChannel $+-- getAPNSVoipChannel+--+-- , requestGetEmailChannel $+-- getEmailChannel+-- -- ] -- , testGroup "response"@@ -127,9 +217,15 @@ -- , responseGetSegmentImportJobs $ -- getSegmentImportJobsResponse --+-- , responseSendMessages $+-- sendMessagesResponse+-- -- , responseGetImportJob $ -- getImportJobResponse --+-- , responseGetAPNSVoipSandboxChannel $+-- getAPNSVoipSandboxChannelResponse+-- -- , responseGetSegmentVersions $ -- getSegmentVersionsResponse --@@ -145,6 +241,12 @@ -- , responseCreateSegment $ -- createSegmentResponse --+-- , responseUpdateADMChannel $+-- updateADMChannelResponse+--+-- , responseDeleteADMChannel $+-- deleteADMChannelResponse+-- -- , responseUpdateEndpoint $ -- updateEndpointResponse --@@ -160,9 +262,21 @@ -- , responseUpdateEndpointsBatch $ -- updateEndpointsBatchResponse --+-- , responseGetADMChannel $+-- getADMChannelResponse+-- -- , responseGetCampaign $ -- getCampaignResponse --+-- , responseDeleteApp $+-- deleteAppResponse+--+-- , responseUpdateAPNSVoipSandboxChannel $+-- updateAPNSVoipSandboxChannelResponse+--+-- , responseDeleteAPNSVoipSandboxChannel $+-- deleteAPNSVoipSandboxChannelResponse+-- -- , responseUpdateGCMChannel $ -- updateGCMChannelResponse --@@ -172,21 +286,54 @@ -- , responseGetCampaignActivities $ -- getCampaignActivitiesResponse --+-- , responseGetEventStream $+-- getEventStreamResponse+--+-- , responseDeleteEmailChannel $+-- deleteEmailChannelResponse+--+-- , responseUpdateEmailChannel $+-- updateEmailChannelResponse+--+-- , responseGetBaiduChannel $+-- getBaiduChannelResponse+-- -- , responseDeleteAPNSChannel $ -- deleteAPNSChannelResponse -- -- , responseUpdateAPNSChannel $ -- updateAPNSChannelResponse --+-- , responsePutEventStream $+-- putEventStreamResponse+--+-- , responseDeleteEventStream $+-- deleteEventStreamResponse+-- -- , responseGetCampaignVersions $ -- getCampaignVersionsResponse -- -- , responseGetAPNSChannel $ -- getAPNSChannelResponse --+-- , responseGetApps $+-- getAppsResponse+--+-- , responseGetAPNSSandboxChannel $+-- getAPNSSandboxChannelResponse+-- -- , responseGetImportJobs $ -- getImportJobsResponse --+-- , responseDeleteSmsChannel $+-- deleteSmsChannelResponse+--+-- , responseUpdateSmsChannel $+-- updateSmsChannelResponse+--+-- , responseGetApp $+-- getAppResponse+-- -- , responseGetCampaignVersion $ -- getCampaignVersionResponse --@@ -196,6 +343,18 @@ -- , responseUpdateSegment $ -- updateSegmentResponse --+-- , responseCreateApp $+-- createAppResponse+--+-- , responseGetSmsChannel $+-- getSmsChannelResponse+--+-- , responseDeleteAPNSSandboxChannel $+-- deleteAPNSSandboxChannelResponse+--+-- , responseUpdateAPNSSandboxChannel $+-- updateAPNSSandboxChannelResponse+-- -- , responseGetCampaigns $ -- getCampaignsResponse --@@ -208,9 +367,30 @@ -- , responseCreateImportJob $ -- createImportJobResponse --+-- , responseDeleteAPNSVoipChannel $+-- deleteAPNSVoipChannelResponse+--+-- , responseUpdateAPNSVoipChannel $+-- updateAPNSVoipChannelResponse+--+-- , responseSendUsersMessages $+-- sendUsersMessagesResponse+-- -- , responseGetApplicationSettings $ -- getApplicationSettingsResponse --+-- , responseDeleteBaiduChannel $+-- deleteBaiduChannelResponse+--+-- , responseUpdateBaiduChannel $+-- updateBaiduChannelResponse+--+-- , responseGetAPNSVoipChannel $+-- getAPNSVoipChannelResponse+--+-- , responseGetEmailChannel $+-- getEmailChannelResponse+-- -- ] -- ] @@ -226,11 +406,21 @@ "GetSegmentImportJobs" "fixture/GetSegmentImportJobs.yaml" +requestSendMessages :: SendMessages -> TestTree+requestSendMessages = req+ "SendMessages"+ "fixture/SendMessages.yaml"+ requestGetImportJob :: GetImportJob -> TestTree requestGetImportJob = req "GetImportJob" "fixture/GetImportJob.yaml" +requestGetAPNSVoipSandboxChannel :: GetAPNSVoipSandboxChannel -> TestTree+requestGetAPNSVoipSandboxChannel = req+ "GetAPNSVoipSandboxChannel"+ "fixture/GetAPNSVoipSandboxChannel.yaml"+ requestGetSegmentVersions :: GetSegmentVersions -> TestTree requestGetSegmentVersions = req "GetSegmentVersions"@@ -256,6 +446,16 @@ "CreateSegment" "fixture/CreateSegment.yaml" +requestUpdateADMChannel :: UpdateADMChannel -> TestTree+requestUpdateADMChannel = req+ "UpdateADMChannel"+ "fixture/UpdateADMChannel.yaml"++requestDeleteADMChannel :: DeleteADMChannel -> TestTree+requestDeleteADMChannel = req+ "DeleteADMChannel"+ "fixture/DeleteADMChannel.yaml"+ requestUpdateEndpoint :: UpdateEndpoint -> TestTree requestUpdateEndpoint = req "UpdateEndpoint"@@ -281,11 +481,31 @@ "UpdateEndpointsBatch" "fixture/UpdateEndpointsBatch.yaml" +requestGetADMChannel :: GetADMChannel -> TestTree+requestGetADMChannel = req+ "GetADMChannel"+ "fixture/GetADMChannel.yaml"+ requestGetCampaign :: GetCampaign -> TestTree requestGetCampaign = req "GetCampaign" "fixture/GetCampaign.yaml" +requestDeleteApp :: DeleteApp -> TestTree+requestDeleteApp = req+ "DeleteApp"+ "fixture/DeleteApp.yaml"++requestUpdateAPNSVoipSandboxChannel :: UpdateAPNSVoipSandboxChannel -> TestTree+requestUpdateAPNSVoipSandboxChannel = req+ "UpdateAPNSVoipSandboxChannel"+ "fixture/UpdateAPNSVoipSandboxChannel.yaml"++requestDeleteAPNSVoipSandboxChannel :: DeleteAPNSVoipSandboxChannel -> TestTree+requestDeleteAPNSVoipSandboxChannel = req+ "DeleteAPNSVoipSandboxChannel"+ "fixture/DeleteAPNSVoipSandboxChannel.yaml"+ requestUpdateGCMChannel :: UpdateGCMChannel -> TestTree requestUpdateGCMChannel = req "UpdateGCMChannel"@@ -301,6 +521,26 @@ "GetCampaignActivities" "fixture/GetCampaignActivities.yaml" +requestGetEventStream :: GetEventStream -> TestTree+requestGetEventStream = req+ "GetEventStream"+ "fixture/GetEventStream.yaml"++requestDeleteEmailChannel :: DeleteEmailChannel -> TestTree+requestDeleteEmailChannel = req+ "DeleteEmailChannel"+ "fixture/DeleteEmailChannel.yaml"++requestUpdateEmailChannel :: UpdateEmailChannel -> TestTree+requestUpdateEmailChannel = req+ "UpdateEmailChannel"+ "fixture/UpdateEmailChannel.yaml"++requestGetBaiduChannel :: GetBaiduChannel -> TestTree+requestGetBaiduChannel = req+ "GetBaiduChannel"+ "fixture/GetBaiduChannel.yaml"+ requestDeleteAPNSChannel :: DeleteAPNSChannel -> TestTree requestDeleteAPNSChannel = req "DeleteAPNSChannel"@@ -311,6 +551,16 @@ "UpdateAPNSChannel" "fixture/UpdateAPNSChannel.yaml" +requestPutEventStream :: PutEventStream -> TestTree+requestPutEventStream = req+ "PutEventStream"+ "fixture/PutEventStream.yaml"++requestDeleteEventStream :: DeleteEventStream -> TestTree+requestDeleteEventStream = req+ "DeleteEventStream"+ "fixture/DeleteEventStream.yaml"+ requestGetCampaignVersions :: GetCampaignVersions -> TestTree requestGetCampaignVersions = req "GetCampaignVersions"@@ -321,11 +571,36 @@ "GetAPNSChannel" "fixture/GetAPNSChannel.yaml" +requestGetApps :: GetApps -> TestTree+requestGetApps = req+ "GetApps"+ "fixture/GetApps.yaml"++requestGetAPNSSandboxChannel :: GetAPNSSandboxChannel -> TestTree+requestGetAPNSSandboxChannel = req+ "GetAPNSSandboxChannel"+ "fixture/GetAPNSSandboxChannel.yaml"+ requestGetImportJobs :: GetImportJobs -> TestTree requestGetImportJobs = req "GetImportJobs" "fixture/GetImportJobs.yaml" +requestDeleteSmsChannel :: DeleteSmsChannel -> TestTree+requestDeleteSmsChannel = req+ "DeleteSmsChannel"+ "fixture/DeleteSmsChannel.yaml"++requestUpdateSmsChannel :: UpdateSmsChannel -> TestTree+requestUpdateSmsChannel = req+ "UpdateSmsChannel"+ "fixture/UpdateSmsChannel.yaml"++requestGetApp :: GetApp -> TestTree+requestGetApp = req+ "GetApp"+ "fixture/GetApp.yaml"+ requestGetCampaignVersion :: GetCampaignVersion -> TestTree requestGetCampaignVersion = req "GetCampaignVersion"@@ -341,6 +616,26 @@ "UpdateSegment" "fixture/UpdateSegment.yaml" +requestCreateApp :: CreateApp -> TestTree+requestCreateApp = req+ "CreateApp"+ "fixture/CreateApp.yaml"++requestGetSmsChannel :: GetSmsChannel -> TestTree+requestGetSmsChannel = req+ "GetSmsChannel"+ "fixture/GetSmsChannel.yaml"++requestDeleteAPNSSandboxChannel :: DeleteAPNSSandboxChannel -> TestTree+requestDeleteAPNSSandboxChannel = req+ "DeleteAPNSSandboxChannel"+ "fixture/DeleteAPNSSandboxChannel.yaml"++requestUpdateAPNSSandboxChannel :: UpdateAPNSSandboxChannel -> TestTree+requestUpdateAPNSSandboxChannel = req+ "UpdateAPNSSandboxChannel"+ "fixture/UpdateAPNSSandboxChannel.yaml"+ requestGetCampaigns :: GetCampaigns -> TestTree requestGetCampaigns = req "GetCampaigns"@@ -361,11 +656,46 @@ "CreateImportJob" "fixture/CreateImportJob.yaml" +requestDeleteAPNSVoipChannel :: DeleteAPNSVoipChannel -> TestTree+requestDeleteAPNSVoipChannel = req+ "DeleteAPNSVoipChannel"+ "fixture/DeleteAPNSVoipChannel.yaml"++requestUpdateAPNSVoipChannel :: UpdateAPNSVoipChannel -> TestTree+requestUpdateAPNSVoipChannel = req+ "UpdateAPNSVoipChannel"+ "fixture/UpdateAPNSVoipChannel.yaml"++requestSendUsersMessages :: SendUsersMessages -> TestTree+requestSendUsersMessages = req+ "SendUsersMessages"+ "fixture/SendUsersMessages.yaml"+ requestGetApplicationSettings :: GetApplicationSettings -> TestTree requestGetApplicationSettings = req "GetApplicationSettings" "fixture/GetApplicationSettings.yaml" +requestDeleteBaiduChannel :: DeleteBaiduChannel -> TestTree+requestDeleteBaiduChannel = req+ "DeleteBaiduChannel"+ "fixture/DeleteBaiduChannel.yaml"++requestUpdateBaiduChannel :: UpdateBaiduChannel -> TestTree+requestUpdateBaiduChannel = req+ "UpdateBaiduChannel"+ "fixture/UpdateBaiduChannel.yaml"++requestGetAPNSVoipChannel :: GetAPNSVoipChannel -> TestTree+requestGetAPNSVoipChannel = req+ "GetAPNSVoipChannel"+ "fixture/GetAPNSVoipChannel.yaml"++requestGetEmailChannel :: GetEmailChannel -> TestTree+requestGetEmailChannel = req+ "GetEmailChannel"+ "fixture/GetEmailChannel.yaml"+ -- Responses responseGetGCMChannel :: GetGCMChannelResponse -> TestTree@@ -382,6 +712,13 @@ pinpoint (Proxy :: Proxy GetSegmentImportJobs) +responseSendMessages :: SendMessagesResponse -> TestTree+responseSendMessages = res+ "SendMessagesResponse"+ "fixture/SendMessagesResponse.proto"+ pinpoint+ (Proxy :: Proxy SendMessages)+ responseGetImportJob :: GetImportJobResponse -> TestTree responseGetImportJob = res "GetImportJobResponse"@@ -389,6 +726,13 @@ pinpoint (Proxy :: Proxy GetImportJob) +responseGetAPNSVoipSandboxChannel :: GetAPNSVoipSandboxChannelResponse -> TestTree+responseGetAPNSVoipSandboxChannel = res+ "GetAPNSVoipSandboxChannelResponse"+ "fixture/GetAPNSVoipSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetAPNSVoipSandboxChannel)+ responseGetSegmentVersions :: GetSegmentVersionsResponse -> TestTree responseGetSegmentVersions = res "GetSegmentVersionsResponse"@@ -424,6 +768,20 @@ pinpoint (Proxy :: Proxy CreateSegment) +responseUpdateADMChannel :: UpdateADMChannelResponse -> TestTree+responseUpdateADMChannel = res+ "UpdateADMChannelResponse"+ "fixture/UpdateADMChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateADMChannel)++responseDeleteADMChannel :: DeleteADMChannelResponse -> TestTree+responseDeleteADMChannel = res+ "DeleteADMChannelResponse"+ "fixture/DeleteADMChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteADMChannel)+ responseUpdateEndpoint :: UpdateEndpointResponse -> TestTree responseUpdateEndpoint = res "UpdateEndpointResponse"@@ -459,6 +817,13 @@ pinpoint (Proxy :: Proxy UpdateEndpointsBatch) +responseGetADMChannel :: GetADMChannelResponse -> TestTree+responseGetADMChannel = res+ "GetADMChannelResponse"+ "fixture/GetADMChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetADMChannel)+ responseGetCampaign :: GetCampaignResponse -> TestTree responseGetCampaign = res "GetCampaignResponse"@@ -466,6 +831,27 @@ pinpoint (Proxy :: Proxy GetCampaign) +responseDeleteApp :: DeleteAppResponse -> TestTree+responseDeleteApp = res+ "DeleteAppResponse"+ "fixture/DeleteAppResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteApp)++responseUpdateAPNSVoipSandboxChannel :: UpdateAPNSVoipSandboxChannelResponse -> TestTree+responseUpdateAPNSVoipSandboxChannel = res+ "UpdateAPNSVoipSandboxChannelResponse"+ "fixture/UpdateAPNSVoipSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateAPNSVoipSandboxChannel)++responseDeleteAPNSVoipSandboxChannel :: DeleteAPNSVoipSandboxChannelResponse -> TestTree+responseDeleteAPNSVoipSandboxChannel = res+ "DeleteAPNSVoipSandboxChannelResponse"+ "fixture/DeleteAPNSVoipSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteAPNSVoipSandboxChannel)+ responseUpdateGCMChannel :: UpdateGCMChannelResponse -> TestTree responseUpdateGCMChannel = res "UpdateGCMChannelResponse"@@ -487,6 +873,34 @@ pinpoint (Proxy :: Proxy GetCampaignActivities) +responseGetEventStream :: GetEventStreamResponse -> TestTree+responseGetEventStream = res+ "GetEventStreamResponse"+ "fixture/GetEventStreamResponse.proto"+ pinpoint+ (Proxy :: Proxy GetEventStream)++responseDeleteEmailChannel :: DeleteEmailChannelResponse -> TestTree+responseDeleteEmailChannel = res+ "DeleteEmailChannelResponse"+ "fixture/DeleteEmailChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteEmailChannel)++responseUpdateEmailChannel :: UpdateEmailChannelResponse -> TestTree+responseUpdateEmailChannel = res+ "UpdateEmailChannelResponse"+ "fixture/UpdateEmailChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateEmailChannel)++responseGetBaiduChannel :: GetBaiduChannelResponse -> TestTree+responseGetBaiduChannel = res+ "GetBaiduChannelResponse"+ "fixture/GetBaiduChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetBaiduChannel)+ responseDeleteAPNSChannel :: DeleteAPNSChannelResponse -> TestTree responseDeleteAPNSChannel = res "DeleteAPNSChannelResponse"@@ -501,6 +915,20 @@ pinpoint (Proxy :: Proxy UpdateAPNSChannel) +responsePutEventStream :: PutEventStreamResponse -> TestTree+responsePutEventStream = res+ "PutEventStreamResponse"+ "fixture/PutEventStreamResponse.proto"+ pinpoint+ (Proxy :: Proxy PutEventStream)++responseDeleteEventStream :: DeleteEventStreamResponse -> TestTree+responseDeleteEventStream = res+ "DeleteEventStreamResponse"+ "fixture/DeleteEventStreamResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteEventStream)+ responseGetCampaignVersions :: GetCampaignVersionsResponse -> TestTree responseGetCampaignVersions = res "GetCampaignVersionsResponse"@@ -515,6 +943,20 @@ pinpoint (Proxy :: Proxy GetAPNSChannel) +responseGetApps :: GetAppsResponse -> TestTree+responseGetApps = res+ "GetAppsResponse"+ "fixture/GetAppsResponse.proto"+ pinpoint+ (Proxy :: Proxy GetApps)++responseGetAPNSSandboxChannel :: GetAPNSSandboxChannelResponse -> TestTree+responseGetAPNSSandboxChannel = res+ "GetAPNSSandboxChannelResponse"+ "fixture/GetAPNSSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetAPNSSandboxChannel)+ responseGetImportJobs :: GetImportJobsResponse -> TestTree responseGetImportJobs = res "GetImportJobsResponse"@@ -522,6 +964,27 @@ pinpoint (Proxy :: Proxy GetImportJobs) +responseDeleteSmsChannel :: DeleteSmsChannelResponse -> TestTree+responseDeleteSmsChannel = res+ "DeleteSmsChannelResponse"+ "fixture/DeleteSmsChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteSmsChannel)++responseUpdateSmsChannel :: UpdateSmsChannelResponse -> TestTree+responseUpdateSmsChannel = res+ "UpdateSmsChannelResponse"+ "fixture/UpdateSmsChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateSmsChannel)++responseGetApp :: GetAppResponse -> TestTree+responseGetApp = res+ "GetAppResponse"+ "fixture/GetAppResponse.proto"+ pinpoint+ (Proxy :: Proxy GetApp)+ responseGetCampaignVersion :: GetCampaignVersionResponse -> TestTree responseGetCampaignVersion = res "GetCampaignVersionResponse"@@ -543,6 +1006,34 @@ pinpoint (Proxy :: Proxy UpdateSegment) +responseCreateApp :: CreateAppResponse -> TestTree+responseCreateApp = res+ "CreateAppResponse"+ "fixture/CreateAppResponse.proto"+ pinpoint+ (Proxy :: Proxy CreateApp)++responseGetSmsChannel :: GetSmsChannelResponse -> TestTree+responseGetSmsChannel = res+ "GetSmsChannelResponse"+ "fixture/GetSmsChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetSmsChannel)++responseDeleteAPNSSandboxChannel :: DeleteAPNSSandboxChannelResponse -> TestTree+responseDeleteAPNSSandboxChannel = res+ "DeleteAPNSSandboxChannelResponse"+ "fixture/DeleteAPNSSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteAPNSSandboxChannel)++responseUpdateAPNSSandboxChannel :: UpdateAPNSSandboxChannelResponse -> TestTree+responseUpdateAPNSSandboxChannel = res+ "UpdateAPNSSandboxChannelResponse"+ "fixture/UpdateAPNSSandboxChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateAPNSSandboxChannel)+ responseGetCampaigns :: GetCampaignsResponse -> TestTree responseGetCampaigns = res "GetCampaignsResponse"@@ -571,9 +1062,58 @@ pinpoint (Proxy :: Proxy CreateImportJob) +responseDeleteAPNSVoipChannel :: DeleteAPNSVoipChannelResponse -> TestTree+responseDeleteAPNSVoipChannel = res+ "DeleteAPNSVoipChannelResponse"+ "fixture/DeleteAPNSVoipChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteAPNSVoipChannel)++responseUpdateAPNSVoipChannel :: UpdateAPNSVoipChannelResponse -> TestTree+responseUpdateAPNSVoipChannel = res+ "UpdateAPNSVoipChannelResponse"+ "fixture/UpdateAPNSVoipChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateAPNSVoipChannel)++responseSendUsersMessages :: SendUsersMessagesResponse -> TestTree+responseSendUsersMessages = res+ "SendUsersMessagesResponse"+ "fixture/SendUsersMessagesResponse.proto"+ pinpoint+ (Proxy :: Proxy SendUsersMessages)+ responseGetApplicationSettings :: GetApplicationSettingsResponse -> TestTree responseGetApplicationSettings = res "GetApplicationSettingsResponse" "fixture/GetApplicationSettingsResponse.proto" pinpoint (Proxy :: Proxy GetApplicationSettings)++responseDeleteBaiduChannel :: DeleteBaiduChannelResponse -> TestTree+responseDeleteBaiduChannel = res+ "DeleteBaiduChannelResponse"+ "fixture/DeleteBaiduChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy DeleteBaiduChannel)++responseUpdateBaiduChannel :: UpdateBaiduChannelResponse -> TestTree+responseUpdateBaiduChannel = res+ "UpdateBaiduChannelResponse"+ "fixture/UpdateBaiduChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy UpdateBaiduChannel)++responseGetAPNSVoipChannel :: GetAPNSVoipChannelResponse -> TestTree+responseGetAPNSVoipChannel = res+ "GetAPNSVoipChannelResponse"+ "fixture/GetAPNSVoipChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetAPNSVoipChannel)++responseGetEmailChannel :: GetEmailChannelResponse -> TestTree+responseGetEmailChannel = res+ "GetEmailChannelResponse"+ "fixture/GetEmailChannelResponse.proto"+ pinpoint+ (Proxy :: Proxy GetEmailChannel)