String applicationId
The unique identifier for the application that the campaign applies to.
String campaignId
The unique identifier for the campaign that the activity applies to.
String end
The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.
String id
The unique identifier for the activity.
String result
Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.
String scheduledStart
The scheduled start time, in ISO 8601 format, for the activity.
String start
The actual start time, in ISO 8601 format, of the activity.
String state
The state of the activity. Possible values are: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.
Integer successfulEndpointCount
The total number of endpoints that the campaign successfully delivered messages to.
Integer timezonesCompletedCount
The total number of time zones that were completed.
Integer timezonesTotalCount
The total number of unique time zones that are in the segment for the campaign.
Integer totalEndpointCount
The total number of endpoints that the campaign attempted to deliver messages to.
String treatmentId
The unique identifier for the campaign treatment that the activity applies to. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
String bodyOverride
The message body to use instead of the default message body. This value overrides the default message body.
String channelType
The channel to use when sending the message.
Map<K,V> context
An object that maps custom attributes to attributes for the address and is attached to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
Map<K,V> substitutions
An object that maps variable values for the message. Amazon Pinpoint merges these values with the variable values specified by properties of the DefaultMessage object. The substitutions in this map take precedence over all other substitutions.
String titleOverride
The message title to use instead of the default message title. This value overrides the default message title.
String clientId
The Client ID that you received from Amazon to send messages by using ADM.
String clientSecret
The Client Secret that you received from Amazon to send messages by using ADM.
Boolean enabled
Specifies whether to enable the ADM channel for the application.
String applicationId
The unique identifier for the application that the ADM channel applies to.
String creationDate
The date and time when the ADM channel was enabled.
Boolean enabled
Specifies whether the ADM channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the ADM channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the ADM channel is archived.
String lastModifiedBy
The user who last modified the ADM channel.
String lastModifiedDate
The date and time when the ADM channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the ADM channel, this value is ADM.
Integer version
The current version of the ADM channel.
String action
The action to occur if the recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
String body
The body of the notification message.
String consolidationKey
An arbitrary string that indicates that multiple messages are logically the same and that Amazon Device Messaging (ADM) can drop previously enqueued messages in favor of this message.
Map<K,V> data
The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
String expiresAfter
The amount of time, in seconds, that ADM should store the message if the recipient's device is offline. Amazon Pinpoint specifies this value in the expiresAfter parameter when it sends the notification message to ADM.
String iconReference
The icon image name of the asset saved in your app.
String imageIconUrl
The URL of the large icon image to display in the content view of the push notification.
String imageUrl
The URL of an image to display in the push notification.
String mD5
The base64-encoded, MD5 checksum of the value specified by the Data property. ADM uses the MD5 value to verify the integrity of the data.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
Boolean silentPush
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
String smallImageIconUrl
The URL of the small icon image to display in the status bar and the content view of the push notification.
String sound
The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
Map<K,V> substitutions
The default message variables to use in the notification message. You can override the default variables with individual address variables.
String title
The title to display above the notification message on the recipient's device.
String url
The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
String bundleId
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
String certificate
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
String defaultAuthenticationMethod
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
Boolean enabled
Specifies whether to enable the APNs channel for the application.
String privateKey
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
String teamId
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
String tokenKey
The authentication key to use for APNs tokens.
String tokenKeyId
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
String applicationId
The unique identifier for the application that the APNs channel applies to.
String creationDate
The date and time when the APNs channel was enabled.
String defaultAuthenticationMethod
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
Boolean enabled
Specifies whether the APNs channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
Boolean hasTokenKey
Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
String id
(Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the APNs channel is archived.
String lastModifiedBy
The user who last modified the APNs channel.
String lastModifiedDate
The date and time when the APNs channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.
Integer version
The current version of the APNs channel.
String action
The action to occur if the recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS platform.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Integer badge
The key that indicates whether and how to modify the badge of your app's icon when the recipient receives the push notification. If this key isn't included in the dictionary, the badge doesn't change. To remove the badge, set this value to 0.
String body
The body of the notification message.
String category
The key that indicates the notification type for the push notification. This key is a value that's defined by the identifier property of one of your app's registered categories.
String collapseId
An arbitrary identifier that, if assigned to multiple messages, APNs uses to coalesce the messages into a single push notification instead of delivering each message individually. This value can't exceed 64 bytes.
Amazon Pinpoint specifies this value in the apns-collapse-id request header when it sends the notification message to APNs.
Map<K,V> data
The JSON payload to use for a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
String mediaUrl
The URL of an image or video to display in the push notification.
String preferredAuthenticationMethod
The authentication method that you want Amazon Pinpoint to use when authenticating with Apple Push Notification service (APNs), CERTIFICATE or TOKEN.
String priority
para>5 - Low priority, the notification might be delayed, delivered as part of a group, or throttled.
/listitem>10 - High priority, the notification is sent immediately. This is the default value. A high priority notification should trigger an alert, play a sound, or badge your app's icon on the recipient's device.
Amazon Pinpoint specifies this value in the apns-priority request header when it sends the notification message to APNs.
The equivalent values for Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), are normal, for 5, and high, for 10. If you specify an FCM value for this property, Amazon Pinpoint accepts and converts the value to the corresponding APNs value.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
Boolean silentPush
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
String sound
The key for the sound to play when the recipient receives the push notification. The value of this key is the name of a sound file in your app's main bundle or the Library/Sounds folder in your app's data container. If the sound file can't be found or you specify default for the value, the system plays the default alert sound.
Map<K,V> substitutions
The default message variables to use in the notification message. You can override these default variables with individual address variables.
String threadId
The key that represents your app-specific identifier for grouping notifications. If you provide a Notification Content app extension, you can use this value to group your notifications together.
Integer timeToLive
The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If this value is 0, APNs treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
Amazon Pinpoint specifies this value in the apns-expiration request header when it sends the notification message to APNs.
String title
The title to display above the notification message on the recipient's device.
String url
The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
String bundleId
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
String certificate
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
String defaultAuthenticationMethod
The default authentication method that you want Amazon Pinpoint to use when authenticating with the APNs sandbox environment, key or certificate.
Boolean enabled
Specifies whether to enable the APNs sandbox channel for the application.
String privateKey
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
String teamId
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
String tokenKey
The authentication key to use for APNs tokens.
String tokenKeyId
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
String applicationId
The unique identifier for the application that the APNs sandbox channel applies to.
String creationDate
The date and time when the APNs sandbox channel was enabled.
String defaultAuthenticationMethod
The default authentication method that Amazon Pinpoint uses to authenticate with the APNs sandbox environment for this channel, key or certificate.
Boolean enabled
Specifies whether the APNs sandbox channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
Boolean hasTokenKey
Specifies whether the APNs sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
String id
(Deprecated) An identifier for the APNs sandbox channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the APNs sandbox channel is archived.
String lastModifiedBy
The user who last modified the APNs sandbox channel.
String lastModifiedDate
The date and time when the APNs sandbox channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the APNs sandbox channel, this value is APNS_SANDBOX.
Integer version
The current version of the APNs sandbox channel.
String bundleId
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
String certificate
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
String defaultAuthenticationMethod
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
Boolean enabled
Specifies whether to enable the APNs VoIP channel for the application.
String privateKey
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
String teamId
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
String tokenKey
The authentication key to use for APNs tokens.
String tokenKeyId
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
String applicationId
The unique identifier for the application that the APNs VoIP channel applies to.
String creationDate
The date and time when the APNs VoIP channel was enabled.
String defaultAuthenticationMethod
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
Boolean enabled
Specifies whether the APNs VoIP channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
Boolean hasTokenKey
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
String id
(Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the APNs VoIP channel is archived.
String lastModifiedBy
The user who last modified the APNs VoIP channel.
String lastModifiedDate
The date and time when the APNs VoIP channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.
Integer version
The current version of the APNs VoIP channel.
String bundleId
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
String certificate
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
String defaultAuthenticationMethod
The default authentication method that you want Amazon Pinpoint to use when authenticating with the APNs sandbox environment for this channel, key or certificate.
Boolean enabled
Specifies whether the APNs VoIP sandbox channel is enabled for the application.
String privateKey
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
String teamId
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
String tokenKey
The authentication key to use for APNs tokens.
String tokenKeyId
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
String applicationId
The unique identifier for the application that the APNs VoIP sandbox channel applies to.
String creationDate
The date and time when the APNs VoIP sandbox channel was enabled.
String defaultAuthenticationMethod
The default authentication method that Amazon Pinpoint uses to authenticate with the APNs sandbox environment for this channel, key or certificate.
Boolean enabled
Specifies whether the APNs VoIP sandbox channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
Boolean hasTokenKey
Specifies whether the APNs VoIP sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
String id
(Deprecated) An identifier for the APNs VoIP sandbox channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the APNs VoIP sandbox channel is archived.
String lastModifiedBy
The user who last modified the APNs VoIP sandbox channel.
String lastModifiedDate
The date and time when the APNs VoIP sandbox channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the APNs VoIP sandbox channel, this value is APNS_VOIP_SANDBOX.
Integer version
The current version of the APNs VoIP sandbox channel.
String arn
The Amazon Resource Name (ARN) of the application.
String id
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String name
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
Map<K,V> tags
A string-to-string map of key-value pairs that identifies the tags that are associated with the application. Each tag consists of a required tag key and an associated tag value.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
CampaignHook campaignHook
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application.
String lastModifiedDate
The date and time, in ISO 8601 format, when the application's settings were last modified.
CampaignLimits limits
The default sending limits for campaigns in the application.
QuietTime quietTime
The default quiet time for campaigns in the application. Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
String attributeType
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
List<E> values
The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
String applicationId
The unique identifier for the application.
String attributeType
The type of attribute or attributes that were removed from the endpoints. Valid values are:
endpoint-custom-attributes - Custom attributes that describe endpoints
endpoint-custom-metrics - Custom metrics that your app reports to Amazon Pinpoint for endpoints
endpoint-user-attributes - Custom attributes that describe users
List<E> attributes
An array that specifies the names of the attributes that were removed from the endpoints.
String requestID
The unique identifier for the request or response.
String apiKey
The API key that you received from the Baidu Cloud Push service to communicate with the service.
Boolean enabled
Specifies whether to enable the Baidu channel for the application.
String secretKey
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
String applicationId
The unique identifier for the application that the Baidu channel applies to.
String creationDate
The date and time when the Baidu channel was enabled.
String credential
The API key that you received from the Baidu Cloud Push service to communicate with the service.
Boolean enabled
Specifies whether the Baidu channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the Baidu channel is archived.
String lastModifiedBy
The user who last modified the Baidu channel.
String lastModifiedDate
The date and time when the Baidu channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.
Integer version
The current version of the Baidu channel.
String action
The action to occur if the recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
String body
The body of the notification message.
Map<K,V> data
The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
String iconReference
The icon image name of the asset saved in your app.
String imageIconUrl
The URL of the large icon image to display in the content view of the push notification.
String imageUrl
The URL of an image to display in the push notification.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
Boolean silentPush
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
String smallImageIconUrl
The URL of the small icon image to display in the status bar and the content view of the push notification.
String sound
The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
Map<K,V> substitutions
The default message variables to use in the notification message. You can override the default variables with individual address variables.
Integer timeToLive
The amount of time, in seconds, that the Baidu Cloud Push service should store the message if the recipient's device is offline. The default value and maximum supported time is 604,800 seconds (7 days).
String title
The title to display above the notification message on the recipient's device.
String url
The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
String body
The body of the email for recipients whose email clients don't support HTML content.
String fromAddress
The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
String htmlBody
The body of the email, in HTML format, for recipients whose email clients support HTML content.
String title
The subject line, or title, of the email.
EventDimensions dimensions
The dimension settings of the event filter for the campaign.
String filterType
The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.
String lambdaFunctionName
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages for a campaign.
String mode
Specifies which Lambda mode to use when invoking the AWS Lambda function.
String webUrl
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
Integer daily
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The maximum value is 100.
Integer maximumDuration
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
Integer messagesPerSecond
The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum value is 20,000.
Integer total
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. The maximum value is 100.
List<E> additionalTreatments
An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.
String applicationId
The unique identifier for the application that the campaign applies to.
String arn
The Amazon Resource Name (ARN) of the campaign.
String creationDate
The date, ISO 8601 format, when the campaign was created.
CampaignState defaultState
The current status of the campaign's default treatment. This value exists only for campaigns that have more than one treatment, to support A/B testing.
String description
The custom description of the campaign.
Integer holdoutPercent
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
CampaignHook hook
The settings for the AWS Lambda function to use as a code hook for the campaign.
String id
The unique identifier for the campaign.
Boolean isPaused
Specifies whether the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.
String lastModifiedDate
The date, in ISO 8601 format, when the campaign was last modified.
CampaignLimits limits
The messaging limits for the campaign.
MessageConfiguration messageConfiguration
The message configuration settings for the campaign.
String name
The name of the campaign.
Schedule schedule
The schedule settings for the campaign.
String segmentId
The unique identifier for the segment that's associated with the campaign.
Integer segmentVersion
The version number of the segment that's associated with the campaign.
CampaignState state
The current status of the campaign.
Map<K,V> tags
A string-to-string map of key-value pairs that identifies the tags that are associated with the campaign. Each tag consists of a required tag key and an associated tag value.
String treatmentDescription
The custom description of a variation of the campaign that's used for A/B testing.
String treatmentName
The custom name of a variation of the campaign that's used for A/B testing.
Integer version
The version number of the campaign.
String body
The body of the SMS message.
String messageType
The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't critical or time-sensitive, such as a marketing message.
String senderId
The sender ID to display on recipients' devices when they receive the SMS message.
String campaignStatus
The status of the campaign, or the status of a treatment that belongs to an A/B test campaign. If a campaign uses A/B testing, the campaign has a status of COMPLETED only when all campaign treatments have a status of COMPLETED.
String applicationId
The unique identifier for the application.
String creationDate
The date and time, in ISO 8601 format, when the channel was enabled.
Boolean enabled
Specifies whether the channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the channel is archived.
String lastModifiedBy
The user who last modified the channel.
String lastModifiedDate
The date and time, in ISO 8601 format, when the channel was last modified.
Integer version
The current version of the channel.
String name
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
Map<K,V> tags
A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
CreateApplicationRequest createApplicationRequest
ApplicationResponse applicationResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
WriteCampaignRequest writeCampaignRequest
CampaignResponse campaignResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ExportJobRequest exportJobRequest
ExportJobResponse exportJobResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ImportJobRequest importJobRequest
ImportJobResponse importJobResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
WriteSegmentRequest writeSegmentRequest
SegmentResponse segmentResponse
String action
The default action to occur if a recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of the iOS and Android platforms.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
String body
The default body of the notification message.
Map<K,V> data
The JSON data payload to use for the default push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
Boolean silentPush
Specifies whether the default notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or delivering messages to an in-app notification center.
Map<K,V> substitutions
The default message variables to use in the notification message. You can override the default variables with individual address variables.
String title
The default title to display above the notification message on a recipient's device.
String url
The default URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ADMChannelResponse aDMChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSChannelResponse aPNSChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSSandboxChannelResponse aPNSSandboxChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipChannelResponse aPNSVoipChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipSandboxChannelResponse aPNSVoipSandboxChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ApplicationResponse applicationResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
BaiduChannelResponse baiduChannelResponse
CampaignResponse campaignResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EmailChannelResponse emailChannelResponse
EndpointResponse endpointResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EventStream eventStream
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
GCMChannelResponse gCMChannelResponse
SegmentResponse segmentResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
SMSChannelResponse sMSChannelResponse
EndpointsResponse endpointsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
VoiceChannelResponse voiceChannelResponse
ADMMessage aDMMessage
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
APNSMessage aPNSMessage
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
BaiduMessage baiduMessage
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
DefaultMessage defaultMessage
The default message body for all channels.
DefaultPushNotificationMessage defaultPushNotificationMessage
The default push notification message for all push channels.
EmailMessage emailMessage
The default message for the email channel. This message overrides the default message (DefaultMessage).
GCMMessage gCMMessage
The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
SMSMessage sMSMessage
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
VoiceMessage voiceMessage
The default message for the voice channel. This message overrides the default message (DefaultMessage).
String configurationSet
The configuration set that you want to apply to email that you send through the channel by using the Amazon Pinpoint Email API.
Boolean enabled
Specifies whether to enable the email channel for the application.
String fromAddress
The verified email address that you want to send email from when you send email through the channel.
String identity
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
String roleArn
The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
String applicationId
The unique identifier for the application that the email channel applies to.
String configurationSet
The configuration set that's applied to email that's sent through the channel by using the Amazon Pinpoint Email API.
String creationDate
The date and time, in ISO 8601 format, when the email channel was enabled.
Boolean enabled
Specifies whether the email channel is enabled for the application.
String fromAddress
The verified email address that you send email from when you send email through the channel.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the email channel. This property is retained only for backward compatibility.
String identity
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you use when you send email through the channel.
Boolean isArchived
Specifies whether the email channel is archived.
String lastModifiedBy
The user who last modified the email channel.
String lastModifiedDate
The date and time, in ISO 8601 format, when the email channel was last modified.
Integer messagesPerSecond
The maximum number of emails that you can send through the channel each second.
String platform
The type of messaging or notification platform for the channel. For the email channel, this value is EMAIL.
String roleArn
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Pinpoint uses to submit email-related event data for the channel.
Integer version
The current version of the email channel.
String body
The body of the email message.
String feedbackForwardingAddress
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
String fromAddress
The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
RawEmail rawEmail
The email message, represented as a raw MIME message.
List<E> replyToAddresses
The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
SimpleEmail simpleEmail
The email message, composed of a subject, a text part, and an HTML part.
Map<K,V> substitutions
The default message variables to use in the email message. You can override the default variables with individual address variables.
String address
The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For a push-notification channel, use the token provided by the push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. For the SMS channel, use a phone number in E.164 format, such as +12065550100. For the email channel, use an email address.
Map<K,V> attributes
One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
String channelType
The channel to use when sending messages or push notifications to the endpoint.
EndpointDemographic demographic
The demographic information for the endpoint, such as the time zone and platform.
String effectiveDate
The date and time, in ISO 8601 format, when the endpoint was created or updated.
String endpointStatus
Not used.
String id
The unique identifier for the endpoint in the context of the batch.
EndpointLocation location
The geographic information for the endpoint.
Map<K,V> metrics
One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
String optOut
Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
String requestId
The unique identifier for the request to create or update the endpoint.
EndpointUser user
One or more custom user attributes that your app reports to Amazon Pinpoint for the user who's associated with the endpoint.
String appVersion
The version of the app that's associated with the endpoint.
String locale
The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
String make
The manufacturer of the endpoint device, such as Apple or Samsung.
String model
The model name or number of the endpoint device, such as iPhone.
String modelVersion
The model version of the endpoint device.
String platform
The platform of the endpoint device, such as iOS or Android.
String platformVersion
The platform version of the endpoint device.
String timezone
The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
String city
The name of the city where the endpoint is located.
String country
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.
Double latitude
The latitude coordinate of the endpoint location, rounded to one decimal place.
Double longitude
The longitude coordinate of the endpoint location, rounded to one decimal place.
String postalCode
The postal or ZIP code for the area where the endpoint is located.
String region
The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.
String address
The endpoint address that the message was delivered to.
String deliveryStatus
The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint will attempt to deliver the message again later.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
String messageId
The unique identifier for the message that was sent.
Integer statusCode
The downstream service status code for delivering the message.
String statusMessage
The status message for delivering the message.
String updatedToken
For push notifications that are sent through the GCM channel, specifies whether the token was updated as part of delivering the message.
String address
The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For a push-notification channel, use the token provided by the push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. For the SMS channel, use a phone number in E.164 format, such as +12065550100. For the email channel, use an email address.
Map<K,V> attributes
One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
String channelType
The channel to use when sending messages or push notifications to the endpoint.
EndpointDemographic demographic
The demographic information for the endpoint, such as the time zone and platform.
String effectiveDate
The date and time, in ISO 8601 format, when the endpoint is updated.
String endpointStatus
Not used.
EndpointLocation location
The geographic information for the endpoint.
Map<K,V> metrics
One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
String optOut
Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
String requestId
The unique identifier for the most recent request to update the endpoint.
EndpointUser user
One or more custom user attributes that describe the user who's associated with the endpoint.
String address
The destination address for messages or push notifications that you send to the endpoint. The address varies by channel. For example, the address for a push-notification channel is typically the token provided by a push notification service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. The address for the SMS channel is a phone number in E.164 format, such as +12065550100. The address for the email channel is an email address.
String applicationId
The unique identifier for the application that's associated with the endpoint.
Map<K,V> attributes
One or more custom attributes that describe the endpoint by associating a name with an array of values. For example, the value of a custom attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
String channelType
The channel that's used when sending messages or push notifications to the endpoint.
String cohortId
A number from 0-99 that represents the cohort that the endpoint is assigned to. Endpoints are grouped into cohorts randomly, and each cohort contains approximately 1 percent of the endpoints for an application. Amazon Pinpoint assigns cohorts to the holdout or treatment allocations for campaigns.
String creationDate
The date and time, in ISO 8601 format, when the endpoint was created.
EndpointDemographic demographic
The demographic information for the endpoint, such as the time zone and platform.
String effectiveDate
The date and time, in ISO 8601 format, when the endpoint was last updated.
String endpointStatus
Not used.
String id
The unique identifier that you assigned to the endpoint. The identifier should be a globally unique identifier (GUID) to ensure that it doesn't conflict with other endpoint identifiers that are associated with the application.
EndpointLocation location
The geographic information for the endpoint.
Map<K,V> metrics
One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
String optOut
Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
String requestId
The unique identifier for the most recent request to update the endpoint.
EndpointUser user
One or more custom user attributes that your app reports to Amazon Pinpoint for the user who's associated with the endpoint.
String bodyOverride
The body of the message. If specified, this value overrides the default message body.
Map<K,V> context
A map of custom attributes to attach to the message for the address. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
String rawContent
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides the message.
Map<K,V> substitutions
A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.
String titleOverride
The title or subject line of the message. If specified, this value overrides the default message title or subject line.
Map<K,V> userAttributes
One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
String userId
The unique identifier for the user.
String appPackageName
The package name of the app that's recording the event.
String appTitle
The title of the app that's recording the event.
String appVersionCode
The version number of the app that's recording the event.
Map<K,V> attributes
One or more custom attributes that are associated with the event.
String clientSdkVersion
The version of the SDK that's running on the client device.
String eventType
The name of the event.
Map<K,V> metrics
One or more custom metrics that are associated with the event.
String sdkName
The name of the SDK that's being used to record the event.
Session session
Information about the session in which the event occurred.
String timestamp
The date and time, in ISO 8601 format, when the event occurred.
Map<K,V> attributes
One or more custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
SetDimension eventType
The name of the event that causes the campaign to be sent. This can be a standard type of event that Amazon Pinpoint generates, such as _session.start, or a custom event that's specific to your app.
Map<K,V> metrics
One or more custom metrics that your app reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
String message
A custom message that's returned in the response as a result of processing the event.
Integer statusCode
The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
PublicEndpoint endpoint
A set of properties and attributes that are associated with the endpoint.
Map<K,V> events
A set of properties that are associated with the event.
Map<K,V> results
A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.
String applicationId
The unique identifier for the application to publish event data for.
String destinationStreamArn
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
String externalId
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
String lastModifiedDate
The date, in ISO 8601 format, when the event stream was last modified.
String lastUpdatedBy
The IAM user who last modified the event stream.
String roleArn
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
String roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location where you want to export endpoint definitions to.
String s3UrlPrefix
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where you want to export endpoint
definitions to. This location is typically a folder that contains multiple files. The URL should be in the
following format: s3://
String segmentId
The identifier for the segment to export endpoint definitions from. If you don't specify this value, Amazon Pinpoint exports definitions for all the endpoints that are associated with the application.
Integer segmentVersion
The version of the segment to export endpoint definitions from, if specified.
String roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
String s3UrlPrefix
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to. This location is typically a folder that contains multiple files. The URL should be in the
following format: s3://
String segmentId
The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
Integer segmentVersion
The version of the segment that the endpoint definitions were exported from.
String applicationId
The unique identifier for the application that's associated with the export job.
Integer completedPieces
The number of pieces that were processed successfully (completed) by the export job, as of the time of the request.
String completionDate
The date, in ISO 8601 format, when the export job was completed.
String creationDate
The date, in ISO 8601 format, when the export job was created.
ExportJobResource definition
The resource settings that apply to the export job.
Integer failedPieces
The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the request.
List<E> failures
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the export job, if any.
String id
The unique identifier for the export job.
String jobStatus
The status of the export job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
Integer totalFailures
The total number of endpoint definitions that weren't processed successfully (failed) by the export job, typically because an error, such as a syntax error, occurred.
Integer totalPieces
The total number of pieces that must be processed to complete the export job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the export job.
Integer totalProcessed
The total number of endpoint definitions that were processed by the export job.
String type
The job type. This value is EXPORT for export jobs.
List<E> item
An array of responses, one for each export job that's associated with the application (Export Jobs resource) or segment (Segment Export Jobs resource).
String nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
String requestID
The unique identifier for the request or response.
String applicationId
The unique identifier for the application that the GCM channel applies to.
String creationDate
The date and time when the GCM channel was enabled.
String credential
The API key, also referred to as a server key, that you received from Google to communicate with Google services.
Boolean enabled
Specifies whether the GCM channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the GCM channel is archived.
String lastModifiedBy
The user who last modified the GCM channel.
String lastModifiedDate
The date and time when the GCM channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
Integer version
The current version of the GCM channel.
String action
The action to occur if the recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This action uses the deep-linking features of the Android platform.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
String body
The body of the notification message.
String collapseKey
An arbitrary string that identifies a group of messages that can be collapsed to ensure that only the last message is sent when delivery can resume. This helps avoid sending too many instances of the same messages when the recipient's device comes online again or becomes active.
Amazon Pinpoint specifies this value in the Firebase Cloud Messaging (FCM) collapse_key parameter when it sends the notification message to FCM.
Map<K,V> data
The JSON data payload to use for the push notification, if the notification is a silent push notification. This payload is added to the data.pinpoint.jsonBody object of the notification.
String iconReference
The icon image name of the asset saved in your app.
String imageIconUrl
The URL of the large icon image to display in the content view of the push notification.
String imageUrl
The URL of an image to display in the push notification.
String priority
para>normal - The notification might be delayed. Delivery is optimized for battery usage on the recipient's device. Use this value unless immediate delivery is required.
/listitem>high - The notification is sent immediately and might wake a sleeping device.
Amazon Pinpoint specifies this value in the FCM priority parameter when it sends the notification message to FCM.
The equivalent values for Apple Push Notification service (APNs) are 5, for normal, and 10, for high. If you specify an APNs value for this property, Amazon Pinpoint accepts and converts the value to the corresponding FCM value.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
String restrictedPackageName
The package name of the application where registration tokens must match in order for the recipient to receive the message.
Boolean silentPush
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
String smallImageIconUrl
The URL of the small icon image to display in the status bar and the content view of the push notification.
String sound
The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.
Map<K,V> substitutions
The default message variables to use in the notification message. You can override the default variables with individual address variables.
Integer timeToLive
The amount of time, in seconds, that FCM should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If you don't specify this value, FCM defaults to the maximum value, which is 2,419,200 seconds (28 days).
Amazon Pinpoint specifies this value in the FCM time_to_live parameter when it sends the notification message to FCM.
String title
The title to display above the notification message on the recipient's device.
String url
The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ADMChannelResponse aDMChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSChannelResponse aPNSChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSSandboxChannelResponse aPNSSandboxChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipChannelResponse aPNSVoipChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipSandboxChannelResponse aPNSVoipSandboxChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ApplicationSettingsResource applicationSettingsResource
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ApplicationResponse applicationResponse
ApplicationsResponse applicationsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
BaiduChannelResponse baiduChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String campaignId
The unique identifier for the campaign.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
ActivitiesResponse activitiesResponse
CampaignResponse campaignResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
CampaignsResponse campaignsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String campaignId
The unique identifier for the campaign.
String version
The unique version number (Version property) for the campaign version.
CampaignResponse campaignResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String campaignId
The unique identifier for the campaign.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
CampaignsResponse campaignsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ChannelsResponse channelsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EmailChannelResponse emailChannelResponse
EndpointResponse endpointResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EventStream eventStream
ExportJobResponse exportJobResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
ExportJobsResponse exportJobsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
GCMChannelResponse gCMChannelResponse
ImportJobResponse importJobResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
ImportJobsResponse importJobsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String segmentId
The unique identifier for the segment.
String token
The NextToken string that specifies which page of results to return in a paginated response.
ExportJobsResponse exportJobsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String segmentId
The unique identifier for the segment.
String token
The NextToken string that specifies which page of results to return in a paginated response.
ImportJobsResponse importJobsResponse
SegmentResponse segmentResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String token
The NextToken string that specifies which page of results to return in a paginated response.
SegmentsResponse segmentsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String segmentId
The unique identifier for the segment.
String version
The unique version number (Version property) for the campaign version.
SegmentResponse segmentResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String pageSize
The maximum number of items to include on each page in a paginated response.
String segmentId
The unique identifier for the segment.
String token
The NextToken string that specifies which page of results to return in a paginated response.
SegmentsResponse segmentsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
SMSChannelResponse sMSChannelResponse
EndpointsResponse endpointsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
VoiceChannelResponse voiceChannelResponse
GPSCoordinates coordinates
The GPS coordinates to measure distance from.
Double rangeInKilometers
The range, in kilometers, from the GPS coordinates.
Boolean defineSegment
Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
String externalId
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
String format
The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
Boolean registerEndpoints
Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
String roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
String s3Url
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.
The URL should be in the following format:
s3://
String segmentId
The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.
String segmentName
The custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
Boolean defineSegment
Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.
String externalId
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
String format
The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
If the files are stored in an Amazon S3 location and that location contains multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
Boolean registerEndpoints
Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
String roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
String s3Url
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.
The URL should be in the following format:
s3://
String segmentId
The identifier for the segment that the import job updates or adds endpoint definitions to, if the import job updates an existing segment.
String segmentName
The custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
String applicationId
The unique identifier for the application that's associated with the import job.
Integer completedPieces
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
String completionDate
The date, in ISO 8601 format, when the import job was completed.
String creationDate
The date, in ISO 8601 format, when the import job was created.
ImportJobResource definition
The resource settings that apply to the import job.
Integer failedPieces
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
List<E> failures
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
String id
The unique identifier for the import job.
String jobStatus
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
Integer totalFailures
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
Integer totalPieces
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
Integer totalProcessed
The total number of endpoint definitions that were processed by the import job.
String type
The job type. This value is IMPORT for import jobs.
List<E> item
An array of responses, one for each import job that's associated with the application (Import Jobs resource) or segment (Segment Import Jobs resource).
String nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
String requestID
The unique identifier for the request or response.
EndpointItemResponse endpointItemResponse
The response that was received after the endpoint data was accepted.
Map<K,V> eventsItemResponse
A multipart response object that contains a key and a value for each event in the request. In each object, the event ID is the key and an EventItemResponse object is the value.
String resourceArn
The Amazon Resource Name (ARN) of the application, campaign, or segment.
TagsModel tagsModel
String action
The action to occur if a recipient taps the push notification. Valid values are:
OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
String body
The body of the notification message. The maximum number of characters is 200.
String imageIconUrl
The URL of the image to display as the push-notification icon, such as the icon for the app.
String imageSmallIconUrl
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
String imageUrl
The URL of an image to display in the push notification.
String jsonBody
The JSON payload to use for a silent push notification.
String mediaUrl
The URL of the image or video to display in the push notification.
String rawContent
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides other values for the message.
Boolean silentPush
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Integer timeToLive
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
String title
The title to display above the notification message on a recipient's device.
String url
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Message aDMMessage
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. This message overrides the default message.
Message aPNSMessage
The message that the campaign sends through the APNs (Apple Push Notification service) channel. This message overrides the default message.
Message baiduMessage
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. This message overrides the default message.
Message defaultMessage
The default message that the campaign sends through all the channels that are configured for the campaign.
CampaignEmailMessage emailMessage
The message that the campaign sends through the email channel.
Message gCMMessage
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default message.
CampaignSmsMessage sMSMessage
The message that the campaign sends through the SMS channel.
Map<K,V> addresses
A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.
Map<K,V> context
A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
Map<K,V> endpoints
A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.
DirectMessageConfiguration messageConfiguration
The set of properties that defines the configuration settings for the message.
String traceId
The unique identifier for tracing the message. This identifier is visible to message recipients.
String applicationId
The unique identifier for the application that was used to send the message.
Map<K,V> endpointResult
A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
String requestId
The identifier for the original request that the message was delivered for.
Map<K,V> result
A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
String deliveryStatus
The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint address.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint will attempt to deliver the message again later.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
String messageId
The unique identifier for the message that was sent.
Integer statusCode
The downstream service status code for delivering the message.
String statusMessage
The status message for delivering the message.
String updatedToken
For push notifications that are sent through the GCM channel, specifies whether the token was updated as part of delivering the message.
String requestID
The unique identifier for the request or response.
String requestID
The unique identifier for the request or response.
String isoCountryCode
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
String phoneNumber
The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.
String carrier
The carrier or service provider that the phone number is currently registered with.
String city
The name of the city where the phone number was originally registered.
String cleansedPhoneNumberE164
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
String cleansedPhoneNumberNational
The cleansed phone number, in the format for the location where the phone number was originally registered.
String country
The name of the country or region where the phone number was originally registered.
String countryCodeIso2
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
String countryCodeNumeric
The numeric code for the country or region where the phone number was originally registered.
String county
The name of the county where the phone number was originally registered.
String originalCountryCodeIso2
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
String originalPhoneNumber
The phone number that was sent in the request body.
String phoneType
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
Integer phoneTypeCode
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
String timezone
The time zone for the location where the phone number was originally registered.
String zipCode
The postal or ZIP code for the location where the phone number was originally registered.
NumberValidateRequest numberValidateRequest
NumberValidateResponse numberValidateResponse
String address
The unique identifier for the recipient, such as a device token, email address, or mobile phone number.
Map<K,V> attributes
One or more custom attributes that describe the endpoint by associating a name with an array of values. You can use these attributes as filter criteria when you create segments.
String channelType
The channel that's used when sending messages or push notifications to the endpoint.
EndpointDemographic demographic
The demographic information for the endpoint, such as the time zone and platform.
String effectiveDate
The date and time, in ISO 8601 format, when the endpoint was last updated.
String endpointStatus
The status of the update request for the endpoint. Possible values are: INACTIVE, the update failed; and, ACTIVE, the endpoint was updated successfully.
EndpointLocation location
The geographic information for the endpoint.
Map<K,V> metrics
One or more custom metrics that your app reports to Amazon Pinpoint for the endpoint.
String optOut
Specifies whether the user who's associated with the endpoint has opted out of receiving messages and push notifications from you. Possible values are: ALL, the user has opted out and doesn't want to receive any messages or push notifications; and, NONE, the user hasn't opted out and wants to receive all messages and push notifications.
String requestId
A unique identifier that's generated each time the endpoint is updated.
EndpointUser user
One or more custom user attributes that your app reports to Amazon Pinpoint for the user who's associated with the endpoint.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EventsRequest eventsRequest
EventsResponse eventsResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
WriteEventStream writeEventStream
EventStream eventStream
String end
The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
String start
The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
ByteBuffer data
The email message, represented as a raw MIME message. The entire message must be base64 encoded.
String duration
The duration to use when determining whether an endpoint is active or inactive.
String recencyType
The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String attributeType
The type of attribute or attributes to remove. Valid values are:
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
endpoint-custom-metrics - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
UpdateAttributesRequest updateAttributesRequest
AttributesResource attributesResource
String endTime
The scheduled time, in ISO 8601 format, for the campaign to end.
CampaignEventFilter eventFilter
The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
String frequency
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
Boolean isLocalTime
Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
QuietTime quietTime
The default quiet time for the campaign. Quiet time is a specific time range when a campaign doesn't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the campaign.
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the campaign.
If any of the preceding conditions isn't met, the endpoint will receive messages from the campaign, even if quiet time is enabled.
String startTime
The scheduled time, in ISO 8601 format, for the campaign to begin.
String timezone
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true. Valid values are: 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, and UTC-11.
RecencyDimension recency
The dimension settings that are based on how recently an endpoint was active.
SetDimension appVersion
The app version criteria for the segment.
SetDimension channel
The channel criteria for the segment.
SetDimension deviceType
The device type criteria for the segment.
SetDimension make
The device make criteria for the segment.
SetDimension model
The device model criteria for the segment.
SetDimension platform
The device platform criteria for the segment.
Map<K,V> attributes
One or more custom attributes to use as criteria for the segment.
SegmentBehaviors behavior
The behavior-based criteria, such as how recently users have used your app, for the segment.
SegmentDemographics demographic
The demographic-based criteria, such as device platform, for the segment.
SegmentLocation location
The location-based criteria, such as region or GPS coordinates, for the segment.
Map<K,V> metrics
One or more custom metrics to use as criteria for the segment.
Map<K,V> userAttributes
One or more custom user attributes to use as criteria for the segment.
List<E> dimensions
An array that defines the dimensions for the segment.
List<E> sourceSegments
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it.
String sourceType
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
String type
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
List<E> groups
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
String include
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
Map<K,V> channelCounts
The number of channel types in the endpoint definitions that were imported to create the segment.
String externalId
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
String format
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
String roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
String s3Url
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
Integer size
The number of endpoint definitions that were imported successfully to create the segment.
SetDimension country
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
GPSPointDimension gPSPoint
The GPS location and range for the segment.
String applicationId
The unique identifier for the application that the segment is associated with.
String arn
The Amazon Resource Name (ARN) of the segment.
String creationDate
The date and time when the segment was created.
SegmentDimensions dimensions
The dimension settings for the segment.
String id
The unique identifier for the segment.
SegmentImportResource importDefinition
The settings for the import job that's associated with the segment.
String lastModifiedDate
The date and time when the segment was last modified.
String name
The name of the segment.
SegmentGroupList segmentGroups
A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
String segmentType
The segment type. Valid values are:
DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.
IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you they don't change over time.
Map<K,V> tags
A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
Integer version
The version number of the segment.
List<E> item
An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
String nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
MessageRequest messageRequest
MessageResponse messageResponse
Map<K,V> context
A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.
DirectMessageConfiguration messageConfiguration
The message definitions for the default message and any default messages that you defined for specific channels.
String traceId
The unique identifier for tracing the message. This identifier is visible to message recipients.
Map<K,V> users
A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.
String applicationId
The unique identifier for the application that was used to send the message.
String requestId
The unique identifier that was assigned to the message request.
Map<K,V> result
An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
SendUsersMessageRequest sendUsersMessageRequest
SendUsersMessageResponse sendUsersMessageResponse
String dimensionType
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
List<E> values
The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.
SimpleEmailPart htmlPart
The body of the email message, in HTML format. We recommend using an HTML part for email clients that support HTML. You can include links, formatted text, and more in an HTML message.
SimpleEmailPart subject
The subject line, or title, of the email.
SimpleEmailPart textPart
The body of the email message, in text format. We recommend using a text part for email clients that don't support HTML and clients that are connected to high-latency networks, such as mobile devices.
Boolean enabled
Specifies whether to enable the SMS channel for the application.
String senderId
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
String shortCode
The registered short code that you want to use when you send messages through the SMS channel.
String applicationId
The unique identifier for the application that the SMS channel applies to.
String creationDate
The date and time, in ISO 8601 format, when the SMS channel was enabled.
Boolean enabled
Specifies whether the SMS channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the SMS channel is archived.
String lastModifiedBy
The user who last modified the SMS channel.
String lastModifiedDate
The date and time, in ISO 8601 format, when the SMS channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.
Integer promotionalMessagesPerSecond
The maximum number of promotional messages that you can send through the SMS channel each second.
String senderId
The identity that displays on recipients' devices when they receive messages from the SMS channel.
String shortCode
The registered short code to use when you send messages through the SMS channel.
Integer transactionalMessagesPerSecond
The maximum number of transactional messages that you can send through the SMS channel each second.
Integer version
The current version of the SMS channel.
String body
The body of the SMS message.
String keyword
The SMS program name that you provided to AWS Support when you requested your dedicated number.
String messageType
The SMS message type. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message is not critical or time-sensitive, such as a marketing message.
String originationNumber
The number that the SMS message originates from. This should be one of the dedicated long codes or short codes that you requested from AWS Support and is assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message.
String senderId
The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region.
Map<K,V> substitutions
The message variables to use in the SMS message. You can override the default variables with individual address variables.
Map<K,V> tags
A string-to-string map of key-value pairs that defines the tags for an application, campaign, or segment. A project, campaign, or segment can have a maximum of 50 tags.
Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
String requestID
The unique identifier for the request or response.
String id
The unique identifier for the treatment.
MessageConfiguration messageConfiguration
The message configuration settings for the treatment.
Schedule schedule
The schedule settings for the treatment.
Integer sizePercent
The allocated percentage of users (segment members) that the treatment is sent to.
CampaignState state
The status of the treatment.
String treatmentDescription
The custom description of the treatment.
String treatmentName
The custom name of the treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
String resourceArn
The Amazon Resource Name (ARN) of the application, campaign, or segment.
List<E> tagKeys
The key of the tag to remove from the application, campaign, or segment. To remove multiple tags, append the tagKeys parameter and argument for each additional tag to remove, separated by an ampersand (&).
ADMChannelRequest aDMChannelRequest
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
ADMChannelResponse aDMChannelResponse
APNSChannelRequest aPNSChannelRequest
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSChannelResponse aPNSChannelResponse
APNSSandboxChannelRequest aPNSSandboxChannelRequest
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSSandboxChannelResponse aPNSSandboxChannelResponse
APNSVoipChannelRequest aPNSVoipChannelRequest
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipChannelResponse aPNSVoipChannelResponse
APNSVoipSandboxChannelRequest aPNSVoipSandboxChannelRequest
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
APNSVoipSandboxChannelResponse aPNSVoipSandboxChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
WriteApplicationSettingsRequest writeApplicationSettingsRequest
ApplicationSettingsResource applicationSettingsResource
List<E> blacklist
An array of the attributes to remove from all the endpoints that are associated with the application. The array can specify the complete, exact name of each attribute to remove or it can specify a glob pattern that an attribute name must match in order for the attribute to be removed.
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
BaiduChannelRequest baiduChannelRequest
BaiduChannelResponse baiduChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String campaignId
The unique identifier for the campaign.
WriteCampaignRequest writeCampaignRequest
CampaignResponse campaignResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EmailChannelRequest emailChannelRequest
EmailChannelResponse emailChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String endpointId
The unique identifier for the endpoint.
EndpointRequest endpointRequest
MessageBody messageBody
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
EndpointBatchRequest endpointBatchRequest
MessageBody messageBody
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
GCMChannelRequest gCMChannelRequest
GCMChannelResponse gCMChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
String segmentId
The unique identifier for the segment.
WriteSegmentRequest writeSegmentRequest
SegmentResponse segmentResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
SMSChannelRequest sMSChannelRequest
SMSChannelResponse sMSChannelResponse
String applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
VoiceChannelRequest voiceChannelRequest
VoiceChannelResponse voiceChannelResponse
Boolean enabled
Specifies whether to enable the voice channel for the application.
String applicationId
The unique identifier for the application that the voice channel applies to.
String creationDate
The date and time, in ISO 8601 format, when the voice channel was enabled.
Boolean enabled
Specifies whether the voice channel is enabled for the application.
Boolean hasCredential
(Not used) This property is retained only for backward compatibility.
String id
(Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
Boolean isArchived
Specifies whether the voice channel is archived.
String lastModifiedBy
The user who last modified the voice channel.
String lastModifiedDate
The date and time, in ISO 8601 format, when the voice channel was last modified.
String platform
The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
Integer version
The current version of the voice channel.
String body
The text script for the voice message.
String languageCode
The language to use when delivering the message. For a list of supported languages, see the Amazon Polly Developer Guide.
String originationNumber
The phone number from the pool or messaging service to send the message from. Although it isn't required, we recommend that you specify the phone number in E.164 format to ensure prompt and accurate delivery.
Map<K,V> substitutions
The default message variables to use in the voice message. You can override the default variables with individual address variables.
String voiceId
The name of the voice to use when delivering the message. For a list of supported voices, see the Amazon Polly Developer Guide.
CampaignHook campaignHook
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
Boolean cloudWatchMetricsEnabled
Specifies whether to enable application-related alarms in Amazon CloudWatch.
CampaignLimits limits
The default sending limits for campaigns in the application. To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
QuietTime quietTime
The default quiet time for campaigns in the application. Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
List<E> additionalTreatments
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
String description
The custom description of the campaign.
Integer holdoutPercent
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
CampaignHook hook
The settings for the AWS Lambda function to use as a code hook for the campaign.
Boolean isPaused
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by setting this value to false.
CampaignLimits limits
The messaging limits for the campaign.
MessageConfiguration messageConfiguration
The message configuration settings for the campaign.
String name
The custom name of the campaign.
Schedule schedule
The schedule settings for the campaign.
String segmentId
The unique identifier for the segment to associate with the campaign.
Integer segmentVersion
The version of the segment to associate with the campaign.
Map<K,V> tags
A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.
String treatmentDescription
The custom description of a variation of the campaign to use for A/B testing.
String treatmentName
The custom name of a variation of the campaign to use for A/B testing.
String destinationStreamArn
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.
For a Kinesis data stream, the ARN format is:
arn:aws:kinesis:
For a Kinesis Data Firehose delivery stream, the ARN format is:
arn:aws:firehose:
String roleArn
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
SegmentDimensions dimensions
The criteria that define the dimensions for the segment.
String name
The name of the segment.
SegmentGroupList segmentGroups
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
Map<K,V> tags
A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.
MessageConfiguration messageConfiguration
The message configuration settings for the treatment.
Schedule schedule
The schedule settings for the treatment.
Integer sizePercent
The allocated percentage of users (segment members) to send the treatment to.
String treatmentDescription
The custom description of the treatment.
String treatmentName
The custom name of the treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
Copyright © 2019. All rights reserved.