subscribe-bookmark-resume
Import the AMPS library:
import AMPS
Construct the command:
cmd = AMPS.Command(AMPS.Message.Command.Subscribe)
cmd.set_topic(topic)
# Set a comma-delimited list of subscriptions to
# resume together
cmd.set_sub_id(subIdList)
# All subscriptions to be resumed should be resumed
# together
# Set resume (and any other options as needed to match original subscriptions)
set_options(AMPS.Message.Options.Resume)
The command can now be used in execute or execute_async.