Debian Codegraph @

dns/DeleteDomainGroup.go

raw symbols SCIP
1 package dns
2
3 import (
4 "log"
5
6 "github.com/denverdino/aliyungo/common"
7 )
8
9 type DeleteDomainGroupArgs struct {
10 GroupId string
11 }
12
13 type DeleteDomainGroupResponse struct {
14 common.Response
15 GroupName string
16 }
17
18 // DeleteDomainGroup
19 //
20 // You can read doc at https://help.aliyun.com/document_detail/29764.html?spm=5176.doc29763.6.606.Vm3FyC
21 func (client *Client) DeleteDomainGroup(args *DeleteDomainGroupArgs) (response *DeleteDomainGroupResponse, err error) {
22 action := "DeleteDomainGroup"
23 response = &DeleteDomainGroupResponse{}
24 err = client.Invoke(action, args, response)
25 if err == nil {
26 return response, nil
27 } else {
28 log.Printf("%s error, %v", action, err)
29 return response, err
30 }
31 }