Debian Codegraph @

dns/ChangeDomainGroup.go

raw symbols SCIP
1 package dns
2
3 import (
4 "log"
5
6 "github.com/denverdino/aliyungo/common"
7 )
8
9 type ChangeDomainGroupArgs struct {
10 DomainName string
11 GroupId string
12 }
13
14 type ChangeDomainGroupResponse struct {
15 common.Response
16 GroupId string
17 GroupName string
18 }
19
20 // ChangeDomainGroup
21 //
22 // You can read doc at https://help.aliyun.com/document_detail/29765.html?spm=5176.doc29764.6.607.WUJQgE
23 func (client *Client) ChangeDomainGroup(args *ChangeDomainGroupArgs) (response *ChangeDomainGroupResponse, err error) {
24 action := "ChangeDomainGroup"
25 response = &ChangeDomainGroupResponse{}
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 }