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