ec2-api  12.0.0
About: OpenStack EC2 API provides a standalone EC2 (and VPC) API service.
The "Wallaby" series (latest release).
  Fossies Dox: ec2-api-12.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ec2api.api.snapshot Namespace Reference

Classes

class  SnapshotDescriber
 

Functions

def create_snapshot (context, volume_id, description=None)
 
def delete_snapshot (context, snapshot_id)
 
def describe_snapshots (context, snapshot_id=None, owner=None, restorable_by=None, filter=None, max_results=None, next_token=None)
 
def _format_snapshot (context, snapshot, os_snapshot, volumes={}, volume_id=None)
 

Variables

 Validator = common.Validator
 

Function Documentation

◆ _format_snapshot()

def ec2api.api.snapshot._format_snapshot (   context,
  snapshot,
  os_snapshot,
  volumes = {},
  volume_id = None 
)
private

◆ create_snapshot()

def ec2api.api.snapshot.create_snapshot (   context,
  volume_id,
  description = None 
)

Definition at line 32 of file snapshot.py.

References ec2api.i18n._, and ec2api.api.snapshot._format_snapshot().

◆ delete_snapshot()

def ec2api.api.snapshot.delete_snapshot (   context,
  snapshot_id 
)

Definition at line 58 of file snapshot.py.

◆ describe_snapshots()

def ec2api.api.snapshot.describe_snapshots (   context,
  snapshot_id = None,
  owner = None,
  restorable_by = None,
  filter = None,
  max_results = None,
  next_token = None 
)

Definition at line 99 of file snapshot.py.

References ec2api.i18n._.

Variable Documentation

◆ Validator

ec2api.api.snapshot.Validator = common.Validator

Definition at line 29 of file snapshot.py.