Debian Codegraph @

dns/UpdateDomainGroup.go

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