Skip to content

Commit c2018ba

Browse files
Merge pull request #302 from jdcloud-apigateway/master
publish jdcloud-sdk-go version 0.3.23
2 parents 3789ee8 + 8d0cc6f commit c2018ba

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

services/iam/apis/CreateSubUserAccessKey.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package apis
1818

1919
import (
2020
"github.com/jdcloud-api/jdcloud-sdk-go/core"
21+
iam "github.com/jdcloud-api/jdcloud-sdk-go/services/iam/models"
2122
)
2223

2324
type CreateSubUserAccessKeyRequest struct {
@@ -98,5 +99,5 @@ type CreateSubUserAccessKeyResponse struct {
9899
}
99100

100101
type CreateSubUserAccessKeyResult struct {
101-
AccessKey string `json:"accessKey"`
102+
UserAccessKey iam.SubUserAccessKey `json:"userAccessKey"`
102103
}

services/iam/client/IamClient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewIamClient(credential *core.Credential) *IamClient {
4040
Credential: *credential,
4141
Config: *config,
4242
ServiceName: "iam",
43-
Revision: "0.3.22",
43+
Revision: "0.3.23",
4444
Logger: core.NewDefaultLogger(core.LogInfo),
4545
}}
4646
}

services/iam/models/SubUser.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,7 @@ type SubUser struct {
5757

5858
/* 用户所在组织路径 (Optional) */
5959
OrgPath string `json:"orgPath"`
60+
61+
/* 操作者 (Optional) */
62+
Operator string `json:"operator"`
6063
}

0 commit comments

Comments
 (0)