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.SnapshotDescriber Class Reference
Inheritance diagram for ec2api.api.snapshot.SnapshotDescriber:
[legend]
Collaboration diagram for ec2api.api.snapshot.SnapshotDescriber:
[legend]

Public Member Functions

def format (self, snapshot, os_snapshot)
 
def get_db_items (self)
 
def get_os_items (self)
 
def get_name (self, os_item)
 
- Public Member Functions inherited from ec2api.api.common.TaggableItemsDescriber
def __init__ (self)
 
def get_tags (self)
 
def post_format (self, formatted_item, item)
 
def describe (self, context, ids=None, names=None, filter=None, max_results=None, next_token=None)
 
def is_filtering_value_found (self, filter_value, value)
 
- Public Member Functions inherited from ec2api.api.common.UniversalDescriber
def auto_update_db (self, item, os_item)
 
def get_id (self, os_item)
 
def delete_obsolete_item (self, item)
 
def filtered_out (self, item, filters)
 
def get_values_by_filter (self, filter_name, item)
 
def get_paged (self, formatted_items, max_results, next_token)
 
def is_selected_item (self, context, os_item_name, item)
 
def handle_unpaired_item (self, item)
 

Public Attributes

 volumes
 
- Public Attributes inherited from ec2api.api.common.UniversalDescriber
 next_token
 
 context
 
 selective_describe
 
 ids
 
 names
 
 items
 
 os_items
 
 items_dict
 

Static Public Attributes

string KIND = 'snap'
 
string SORT_KEY = 'snapshotId'
 
dictionary FILTER_MAP
 
- Static Public Attributes inherited from ec2api.api.common.TaggableItemsDescriber
 tags = None
 
- Static Public Attributes inherited from ec2api.api.common.UniversalDescriber
string KIND = ''
 
string SORT_KEY = ''
 
dictionary FILTER_MAP = {}
 

Detailed Description

Definition at line 70 of file snapshot.py.

Member Function Documentation

◆ format()

◆ get_db_items()

def ec2api.api.snapshot.SnapshotDescriber.get_db_items (   self)

Reimplemented from ec2api.api.common.UniversalDescriber.

Definition at line 87 of file snapshot.py.

◆ get_name()

def ec2api.api.snapshot.SnapshotDescriber.get_name (   self,
  os_item 
)

Reimplemented from ec2api.api.common.UniversalDescriber.

Definition at line 95 of file snapshot.py.

◆ get_os_items()

def ec2api.api.snapshot.SnapshotDescriber.get_os_items (   self)

Member Data Documentation

◆ FILTER_MAP

dictionary ec2api.api.snapshot.SnapshotDescriber.FILTER_MAP
static
Initial value:
= {'description': 'description',
'owner-id': 'ownerId',
'progress': 'progress',
'snapshot-id': 'snapshotId',
'start-time': 'startTime',
'status': 'status',
'volume-id': 'volumeId',
'volume-size': 'volumeSize'}

Definition at line 74 of file snapshot.py.

Referenced by ec2api.api.common.TaggableItemsDescriber.__init__(), ec2api.api.instance.ReservationDescriber.describe(), and ec2api.api.common.UniversalDescriber.filtered_out().

◆ KIND

string ec2api.api.snapshot.SnapshotDescriber.KIND = 'snap'
static

◆ SORT_KEY

string ec2api.api.snapshot.SnapshotDescriber.SORT_KEY = 'snapshotId'
static

Definition at line 73 of file snapshot.py.

◆ volumes

ec2api.api.snapshot.SnapshotDescriber.volumes

The documentation for this class was generated from the following file: