AmazonSNS sns = SNS.getClient();
CreatePlatformEndpointResult createPlatformEndpoint =
sns.createPlatformEndpoint(new CreatePlatformEndpointRequest()
.withToken(deviceToken).withPlatformApplicationArn("test"));
String endpointArn = createPlatformEndpoint.getEndpointArn();
sns.publish(endpointArn, "test");


