| 1 |
package dns |
| 2 |
|
| 3 |
import "github.com/denverdino/aliyungo/common" |
| 4 |
|
| 5 |
type DeleteDomainRecordArgs struct { |
| 6 |
RecordId string |
| 7 |
} |
| 8 |
|
| 9 |
type DeleteDomainRecordResponse struct { |
| 10 |
common.Response |
| 11 |
InstanceId string |
| 12 |
RecordId string |
| 13 |
} |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
func (client *Client) DeleteDomainRecord(args *DeleteDomainRecordArgs) (response *DeleteDomainRecordResponse, err error) { |
| 19 |
action := "DeleteDomainRecord" |
| 20 |
response = &DeleteDomainRecordResponse{} |
| 21 |
err = client.Invoke(action, args, response) |
| 22 |
if err == nil { |
| 23 |
return response, nil |
| 24 |
} else { |
| 25 |
return nil, err |
| 26 |
} |
| 27 |
} |