public class IamServiceImpl extends BaseServiceImpl implements IIamService
apiInfoList, serviceInfo
Modifier and Type | Method and Description |
---|---|
RoleGetResponse |
createRole(RoleCreateRequest roleCreateRequest)
create role.
|
CreateUserResponse |
createUser(CreateUserRequest createUserRequest)
Create user.
|
CommonResponse |
deleteRole(RoleDeleteRequest roleDeleteRequest)
Delete roles.
|
DeleteUserResponse |
deleteUser(DeleteUserRequest deleteUserRequest)
Delete user.
|
static IIamService |
getInstance() |
RoleGetResponse |
getRole(RoleGetRequest roleGetRequest)
get role.
|
RoleListResponse |
listRoles(RoleListRequest roleListRequest)
List roles.
|
ListUsersResponse |
listUsers(ListUsersRequest listUsersRequest)
List users.
|
CommonResponse |
updateRole(RoleUpdateRequest roleUpdateRequest)
Update roles.
|
getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSessionToken, getSignUrl, json, post, proto, put, putData, putDataWithResponse, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccessKey, getRegion, getSecretKey, getSessionToken, getSignUrl, json, post, proto, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2
public static IIamService getInstance()
public ListUsersResponse listUsers(ListUsersRequest listUsersRequest) throws Exception
IIamService
listUsers
in interface IIamService
listUsersRequest
- the list users requestException
- the exceptionpublic CreateUserResponse createUser(CreateUserRequest createUserRequest) throws Exception
IIamService
createUser
in interface IIamService
createUserRequest
- the request.Exception
- the exception.public DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws Exception
IIamService
deleteUser
in interface IIamService
deleteUserRequest
- the request.Exception
- the exception.public RoleGetResponse createRole(RoleCreateRequest roleCreateRequest) throws Exception
IIamService
createRole
in interface IIamService
roleCreateRequest
- the list users requestException
- the exceptionpublic RoleGetResponse getRole(RoleGetRequest roleGetRequest) throws Exception
IIamService
getRole
in interface IIamService
roleGetRequest
- the list users requestException
- the exceptionpublic RoleListResponse listRoles(RoleListRequest roleListRequest) throws Exception
IIamService
listRoles
in interface IIamService
roleListRequest
- the list users requestException
- the exceptionpublic CommonResponse updateRole(RoleUpdateRequest roleUpdateRequest) throws Exception
IIamService
updateRole
in interface IIamService
roleUpdateRequest
- the list users requestException
- the exceptionpublic CommonResponse deleteRole(RoleDeleteRequest roleDeleteRequest) throws Exception
IIamService
deleteRole
in interface IIamService
roleDeleteRequest
- the list users requestException
- the exceptionCopyright © 2022. All rights reserved.