I've created a separate "custom channel" in AWS Pinpoint using the example documentation (beta), but the campaigns I send don't match any endpoints.
I've updated the project to use my Lambda function:
aws pinpoint update-application-settings \
--application-id my-pinpoint-id \
--write-application-settings-request '{\"CampaignHook\": { \"LambdaFunctionName\": \"arn:aws:lambda:us-east-1:my-application-id:function:MyLambdaFunction\", \"Mode\": \"DELIVERY\" }}'
... and I've created a segment with various endpoint ChannelTypes, e.g. SMS
,
EMAIL
, APNS
, GCM
, CUSTOM
. But when I send anything to that channel via the Console no notifications get sent---it says "Endpoints targeted 0". I thought that all endpoints would go through my Lambda function....
Any idea how to send something to a segment via a custom channel?