Przeglądaj źródła

STS SDK Auto Released By puling.tyq,Version:1.49.2

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 lat temu
rodzic
commit
41fddfaf37
2 zmienionych plików z 5 dodań i 2 usunięć
  1. 3 0
      ChangeLog.txt
  2. 2 2
      services/sts/assume_role.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-12-29 Version: 1.49.2
+1, re-generate go sdk for sts.
+
 2018-12-29 Version: 1.49.1
 1, re-generate Go SDK for RAM
 

+ 2 - 2
services/sts/assume_role.go

@@ -76,10 +76,10 @@ func (client *Client) AssumeRoleWithCallback(request *AssumeRoleRequest, callbac
 // AssumeRoleRequest is the request struct for api AssumeRole
 type AssumeRoleRequest struct {
 	*requests.RpcRequest
-	DurationSeconds requests.Integer `position:"Query" name:"DurationSeconds"`
-	Policy          string           `position:"Query" name:"Policy"`
 	RoleArn         string           `position:"Query" name:"RoleArn"`
 	RoleSessionName string           `position:"Query" name:"RoleSessionName"`
+	DurationSeconds requests.Integer `position:"Query" name:"DurationSeconds"`
+	Policy          string           `position:"Query" name:"Policy"`
 }
 
 // AssumeRoleResponse is the response struct for api AssumeRole