Skip to content

Pinpoint

CloudMock emulates Amazon Pinpoint, supporting application management, segments, campaigns, journeys, and endpoints.

OperationStatusNotes
CreateAppSupportedCreates a Pinpoint application
GetAppSupportedReturns application details
GetAppsSupportedLists all applications
DeleteAppSupportedDeletes an application
CreateSegmentSupportedCreates a segment
GetSegmentSupportedReturns segment details
GetSegmentsSupportedLists segments for an app
DeleteSegmentSupportedDeletes a segment
CreateCampaignSupportedCreates a campaign
GetCampaignSupportedReturns campaign details
GetCampaignsSupportedLists campaigns for an app
DeleteCampaignSupportedDeletes a campaign
CreateJourneySupportedCreates a journey
GetJourneySupportedReturns journey details
ListJourneysSupportedLists journeys for an app
UpdateEndpointSupportedCreates or updates an endpoint
GetEndpointSupportedReturns endpoint details
import { PinpointClient, CreateAppCommand } from '@aws-sdk/client-pinpoint';
const client = new PinpointClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
const { ApplicationResponse } = await client.send(new CreateAppCommand({
CreateApplicationRequest: { Name: 'my-app' },
}));
console.log(ApplicationResponse.Id);
import boto3
client = boto3.client('pinpoint',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
response = client.create_app(
CreateApplicationRequest={'Name': 'my-app'})
print(response['ApplicationResponse']['Id'])
cloudmock.yml
services:
pinpoint:
enabled: true
  • Campaigns and journeys do not send actual messages
  • Segments do not evaluate against real endpoint data dynamically
  • Analytics and metrics are not collected