Class STSClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.sts.client.STSClient
- All Implemented Interfaces:
Client,STSClientInterface,Closeable,AutoCloseable
This client is used to call actions of **STS** service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassumeRole(AssumeRoleRequest request) AssumeRole - 获取扮演角色的临时身份凭证Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
STSClient
-
-
Method Details
-
assumeRole
AssumeRole - 获取扮演角色的临时身份凭证- Specified by:
assumeRolein interfaceSTSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-