Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore IfExp NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareIn AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore IfExp NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareIn AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Index Num If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str
N/A __future__ unicode_literals moto.core.responses BaseResponse moto.ec2.utils filters_from_querystring ElasticBlockStore N/A BaseResponse N/A attach_volume N/A N/A self N/A N/A N/A volume_id N/A N/A N/A N/A self querystring get VolumeId N/A 0 N/A instance_id N/A N/A N/A N/A self querystring get InstanceId N/A 0 N/A device_path N/A N/A N/A N/A self querystring get Device N/A 0 N/A attachment N/A N/A N/A self ec2_backend attach_volume volume_id instance_id device_path N/A template N/A N/A self response_template ATTACHED_VOLUME_RESPONSE N/A N/A N/A template render attachment attachment N/A copy_snapshot N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.copy_snapshot is not yet implemented N/A create_snapshot N/A N/A self N/A N/A N/A description None N/A N/A Description N/A self querystring N/A N/A description N/A N/A N/A N/A self querystring get Description N/A 0 N/A volume_id N/A N/A N/A N/A self querystring get VolumeId N/A 0 N/A snapshot N/A N/A N/A self ec2_backend create_snapshot volume_id description N/A template N/A N/A self response_template CREATE_SNAPSHOT_RESPONSE N/A N/A N/A template render snapshot snapshot N/A create_volume N/A N/A self N/A N/A N/A size N/A N/A self _get_param Size N/A zone N/A N/A self _get_param AvailabilityZone N/A snapshot_id N/A N/A self _get_param SnapshotId N/A volume N/A N/A N/A self ec2_backend create_volume size zone snapshot_id N/A template N/A N/A self response_template CREATE_VOLUME_RESPONSE N/A N/A N/A template render volume volume N/A delete_snapshot N/A N/A self N/A N/A N/A snapshot_id N/A N/A N/A N/A self querystring get SnapshotId N/A 0 N/A N/A N/A N/A self ec2_backend delete_snapshot snapshot_id N/A DELETE_SNAPSHOT_RESPONSE N/A delete_volume N/A N/A self N/A N/A N/A volume_id N/A N/A N/A N/A self querystring get VolumeId N/A 0 N/A N/A N/A N/A self ec2_backend delete_volume volume_id N/A DELETE_VOLUME_RESPONSE N/A describe_snapshots N/A N/A self N/A N/A N/A filters N/A filters_from_querystring N/A self querystring N/A snapshot_ids N/A N/A , join N/A N/A N/A , join N/A s N/A 1 N/A s N/A N/A N/A self querystring items N/A SnapshotId N/A s N/A 0 N/A snapshots N/A N/A N/A self ec2_backend describe_snapshots filters filters N/A snapshots N/A snapshot_ids N/A s N/A s snapshots N/A N/A s id snapshot_ids snapshots N/A template N/A N/A self response_template DESCRIBE_SNAPSHOTS_RESPONSE N/A N/A N/A template render snapshots snapshots N/A describe_volumes N/A N/A self N/A N/A N/A filters N/A filters_from_querystring N/A self querystring N/A volume_ids N/A N/A , join N/A N/A N/A , join N/A v N/A 1 N/A v N/A N/A N/A self querystring items N/A VolumeId N/A v N/A 0 N/A volumes N/A N/A N/A self ec2_backend describe_volumes filters filters N/A volumes N/A volume_ids N/A v N/A v volumes N/A N/A v id volume_ids volumes N/A template N/A N/A self response_template DESCRIBE_VOLUMES_RESPONSE N/A N/A N/A template render volumes volumes N/A describe_volume_attribute N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.describe_volume_attribute is not yet implemented N/A describe_volume_status N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.describe_volume_status is not yet implemented N/A detach_volume N/A N/A self N/A N/A N/A volume_id N/A N/A N/A N/A self querystring get VolumeId N/A 0 N/A instance_id N/A N/A N/A N/A self querystring get InstanceId N/A 0 N/A device_path N/A N/A N/A N/A self querystring get Device N/A 0 N/A attachment N/A N/A N/A self ec2_backend detach_volume volume_id instance_id device_path N/A template N/A N/A self response_template DETATCH_VOLUME_RESPONSE N/A N/A N/A template render attachment attachment N/A enable_volume_io N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.enable_volume_io is not yet implemented N/A import_volume N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.import_volume is not yet implemented N/A describe_snapshot_attribute N/A N/A self N/A N/A N/A snapshot_id N/A N/A N/A N/A self querystring get SnapshotId N/A 0 N/A groups N/A N/A N/A self ec2_backend get_create_volume_permission_groups snapshot_id N/A template N/A N/A self response_template DESCRIBE_SNAPSHOT_ATTRIBUTES_RESPONSE N/A N/A N/A template render snapshot_id snapshot_id groups groups N/A modify_snapshot_attribute N/A N/A self N/A N/A N/A snapshot_id N/A N/A N/A N/A self querystring get SnapshotId N/A 0 N/A operation_type N/A N/A N/A N/A self querystring get OperationType N/A 0 N/A group N/A N/A N/A N/A self querystring get UserGroup.1 N/A None N/A 0 N/A user_id N/A N/A N/A N/A self querystring get UserId.1 N/A None N/A 0 N/A N/A operation_type add N/A N/A N/A N/A N/A self ec2_backend add_create_volume_permission snapshot_id user_id user_id group group N/A N/A N/A operation_type remove N/A N/A N/A N/A N/A self ec2_backend remove_create_volume_permission snapshot_id user_id user_id group group N/A MODIFY_SNAPSHOT_ATTRIBUTE_RESPONSE N/A modify_volume_attribute N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.modify_volume_attribute is not yet implemented N/A reset_snapshot_attribute N/A N/A self N/A N/A N/A N/A NotImplementedError ElasticBlockStore.reset_snapshot_attribute is not yet implemented N/A N/A N/A CREATE_VOLUME_RESPONSE <CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <volumeId>{{ volume.id }}</volumeId>
  <size>{{ volume.size }}</size>
  {% if volume.snapshot_id %}
    <snapshotId>{{ volume.snapshot_id }}</snapshotId>
  {% else %}
    <snapshotId/>
  {% endif %}
  <availabilityZone>{{ volume.zone.name }}</availabilityZone>
  <status>creating</status>
  <createTime>{{ volume.create_time}}</createTime>
  <volumeType>standard</volumeType>
</CreateVolumeResponse> N/A DESCRIBE_VOLUMES_RESPONSE <DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
   <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
   <volumeSet>
      {% for volume in volumes %}
          <item>
             <volumeId>{{ volume.id }}</volumeId>
             <size>{{ volume.size }}</size>
             {% if volume.snapshot_id %}
               <snapshotId>{{ volume.snapshot_id }}</snapshotId>
             {% else %}
               <snapshotId/>
             {% endif %}
             <availabilityZone>{{ volume.zone.name }}</availabilityZone>
             <status>{{ volume.status }}</status>
             <createTime>{{ volume.create_time}}</createTime>
             <attachmentSet>
                {% if volume.attachment %}
                    <item>
                       <volumeId>{{ volume.id }}</volumeId>
                       <instanceId>{{ volume.attachment.instance.id }}</instanceId>
                       <device>{{ volume.attachment.device }}</device>
                       <status>attached</status>
                       <attachTime>{{volume.attachment.attach_time}}</attachTime>
                       <deleteOnTermination>false</deleteOnTermination>
                    </item>
                {% endif %}
             </attachmentSet>
             <tagSet>
               {% for tag in volume.get_tags() %}
                 <item>
                   <resourceId>{{ tag.resource_id }}</resourceId>
                   <resourceType>{{ tag.resource_type }}</resourceType>
                   <key>{{ tag.key }}</key>
                   <value>{{ tag.value }}</value>
                 </item>
               {% endfor %}
             </tagSet>
             <volumeType>standard</volumeType>
          </item>
      {% endfor %}
   </volumeSet>
</DescribeVolumesResponse> N/A DELETE_VOLUME_RESPONSE <DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <return>true</return>
</DeleteVolumeResponse> N/A ATTACHED_VOLUME_RESPONSE <AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <volumeId>{{ attachment.volume.id }}</volumeId>
  <instanceId>{{ attachment.instance.id }}</instanceId>
  <device>{{ attachment.device }}</device>
  <status>attaching</status>
  <attachTime>{{attachment.attach_time}}</attachTime>
</AttachVolumeResponse> N/A DETATCH_VOLUME_RESPONSE <DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
   <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
   <volumeId>{{ attachment.volume.id }}</volumeId>
   <instanceId>{{ attachment.instance.id }}</instanceId>
   <device>{{ attachment.device }}</device>
   <status>detaching</status>
   <attachTime>2013-10-04T17:38:53.000Z</attachTime>
</DetachVolumeResponse> N/A CREATE_SNAPSHOT_RESPONSE <CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <snapshotId>{{ snapshot.id }}</snapshotId>
  <volumeId>{{ snapshot.volume.id }}</volumeId>
  <status>pending</status>
  <startTime>{{ snapshot.start_time}}</startTime>
  <progress>60%</progress>
  <ownerId>111122223333</ownerId>
  <volumeSize>{{ snapshot.volume.size }}</volumeSize>
  <description>{{ snapshot.description }}</description>
</CreateSnapshotResponse> N/A DESCRIBE_SNAPSHOTS_RESPONSE <DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
   <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
   <snapshotSet>
      {% for snapshot in snapshots %}
          <item>
             <snapshotId>{{ snapshot.id }}</snapshotId>
             <volumeId>{{ snapshot.volume.id }}</volumeId>
             <status>completed</status>
             <startTime>{{ snapshot.start_time}}</startTime>
             <progress>100%</progress>
             <ownerId>111122223333</ownerId>
             <volumeSize>{{ snapshot.volume.size }}</volumeSize>
             <description>{{ snapshot.description }}</description>
             <tagSet>
               {% for tag in snapshot.get_tags() %}
                 <item>
                   <resourceId>{{ tag.resource_id }}</resourceId>
                   <resourceType>{{ tag.resource_type }}</resourceType>
                   <key>{{ tag.key }}</key>
                   <value>{{ tag.value }}</value>
                 </item>
               {% endfor %}
             </tagSet>
          </item>
      {% endfor %}
   </snapshotSet>
</DescribeSnapshotsResponse> N/A DELETE_SNAPSHOT_RESPONSE <DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <return>true</return>
</DeleteSnapshotResponse> N/A DESCRIBE_SNAPSHOT_ATTRIBUTES_RESPONSE 
<DescribeSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
    <requestId>a9540c9f-161a-45d8-9cc1-1182b89ad69f</requestId>
    <snapshotId>snap-a0332ee0</snapshotId>
   {% if not groups %}
      <createVolumePermission/>
   {% endif %}
   {% if groups %}
      <createVolumePermission>
         {% for group in groups %}
            <item>
               <group>{{ group }}</group>
            </item>
         {% endfor %}
      </createVolumePermission>
   {% endif %}
</DescribeSnapshotAttributeResponse>
 N/A MODIFY_SNAPSHOT_ATTRIBUTE_RESPONSE 
<ModifySnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
    <requestId>666d2944-9276-4d6a-be12-1f4ada972fd8</requestId>
    <return>true</return>
</ModifySnapshotAttributeResponse>
