canceraiddev / elm-aws-pinpoint / AWS.Pinpoint

Doc Engage API - Amazon Pinpoint API

Service definition.

service : AWS.Config.Region -> AWS.Service.Service

Configuration for this service.

Service endpoints.

createApp : CreateAppRequest -> AWS.Http.Request AWS.Http.AWSAppError CreateAppResponse

Creates an application.

createCampaign : CreateCampaignRequest -> AWS.Http.Request AWS.Http.AWSAppError CreateCampaignResponse

Creates a new campaign for an application or updates the settings of an existing campaign for an application.

createExportJob : CreateExportJobRequest -> AWS.Http.Request AWS.Http.AWSAppError CreateExportJobResponse

Creates a new export job for an application.

createImportJob : CreateImportJobRequest -> AWS.Http.Request AWS.Http.AWSAppError CreateImportJobResponse

Creates a new import job for an application.

createSegment : CreateSegmentRequest -> AWS.Http.Request AWS.Http.AWSAppError CreateSegmentResponse

Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.

deleteAdmChannel : DeleteAdmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteAdmChannelResponse

Disables the ADM channel for an application and deletes any existing settings for the channel.

deleteApnsChannel : DeleteApnsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteApnsChannelResponse

Disables the APNs channel for an application and deletes any existing settings for the channel.

deleteApnsSandboxChannel : DeleteApnsSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteApnsSandboxChannelResponse

Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.

deleteApnsVoipChannel : DeleteApnsVoipChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteApnsVoipChannelResponse

Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.

deleteApnsVoipSandboxChannel : DeleteApnsVoipSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteApnsVoipSandboxChannelResponse

Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.

deleteApp : DeleteAppRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteAppResponse

Deletes an application.

deleteBaiduChannel : DeleteBaiduChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteBaiduChannelResponse

Disables the Baidu channel for an application and deletes any existing settings for the channel.

deleteCampaign : DeleteCampaignRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteCampaignResponse

Deletes a campaign from an application.

deleteEmailChannel : DeleteEmailChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteEmailChannelResponse

Disables the email channel for an application and deletes any existing settings for the channel.

deleteEndpoint : DeleteEndpointRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteEndpointResponse

Deletes an endpoint from an application.

deleteEventStream : DeleteEventStreamRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteEventStreamResponse

Deletes the event stream for an application.

deleteGcmChannel : DeleteGcmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteGcmChannelResponse

Disables the GCM channel for an application and deletes any existing settings for the channel.

deleteSegment : DeleteSegmentRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteSegmentResponse

Deletes a segment from an application.

deleteSmsChannel : DeleteSmsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteSmsChannelResponse

Disables the SMS channel for an application and deletes any existing settings for the channel.

deleteUserEndpoints : DeleteUserEndpointsRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteUserEndpointsResponse

Deletes all the endpoints that are associated with a specific user ID.

deleteVoiceChannel : DeleteVoiceChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError DeleteVoiceChannelResponse

Disables the voice channel for an application and deletes any existing settings for the channel.

getAdmChannel : GetAdmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetAdmChannelResponse

Retrieves information about the status and settings of the ADM channel for an application.

getApnsChannel : GetApnsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApnsChannelResponse

Retrieves information about the status and settings of the APNs channel for an application.

getApnsSandboxChannel : GetApnsSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApnsSandboxChannelResponse

Retrieves information about the status and settings of the APNs sandbox channel for an application.

getApnsVoipChannel : GetApnsVoipChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApnsVoipChannelResponse

Retrieves information about the status and settings of the APNs VoIP channel for an application.

getApnsVoipSandboxChannel : GetApnsVoipSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApnsVoipSandboxChannelResponse

Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.

getApp : GetAppRequest -> AWS.Http.Request AWS.Http.AWSAppError GetAppResponse

Retrieves information about an application.

getApplicationDateRangeKpi : GetApplicationDateRangeKpiRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApplicationDateRangeKpiResponse

Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.

getApplicationSettings : GetApplicationSettingsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetApplicationSettingsResponse

Retrieves information about the settings for an application.

getApps : GetAppsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetAppsResponse

Retrieves information about all of your applications.

getBaiduChannel : GetBaiduChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetBaiduChannelResponse

Retrieves information about the status and settings of the Baidu Cloud Push channel for an application.

getCampaign : GetCampaignRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignResponse

Retrieves information about the status, configuration, and other settings for a campaign.

getCampaignActivities : GetCampaignActivitiesRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignActivitiesResponse

Retrieves information about the activity performed by a campaign.

getCampaignDateRangeKpi : GetCampaignDateRangeKpiRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignDateRangeKpiResponse

Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.

getCampaignVersion : GetCampaignVersionRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignVersionResponse

Retrieves information about the status, configuration, and other settings for a specific version of a campaign.

getCampaignVersions : GetCampaignVersionsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignVersionsResponse

Retrieves information about the status, configuration, and other settings for all versions of a specific campaign.

getCampaigns : GetCampaignsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetCampaignsResponse

Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.

getChannels : GetChannelsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetChannelsResponse

Retrieves information about the history and status of each channel for an application.

getEmailChannel : GetEmailChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetEmailChannelResponse

Retrieves information about the status and settings of the email channel for an application.

getEndpoint : GetEndpointRequest -> AWS.Http.Request AWS.Http.AWSAppError GetEndpointResponse

Retrieves information about the settings and attributes of a specific endpoint for an application.

getEventStream : GetEventStreamRequest -> AWS.Http.Request AWS.Http.AWSAppError GetEventStreamResponse

Retrieves information about the event stream settings for an application.

getExportJob : GetExportJobRequest -> AWS.Http.Request AWS.Http.AWSAppError GetExportJobResponse

Retrieves information about the status and settings of a specific export job for an application.

getExportJobs : GetExportJobsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetExportJobsResponse

Retrieves information about the status and settings of all the export jobs for an application.

getGcmChannel : GetGcmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetGcmChannelResponse

Retrieves information about the status and settings of the GCM channel for an application.

getImportJob : GetImportJobRequest -> AWS.Http.Request AWS.Http.AWSAppError GetImportJobResponse

Retrieves information about the status and settings of a specific import job for an application.

getImportJobs : GetImportJobsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetImportJobsResponse

Retrieves information about the status and settings of all the import jobs for an application.

getSegment : GetSegmentRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentResponse

Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.

getSegmentExportJobs : GetSegmentExportJobsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentExportJobsResponse

Retrieves information about the status and settings of the export jobs for a segment.

getSegmentImportJobs : GetSegmentImportJobsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentImportJobsResponse

Retrieves information about the status and settings of the import jobs for a segment.

getSegmentVersion : GetSegmentVersionRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentVersionResponse

Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.

getSegmentVersions : GetSegmentVersionsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentVersionsResponse

Retrieves information about the configuration, dimension, and other settings for all versions of a specific segment that's associated with an application.

getSegments : GetSegmentsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSegmentsResponse

Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.

getSmsChannel : GetSmsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetSmsChannelResponse

Retrieves information about the status and settings of the SMS channel for an application.

getUserEndpoints : GetUserEndpointsRequest -> AWS.Http.Request AWS.Http.AWSAppError GetUserEndpointsResponse

Retrieves information about all the endpoints that are associated with a specific user ID.

getVoiceChannel : GetVoiceChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError GetVoiceChannelResponse

Retrieves information about the status and settings of the voice channel for an application.

listTagsForResource : ListTagsForResourceRequest -> AWS.Http.Request Basics.Never ListTagsForResourceResponse

Retrieves all the tags (keys and values) that are associated with an application, campaign, or segment.

phoneNumberValidate : PhoneNumberValidateRequest -> AWS.Http.Request AWS.Http.AWSAppError PhoneNumberValidateResponse

Retrieves information about a phone number.

putEventStream : PutEventStreamRequest -> AWS.Http.Request AWS.Http.AWSAppError PutEventStreamResponse

Creates a new event stream for an application or updates the settings of an existing event stream for an application.

putEvents : PutEventsRequest -> AWS.Http.Request AWS.Http.AWSAppError PutEventsResponse

Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.

removeAttributes : RemoveAttributesRequest -> AWS.Http.Request AWS.Http.AWSAppError RemoveAttributesResponse

Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.

sendMessages : SendMessagesRequest -> AWS.Http.Request AWS.Http.AWSAppError SendMessagesResponse

Creates and sends a direct message.

sendUsersMessages : SendUsersMessagesRequest -> AWS.Http.Request AWS.Http.AWSAppError SendUsersMessagesResponse

Creates and sends a message to a list of users.

tagResource : TagResourceRequest -> AWS.Http.Request Basics.Never ()

Adds one or more tags (keys and values) to an application, campaign, or segment.

untagResource : UntagResourceRequest -> AWS.Http.Request Basics.Never ()

Removes one or more tags (keys and values) from an application, campaign, or segment.

updateAdmChannel : UpdateAdmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateAdmChannelResponse

Updates the ADM channel settings for an application.

updateApnsChannel : UpdateApnsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateApnsChannelResponse

Updates the APNs channel settings for an application.

updateApnsSandboxChannel : UpdateApnsSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateApnsSandboxChannelResponse

Updates the APNs sandbox channel settings for an application.

updateApnsVoipChannel : UpdateApnsVoipChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateApnsVoipChannelResponse

Updates the APNs VoIP channel settings for an application.

updateApnsVoipSandboxChannel : UpdateApnsVoipSandboxChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateApnsVoipSandboxChannelResponse

Updates the settings for the APNs VoIP sandbox channel for an application.

updateApplicationSettings : UpdateApplicationSettingsRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateApplicationSettingsResponse

Updates the settings for an application.

updateBaiduChannel : UpdateBaiduChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateBaiduChannelResponse

Updates the settings of the Baidu channel for an application.

updateCampaign : UpdateCampaignRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateCampaignResponse

Updates the settings for a campaign.

updateEmailChannel : UpdateEmailChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateEmailChannelResponse

Updates the status and settings of the email channel for an application.

updateEndpoint : UpdateEndpointRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateEndpointResponse

Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes (Attributes, Metrics, and UserAttributes properties) for an endpoint.

updateEndpointsBatch : UpdateEndpointsBatchRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateEndpointsBatchResponse

Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes (Attributes, Metrics, and UserAttributes properties) for a batch of endpoints.

updateGcmChannel : UpdateGcmChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateGcmChannelResponse

Updates the status and settings of the GCM channel for an application.

updateSegment : UpdateSegmentRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateSegmentResponse

Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.

updateSmsChannel : UpdateSmsChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateSmsChannelResponse

Updates the status and settings of the SMS channel for an application.

updateVoiceChannel : UpdateVoiceChannelRequest -> AWS.Http.Request AWS.Http.AWSAppError UpdateVoiceChannelResponse

Updates the status and settings of the voice channel for an application.

API data model.


type Action
    = ActionOpenApp
    | ActionDeepLink
    | ActionUrl

The Action data model.


type alias ActivitiesResponse =
{ item : ListOfActivityResponse
, nextToken : Maybe String 
}

The ActivitiesResponse data model.


type alias ActivityResponse =
{ applicationId : String
, campaignId : String
, end : Maybe String
, id : String
, result : Maybe String
, scheduledStart : Maybe String
, start : Maybe String
, state : Maybe String
, successfulEndpointCount : Maybe Basics.Int
, timezonesCompletedCount : Maybe Basics.Int
, timezonesTotalCount : Maybe Basics.Int
, totalEndpointCount : Maybe Basics.Int
, treatmentId : Maybe String 
}

The ActivityResponse data model.


type alias AddressConfiguration =
{ bodyOverride : Maybe String
, channelType : Maybe ChannelType
, context : Maybe MapOfString
, rawContent : Maybe String
, substitutions : Maybe MapOfListOfString
, titleOverride : Maybe String 
}

The AddressConfiguration data model.


type alias AdmchannelRequest =
{ clientId : String
, clientSecret : String
, enabled : Maybe Basics.Bool 
}

The AdmchannelRequest data model.


type alias AdmchannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The AdmchannelResponse data model.


type alias Admmessage =
{ action : Maybe Action
, body : Maybe String
, consolidationKey : Maybe String
, data : Maybe MapOfString
, expiresAfter : Maybe String
, iconReference : Maybe String
, imageIconUrl : Maybe String
, imageUrl : Maybe String
, md5 : Maybe String
, rawContent : Maybe String
, silentPush : Maybe Basics.Bool
, smallImageIconUrl : Maybe String
, sound : Maybe String
, substitutions : Maybe MapOfListOfString
, title : Maybe String
, url : Maybe String 
}

The Admmessage data model.


type alias ApnschannelRequest =
{ bundleId : Maybe String
, certificate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, privateKey : Maybe String
, teamId : Maybe String
, tokenKey : Maybe String
, tokenKeyId : Maybe String 
}

The ApnschannelRequest data model.


type alias ApnschannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, hasTokenKey : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The ApnschannelResponse data model.


type alias Apnsmessage =
{ action : Maybe Action
, badge : Maybe Basics.Int
, body : Maybe String
, category : Maybe String
, collapseId : Maybe String
, data : Maybe MapOfString
, mediaUrl : Maybe String
, preferredAuthenticationMethod : Maybe String
, priority : Maybe String
, rawContent : Maybe String
, silentPush : Maybe Basics.Bool
, sound : Maybe String
, substitutions : Maybe MapOfListOfString
, threadId : Maybe String
, timeToLive : Maybe Basics.Int
, title : Maybe String
, url : Maybe String 
}

The Apnsmessage data model.


type alias ApnssandboxChannelRequest =
{ bundleId : Maybe String
, certificate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, privateKey : Maybe String
, teamId : Maybe String
, tokenKey : Maybe String
, tokenKeyId : Maybe String 
}

The ApnssandboxChannelRequest data model.


type alias ApnssandboxChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, hasTokenKey : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The ApnssandboxChannelResponse data model.


type alias ApnsvoipChannelRequest =
{ bundleId : Maybe String
, certificate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, privateKey : Maybe String
, teamId : Maybe String
, tokenKey : Maybe String
, tokenKeyId : Maybe String 
}

The ApnsvoipChannelRequest data model.


type alias ApnsvoipChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, hasTokenKey : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The ApnsvoipChannelResponse data model.


type alias ApnsvoipSandboxChannelRequest =
{ bundleId : Maybe String
, certificate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, privateKey : Maybe String
, teamId : Maybe String
, tokenKey : Maybe String
, tokenKeyId : Maybe String 
}

The ApnsvoipSandboxChannelRequest data model.


type alias ApnsvoipSandboxChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, defaultAuthenticationMethod : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, hasTokenKey : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The ApnsvoipSandboxChannelResponse data model.


type alias ApplicationDateRangeKpiResponse =
{ applicationId : String
, endTime : String
, kpiName : String
, kpiResult : BaseKpiResult
, nextToken : Maybe String
, startTime : String 
}

The ApplicationDateRangeKpiResponse data model.


type alias ApplicationResponse =
{ arn : String
, id : String
, name : String
, tags : Maybe MapOfString 
}

The ApplicationResponse data model.


type alias ApplicationSettingsResource =
{ applicationId : String
, campaignHook : Maybe CampaignHook
, lastModifiedDate : Maybe String
, limits : Maybe CampaignLimits
, quietTime : Maybe QuietTime 
}

The ApplicationSettingsResource data model.


type alias ApplicationsResponse =
{ item : Maybe ListOfApplicationResponse
, nextToken : Maybe String 
}

The ApplicationsResponse data model.


type alias AttributeDimension =
{ attributeType : Maybe AttributeType
, values : ListOfString 
}

The AttributeDimension data model.


type AttributeType
    = AttributeTypeInclusive
    | AttributeTypeExclusive

The AttributeType data model.


type alias AttributesResource =
{ applicationId : String
, attributeType : String
, attributes : Maybe ListOfString 
}

The AttributesResource data model.


type alias BaiduChannelRequest =
{ apiKey : String
, enabled : Maybe Basics.Bool
, secretKey : String 
}

The BaiduChannelRequest data model.


type alias BaiduChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, credential : String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The BaiduChannelResponse data model.


type alias BaiduMessage =
{ action : Maybe Action
, body : Maybe String
, data : Maybe MapOfString
, iconReference : Maybe String
, imageIconUrl : Maybe String
, imageUrl : Maybe String
, rawContent : Maybe String
, silentPush : Maybe Basics.Bool
, smallImageIconUrl : Maybe String
, sound : Maybe String
, substitutions : Maybe MapOfListOfString
, timeToLive : Maybe Basics.Int
, title : Maybe String
, url : Maybe String 
}

The BaiduMessage data model.


type alias BaseKpiResult =
{ rows : ListOfResultRow }

The BaseKpiResult data model.


type alias CampaignDateRangeKpiResponse =
{ applicationId : String
, campaignId : String
, endTime : String
, kpiName : String
, kpiResult : BaseKpiResult
, nextToken : Maybe String
, startTime : String 
}

The CampaignDateRangeKpiResponse data model.


type alias CampaignEmailMessage =
{ body : Maybe String
, fromAddress : Maybe String
, htmlBody : Maybe String
, title : String 
}

The CampaignEmailMessage data model.


type alias CampaignEventFilter =
{ dimensions : EventDimensions
, filterType : FilterType 
}

The CampaignEventFilter data model.


type alias CampaignHook =
{ lambdaFunctionName : Maybe String
, mode : Maybe Mode
, webUrl : Maybe String 
}

The CampaignHook data model.


type alias CampaignLimits =
{ daily : Maybe Basics.Int
, maximumDuration : Maybe Basics.Int
, messagesPerSecond : Maybe Basics.Int
, total : Maybe Basics.Int 
}

The CampaignLimits data model.


type alias CampaignResponse =
{ additionalTreatments : Maybe ListOfTreatmentResource
, applicationId : String
, arn : String
, creationDate : String
, defaultState : Maybe CampaignState
, description : Maybe String
, holdoutPercent : Maybe Basics.Int
, hook : Maybe CampaignHook
, id : String
, isPaused : Maybe Basics.Bool
, lastModifiedDate : String
, limits : Maybe CampaignLimits
, messageConfiguration : Maybe MessageConfiguration
, name : Maybe String
, schedule : Maybe Schedule
, segmentId : String
, segmentVersion : Basics.Int
, state : Maybe CampaignState
, treatmentDescription : Maybe String
, treatmentName : Maybe String
, version : Maybe Basics.Int
, tags : Maybe MapOfString 
}

The CampaignResponse data model.


type alias CampaignSmsMessage =
{ body : Maybe String
, messageType : Maybe MessageType
, senderId : Maybe String 
}

The CampaignSmsMessage data model.


type alias CampaignState =
{ campaignStatus : Maybe CampaignStatus }

The CampaignState data model.


type CampaignStatus
    = CampaignStatusScheduled
    | CampaignStatusExecuting
    | CampaignStatusPendingNextRun
    | CampaignStatusCompleted
    | CampaignStatusPaused
    | CampaignStatusDeleted

The CampaignStatus data model.


type alias CampaignsResponse =
{ item : ListOfCampaignResponse
, nextToken : Maybe String 
}

The CampaignsResponse data model.


type alias ChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, version : Maybe Basics.Int 
}

The ChannelResponse data model.


type ChannelType
    = ChannelTypeGcm
    | ChannelTypeApns
    | ChannelTypeApnsSandbox
    | ChannelTypeApnsVoip
    | ChannelTypeApnsVoipSandbox
    | ChannelTypeAdm
    | ChannelTypeSms
    | ChannelTypeVoice
    | ChannelTypeEmail
    | ChannelTypeBaidu
    | ChannelTypeCustom

The ChannelType data model.


type alias ChannelsResponse =
{ channels : MapOfChannelResponse }

The ChannelsResponse data model.


type alias CreateAppRequest =
{ createApplicationRequest : CreateApplicationRequest }

The CreateAppRequest data model.


type alias CreateAppResponse =
{ applicationResponse : ApplicationResponse }

The CreateAppResponse data model.


type alias CreateApplicationRequest =
{ name : String
, tags : Maybe MapOfString 
}

The CreateApplicationRequest data model.


type alias CreateCampaignRequest =
{ applicationId : String
, writeCampaignRequest : WriteCampaignRequest 
}

The CreateCampaignRequest data model.


type alias CreateCampaignResponse =
{ campaignResponse : CampaignResponse }

The CreateCampaignResponse data model.


type alias CreateExportJobRequest =
{ applicationId : String
, exportJobRequest : ExportJobRequest 
}

The CreateExportJobRequest data model.


type alias CreateExportJobResponse =
{ exportJobResponse : ExportJobResponse }

The CreateExportJobResponse data model.


type alias CreateImportJobRequest =
{ applicationId : String
, importJobRequest : ImportJobRequest 
}

The CreateImportJobRequest data model.


type alias CreateImportJobResponse =
{ importJobResponse : ImportJobResponse }

The CreateImportJobResponse data model.


type alias CreateSegmentRequest =
{ applicationId : String
, writeSegmentRequest : WriteSegmentRequest 
}

The CreateSegmentRequest data model.


type alias CreateSegmentResponse =
{ segmentResponse : SegmentResponse }

The CreateSegmentResponse data model.


type alias DefaultMessage =
{ body : Maybe String
, substitutions : Maybe MapOfListOfString 
}

The DefaultMessage data model.


type alias DefaultPushNotificationMessage =
{ action : Maybe Action
, body : Maybe String
, data : Maybe MapOfString
, silentPush : Maybe Basics.Bool
, substitutions : Maybe MapOfListOfString
, title : Maybe String
, url : Maybe String 
}

The DefaultPushNotificationMessage data model.


type alias DeleteAdmChannelRequest =
{ applicationId : String }

The DeleteAdmChannelRequest data model.


type alias DeleteAdmChannelResponse =
{ admchannelResponse : AdmchannelResponse }

The DeleteAdmChannelResponse data model.


type alias DeleteApnsChannelRequest =
{ applicationId : String }

The DeleteApnsChannelRequest data model.


type alias DeleteApnsChannelResponse =
{ apnschannelResponse : ApnschannelResponse }

The DeleteApnsChannelResponse data model.


type alias DeleteApnsSandboxChannelRequest =
{ applicationId : String }

The DeleteApnsSandboxChannelRequest data model.


type alias DeleteApnsSandboxChannelResponse =
{ apnssandboxChannelResponse : ApnssandboxChannelResponse }

The DeleteApnsSandboxChannelResponse data model.


type alias DeleteApnsVoipChannelRequest =
{ applicationId : String }

The DeleteApnsVoipChannelRequest data model.


type alias DeleteApnsVoipChannelResponse =
{ apnsvoipChannelResponse : ApnsvoipChannelResponse }

The DeleteApnsVoipChannelResponse data model.


type alias DeleteApnsVoipSandboxChannelRequest =
{ applicationId : String }

The DeleteApnsVoipSandboxChannelRequest data model.


type alias DeleteApnsVoipSandboxChannelResponse =
{ apnsvoipSandboxChannelResponse : ApnsvoipSandboxChannelResponse }

The DeleteApnsVoipSandboxChannelResponse data model.


type alias DeleteAppRequest =
{ applicationId : String }

The DeleteAppRequest data model.


type alias DeleteAppResponse =
{ applicationResponse : ApplicationResponse }

The DeleteAppResponse data model.


type alias DeleteBaiduChannelRequest =
{ applicationId : String }

The DeleteBaiduChannelRequest data model.


type alias DeleteBaiduChannelResponse =
{ baiduChannelResponse : BaiduChannelResponse }

The DeleteBaiduChannelResponse data model.


type alias DeleteCampaignRequest =
{ applicationId : String
, campaignId : String 
}

The DeleteCampaignRequest data model.


type alias DeleteCampaignResponse =
{ campaignResponse : CampaignResponse }

The DeleteCampaignResponse data model.


type alias DeleteEmailChannelRequest =
{ applicationId : String }

The DeleteEmailChannelRequest data model.


type alias DeleteEmailChannelResponse =
{ emailChannelResponse : EmailChannelResponse }

The DeleteEmailChannelResponse data model.


type alias DeleteEndpointRequest =
{ applicationId : String
, endpointId : String 
}

The DeleteEndpointRequest data model.


type alias DeleteEndpointResponse =
{ endpointResponse : EndpointResponse }

The DeleteEndpointResponse data model.


type alias DeleteEventStreamRequest =
{ applicationId : String }

The DeleteEventStreamRequest data model.


type alias DeleteEventStreamResponse =
{ eventStream : EventStream }

The DeleteEventStreamResponse data model.


type alias DeleteGcmChannelRequest =
{ applicationId : String }

The DeleteGcmChannelRequest data model.


type alias DeleteGcmChannelResponse =
{ gcmchannelResponse : GcmchannelResponse }

The DeleteGcmChannelResponse data model.


type alias DeleteSegmentRequest =
{ applicationId : String
, segmentId : String 
}

The DeleteSegmentRequest data model.


type alias DeleteSegmentResponse =
{ segmentResponse : SegmentResponse }

The DeleteSegmentResponse data model.


type alias DeleteSmsChannelRequest =
{ applicationId : String }

The DeleteSmsChannelRequest data model.


type alias DeleteSmsChannelResponse =
{ smschannelResponse : SmschannelResponse }

The DeleteSmsChannelResponse data model.


type alias DeleteUserEndpointsRequest =
{ applicationId : String
, userId : String 
}

The DeleteUserEndpointsRequest data model.


type alias DeleteUserEndpointsResponse =
{ endpointsResponse : EndpointsResponse }

The DeleteUserEndpointsResponse data model.


type alias DeleteVoiceChannelRequest =
{ applicationId : String }

The DeleteVoiceChannelRequest data model.


type alias DeleteVoiceChannelResponse =
{ voiceChannelResponse : VoiceChannelResponse }

The DeleteVoiceChannelResponse data model.


type DeliveryStatus
    = DeliveryStatusSuccessful
    | DeliveryStatusThrottled
    | DeliveryStatusTemporaryFailure
    | DeliveryStatusPermanentFailure
    | DeliveryStatusUnknownFailure
    | DeliveryStatusOptOut
    | DeliveryStatusDuplicate

The DeliveryStatus data model.


type DimensionType
    = DimensionTypeInclusive
    | DimensionTypeExclusive

The DimensionType data model.


type alias DirectMessageConfiguration =
{ admmessage : Maybe Admmessage
, apnsmessage : Maybe Apnsmessage
, baiduMessage : Maybe BaiduMessage
, defaultMessage : Maybe DefaultMessage
, defaultPushNotificationMessage : Maybe DefaultPushNotificationMessage
, emailMessage : Maybe EmailMessage
, gcmmessage : Maybe Gcmmessage
, smsmessage : Maybe Smsmessage
, voiceMessage : Maybe VoiceMessage 
}

The DirectMessageConfiguration data model.


type Duration
    = DurationHr24
    | DurationDay7
    | DurationDay14
    | DurationDay30

The Duration data model.


type alias EmailChannelRequest =
{ configurationSet : Maybe String
, enabled : Maybe Basics.Bool
, fromAddress : String
, identity : String
, roleArn : Maybe String 
}

The EmailChannelRequest data model.


type alias EmailChannelResponse =
{ applicationId : Maybe String
, configurationSet : Maybe String
, creationDate : Maybe String
, enabled : Maybe Basics.Bool
, fromAddress : Maybe String
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, identity : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, messagesPerSecond : Maybe Basics.Int
, platform : String
, roleArn : Maybe String
, version : Maybe Basics.Int 
}

The EmailChannelResponse data model.


type alias EmailMessage =
{ body : Maybe String
, feedbackForwardingAddress : Maybe String
, fromAddress : Maybe String
, rawEmail : Maybe RawEmail
, replyToAddresses : Maybe ListOfString
, simpleEmail : Maybe SimpleEmail
, substitutions : Maybe MapOfListOfString 
}

The EmailMessage data model.


type alias EndpointBatchItem =
{ address : Maybe String
, attributes : Maybe MapOfListOfString
, channelType : Maybe ChannelType
, demographic : Maybe EndpointDemographic
, effectiveDate : Maybe String
, endpointStatus : Maybe String
, id : Maybe String
, location : Maybe EndpointLocation
, metrics : Maybe MapOfDouble
, optOut : Maybe String
, requestId : Maybe String
, user : Maybe EndpointUser 
}

The EndpointBatchItem data model.


type alias EndpointBatchRequest =
{ item : ListOfEndpointBatchItem }

The EndpointBatchRequest data model.


type alias EndpointDemographic =
{ appVersion : Maybe String
, locale : Maybe String
, make : Maybe String
, model : Maybe String
, modelVersion : Maybe String
, platform : Maybe String
, platformVersion : Maybe String
, timezone : Maybe String 
}

The EndpointDemographic data model.


type alias EndpointItemResponse =
{ message : Maybe String
, statusCode : Maybe Basics.Int 
}

The EndpointItemResponse data model.


type alias EndpointLocation =
{ city : Maybe String
, country : Maybe String
, latitude : Maybe Basics.Float
, longitude : Maybe Basics.Float
, postalCode : Maybe String
, region : Maybe String 
}

The EndpointLocation data model.


type alias EndpointMessageResult =
{ address : Maybe String
, deliveryStatus : DeliveryStatus
, messageId : Maybe String
, statusCode : Basics.Int
, statusMessage : Maybe String
, updatedToken : Maybe String 
}

The EndpointMessageResult data model.


type alias EndpointRequest =
{ address : Maybe String
, attributes : Maybe MapOfListOfString
, channelType : Maybe ChannelType
, demographic : Maybe EndpointDemographic
, effectiveDate : Maybe String
, endpointStatus : Maybe String
, location : Maybe EndpointLocation
, metrics : Maybe MapOfDouble
, optOut : Maybe String
, requestId : Maybe String
, user : Maybe EndpointUser 
}

The EndpointRequest data model.


type alias EndpointResponse =
{ address : Maybe String
, applicationId : Maybe String
, attributes : Maybe MapOfListOfString
, channelType : Maybe ChannelType
, cohortId : Maybe String
, creationDate : Maybe String
, demographic : Maybe EndpointDemographic
, effectiveDate : Maybe String
, endpointStatus : Maybe String
, id : Maybe String
, location : Maybe EndpointLocation
, metrics : Maybe MapOfDouble
, optOut : Maybe String
, requestId : Maybe String
, user : Maybe EndpointUser 
}

The EndpointResponse data model.


type alias EndpointSendConfiguration =
{ bodyOverride : Maybe String
, context : Maybe MapOfString
, rawContent : Maybe String
, substitutions : Maybe MapOfListOfString
, titleOverride : Maybe String 
}

The EndpointSendConfiguration data model.


type alias EndpointUser =
{ userAttributes : Maybe MapOfListOfString
, userId : Maybe String 
}

The EndpointUser data model.


type alias EndpointsResponse =
{ item : ListOfEndpointResponse }

The EndpointsResponse data model.


type alias Event =
{ appPackageName : Maybe String
, appTitle : Maybe String
, appVersionCode : Maybe String
, attributes : Maybe MapOfString
, clientSdkVersion : Maybe String
, eventType : String
, metrics : Maybe MapOfDouble
, sdkName : Maybe String
, session : Maybe Session
, timestamp : String 
}

The Event data model.


type alias EventDimensions =
{ attributes : Maybe MapOfAttributeDimension
, eventType : Maybe SetDimension
, metrics : Maybe MapOfMetricDimension 
}

The EventDimensions data model.


type alias EventItemResponse =
{ message : Maybe String
, statusCode : Maybe Basics.Int 
}

The EventItemResponse data model.


type alias EventStream =
{ applicationId : String
, destinationStreamArn : String
, externalId : Maybe String
, lastModifiedDate : Maybe String
, lastUpdatedBy : Maybe String
, roleArn : String 
}

The EventStream data model.


type alias EventsBatch =
{ endpoint : PublicEndpoint
, events : MapOfEvent 
}

The EventsBatch data model.


type alias EventsRequest =
{ batchItem : MapOfEventsBatch }

The EventsRequest data model.


type alias EventsResponse =
{ results : Maybe MapOfItemResponse }

The EventsResponse data model.


type alias ExportJobRequest =
{ roleArn : String
, s3UrlPrefix : String
, segmentId : Maybe String
, segmentVersion : Maybe Basics.Int 
}

The ExportJobRequest data model.


type alias ExportJobResource =
{ roleArn : String
, s3UrlPrefix : String
, segmentId : Maybe String
, segmentVersion : Maybe Basics.Int 
}

The ExportJobResource data model.


type alias ExportJobResponse =
{ applicationId : String
, completedPieces : Maybe Basics.Int
, completionDate : Maybe String
, creationDate : String
, definition : ExportJobResource
, failedPieces : Maybe Basics.Int
, failures : Maybe ListOfString
, id : String
, jobStatus : JobStatus
, totalFailures : Maybe Basics.Int
, totalPieces : Maybe Basics.Int
, totalProcessed : Maybe Basics.Int
, type_ : String 
}

The ExportJobResponse data model.


type alias ExportJobsResponse =
{ item : ListOfExportJobResponse
, nextToken : Maybe String 
}

The ExportJobsResponse data model.


type FilterType
    = FilterTypeSystem
    | FilterTypeEndpoint

The FilterType data model.


type Format
    = FormatCsv
    | FormatJson

The Format data model.


type Frequency
    = FrequencyOnce
    | FrequencyHourly
    | FrequencyDaily
    | FrequencyWeekly
    | FrequencyMonthly
    | FrequencyEvent

The Frequency data model.


type alias GcmchannelRequest =
{ apiKey : String
, enabled : Maybe Basics.Bool 
}

The GcmchannelRequest data model.


type alias GcmchannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, credential : String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The GcmchannelResponse data model.


type alias Gcmmessage =
{ action : Maybe Action
, body : Maybe String
, collapseKey : Maybe String
, data : Maybe MapOfString
, iconReference : Maybe String
, imageIconUrl : Maybe String
, imageUrl : Maybe String
, priority : Maybe String
, rawContent : Maybe String
, restrictedPackageName : Maybe String
, silentPush : Maybe Basics.Bool
, smallImageIconUrl : Maybe String
, sound : Maybe String
, substitutions : Maybe MapOfListOfString
, timeToLive : Maybe Basics.Int
, title : Maybe String
, url : Maybe String 
}

The Gcmmessage data model.


type alias GetAdmChannelRequest =
{ applicationId : String }

The GetAdmChannelRequest data model.


type alias GetAdmChannelResponse =
{ admchannelResponse : AdmchannelResponse }

The GetAdmChannelResponse data model.


type alias GetApnsChannelRequest =
{ applicationId : String }

The GetApnsChannelRequest data model.


type alias GetApnsChannelResponse =
{ apnschannelResponse : ApnschannelResponse }

The GetApnsChannelResponse data model.


type alias GetApnsSandboxChannelRequest =
{ applicationId : String }

The GetApnsSandboxChannelRequest data model.


type alias GetApnsSandboxChannelResponse =
{ apnssandboxChannelResponse : ApnssandboxChannelResponse }

The GetApnsSandboxChannelResponse data model.


type alias GetApnsVoipChannelRequest =
{ applicationId : String }

The GetApnsVoipChannelRequest data model.


type alias GetApnsVoipChannelResponse =
{ apnsvoipChannelResponse : ApnsvoipChannelResponse }

The GetApnsVoipChannelResponse data model.


type alias GetApnsVoipSandboxChannelRequest =
{ applicationId : String }

The GetApnsVoipSandboxChannelRequest data model.


type alias GetApnsVoipSandboxChannelResponse =
{ apnsvoipSandboxChannelResponse : ApnsvoipSandboxChannelResponse }

The GetApnsVoipSandboxChannelResponse data model.


type alias GetAppRequest =
{ applicationId : String }

The GetAppRequest data model.


type alias GetAppResponse =
{ applicationResponse : ApplicationResponse }

The GetAppResponse data model.


type alias GetApplicationDateRangeKpiRequest =
{ applicationId : String
, endTime : Maybe String
, kpiName : String
, nextToken : Maybe String
, pageSize : Maybe String
, startTime : Maybe String 
}

The GetApplicationDateRangeKpiRequest data model.


type alias GetApplicationDateRangeKpiResponse =
{ applicationDateRangeKpiResponse : ApplicationDateRangeKpiResponse }

The GetApplicationDateRangeKpiResponse data model.


type alias GetApplicationSettingsRequest =
{ applicationId : String }

The GetApplicationSettingsRequest data model.


type alias GetApplicationSettingsResponse =
{ applicationSettingsResource : ApplicationSettingsResource }

The GetApplicationSettingsResponse data model.


type alias GetAppsRequest =
{ pageSize : Maybe String
, token : Maybe String 
}

The GetAppsRequest data model.


type alias GetAppsResponse =
{ applicationsResponse : ApplicationsResponse }

The GetAppsResponse data model.


type alias GetBaiduChannelRequest =
{ applicationId : String }

The GetBaiduChannelRequest data model.


type alias GetBaiduChannelResponse =
{ baiduChannelResponse : BaiduChannelResponse }

The GetBaiduChannelResponse data model.


type alias GetCampaignActivitiesRequest =
{ applicationId : String
, campaignId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetCampaignActivitiesRequest data model.


type alias GetCampaignActivitiesResponse =
{ activitiesResponse : ActivitiesResponse }

The GetCampaignActivitiesResponse data model.


type alias GetCampaignDateRangeKpiRequest =
{ applicationId : String
, campaignId : String
, endTime : Maybe String
, kpiName : String
, nextToken : Maybe String
, pageSize : Maybe String
, startTime : Maybe String 
}

The GetCampaignDateRangeKpiRequest data model.


type alias GetCampaignDateRangeKpiResponse =
{ campaignDateRangeKpiResponse : CampaignDateRangeKpiResponse }

The GetCampaignDateRangeKpiResponse data model.


type alias GetCampaignRequest =
{ applicationId : String
, campaignId : String 
}

The GetCampaignRequest data model.


type alias GetCampaignResponse =
{ campaignResponse : CampaignResponse }

The GetCampaignResponse data model.


type alias GetCampaignVersionRequest =
{ applicationId : String
, campaignId : String
, version : String 
}

The GetCampaignVersionRequest data model.


type alias GetCampaignVersionResponse =
{ campaignResponse : CampaignResponse }

The GetCampaignVersionResponse data model.


type alias GetCampaignVersionsRequest =
{ applicationId : String
, campaignId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetCampaignVersionsRequest data model.


type alias GetCampaignVersionsResponse =
{ campaignsResponse : CampaignsResponse }

The GetCampaignVersionsResponse data model.


type alias GetCampaignsRequest =
{ applicationId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetCampaignsRequest data model.


type alias GetCampaignsResponse =
{ campaignsResponse : CampaignsResponse }

The GetCampaignsResponse data model.


type alias GetChannelsRequest =
{ applicationId : String }

The GetChannelsRequest data model.


type alias GetChannelsResponse =
{ channelsResponse : ChannelsResponse }

The GetChannelsResponse data model.


type alias GetEmailChannelRequest =
{ applicationId : String }

The GetEmailChannelRequest data model.


type alias GetEmailChannelResponse =
{ emailChannelResponse : EmailChannelResponse }

The GetEmailChannelResponse data model.


type alias GetEndpointRequest =
{ applicationId : String
, endpointId : String 
}

The GetEndpointRequest data model.


type alias GetEndpointResponse =
{ endpointResponse : EndpointResponse }

The GetEndpointResponse data model.


type alias GetEventStreamRequest =
{ applicationId : String }

The GetEventStreamRequest data model.


type alias GetEventStreamResponse =
{ eventStream : EventStream }

The GetEventStreamResponse data model.


type alias GetExportJobRequest =
{ applicationId : String
, jobId : String 
}

The GetExportJobRequest data model.


type alias GetExportJobResponse =
{ exportJobResponse : ExportJobResponse }

The GetExportJobResponse data model.


type alias GetExportJobsRequest =
{ applicationId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetExportJobsRequest data model.


type alias GetExportJobsResponse =
{ exportJobsResponse : ExportJobsResponse }

The GetExportJobsResponse data model.


type alias GetGcmChannelRequest =
{ applicationId : String }

The GetGcmChannelRequest data model.


type alias GetGcmChannelResponse =
{ gcmchannelResponse : GcmchannelResponse }

The GetGcmChannelResponse data model.


type alias GetImportJobRequest =
{ applicationId : String
, jobId : String 
}

The GetImportJobRequest data model.


type alias GetImportJobResponse =
{ importJobResponse : ImportJobResponse }

The GetImportJobResponse data model.


type alias GetImportJobsRequest =
{ applicationId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetImportJobsRequest data model.


type alias GetImportJobsResponse =
{ importJobsResponse : ImportJobsResponse }

The GetImportJobsResponse data model.


type alias GetSegmentExportJobsRequest =
{ applicationId : String
, pageSize : Maybe String
, segmentId : String
, token : Maybe String 
}

The GetSegmentExportJobsRequest data model.


type alias GetSegmentExportJobsResponse =
{ exportJobsResponse : ExportJobsResponse }

The GetSegmentExportJobsResponse data model.


type alias GetSegmentImportJobsRequest =
{ applicationId : String
, pageSize : Maybe String
, segmentId : String
, token : Maybe String 
}

The GetSegmentImportJobsRequest data model.


type alias GetSegmentImportJobsResponse =
{ importJobsResponse : ImportJobsResponse }

The GetSegmentImportJobsResponse data model.


type alias GetSegmentRequest =
{ applicationId : String
, segmentId : String 
}

The GetSegmentRequest data model.


type alias GetSegmentResponse =
{ segmentResponse : SegmentResponse }

The GetSegmentResponse data model.


type alias GetSegmentVersionRequest =
{ applicationId : String
, segmentId : String
, version : String 
}

The GetSegmentVersionRequest data model.


type alias GetSegmentVersionResponse =
{ segmentResponse : SegmentResponse }

The GetSegmentVersionResponse data model.


type alias GetSegmentVersionsRequest =
{ applicationId : String
, pageSize : Maybe String
, segmentId : String
, token : Maybe String 
}

The GetSegmentVersionsRequest data model.


type alias GetSegmentVersionsResponse =
{ segmentsResponse : SegmentsResponse }

The GetSegmentVersionsResponse data model.


type alias GetSegmentsRequest =
{ applicationId : String
, pageSize : Maybe String
, token : Maybe String 
}

The GetSegmentsRequest data model.


type alias GetSegmentsResponse =
{ segmentsResponse : SegmentsResponse }

The GetSegmentsResponse data model.


type alias GetSmsChannelRequest =
{ applicationId : String }

The GetSmsChannelRequest data model.


type alias GetSmsChannelResponse =
{ smschannelResponse : SmschannelResponse }

The GetSmsChannelResponse data model.


type alias GetUserEndpointsRequest =
{ applicationId : String
, userId : String 
}

The GetUserEndpointsRequest data model.


type alias GetUserEndpointsResponse =
{ endpointsResponse : EndpointsResponse }

The GetUserEndpointsResponse data model.


type alias GetVoiceChannelRequest =
{ applicationId : String }

The GetVoiceChannelRequest data model.


type alias GetVoiceChannelResponse =
{ voiceChannelResponse : VoiceChannelResponse }

The GetVoiceChannelResponse data model.


type alias Gpscoordinates =
{ latitude : Basics.Float
, longitude : Basics.Float 
}

The Gpscoordinates data model.


type alias GpspointDimension =
{ coordinates : Gpscoordinates
, rangeInKilometers : Maybe Basics.Float 
}

The GpspointDimension data model.


type alias ImportJobRequest =
{ defineSegment : Maybe Basics.Bool
, externalId : Maybe String
, format : Format
, registerEndpoints : Maybe Basics.Bool
, roleArn : String
, s3Url : String
, segmentId : Maybe String
, segmentName : Maybe String 
}

The ImportJobRequest data model.


type alias ImportJobResource =
{ defineSegment : Maybe Basics.Bool
, externalId : Maybe String
, format : Format
, registerEndpoints : Maybe Basics.Bool
, roleArn : String
, s3Url : String
, segmentId : Maybe String
, segmentName : Maybe String 
}

The ImportJobResource data model.


type alias ImportJobResponse =
{ applicationId : String
, completedPieces : Maybe Basics.Int
, completionDate : Maybe String
, creationDate : String
, definition : ImportJobResource
, failedPieces : Maybe Basics.Int
, failures : Maybe ListOfString
, id : String
, jobStatus : JobStatus
, totalFailures : Maybe Basics.Int
, totalPieces : Maybe Basics.Int
, totalProcessed : Maybe Basics.Int
, type_ : String 
}

The ImportJobResponse data model.


type alias ImportJobsResponse =
{ item : ListOfImportJobResponse
, nextToken : Maybe String 
}

The ImportJobsResponse data model.


type Include
    = IncludeAll
    | IncludeAny
    | IncludeNone

The Include data model.


type alias ItemResponse =
{ endpointItemResponse : Maybe EndpointItemResponse
, eventsItemResponse : Maybe MapOfEventItemResponse 
}

The ItemResponse data model.


type JobStatus
    = JobStatusCreated
    | JobStatusInitializing
    | JobStatusProcessing
    | JobStatusCompleting
    | JobStatusCompleted
    | JobStatusFailing
    | JobStatusFailed

The JobStatus data model.


type alias ListOfActivityResponse =
List ActivityResponse

The ListOfActivityResponse data model.


type alias ListOfApplicationResponse =
List ApplicationResponse

The ListOfApplicationResponse data model.


type alias ListOfCampaignResponse =
List CampaignResponse

The ListOfCampaignResponse data model.


type alias ListOfEndpointBatchItem =
List EndpointBatchItem

The ListOfEndpointBatchItem data model.


type alias ListOfEndpointResponse =
List EndpointResponse

The ListOfEndpointResponse data model.


type alias ListOfExportJobResponse =
List ExportJobResponse

The ListOfExportJobResponse data model.


type alias ListOfImportJobResponse =
List ImportJobResponse

The ListOfImportJobResponse data model.


type alias ListOfResultRow =
List ResultRow

The ListOfResultRow data model.


type alias ListOfResultRowValue =
List ResultRowValue

The ListOfResultRowValue data model.


type alias ListOfSegmentDimensions =
List SegmentDimensions

The ListOfSegmentDimensions data model.


type alias ListOfSegmentGroup =
List SegmentGroup

The ListOfSegmentGroup data model.


type alias ListOfSegmentReference =
List SegmentReference

The ListOfSegmentReference data model.


type alias ListOfSegmentResponse =
List SegmentResponse

The ListOfSegmentResponse data model.


type alias ListOfString =
List String

The ListOfString data model.


type alias ListOfTreatmentResource =
List TreatmentResource

The ListOfTreatmentResource data model.


type alias ListOfWriteTreatmentResource =
List WriteTreatmentResource

The ListOfWriteTreatmentResource data model.


type alias ListTagsForResourceRequest =
{ resourceArn : String }

The ListTagsForResourceRequest data model.


type alias ListTagsForResourceResponse =
{ tagsModel : TagsModel }

The ListTagsForResourceResponse data model.


type alias MapOfAddressConfiguration =
Dict String AddressConfiguration

The MapOfAddressConfiguration data model.


type alias MapOfAttributeDimension =
Dict String AttributeDimension

The MapOfAttributeDimension data model.


type alias MapOfChannelResponse =
Dict String ChannelResponse

The MapOfChannelResponse data model.


type alias MapOfDouble =
Dict String Basics.Float

The MapOfDouble data model.


type alias MapOfEndpointMessageResult =
Dict String EndpointMessageResult

The MapOfEndpointMessageResult data model.


type alias MapOfEndpointSendConfiguration =
Dict String EndpointSendConfiguration

The MapOfEndpointSendConfiguration data model.


type alias MapOfEvent =
Dict String Event

The MapOfEvent data model.


type alias MapOfEventItemResponse =
Dict String EventItemResponse

The MapOfEventItemResponse data model.


type alias MapOfEventsBatch =
Dict String EventsBatch

The MapOfEventsBatch data model.


type alias MapOfInteger =
Dict String Basics.Int

The MapOfInteger data model.


type alias MapOfItemResponse =
Dict String ItemResponse

The MapOfItemResponse data model.


type alias MapOfListOfString =
Dict String ListOfString

The MapOfListOfString data model.


type alias MapOfMapOfEndpointMessageResult =
Dict String MapOfEndpointMessageResult

The MapOfMapOfEndpointMessageResult data model.


type alias MapOfMessageResult =
Dict String MessageResult

The MapOfMessageResult data model.


type alias MapOfMetricDimension =
Dict String MetricDimension

The MapOfMetricDimension data model.


type alias MapOfString =
Dict String String

The MapOfString data model.


type alias Message =
{ action : Maybe Action
, body : Maybe String
, imageIconUrl : Maybe String
, imageSmallIconUrl : Maybe String
, imageUrl : Maybe String
, jsonBody : Maybe String
, mediaUrl : Maybe String
, rawContent : Maybe String
, silentPush : Maybe Basics.Bool
, timeToLive : Maybe Basics.Int
, title : Maybe String
, url : Maybe String 
}

The Message data model.


type alias MessageBody =
{ message : Maybe String
, requestId : Maybe String 
}

The MessageBody data model.


type alias MessageConfiguration =
{ admmessage : Maybe Message
, apnsmessage : Maybe Message
, baiduMessage : Maybe Message
, defaultMessage : Maybe Message
, emailMessage : Maybe CampaignEmailMessage
, gcmmessage : Maybe Message
, smsmessage : Maybe CampaignSmsMessage 
}

The MessageConfiguration data model.


type alias MessageRequest =
{ addresses : Maybe MapOfAddressConfiguration
, context : Maybe MapOfString
, endpoints : Maybe MapOfEndpointSendConfiguration
, messageConfiguration : DirectMessageConfiguration
, traceId : Maybe String 
}

The MessageRequest data model.


type alias MessageResponse =
{ applicationId : String
, endpointResult : Maybe MapOfEndpointMessageResult
, requestId : Maybe String
, result : Maybe MapOfMessageResult 
}

The MessageResponse data model.


type alias MessageResult =
{ deliveryStatus : DeliveryStatus
, messageId : Maybe String
, statusCode : Basics.Int
, statusMessage : Maybe String
, updatedToken : Maybe String 
}

The MessageResult data model.


type MessageType
    = MessageTypeTransactional
    | MessageTypePromotional

The MessageType data model.


type alias MetricDimension =
{ comparisonOperator : String
, value : Basics.Float 
}

The MetricDimension data model.


type Mode
    = ModeDelivery
    | ModeFilter

The Mode data model.


type alias NumberValidateRequest =
{ isoCountryCode : Maybe String
, phoneNumber : Maybe String 
}

The NumberValidateRequest data model.


type alias NumberValidateResponse =
{ carrier : Maybe String
, city : Maybe String
, cleansedPhoneNumberE164 : Maybe String
, cleansedPhoneNumberNational : Maybe String
, country : Maybe String
, countryCodeIso2 : Maybe String
, countryCodeNumeric : Maybe String
, county : Maybe String
, originalCountryCodeIso2 : Maybe String
, originalPhoneNumber : Maybe String
, phoneType : Maybe String
, phoneTypeCode : Maybe Basics.Int
, timezone : Maybe String
, zipCode : Maybe String 
}

The NumberValidateResponse data model.


type alias PhoneNumberValidateRequest =
{ numberValidateRequest : NumberValidateRequest }

The PhoneNumberValidateRequest data model.


type alias PhoneNumberValidateResponse =
{ numberValidateResponse : NumberValidateResponse }

The PhoneNumberValidateResponse data model.


type alias PublicEndpoint =
{ address : Maybe String
, attributes : Maybe MapOfListOfString
, channelType : Maybe ChannelType
, demographic : Maybe EndpointDemographic
, effectiveDate : Maybe String
, endpointStatus : Maybe String
, location : Maybe EndpointLocation
, metrics : Maybe MapOfDouble
, optOut : Maybe String
, requestId : Maybe String
, user : Maybe EndpointUser 
}

The PublicEndpoint data model.


type alias PutEventStreamRequest =
{ applicationId : String
, writeEventStream : WriteEventStream 
}

The PutEventStreamRequest data model.


type alias PutEventStreamResponse =
{ eventStream : EventStream }

The PutEventStreamResponse data model.


type alias PutEventsRequest =
{ applicationId : String
, eventsRequest : EventsRequest 
}

The PutEventsRequest data model.


type alias PutEventsResponse =
{ eventsResponse : EventsResponse }

The PutEventsResponse data model.


type alias QuietTime =
{ end : Maybe String
, start : Maybe String 
}

The QuietTime data model.


type alias RawEmail =
{ data : Maybe String }

The RawEmail data model.


type alias RecencyDimension =
{ duration : Duration
, recencyType : RecencyType 
}

The RecencyDimension data model.


type RecencyType
    = RecencyTypeActive
    | RecencyTypeInactive

The RecencyType data model.


type alias RemoveAttributesRequest =
{ applicationId : String
, attributeType : String
, updateAttributesRequest : UpdateAttributesRequest 
}

The RemoveAttributesRequest data model.


type alias RemoveAttributesResponse =
{ attributesResource : AttributesResource }

The RemoveAttributesResponse data model.


type alias ResultRow =
{ groupedBys : ListOfResultRowValue
, values : ListOfResultRowValue 
}

The ResultRow data model.


type alias ResultRowValue =
{ key : String
, type_ : String
, value : String 
}

The ResultRowValue data model.


type alias Schedule =
{ endTime : Maybe String
, eventFilter : Maybe CampaignEventFilter
, frequency : Maybe Frequency
, isLocalTime : Maybe Basics.Bool
, quietTime : Maybe QuietTime
, startTime : String
, timezone : Maybe String 
}

The Schedule data model.


type alias SegmentBehaviors =
{ recency : Maybe RecencyDimension }

The SegmentBehaviors data model.


type alias SegmentDemographics =
{ appVersion : Maybe SetDimension
, channel : Maybe SetDimension
, deviceType : Maybe SetDimension
, make : Maybe SetDimension
, model : Maybe SetDimension
, platform : Maybe SetDimension 
}

The SegmentDemographics data model.


type alias SegmentDimensions =
{ attributes : Maybe MapOfAttributeDimension
, behavior : Maybe SegmentBehaviors
, demographic : Maybe SegmentDemographics
, location : Maybe SegmentLocation
, metrics : Maybe MapOfMetricDimension
, userAttributes : Maybe MapOfAttributeDimension 
}

The SegmentDimensions data model.


type alias SegmentGroup =
{ dimensions : Maybe ListOfSegmentDimensions
, sourceSegments : Maybe ListOfSegmentReference
, sourceType : Maybe SourceType
, type_ : Maybe Type 
}

The SegmentGroup data model.


type alias SegmentGroupList =
{ groups : Maybe ListOfSegmentGroup
, include : Maybe Include 
}

The SegmentGroupList data model.


type alias SegmentImportResource =
{ channelCounts : Maybe MapOfInteger
, externalId : String
, format : Format
, roleArn : String
, s3Url : String
, size : Basics.Int 
}

The SegmentImportResource data model.


type alias SegmentLocation =
{ country : Maybe SetDimension
, gpspoint : Maybe GpspointDimension 
}

The SegmentLocation data model.


type alias SegmentReference =
{ id : String
, version : Maybe Basics.Int 
}

The SegmentReference data model.


type alias SegmentResponse =
{ applicationId : String
, arn : String
, creationDate : String
, dimensions : Maybe SegmentDimensions
, id : String
, importDefinition : Maybe SegmentImportResource
, lastModifiedDate : Maybe String
, name : Maybe String
, segmentGroups : Maybe SegmentGroupList
, segmentType : SegmentType
, version : Maybe Basics.Int
, tags : Maybe MapOfString 
}

The SegmentResponse data model.


type SegmentType
    = SegmentTypeDimensional
    | SegmentTypeImport

The SegmentType data model.


type alias SegmentsResponse =
{ item : ListOfSegmentResponse
, nextToken : Maybe String 
}

The SegmentsResponse data model.


type alias SendMessagesRequest =
{ applicationId : String
, messageRequest : MessageRequest 
}

The SendMessagesRequest data model.


type alias SendMessagesResponse =
{ messageResponse : MessageResponse }

The SendMessagesResponse data model.


type alias SendUsersMessageRequest =
{ context : Maybe MapOfString
, messageConfiguration : DirectMessageConfiguration
, traceId : Maybe String
, users : MapOfEndpointSendConfiguration 
}

The SendUsersMessageRequest data model.


type alias SendUsersMessageResponse =
{ applicationId : String
, requestId : Maybe String
, result : Maybe MapOfMapOfEndpointMessageResult 
}

The SendUsersMessageResponse data model.


type alias SendUsersMessagesRequest =
{ applicationId : String
, sendUsersMessageRequest : SendUsersMessageRequest 
}

The SendUsersMessagesRequest data model.


type alias SendUsersMessagesResponse =
{ sendUsersMessageResponse : SendUsersMessageResponse }

The SendUsersMessagesResponse data model.


type alias Session =
{ duration : Maybe Basics.Int
, id : String
, startTimestamp : String
, stopTimestamp : Maybe String 
}

The Session data model.


type alias SetDimension =
{ dimensionType : Maybe DimensionType
, values : ListOfString 
}

The SetDimension data model.


type alias SimpleEmail =
{ htmlPart : Maybe SimpleEmailPart
, subject : Maybe SimpleEmailPart
, textPart : Maybe SimpleEmailPart 
}

The SimpleEmail data model.


type alias SimpleEmailPart =
{ charset : Maybe String
, data : Maybe String 
}

The SimpleEmailPart data model.


type alias SmschannelRequest =
{ enabled : Maybe Basics.Bool
, senderId : Maybe String
, shortCode : Maybe String 
}

The SmschannelRequest data model.


type alias SmschannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, promotionalMessagesPerSecond : Maybe Basics.Int
, senderId : Maybe String
, shortCode : Maybe String
, transactionalMessagesPerSecond : Maybe Basics.Int
, version : Maybe Basics.Int 
}

The SmschannelResponse data model.


type alias Smsmessage =
{ body : Maybe String
, keyword : Maybe String
, messageType : Maybe MessageType
, originationNumber : Maybe String
, senderId : Maybe String
, substitutions : Maybe MapOfListOfString 
}

The Smsmessage data model.


type SourceType
    = SourceTypeAll
    | SourceTypeAny
    | SourceTypeNone

The SourceType data model.


type alias TagResourceRequest =
{ resourceArn : String
, tagsModel : TagsModel 
}

The TagResourceRequest data model.


type alias TagsModel =
{ tags : MapOfString }

The TagsModel data model.


type alias TreatmentResource =
{ id : String
, messageConfiguration : Maybe MessageConfiguration
, schedule : Maybe Schedule
, sizePercent : Basics.Int
, state : Maybe CampaignState
, treatmentDescription : Maybe String
, treatmentName : Maybe String 
}

The TreatmentResource data model.


type Type
    = TypeAll
    | TypeAny
    | TypeNone

The Type data model.


type alias UntagResourceRequest =
{ resourceArn : String
, tagKeys : ListOfString 
}

The UntagResourceRequest data model.


type alias UpdateAdmChannelRequest =
{ admchannelRequest : AdmchannelRequest
, applicationId : String 
}

The UpdateAdmChannelRequest data model.


type alias UpdateAdmChannelResponse =
{ admchannelResponse : AdmchannelResponse }

The UpdateAdmChannelResponse data model.


type alias UpdateApnsChannelRequest =
{ apnschannelRequest : ApnschannelRequest
, applicationId : String 
}

The UpdateApnsChannelRequest data model.


type alias UpdateApnsChannelResponse =
{ apnschannelResponse : ApnschannelResponse }

The UpdateApnsChannelResponse data model.


type alias UpdateApnsSandboxChannelRequest =
{ apnssandboxChannelRequest : ApnssandboxChannelRequest
, applicationId : String 
}

The UpdateApnsSandboxChannelRequest data model.


type alias UpdateApnsSandboxChannelResponse =
{ apnssandboxChannelResponse : ApnssandboxChannelResponse }

The UpdateApnsSandboxChannelResponse data model.


type alias UpdateApnsVoipChannelRequest =
{ apnsvoipChannelRequest : ApnsvoipChannelRequest
, applicationId : String 
}

The UpdateApnsVoipChannelRequest data model.


type alias UpdateApnsVoipChannelResponse =
{ apnsvoipChannelResponse : ApnsvoipChannelResponse }

The UpdateApnsVoipChannelResponse data model.


type alias UpdateApnsVoipSandboxChannelRequest =
{ apnsvoipSandboxChannelRequest : ApnsvoipSandboxChannelRequest
, applicationId : String 
}

The UpdateApnsVoipSandboxChannelRequest data model.


type alias UpdateApnsVoipSandboxChannelResponse =
{ apnsvoipSandboxChannelResponse : ApnsvoipSandboxChannelResponse }

The UpdateApnsVoipSandboxChannelResponse data model.


type alias UpdateApplicationSettingsRequest =
{ applicationId : String
, writeApplicationSettingsRequest : WriteApplicationSettingsRequest 
}

The UpdateApplicationSettingsRequest data model.


type alias UpdateApplicationSettingsResponse =
{ applicationSettingsResource : ApplicationSettingsResource }

The UpdateApplicationSettingsResponse data model.


type alias UpdateAttributesRequest =
{ blacklist : Maybe ListOfString }

The UpdateAttributesRequest data model.


type alias UpdateBaiduChannelRequest =
{ applicationId : String
, baiduChannelRequest : BaiduChannelRequest 
}

The UpdateBaiduChannelRequest data model.


type alias UpdateBaiduChannelResponse =
{ baiduChannelResponse : BaiduChannelResponse }

The UpdateBaiduChannelResponse data model.


type alias UpdateCampaignRequest =
{ applicationId : String
, campaignId : String
, writeCampaignRequest : WriteCampaignRequest 
}

The UpdateCampaignRequest data model.


type alias UpdateCampaignResponse =
{ campaignResponse : CampaignResponse }

The UpdateCampaignResponse data model.


type alias UpdateEmailChannelRequest =
{ applicationId : String
, emailChannelRequest : EmailChannelRequest 
}

The UpdateEmailChannelRequest data model.


type alias UpdateEmailChannelResponse =
{ emailChannelResponse : EmailChannelResponse }

The UpdateEmailChannelResponse data model.


type alias UpdateEndpointRequest =
{ applicationId : String
, endpointId : String
, endpointRequest : EndpointRequest 
}

The UpdateEndpointRequest data model.


type alias UpdateEndpointResponse =
{ messageBody : MessageBody }

The UpdateEndpointResponse data model.


type alias UpdateEndpointsBatchRequest =
{ applicationId : String
, endpointBatchRequest : EndpointBatchRequest 
}

The UpdateEndpointsBatchRequest data model.


type alias UpdateEndpointsBatchResponse =
{ messageBody : MessageBody }

The UpdateEndpointsBatchResponse data model.


type alias UpdateGcmChannelRequest =
{ applicationId : String
, gcmchannelRequest : GcmchannelRequest 
}

The UpdateGcmChannelRequest data model.


type alias UpdateGcmChannelResponse =
{ gcmchannelResponse : GcmchannelResponse }

The UpdateGcmChannelResponse data model.


type alias UpdateSegmentRequest =
{ applicationId : String
, segmentId : String
, writeSegmentRequest : WriteSegmentRequest 
}

The UpdateSegmentRequest data model.


type alias UpdateSegmentResponse =
{ segmentResponse : SegmentResponse }

The UpdateSegmentResponse data model.


type alias UpdateSmsChannelRequest =
{ applicationId : String
, smschannelRequest : SmschannelRequest 
}

The UpdateSmsChannelRequest data model.


type alias UpdateSmsChannelResponse =
{ smschannelResponse : SmschannelResponse }

The UpdateSmsChannelResponse data model.


type alias UpdateVoiceChannelRequest =
{ applicationId : String
, voiceChannelRequest : VoiceChannelRequest 
}

The UpdateVoiceChannelRequest data model.


type alias UpdateVoiceChannelResponse =
{ voiceChannelResponse : VoiceChannelResponse }

The UpdateVoiceChannelResponse data model.


type alias VoiceChannelRequest =
{ enabled : Maybe Basics.Bool }

The VoiceChannelRequest data model.


type alias VoiceChannelResponse =
{ applicationId : Maybe String
, creationDate : Maybe String
, enabled : Maybe Basics.Bool
, hasCredential : Maybe Basics.Bool
, id : Maybe String
, isArchived : Maybe Basics.Bool
, lastModifiedBy : Maybe String
, lastModifiedDate : Maybe String
, platform : String
, version : Maybe Basics.Int 
}

The VoiceChannelResponse data model.


type alias VoiceMessage =
{ body : Maybe String
, languageCode : Maybe String
, originationNumber : Maybe String
, substitutions : Maybe MapOfListOfString
, voiceId : Maybe String 
}

The VoiceMessage data model.


type alias WriteApplicationSettingsRequest =
{ campaignHook : Maybe CampaignHook
, cloudWatchMetricsEnabled : Maybe Basics.Bool
, limits : Maybe CampaignLimits
, quietTime : Maybe QuietTime 
}

The WriteApplicationSettingsRequest data model.


type alias WriteCampaignRequest =
{ additionalTreatments : Maybe ListOfWriteTreatmentResource
, description : Maybe String
, holdoutPercent : Maybe Basics.Int
, hook : Maybe CampaignHook
, isPaused : Maybe Basics.Bool
, limits : Maybe CampaignLimits
, messageConfiguration : Maybe MessageConfiguration
, name : Maybe String
, schedule : Maybe Schedule
, segmentId : Maybe String
, segmentVersion : Maybe Basics.Int
, treatmentDescription : Maybe String
, treatmentName : Maybe String
, tags : Maybe MapOfString 
}

The WriteCampaignRequest data model.


type alias WriteEventStream =
{ destinationStreamArn : String
, roleArn : String 
}

The WriteEventStream data model.


type alias WriteSegmentRequest =
{ dimensions : Maybe SegmentDimensions
, name : Maybe String
, segmentGroups : Maybe SegmentGroupList
, tags : Maybe MapOfString 
}

The WriteSegmentRequest data model.


type alias WriteTreatmentResource =
{ messageConfiguration : Maybe MessageConfiguration
, schedule : Maybe Schedule
, sizePercent : Basics.Int
, treatmentDescription : Maybe String
, treatmentName : Maybe String 
}

The WriteTreatmentResource data model.

action : Enum Action

The Action data model.

attributeType : Enum AttributeType

The AttributeType data model.

campaignStatus : Enum CampaignStatus

The CampaignStatus data model.

channelType : Enum ChannelType

The ChannelType data model.

deliveryStatus : Enum DeliveryStatus

The DeliveryStatus data model.

dimensionType : Enum DimensionType

The DimensionType data model.

duration : Enum Duration

The Duration data model.

filterType : Enum FilterType

The FilterType data model.

format : Enum Format

The Format data model.

frequency : Enum Frequency

The Frequency data model.

include : Enum Include

The Include data model.

jobStatus : Enum JobStatus

The JobStatus data model.

messageType : Enum MessageType

The MessageType data model.

mode : Enum Mode

The Mode data model.

recencyType : Enum RecencyType

The RecencyType data model.

segmentType : Enum SegmentType

The SegmentType data model.

sourceType : Enum SourceType

The SourceType data model.

type_ : Enum Type

The Type data model.