in amazon-sns-trigger-server/src/main/java/jetbrains/buildServer/clouds/amazon/sns/trigger/service/SnsBuildTriggeringPolicy.java [123:132]
public void triggerDeactivated(@NotNull PolledTriggerContext context) throws BuildTriggerException {
// cds will be destroyed with deactivation process
CustomDataStorageWrapper cds = new CustomDataStorageWrapper(context.getCustomDataStorage());
CustomDataStorageWrapper storage = getInBetweenActivationStorage(context);
// we need to store our subscription data for possible future activation
if (cds.getValues() != null) {
storage.putValues(cds.getValues());
}
}