Debian Codegraph @

nas/DescribeAccessRules.go

raw symbols SCIP
1 package nas
2
3 type DescribeAccessRulesRequest struct {
4 AccessGroupName string
5 Version string
6 RegionId string
7 }
8
9 type DescribeAccessRulesResponse struct {
10 Rules []Rule
11 Code string
12 }
13
14 type Rule struct {
15 Priority string
16 SourceCidrIp string
17 SquashType string
18 RuleId string
19 Policy string
20 }
21
22 func (client *Client) DescribeAccessRules(args *DescribeAccessRulesRequest) (resp DescribeAccessRulesResponse, err error) {
23 response := DescribeAccessRulesResponse{}
24 args.Version = VERSION
25 err = client.Invoke("DescribeAccessRules", args, &response)
26 return response, err
27 }