Example #1
0
 def get_snapshot_id(ami):
     return utils.single(ami.block_device_mapping).snapshot_id
Example #2
0
 def get_snapshot_id(ami):
     return utils.single(ami.block_device_mapping).snapshot_id
Example #3
0
def get_snapshots(conn, instance):
    volume = utils.single(instance.block_device_mapping)
    print "Found volume with ID {}".format(volume.volume_id)
    my_snapshots = conn.get_all_snapshots([], "self", None, None)
    return my_snapshots
Example #4
0
def get_snapshots(conn, instance):
    volume = utils.single(instance.block_device_mapping)
    print "Found volume with ID {}".format(volume.volume_id)
    my_snapshots = conn.get_all_snapshots([], "self", None, None)
    return my_snapshots