code: func (p *AWSSDProvider) UpdateService(service *sd.Service, ep *endpoint.Endpoint) error {
  	log.Infof("Updating service \"%s\"", *service.Name)
  
  	srvType := p.serviceTypeFromEndpoint(ep)
  
  	ttl := int64(sdDefaultRecordTTL)
  	if ep.RecordTTL.IsConfigured() {
  		ttl = int64(ep.RecordTTL)
  	}
  
  	if !p.dryRun {
  		_, err := p.client.UpdateService(&sd.UpdateServiceInput{
  			Id: service.Id,
  			Service: &sd.ServiceChange{
  				Description: aws.String(ep.Labels[endpoint.AWSSDDescriptionLabel]),
  				DnsConfig: &sd.DnsConfigChange{
  					DnsRecords: []*sd.DnsRecord{{
  						Type: aws.String(srvType),
  						TTL:  aws.Int64(ttl),
  					}},
  				}}})
  		if err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // UpdateService updates the specified service with information from provided endpoint.