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 NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword 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 Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr 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 AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str
N/A __future__ unicode_literals moto.core.responses BaseResponse moto.ec2.utils filters_from_querystring CustomerGateways N/A BaseResponse N/A create_customer_gateway N/A N/A self N/A N/A N/A type N/A N/A N/A N/A self querystring get Type None N/A 0 N/A ip_address N/A N/A N/A N/A self querystring get IpAddress None N/A 0 N/A bgp_asn N/A N/A N/A N/A self querystring get BgpAsn None N/A 0 N/A customer_gateway N/A N/A N/A self ec2_backend create_customer_gateway type ip_address ip_address bgp_asn bgp_asn N/A template N/A N/A self response_template CREATE_CUSTOMER_GATEWAY_RESPONSE N/A N/A N/A template render customer_gateway customer_gateway N/A delete_customer_gateway N/A N/A self N/A N/A N/A customer_gateway_id N/A N/A N/A N/A self querystring get CustomerGatewayId N/A 0 N/A delete_status N/A N/A N/A self ec2_backend delete_customer_gateway customer_gateway_id N/A template N/A N/A self response_template DELETE_CUSTOMER_GATEWAY_RESPONSE N/A N/A N/A template render customer_gateway delete_status N/A describe_customer_gateways N/A N/A self N/A N/A N/A filters N/A filters_from_querystring N/A self querystring N/A customer_gateways N/A N/A N/A self ec2_backend get_all_customer_gateways filters N/A template N/A N/A self response_template DESCRIBE_CUSTOMER_GATEWAYS_RESPONSE N/A N/A N/A template render customer_gateways customer_gateways N/A N/A N/A CREATE_CUSTOMER_GATEWAY_RESPONSE 
<CreateCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
   <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
   <customerGateway>
      <customerGatewayId>{{ customer_gateway.id }}</customerGatewayId>
      <state>pending</state>
      <type>{{ customer_gateway.type }}</type>
      <ipAddress>{{ customer_gateway.ip_address }}</ipAddress>
      <bgpAsn>{{ customer_gateway.bgp_asn }}</bgpAsn>
    <tagSet>
      {% for tag in customer_gateway.get_tags() %}
        <item>
          <resourceId>{{ tag.resource_id }}</resourceId>
          <resourceType>{{ tag.resource_type }}</resourceType>
          <key>{{ tag.key }}</key>
          <value>{{ tag.value }}</value>
        </item>
      {% endfor %}
    </tagSet>
   </customerGateway>
</CreateCustomerGatewayResponse> N/A DELETE_CUSTOMER_GATEWAY_RESPONSE 
<DeleteCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/">
   <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
   <return>{{ delete_status }}</return>
</DeleteCustomerGatewayResponse> N/A DESCRIBE_CUSTOMER_GATEWAYS_RESPONSE 
<DescribeCustomerGatewaysResponse xmlns="http://ec2.amazonaws.com/doc/2014-10- 01/">
  <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
  <customerGatewaySet>
  {% for customer_gateway in customer_gateways %}
    <item>
       <customerGatewayId>{{ customer_gateway.id }}</customerGatewayId>
       <state>{{ customer_gateway.state }}</state>
       <type>available</type>
       <ipAddress>{{ customer_gateway.ip_address }}</ipAddress>
       <bgpAsn>{{ customer_gateway.bgp_asn }}</bgpAsn>
    <tagSet>
      {% for tag in customer_gateway.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 %}
  </customerGatewaySet>
</DescribeCustomerGatewaysResponse>