* change api version to 2013-10-15
This commit is contained in:
parent
ac4ce7d53f
commit
52eb16d765
@ -64,18 +64,18 @@ class AmisResponse(BaseResponse):
|
|||||||
raise NotImplementedError('AMIs.reset_image_attribute is not yet implemented')
|
raise NotImplementedError('AMIs.reset_image_attribute is not yet implemented')
|
||||||
|
|
||||||
|
|
||||||
CREATE_IMAGE_RESPONSE = """<CreateImageResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
CREATE_IMAGE_RESPONSE = """<CreateImageResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<imageId>{{ image.id }}</imageId>
|
<imageId>{{ image.id }}</imageId>
|
||||||
</CreateImageResponse>"""
|
</CreateImageResponse>"""
|
||||||
|
|
||||||
COPY_IMAGE_RESPONSE = """<CopyImageResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
COPY_IMAGE_RESPONSE = """<CopyImageResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>60bc441d-fa2c-494d-b155-5d6a3EXAMPLE</requestId>
|
<requestId>60bc441d-fa2c-494d-b155-5d6a3EXAMPLE</requestId>
|
||||||
<imageId>{{ image.id }}</imageId>
|
<imageId>{{ image.id }}</imageId>
|
||||||
</CopyImageResponse>"""
|
</CopyImageResponse>"""
|
||||||
|
|
||||||
# TODO almost all of these params should actually be templated based on the ec2 image
|
# TODO almost all of these params should actually be templated based on the ec2 image
|
||||||
DESCRIBE_IMAGES_RESPONSE = """<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_IMAGES_RESPONSE = """<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<imagesSet>
|
<imagesSet>
|
||||||
{% for image in images %}
|
{% for image in images %}
|
||||||
@ -125,7 +125,7 @@ DESCRIBE_IMAGES_RESPONSE = """<DescribeImagesResponse xmlns="http://ec2.amazonaw
|
|||||||
</imagesSet>
|
</imagesSet>
|
||||||
</DescribeImagesResponse>"""
|
</DescribeImagesResponse>"""
|
||||||
|
|
||||||
DESCRIBE_IMAGE_RESPONSE = """<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_IMAGE_RESPONSE = """<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<imageId>{{ image.id }}</imageId>
|
<imageId>{{ image.id }}</imageId>
|
||||||
<{{ key }}>
|
<{{ key }}>
|
||||||
@ -133,13 +133,13 @@ DESCRIBE_IMAGE_RESPONSE = """<DescribeImageAttributeResponse xmlns="http://ec2.a
|
|||||||
</{{key }}>
|
</{{key }}>
|
||||||
</DescribeImageAttributeResponse>"""
|
</DescribeImageAttributeResponse>"""
|
||||||
|
|
||||||
DEREGISTER_IMAGE_RESPONSE = """<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DEREGISTER_IMAGE_RESPONSE = """<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>{{ success }}</return>
|
<return>{{ success }}</return>
|
||||||
</DeregisterImageResponse>"""
|
</DeregisterImageResponse>"""
|
||||||
|
|
||||||
DESCRIBE_IMAGE_ATTRIBUTES_RESPONSE = """
|
DESCRIBE_IMAGE_ATTRIBUTES_RESPONSE = """
|
||||||
<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-08-15/">
|
<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<imageId>{{ ami_id }}</imageId>
|
<imageId>{{ ami_id }}</imageId>
|
||||||
{% if not groups and not users %}
|
{% if not groups and not users %}
|
||||||
@ -165,7 +165,7 @@ DESCRIBE_IMAGE_ATTRIBUTES_RESPONSE = """
|
|||||||
</DescribeImageAttributeResponse>"""
|
</DescribeImageAttributeResponse>"""
|
||||||
|
|
||||||
MODIFY_IMAGE_ATTRIBUTE_RESPONSE = """
|
MODIFY_IMAGE_ATTRIBUTE_RESPONSE = """
|
||||||
<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-08-15/">
|
<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ModifyImageAttributeResponse>
|
</ModifyImageAttributeResponse>
|
||||||
"""
|
"""
|
||||||
|
@ -13,7 +13,7 @@ class AvailabilityZonesAndRegions(BaseResponse):
|
|||||||
template = self.response_template(DESCRIBE_REGIONS_RESPONSE)
|
template = self.response_template(DESCRIBE_REGIONS_RESPONSE)
|
||||||
return template.render(regions=regions)
|
return template.render(regions=regions)
|
||||||
|
|
||||||
DESCRIBE_REGIONS_RESPONSE = """<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_REGIONS_RESPONSE = """<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<regionInfo>
|
<regionInfo>
|
||||||
{% for region in regions %}
|
{% for region in regions %}
|
||||||
@ -25,7 +25,7 @@ DESCRIBE_REGIONS_RESPONSE = """<DescribeRegionsResponse xmlns="http://ec2.amazon
|
|||||||
</regionInfo>
|
</regionInfo>
|
||||||
</DescribeRegionsResponse>"""
|
</DescribeRegionsResponse>"""
|
||||||
|
|
||||||
DESCRIBE_ZONES_RESPONSE = """<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_ZONES_RESPONSE = """<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<availabilityZoneInfo>
|
<availabilityZoneInfo>
|
||||||
{% for zone in zones %}
|
{% for zone in zones %}
|
||||||
|
@ -28,7 +28,7 @@ class CustomerGateways(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_CUSTOMER_GATEWAY_RESPONSE = """
|
CREATE_CUSTOMER_GATEWAY_RESPONSE = """
|
||||||
<CreateCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<CreateCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<customerGateway>
|
<customerGateway>
|
||||||
<customerGatewayId>{{ customer_gateway.id }}</customerGatewayId>
|
<customerGatewayId>{{ customer_gateway.id }}</customerGatewayId>
|
||||||
@ -50,7 +50,7 @@ CREATE_CUSTOMER_GATEWAY_RESPONSE = """
|
|||||||
</CreateCustomerGatewayResponse>"""
|
</CreateCustomerGatewayResponse>"""
|
||||||
|
|
||||||
DELETE_CUSTOMER_GATEWAY_RESPONSE = """
|
DELETE_CUSTOMER_GATEWAY_RESPONSE = """
|
||||||
<DeleteCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<DeleteCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>{{ delete_status }}</return>
|
<return>{{ delete_status }}</return>
|
||||||
</DeleteCustomerGatewayResponse>"""
|
</DeleteCustomerGatewayResponse>"""
|
||||||
|
@ -108,7 +108,7 @@ class ElasticBlockStore(BaseResponse):
|
|||||||
raise NotImplementedError('ElasticBlockStore.reset_snapshot_attribute is not yet implemented')
|
raise NotImplementedError('ElasticBlockStore.reset_snapshot_attribute is not yet implemented')
|
||||||
|
|
||||||
|
|
||||||
CREATE_VOLUME_RESPONSE = """<CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
CREATE_VOLUME_RESPONSE = """<CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<volumeId>{{ volume.id }}</volumeId>
|
<volumeId>{{ volume.id }}</volumeId>
|
||||||
<size>{{ volume.size }}</size>
|
<size>{{ volume.size }}</size>
|
||||||
@ -123,7 +123,7 @@ CREATE_VOLUME_RESPONSE = """<CreateVolumeResponse xmlns="http://ec2.amazonaws.co
|
|||||||
<volumeType>standard</volumeType>
|
<volumeType>standard</volumeType>
|
||||||
</CreateVolumeResponse>"""
|
</CreateVolumeResponse>"""
|
||||||
|
|
||||||
DESCRIBE_VOLUMES_RESPONSE = """<DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_VOLUMES_RESPONSE = """<DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<volumeSet>
|
<volumeSet>
|
||||||
{% for volume in volumes %}
|
{% for volume in volumes %}
|
||||||
@ -166,12 +166,12 @@ DESCRIBE_VOLUMES_RESPONSE = """<DescribeVolumesResponse xmlns="http://ec2.amazon
|
|||||||
</volumeSet>
|
</volumeSet>
|
||||||
</DescribeVolumesResponse>"""
|
</DescribeVolumesResponse>"""
|
||||||
|
|
||||||
DELETE_VOLUME_RESPONSE = """<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DELETE_VOLUME_RESPONSE = """<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteVolumeResponse>"""
|
</DeleteVolumeResponse>"""
|
||||||
|
|
||||||
ATTACHED_VOLUME_RESPONSE = """<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
ATTACHED_VOLUME_RESPONSE = """<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<volumeId>{{ attachment.volume.id }}</volumeId>
|
<volumeId>{{ attachment.volume.id }}</volumeId>
|
||||||
<instanceId>{{ attachment.instance.id }}</instanceId>
|
<instanceId>{{ attachment.instance.id }}</instanceId>
|
||||||
@ -180,7 +180,7 @@ ATTACHED_VOLUME_RESPONSE = """<AttachVolumeResponse xmlns="http://ec2.amazonaws.
|
|||||||
<attachTime>{{attachment.attach_time}}</attachTime>
|
<attachTime>{{attachment.attach_time}}</attachTime>
|
||||||
</AttachVolumeResponse>"""
|
</AttachVolumeResponse>"""
|
||||||
|
|
||||||
DETATCH_VOLUME_RESPONSE = """<DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DETATCH_VOLUME_RESPONSE = """<DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<volumeId>{{ attachment.volume.id }}</volumeId>
|
<volumeId>{{ attachment.volume.id }}</volumeId>
|
||||||
<instanceId>{{ attachment.instance.id }}</instanceId>
|
<instanceId>{{ attachment.instance.id }}</instanceId>
|
||||||
@ -189,7 +189,7 @@ DETATCH_VOLUME_RESPONSE = """<DetachVolumeResponse xmlns="http://ec2.amazonaws.c
|
|||||||
<attachTime>2013-10-04T17:38:53.000Z</attachTime>
|
<attachTime>2013-10-04T17:38:53.000Z</attachTime>
|
||||||
</DetachVolumeResponse>"""
|
</DetachVolumeResponse>"""
|
||||||
|
|
||||||
CREATE_SNAPSHOT_RESPONSE = """<CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
CREATE_SNAPSHOT_RESPONSE = """<CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<snapshotId>{{ snapshot.id }}</snapshotId>
|
<snapshotId>{{ snapshot.id }}</snapshotId>
|
||||||
<volumeId>{{ snapshot.volume.id }}</volumeId>
|
<volumeId>{{ snapshot.volume.id }}</volumeId>
|
||||||
@ -201,7 +201,7 @@ CREATE_SNAPSHOT_RESPONSE = """<CreateSnapshotResponse xmlns="http://ec2.amazonaw
|
|||||||
<description>{{ snapshot.description }}</description>
|
<description>{{ snapshot.description }}</description>
|
||||||
</CreateSnapshotResponse>"""
|
</CreateSnapshotResponse>"""
|
||||||
|
|
||||||
DESCRIBE_SNAPSHOTS_RESPONSE = """<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_SNAPSHOTS_RESPONSE = """<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<snapshotSet>
|
<snapshotSet>
|
||||||
{% for snapshot in snapshots %}
|
{% for snapshot in snapshots %}
|
||||||
@ -229,13 +229,13 @@ DESCRIBE_SNAPSHOTS_RESPONSE = """<DescribeSnapshotsResponse xmlns="http://ec2.am
|
|||||||
</snapshotSet>
|
</snapshotSet>
|
||||||
</DescribeSnapshotsResponse>"""
|
</DescribeSnapshotsResponse>"""
|
||||||
|
|
||||||
DELETE_SNAPSHOT_RESPONSE = """<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DELETE_SNAPSHOT_RESPONSE = """<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteSnapshotResponse>"""
|
</DeleteSnapshotResponse>"""
|
||||||
|
|
||||||
DESCRIBE_SNAPSHOT_ATTRIBUTES_RESPONSE = """
|
DESCRIBE_SNAPSHOT_ATTRIBUTES_RESPONSE = """
|
||||||
<DescribeSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<DescribeSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>a9540c9f-161a-45d8-9cc1-1182b89ad69f</requestId>
|
<requestId>a9540c9f-161a-45d8-9cc1-1182b89ad69f</requestId>
|
||||||
<snapshotId>snap-a0332ee0</snapshotId>
|
<snapshotId>snap-a0332ee0</snapshotId>
|
||||||
{% if not groups %}
|
{% if not groups %}
|
||||||
@ -254,7 +254,7 @@ DESCRIBE_SNAPSHOT_ATTRIBUTES_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
MODIFY_SNAPSHOT_ATTRIBUTE_RESPONSE = """
|
MODIFY_SNAPSHOT_ATTRIBUTE_RESPONSE = """
|
||||||
<ModifySnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<ModifySnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>666d2944-9276-4d6a-be12-1f4ada972fd8</requestId>
|
<requestId>666d2944-9276-4d6a-be12-1f4ada972fd8</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ModifySnapshotAttributeResponse>
|
</ModifySnapshotAttributeResponse>
|
||||||
|
@ -76,7 +76,7 @@ class ElasticIPAddresses(BaseResponse):
|
|||||||
return self.response_template(RELEASE_ADDRESS_RESPONSE).render()
|
return self.response_template(RELEASE_ADDRESS_RESPONSE).render()
|
||||||
|
|
||||||
|
|
||||||
ALLOCATE_ADDRESS_RESPONSE = """<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
ALLOCATE_ADDRESS_RESPONSE = """<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<publicIp>{{ address.public_ip }}</publicIp>
|
<publicIp>{{ address.public_ip }}</publicIp>
|
||||||
<domain>{{ address.domain }}</domain>
|
<domain>{{ address.domain }}</domain>
|
||||||
@ -85,7 +85,7 @@ ALLOCATE_ADDRESS_RESPONSE = """<AllocateAddressResponse xmlns="http://ec2.amazon
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</AllocateAddressResponse>"""
|
</AllocateAddressResponse>"""
|
||||||
|
|
||||||
ASSOCIATE_ADDRESS_RESPONSE = """<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
ASSOCIATE_ADDRESS_RESPONSE = """<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
{% if address.association_id %}
|
{% if address.association_id %}
|
||||||
@ -93,7 +93,7 @@ ASSOCIATE_ADDRESS_RESPONSE = """<AssociateAddressResponse xmlns="http://ec2.amaz
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</AssociateAddressResponse>"""
|
</AssociateAddressResponse>"""
|
||||||
|
|
||||||
DESCRIBE_ADDRESS_RESPONSE = """<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
DESCRIBE_ADDRESS_RESPONSE = """<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<addressesSet>
|
<addressesSet>
|
||||||
{% for address in addresses %}
|
{% for address in addresses %}
|
||||||
@ -121,12 +121,12 @@ DESCRIBE_ADDRESS_RESPONSE = """<DescribeAddressesResponse xmlns="http://ec2.amaz
|
|||||||
</addressesSet>
|
</addressesSet>
|
||||||
</DescribeAddressesResponse>"""
|
</DescribeAddressesResponse>"""
|
||||||
|
|
||||||
DISASSOCIATE_ADDRESS_RESPONSE = """<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
DISASSOCIATE_ADDRESS_RESPONSE = """<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DisassociateAddressResponse>"""
|
</DisassociateAddressResponse>"""
|
||||||
|
|
||||||
RELEASE_ADDRESS_RESPONSE = """<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
RELEASE_ADDRESS_RESPONSE = """<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ReleaseAddressResponse>"""
|
</ReleaseAddressResponse>"""
|
||||||
|
@ -59,7 +59,7 @@ class ElasticNetworkInterfaces(BaseResponse):
|
|||||||
raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).reset_network_interface_attribute is not yet implemented')
|
raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).reset_network_interface_attribute is not yet implemented')
|
||||||
|
|
||||||
CREATE_NETWORK_INTERFACE_RESPONSE = """
|
CREATE_NETWORK_INTERFACE_RESPONSE = """
|
||||||
<CreateNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<CreateNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>2c6021ec-d705-445a-9780-420d0c7ab793</requestId>
|
<requestId>2c6021ec-d705-445a-9780-420d0c7ab793</requestId>
|
||||||
<networkInterface>
|
<networkInterface>
|
||||||
<networkInterfaceId>{{ eni.id }}</networkInterfaceId>
|
<networkInterfaceId>{{ eni.id }}</networkInterfaceId>
|
||||||
@ -100,7 +100,7 @@ CREATE_NETWORK_INTERFACE_RESPONSE = """
|
|||||||
</CreateNetworkInterfaceResponse>
|
</CreateNetworkInterfaceResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DESCRIBE_NETWORK_INTERFACES_RESPONSE = """<DescribeNetworkInterfacesResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
DESCRIBE_NETWORK_INTERFACES_RESPONSE = """<DescribeNetworkInterfacesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>ddb0aaf1-8b65-4f0a-94fa-654b18b8a204</requestId>
|
<requestId>ddb0aaf1-8b65-4f0a-94fa-654b18b8a204</requestId>
|
||||||
<networkInterfaceSet>
|
<networkInterfaceSet>
|
||||||
{% for eni in enis %}
|
{% for eni in enis %}
|
||||||
@ -169,23 +169,23 @@ DESCRIBE_NETWORK_INTERFACES_RESPONSE = """<DescribeNetworkInterfacesResponse xml
|
|||||||
</networkInterfaceSet>
|
</networkInterfaceSet>
|
||||||
</DescribeNetworkInterfacesResponse>"""
|
</DescribeNetworkInterfacesResponse>"""
|
||||||
|
|
||||||
ATTACH_NETWORK_INTERFACE_RESPONSE = """<AttachNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
ATTACH_NETWORK_INTERFACE_RESPONSE = """<AttachNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<attachmentId>{{ attachment_id }}</attachmentId>
|
<attachmentId>{{ attachment_id }}</attachmentId>
|
||||||
</AttachNetworkInterfaceResponse>"""
|
</AttachNetworkInterfaceResponse>"""
|
||||||
|
|
||||||
DETACH_NETWORK_INTERFACE_RESPONSE = """<DetachNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
DETACH_NETWORK_INTERFACE_RESPONSE = """<DetachNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DetachNetworkInterfaceResponse>"""
|
</DetachNetworkInterfaceResponse>"""
|
||||||
|
|
||||||
MODIFY_NETWORK_INTERFACE_ATTRIBUTE_RESPONSE = """<ModifyNetworkInterfaceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
MODIFY_NETWORK_INTERFACE_ATTRIBUTE_RESPONSE = """<ModifyNetworkInterfaceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ModifyNetworkInterfaceAttributeResponse>"""
|
</ModifyNetworkInterfaceAttributeResponse>"""
|
||||||
|
|
||||||
DELETE_NETWORK_INTERFACE_RESPONSE = """
|
DELETE_NETWORK_INTERFACE_RESPONSE = """
|
||||||
<DeleteNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<DeleteNetworkInterfaceResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>34b5b3b4-d0c5-49b9-b5e2-a468ef6adcd8</requestId>
|
<requestId>34b5b3b4-d0c5-49b9-b5e2-a468ef6adcd8</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteNetworkInterfaceResponse>"""
|
</DeleteNetworkInterfaceResponse>"""
|
||||||
|
@ -13,7 +13,7 @@ class General(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
GET_CONSOLE_OUTPUT_RESULT = '''
|
GET_CONSOLE_OUTPUT_RESULT = '''
|
||||||
<GetConsoleOutputResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<GetConsoleOutputResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instanceId>{{ instance.id }}</instanceId>
|
<instanceId>{{ instance.id }}</instanceId>
|
||||||
<timestamp>2010-10-14T01:12:41.000Z</timestamp>
|
<timestamp>2010-10-14T01:12:41.000Z</timestamp>
|
||||||
|
@ -185,7 +185,7 @@ class InstanceResponse(BaseResponse):
|
|||||||
return EC2_MODIFY_INSTANCE_ATTRIBUTE
|
return EC2_MODIFY_INSTANCE_ATTRIBUTE
|
||||||
|
|
||||||
|
|
||||||
EC2_RUN_INSTANCES = """<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
EC2_RUN_INSTANCES = """<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<reservationId>{{ reservation.id }}</reservationId>
|
<reservationId>{{ reservation.id }}</reservationId>
|
||||||
<ownerId>111122223333</ownerId>
|
<ownerId>111122223333</ownerId>
|
||||||
@ -460,7 +460,7 @@ EC2_DESCRIBE_INSTANCES = """<DescribeInstancesResponse xmlns='http://ec2.amazona
|
|||||||
</DescribeInstancesResponse>"""
|
</DescribeInstancesResponse>"""
|
||||||
|
|
||||||
EC2_TERMINATE_INSTANCES = """
|
EC2_TERMINATE_INSTANCES = """
|
||||||
<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instancesSet>
|
<instancesSet>
|
||||||
{% for instance in instances %}
|
{% for instance in instances %}
|
||||||
@ -480,7 +480,7 @@ EC2_TERMINATE_INSTANCES = """
|
|||||||
</TerminateInstancesResponse>"""
|
</TerminateInstancesResponse>"""
|
||||||
|
|
||||||
EC2_STOP_INSTANCES = """
|
EC2_STOP_INSTANCES = """
|
||||||
<StopInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<StopInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instancesSet>
|
<instancesSet>
|
||||||
{% for instance in instances %}
|
{% for instance in instances %}
|
||||||
@ -500,7 +500,7 @@ EC2_STOP_INSTANCES = """
|
|||||||
</StopInstancesResponse>"""
|
</StopInstancesResponse>"""
|
||||||
|
|
||||||
EC2_START_INSTANCES = """
|
EC2_START_INSTANCES = """
|
||||||
<StartInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<StartInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instancesSet>
|
<instancesSet>
|
||||||
{% for instance in instances %}
|
{% for instance in instances %}
|
||||||
@ -519,12 +519,12 @@ EC2_START_INSTANCES = """
|
|||||||
</instancesSet>
|
</instancesSet>
|
||||||
</StartInstancesResponse>"""
|
</StartInstancesResponse>"""
|
||||||
|
|
||||||
EC2_REBOOT_INSTANCES = """<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
EC2_REBOOT_INSTANCES = """<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</RebootInstancesResponse>"""
|
</RebootInstancesResponse>"""
|
||||||
|
|
||||||
EC2_DESCRIBE_INSTANCE_ATTRIBUTE = """<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
EC2_DESCRIBE_INSTANCE_ATTRIBUTE = """<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instanceId>{{ instance.id }}</instanceId>
|
<instanceId>{{ instance.id }}</instanceId>
|
||||||
<{{ attribute }}>
|
<{{ attribute }}>
|
||||||
@ -532,7 +532,7 @@ EC2_DESCRIBE_INSTANCE_ATTRIBUTE = """<DescribeInstanceAttributeResponse xmlns="h
|
|||||||
</{{ attribute }}>
|
</{{ attribute }}>
|
||||||
</DescribeInstanceAttributeResponse>"""
|
</DescribeInstanceAttributeResponse>"""
|
||||||
|
|
||||||
EC2_DESCRIBE_INSTANCE_GROUPSET_ATTRIBUTE = """<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
EC2_DESCRIBE_INSTANCE_GROUPSET_ATTRIBUTE = """<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instanceId>{{ instance.id }}</instanceId>
|
<instanceId>{{ instance.id }}</instanceId>
|
||||||
<{{ attribute }}>
|
<{{ attribute }}>
|
||||||
@ -544,13 +544,13 @@ EC2_DESCRIBE_INSTANCE_GROUPSET_ATTRIBUTE = """<DescribeInstanceAttributeResponse
|
|||||||
</{{ attribute }}>
|
</{{ attribute }}>
|
||||||
</DescribeInstanceAttributeResponse>"""
|
</DescribeInstanceAttributeResponse>"""
|
||||||
|
|
||||||
EC2_MODIFY_INSTANCE_ATTRIBUTE = """<ModifyInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
EC2_MODIFY_INSTANCE_ATTRIBUTE = """<ModifyInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ModifyInstanceAttributeResponse>"""
|
</ModifyInstanceAttributeResponse>"""
|
||||||
|
|
||||||
EC2_INSTANCE_STATUS = """<?xml version="1.0" encoding="UTF-8"?>
|
EC2_INSTANCE_STATUS = """<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<DescribeInstanceStatusResponse xmlns="http://ec2.amazonaws.com/doc/2014-05-01/">
|
<DescribeInstanceStatusResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<instanceStatusSet>
|
<instanceStatusSet>
|
||||||
{% for instance in instances %}
|
{% for instance in instances %}
|
||||||
|
@ -64,7 +64,7 @@ DELETE_KEY_PAIR_RESPONSE = """<DeleteKeyPairResponse xmlns="http://ec2.amazonaws
|
|||||||
</DeleteKeyPairResponse>"""
|
</DeleteKeyPairResponse>"""
|
||||||
|
|
||||||
IMPORT_KEYPAIR_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
IMPORT_KEYPAIR_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ImportKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<ImportKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>471f9fdd-8fe2-4a84-86b0-bd3d3e350979</requestId>
|
<requestId>471f9fdd-8fe2-4a84-86b0-bd3d3e350979</requestId>
|
||||||
<keyName>{{ name }}</keyName>
|
<keyName>{{ name }}</keyName>
|
||||||
<keyFingerprint>{{ fingerprint }}</keyFingerprint>
|
<keyFingerprint>{{ fingerprint }}</keyFingerprint>
|
||||||
|
@ -66,7 +66,7 @@ class NetworkACLs(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_NETWORK_ACL_RESPONSE = """
|
CREATE_NETWORK_ACL_RESPONSE = """
|
||||||
<CreateNetworkAclResponse xmlns="http://ec2.amazonaws.com/doc/2014-09-01/">
|
<CreateNetworkAclResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<networkAcl>
|
<networkAcl>
|
||||||
<networkAclId>{{ network_acl.id }}</networkAclId>
|
<networkAclId>{{ network_acl.id }}</networkAclId>
|
||||||
@ -89,7 +89,7 @@ CREATE_NETWORK_ACL_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
DESCRIBE_NETWORK_ACL_RESPONSE = """
|
DESCRIBE_NETWORK_ACL_RESPONSE = """
|
||||||
<DescribeNetworkAclsResponse xmlns="http://ec2.amazonaws.com/doc/2014-09-01/">
|
<DescribeNetworkAclsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<networkAclSet>
|
<networkAclSet>
|
||||||
{% for network_acl in network_acls %}
|
{% for network_acl in network_acls %}
|
||||||
@ -140,21 +140,21 @@ DESCRIBE_NETWORK_ACL_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
CREATE_NETWORK_ACL_ENTRY_RESPONSE = """
|
CREATE_NETWORK_ACL_ENTRY_RESPONSE = """
|
||||||
<CreateNetworkAclEntryResponse xmlns="http://ec2.amazonaws.com/doc/2014-09-01/">
|
<CreateNetworkAclEntryResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</CreateNetworkAclEntryResponse>
|
</CreateNetworkAclEntryResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
REPLACE_NETWORK_ACL_ASSOCIATION = """
|
REPLACE_NETWORK_ACL_ASSOCIATION = """
|
||||||
<ReplaceNetworkAclAssociationResponse xmlns="http://ec2.amazonaws.com/doc/2014-09-01/">
|
<ReplaceNetworkAclAssociationResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<newAssociationId>{{ association.new_association_id }}</newAssociationId>
|
<newAssociationId>{{ association.new_association_id }}</newAssociationId>
|
||||||
</ReplaceNetworkAclAssociationResponse>
|
</ReplaceNetworkAclAssociationResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DELETE_NETWORK_ACL_ASSOCIATION = """
|
DELETE_NETWORK_ACL_ASSOCIATION = """
|
||||||
<DeleteNetworkAclResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<DeleteNetworkAclResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteNetworkAclResponse>
|
</DeleteNetworkAclResponse>
|
||||||
|
@ -89,21 +89,21 @@ class RouteTables(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_ROUTE_RESPONSE = """
|
CREATE_ROUTE_RESPONSE = """
|
||||||
<CreateRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<CreateRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</CreateRouteResponse>
|
</CreateRouteResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
REPLACE_ROUTE_RESPONSE = """
|
REPLACE_ROUTE_RESPONSE = """
|
||||||
<ReplaceRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<ReplaceRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</ReplaceRouteResponse>
|
</ReplaceRouteResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
CREATE_ROUTE_TABLE_RESPONSE = """
|
CREATE_ROUTE_TABLE_RESPONSE = """
|
||||||
<CreateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<CreateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<routeTable>
|
<routeTable>
|
||||||
<routeTableId>{{ route_table.id }}</routeTableId>
|
<routeTableId>{{ route_table.id }}</routeTableId>
|
||||||
@ -135,7 +135,7 @@ CREATE_ROUTE_TABLE_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
DESCRIBE_ROUTE_TABLES_RESPONSE = """
|
DESCRIBE_ROUTE_TABLES_RESPONSE = """
|
||||||
<DescribeRouteTablesResponse xmlns="http://ec2.amazonaws.com/doc/2013-08-15/">
|
<DescribeRouteTablesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>6f570b0b-9c18-4b07-bdec-73740dcf861a</requestId>
|
<requestId>6f570b0b-9c18-4b07-bdec-73740dcf861a</requestId>
|
||||||
<routeTableSet>
|
<routeTableSet>
|
||||||
{% for route_table in route_tables %}
|
{% for route_table in route_tables %}
|
||||||
@ -197,35 +197,35 @@ DESCRIBE_ROUTE_TABLES_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
DELETE_ROUTE_RESPONSE = """
|
DELETE_ROUTE_RESPONSE = """
|
||||||
<DeleteRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<DeleteRouteResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteRouteResponse>
|
</DeleteRouteResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DELETE_ROUTE_TABLE_RESPONSE = """
|
DELETE_ROUTE_TABLE_RESPONSE = """
|
||||||
<DeleteRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-07-15/">
|
<DeleteRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteRouteTableResponse>
|
</DeleteRouteTableResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ASSOCIATE_ROUTE_TABLE_RESPONSE = """
|
ASSOCIATE_ROUTE_TABLE_RESPONSE = """
|
||||||
<AssociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<AssociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<associationId>{{ association_id }}</associationId>
|
<associationId>{{ association_id }}</associationId>
|
||||||
</AssociateRouteTableResponse>
|
</AssociateRouteTableResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DISASSOCIATE_ROUTE_TABLE_RESPONSE = """
|
DISASSOCIATE_ROUTE_TABLE_RESPONSE = """
|
||||||
<DisassociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<DisassociateRouteTableResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DisassociateRouteTableResponse>
|
</DisassociateRouteTableResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
REPLACE_ROUTE_TABLE_ASSOCIATION_RESPONSE = """
|
REPLACE_ROUTE_TABLE_ASSOCIATION_RESPONSE = """
|
||||||
<ReplaceRouteTableAssociationResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<ReplaceRouteTableAssociationResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<newAssociationId>{{ association_id }}</newAssociationId>
|
<newAssociationId>{{ association_id }}</newAssociationId>
|
||||||
</ReplaceRouteTableAssociationResponse>
|
</ReplaceRouteTableAssociationResponse>
|
||||||
|
@ -84,18 +84,18 @@ class SecurityGroups(BaseResponse):
|
|||||||
return REVOKE_SECURITY_GROUP_INGRESS_REPONSE
|
return REVOKE_SECURITY_GROUP_INGRESS_REPONSE
|
||||||
|
|
||||||
|
|
||||||
CREATE_SECURITY_GROUP_RESPONSE = """<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
CREATE_SECURITY_GROUP_RESPONSE = """<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
<groupId>{{ group.id }}</groupId>
|
<groupId>{{ group.id }}</groupId>
|
||||||
</CreateSecurityGroupResponse>"""
|
</CreateSecurityGroupResponse>"""
|
||||||
|
|
||||||
DELETE_GROUP_RESPONSE = """<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DELETE_GROUP_RESPONSE = """<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteSecurityGroupResponse>"""
|
</DeleteSecurityGroupResponse>"""
|
||||||
|
|
||||||
DESCRIBE_SECURITY_GROUPS_RESPONSE = """<DescribeSecurityGroupsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_SECURITY_GROUPS_RESPONSE = """<DescribeSecurityGroupsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<securityGroupInfo>
|
<securityGroupInfo>
|
||||||
{% for group in groups %}
|
{% for group in groups %}
|
||||||
@ -172,23 +172,23 @@ DESCRIBE_SECURITY_GROUPS_RESPONSE = """<DescribeSecurityGroupsResponse xmlns="ht
|
|||||||
</securityGroupInfo>
|
</securityGroupInfo>
|
||||||
</DescribeSecurityGroupsResponse>"""
|
</DescribeSecurityGroupsResponse>"""
|
||||||
|
|
||||||
AUTHORIZE_SECURITY_GROUP_INGRESS_REPONSE = """<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
AUTHORIZE_SECURITY_GROUP_INGRESS_REPONSE = """<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</AuthorizeSecurityGroupIngressResponse>"""
|
</AuthorizeSecurityGroupIngressResponse>"""
|
||||||
|
|
||||||
REVOKE_SECURITY_GROUP_INGRESS_REPONSE = """<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
REVOKE_SECURITY_GROUP_INGRESS_REPONSE = """<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</RevokeSecurityGroupIngressResponse>"""
|
</RevokeSecurityGroupIngressResponse>"""
|
||||||
|
|
||||||
AUTHORIZE_SECURITY_GROUP_EGRESS_RESPONSE = """
|
AUTHORIZE_SECURITY_GROUP_EGRESS_RESPONSE = """
|
||||||
<AuthorizeSecurityGroupEgressResponse xmlns="http://ec2.amazonaws.com/doc/2015-10-01/">
|
<AuthorizeSecurityGroupEgressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</AuthorizeSecurityGroupEgressResponse>"""
|
</AuthorizeSecurityGroupEgressResponse>"""
|
||||||
|
|
||||||
REVOKE_SECURITY_GROUP_EGRESS_RESPONSE = """<RevokeSecurityGroupEgressResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
REVOKE_SECURITY_GROUP_EGRESS_RESPONSE = """<RevokeSecurityGroupEgressResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</RevokeSecurityGroupEgressResponse>"""
|
</RevokeSecurityGroupEgressResponse>"""
|
||||||
|
@ -72,7 +72,7 @@ class SpotInstances(BaseResponse):
|
|||||||
return template.render(requests=requests)
|
return template.render(requests=requests)
|
||||||
|
|
||||||
|
|
||||||
REQUEST_SPOT_INSTANCES_TEMPLATE = """<RequestSpotInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-06-15/">
|
REQUEST_SPOT_INSTANCES_TEMPLATE = """<RequestSpotInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<spotInstanceRequestSet>
|
<spotInstanceRequestSet>
|
||||||
{% for request in requests %}
|
{% for request in requests %}
|
||||||
@ -127,7 +127,7 @@ REQUEST_SPOT_INSTANCES_TEMPLATE = """<RequestSpotInstancesResponse xmlns="http:/
|
|||||||
</spotInstanceRequestSet>
|
</spotInstanceRequestSet>
|
||||||
</RequestSpotInstancesResponse>"""
|
</RequestSpotInstancesResponse>"""
|
||||||
|
|
||||||
DESCRIBE_SPOT_INSTANCES_TEMPLATE = """<DescribeSpotInstanceRequestsResponse xmlns="http://ec2.amazonaws.com/doc/2013-06-15/">
|
DESCRIBE_SPOT_INSTANCES_TEMPLATE = """<DescribeSpotInstanceRequestsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<spotInstanceRequestSet>
|
<spotInstanceRequestSet>
|
||||||
{% for request in requests %}
|
{% for request in requests %}
|
||||||
@ -206,7 +206,7 @@ DESCRIBE_SPOT_INSTANCES_TEMPLATE = """<DescribeSpotInstanceRequestsResponse xmln
|
|||||||
</spotInstanceRequestSet>
|
</spotInstanceRequestSet>
|
||||||
</DescribeSpotInstanceRequestsResponse>"""
|
</DescribeSpotInstanceRequestsResponse>"""
|
||||||
|
|
||||||
CANCEL_SPOT_INSTANCES_TEMPLATE = """<CancelSpotInstanceRequestsResponse xmlns="http://ec2.amazonaws.com/doc/2013-06-15/">
|
CANCEL_SPOT_INSTANCES_TEMPLATE = """<CancelSpotInstanceRequestsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
||||||
<spotInstanceRequestSet>
|
<spotInstanceRequestSet>
|
||||||
{% for request in requests %}
|
{% for request in requests %}
|
||||||
|
@ -33,7 +33,7 @@ class Subnets(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_SUBNET_RESPONSE = """
|
CREATE_SUBNET_RESPONSE = """
|
||||||
<CreateSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<CreateSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<subnet>
|
<subnet>
|
||||||
<subnetId>{{ subnet.id }}</subnetId>
|
<subnetId>{{ subnet.id }}</subnetId>
|
||||||
@ -56,13 +56,13 @@ CREATE_SUBNET_RESPONSE = """
|
|||||||
</CreateSubnetResponse>"""
|
</CreateSubnetResponse>"""
|
||||||
|
|
||||||
DELETE_SUBNET_RESPONSE = """
|
DELETE_SUBNET_RESPONSE = """
|
||||||
<DeleteSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<DeleteSubnetResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteSubnetResponse>"""
|
</DeleteSubnetResponse>"""
|
||||||
|
|
||||||
DESCRIBE_SUBNETS_RESPONSE = """
|
DESCRIBE_SUBNETS_RESPONSE = """
|
||||||
<DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<subnetSet>
|
<subnetSet>
|
||||||
{% for subnet in subnets %}
|
{% for subnet in subnets %}
|
||||||
|
@ -29,17 +29,17 @@ class TagResponse(BaseResponse):
|
|||||||
return template.render(tags=tags)
|
return template.render(tags=tags)
|
||||||
|
|
||||||
|
|
||||||
CREATE_RESPONSE = """<CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
CREATE_RESPONSE = """<CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</CreateTagsResponse>"""
|
</CreateTagsResponse>"""
|
||||||
|
|
||||||
DELETE_RESPONSE = """<DeleteTagsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DELETE_RESPONSE = """<DeleteTagsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteTagsResponse>"""
|
</DeleteTagsResponse>"""
|
||||||
|
|
||||||
DESCRIBE_RESPONSE = """<DescribeTagsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
DESCRIBE_RESPONSE = """<DescribeTagsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<tagSet>
|
<tagSet>
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
|
@ -43,7 +43,7 @@ class VirtualPrivateGateways(BaseResponse):
|
|||||||
return template.render(attachment=attachment)
|
return template.render(attachment=attachment)
|
||||||
|
|
||||||
CREATE_VPN_GATEWAY_RESPONSE = """
|
CREATE_VPN_GATEWAY_RESPONSE = """
|
||||||
<CreateVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<CreateVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpnGateway>
|
<vpnGateway>
|
||||||
<vpnGatewayId>{{ vpn_gateway.id }}</vpnGatewayId>
|
<vpnGatewayId>{{ vpn_gateway.id }}</vpnGatewayId>
|
||||||
@ -65,7 +65,7 @@ CREATE_VPN_GATEWAY_RESPONSE = """
|
|||||||
</CreateVpnGatewayResponse>"""
|
</CreateVpnGatewayResponse>"""
|
||||||
|
|
||||||
DESCRIBE_VPN_GATEWAYS_RESPONSE = """
|
DESCRIBE_VPN_GATEWAYS_RESPONSE = """
|
||||||
<DescribeVpnGatewaysResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<DescribeVpnGatewaysResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpnGatewaySet>
|
<vpnGatewaySet>
|
||||||
{% for vpn_gateway in vpn_gateways %}
|
{% for vpn_gateway in vpn_gateways %}
|
||||||
@ -99,7 +99,7 @@ DESCRIBE_VPN_GATEWAYS_RESPONSE = """
|
|||||||
</DescribeVpnGatewaysResponse>"""
|
</DescribeVpnGatewaysResponse>"""
|
||||||
|
|
||||||
ATTACH_VPN_GATEWAY_RESPONSE = """
|
ATTACH_VPN_GATEWAY_RESPONSE = """
|
||||||
<AttachVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<AttachVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<attachment>
|
<attachment>
|
||||||
<vpcId>{{ attachment.vpc_id }}</vpcId>
|
<vpcId>{{ attachment.vpc_id }}</vpcId>
|
||||||
@ -108,14 +108,14 @@ ATTACH_VPN_GATEWAY_RESPONSE = """
|
|||||||
</AttachVpnGatewayResponse>"""
|
</AttachVpnGatewayResponse>"""
|
||||||
|
|
||||||
DELETE_VPN_GATEWAY_RESPONSE = """
|
DELETE_VPN_GATEWAY_RESPONSE = """
|
||||||
<DeleteVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<DeleteVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteVpnGatewayResponse>
|
</DeleteVpnGatewayResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
DETACH_VPN_GATEWAY_RESPONSE = """
|
DETACH_VPN_GATEWAY_RESPONSE = """
|
||||||
<DetachVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
<DetachVpnGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DetachVpnGatewayResponse>
|
</DetachVpnGatewayResponse>
|
||||||
|
@ -35,7 +35,7 @@ class VPCPeeringConnections(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_VPC_PEERING_CONNECTION_RESPONSE = """
|
CREATE_VPC_PEERING_CONNECTION_RESPONSE = """
|
||||||
<CreateVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<CreateVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpcPeeringConnection>
|
<vpcPeeringConnection>
|
||||||
<vpcPeeringConnectionId>{{ vpc_pcx.id }}</vpcPeeringConnectionId>
|
<vpcPeeringConnectionId>{{ vpc_pcx.id }}</vpcPeeringConnectionId>
|
||||||
@ -59,7 +59,7 @@ CREATE_VPC_PEERING_CONNECTION_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
DESCRIBE_VPC_PEERING_CONNECTIONS_RESPONSE = """
|
DESCRIBE_VPC_PEERING_CONNECTIONS_RESPONSE = """
|
||||||
<DescribeVpcPeeringConnectionsResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<DescribeVpcPeeringConnectionsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpcPeeringConnectionSet>
|
<vpcPeeringConnectionSet>
|
||||||
{% for vpc_pcx in vpc_pcxs %}
|
{% for vpc_pcx in vpc_pcxs %}
|
||||||
@ -87,14 +87,14 @@ DESCRIBE_VPC_PEERING_CONNECTIONS_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
DELETE_VPC_PEERING_CONNECTION_RESPONSE = """
|
DELETE_VPC_PEERING_CONNECTION_RESPONSE = """
|
||||||
<DeleteVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<DeleteVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteVpcPeeringConnectionResponse>
|
</DeleteVpcPeeringConnectionResponse>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ACCEPT_VPC_PEERING_CONNECTION_RESPONSE = """
|
ACCEPT_VPC_PEERING_CONNECTION_RESPONSE = """
|
||||||
<AcceptVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<AcceptVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpcPeeringConnection>
|
<vpcPeeringConnection>
|
||||||
<vpcPeeringConnectionId>{{ vpc_pcx.id }}</vpcPeeringConnectionId>
|
<vpcPeeringConnectionId>{{ vpc_pcx.id }}</vpcPeeringConnectionId>
|
||||||
@ -118,7 +118,7 @@ ACCEPT_VPC_PEERING_CONNECTION_RESPONSE = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
REJECT_VPC_PEERING_CONNECTION_RESPONSE = """
|
REJECT_VPC_PEERING_CONNECTION_RESPONSE = """
|
||||||
<RejectVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
<RejectVpcPeeringConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</RejectVpcPeeringConnectionResponse>
|
</RejectVpcPeeringConnectionResponse>
|
||||||
|
@ -25,7 +25,7 @@ class VPCs(BaseResponse):
|
|||||||
|
|
||||||
|
|
||||||
CREATE_VPC_RESPONSE = """
|
CREATE_VPC_RESPONSE = """
|
||||||
<CreateVpcResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<CreateVpcResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpc>
|
<vpc>
|
||||||
<vpcId>{{ vpc.id }}</vpcId>
|
<vpcId>{{ vpc.id }}</vpcId>
|
||||||
@ -47,7 +47,7 @@ CREATE_VPC_RESPONSE = """
|
|||||||
</CreateVpcResponse>"""
|
</CreateVpcResponse>"""
|
||||||
|
|
||||||
DESCRIBE_VPCS_RESPONSE = """
|
DESCRIBE_VPCS_RESPONSE = """
|
||||||
<DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<vpcSet>
|
<vpcSet>
|
||||||
{% for vpc in vpcs %}
|
{% for vpc in vpcs %}
|
||||||
@ -74,7 +74,7 @@ DESCRIBE_VPCS_RESPONSE = """
|
|||||||
</DescribeVpcsResponse>"""
|
</DescribeVpcsResponse>"""
|
||||||
|
|
||||||
DELETE_VPC_RESPONSE = """
|
DELETE_VPC_RESPONSE = """
|
||||||
<DeleteVpcResponse xmlns="http://ec2.amazonaws.com/doc/2012-12-01/">
|
<DeleteVpcResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
|
||||||
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
||||||
<return>true</return>
|
<return>true</return>
|
||||||
</DeleteVpcResponse>
|
</DeleteVpcResponse>
|
||||||
|
Loading…
Reference in New Issue
Block a user