func (p *AWSProvider) Records() (endpoints []*endpoint.Endpoint, _ error) {
	zones, err := p.Zones()
	if err != nil {
		return nil, err
	}

	return p.records(zones)
}
func (p *AWSProvider) Records() (endpoints []*endpoint.Endpoint, _ error) {
	zones, err := p.Zones()
	if err != nil {
		return nil, err
	}

	return p.records(zones)
}
func ( p * AWSProvider ) Records ( ) ( endpoints [ ] * endpoint . Endpoint , _ error ) { zones , err := p . Zones ( ) if err != nil { return nil , err } return p . records ( zones ) }
// Records returns the list of records in a given hosted zone.
Records returns the list of records in a given hosted zone .