code: def _get_peering_connection_ids(name, conn):
      '''
      :param name: The name of the VPC peering connection.
      :type name: String
      :param conn: The boto aws ec2 connection.
      :return: The id associated with this peering connection
  
      Returns the VPC peering connection ids
      given the VPC peering connection name.
      '''
      filters = [{
          'Name': 'tag:Name',
          'Values': [name],
      }, {
          'Name': 'status-code',
          'Values': [ACTIVE, PENDING_ACCEPTANCE, PROVISIONING],
      }]
  
      peerings = conn.describe_vpc_peering_connections(
          Filters=filters).get('VpcPeeringConnections',
                               [])
      return [x['VpcPeeringConnectionId'] for x in peeringsf _get_peering_connection_ids(name, conn):
      '''
      :param name: The name of the VPC peering connection.
      :type name: String
      :param conn: The boto aws ec2 connection.
      :return: The id associated with this peering connection
  
      Returns the VPC peering connection ids
      given the VPC peering connection name.
      '''
      filters = [{
          'Name': 'tag:Name',
          'Values': [name],
      }, {
          'Name': 'status-code',
          'Values': [ACTIVE, PENDING_ACCEPTANCE, PROVISIONING],
      }]
  
      peerings = conn.describe_vpc_peering_connections(
          Filters=filters).get('VpcPeeringConnections',
                               [])
      return [x['VpcPeeringConnectionId'] for x in peerings]
docs: :param name: The name of the VPC peering connection.
      :type name: String
      :param conn: The boto aws ec2 connection.
      :return: The id associated with this peering connection
  
      Returns the VPC peering connection ids
      given the VPC peering connection name.