Package com.cloudera.cdp.iam.api
Class IamClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.iam.api.IamClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:27.842-07:00")
public class IamClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionIamClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) IamClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionAdd a machine user to group.Adds an SSH public key for an actor.Add a user to a group.Assign a resource role to a group.Assign a role to a group.Assign a resource role to a machine user.Assign a role to a machine user.Assign a resource role to a user.Assign a role to a user.createGroup
(CreateGroupRequest input) Create a group.Create a machine user.Creates a new access key for a machine user.Creates a SAML provider in CDP.Creates a SCIM access token for a SCIM enabled identity provider.createUser
(CreateUserRequest input) Creates a user in CDP.Creates a new access key for a user.Deletes an access key.deleteGroup
(DeleteGroupRequest input) Delete a group.Delete a machine user.Deletes a SAML provider in CDP account.Deletes a SCIM access token.Deletes an SSH public key for an actor.deleteUser
(DeleteUserRequest input) Deletes a user and all associated resources.Describes one SAML provider.Describes an SSH public key for an actor.Disables interactive login using Cloudera SSO for this account.Enables interactive login using Cloudera SSO for this account.Generates an authentication token for workload APIs.getAccessKey
(GetAccessKeyRequest input) Gets information on an access key.getAccount
(GetAccountRequest input) Retrieves information about the CDP account.Get account messages.Retrieves the CRN of the default identity provider.protected String
Gets the request Content-Type, used by 'Conent-Type' request header.protected String
Gets the expected response Content-Type, used by 'Accept' request header.protected String
Gets the service name.getUser
(GetUserRequest input) Gets information on a user.Lists access keys.Lists a group's assigned resource roles.Lists the group's assigned roles.List the members of a group.listGroups
(ListGroupsRequest input) Lists groups.List the groups that the machine user belongs to.List the groups that the user belongs to.Lists a machine user's assigned resource roles.Lists the machine user's assigned roles.Lists machine users.List the resource assignees and their respective resource roles for the resource.Lists all the available resource roles.listRoles
(ListRolesRequest input) Lists all the available roles.Lists SAML providers in CDP account.Lists SCIM access tokens for a SCIM enabled identity provider.Lists SSH public keys for an actor.Lists a user's assigned resource roles.Lists the user's assigned roles.listUsers
(ListUsersRequest input) Lists users.Remove a machine user from a group.Remove a user from a group.Set messages for an account.Sets the default identity provider.Set the workload password for an actor.Set the workload password policy for the account.Unassign a resource role from a group.Unassign a role from a group.Unassign a resource role from a machine user.Unassign a role from a machine user.Unassign a resource role from a user.Unassign a role from a user.Unlocks machine user in the CDP control plane.Unlocks user in the CDP control plane.Removes workload password minimum lifetime date for an actor.Unset workload password policy for the account.Updates an access key.updateGroup
(UpdateGroupRequest input) Update a group.Updates a SAML provider in CDP.updateUser
(UpdateUserRequest input) Updates a user.Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
IamClient
public IamClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
IamClient
-
-
Method Details
-
getServiceName
Description copied from class:CdpClient
Gets the service name.- Specified by:
getServiceName
in classCdpClient
- Returns:
- the service name
-
getRequestContentType
Description copied from class:CdpClient
Gets the request Content-Type, used by 'Conent-Type' request header.- Overrides:
getRequestContentType
in classCdpClient
- Returns:
- the request Content-Type
-
getResponseContentType
Description copied from class:CdpClient
Gets the expected response Content-Type, used by 'Accept' request header.- Overrides:
getResponseContentType
in classCdpClient
- Returns:
- the response Content-Type
-
addMachineUserToGroup
Add a machine user to group.- Parameters:
input
-- Returns:
- AddMachineUserToGroupResponse
-
addSshPublicKey
Adds an SSH public key for an actor.- Parameters:
input
-- Returns:
- AddSshPublicKeyResponse
-
addUserToGroup
Add a user to a group.- Parameters:
input
-- Returns:
- AddUserToGroupResponse
-
assignGroupResourceRole
public AssignGroupResourceRoleResponse assignGroupResourceRole(AssignGroupResourceRoleRequest input) Assign a resource role to a group.- Parameters:
input
-- Returns:
- AssignGroupResourceRoleResponse
-
assignGroupRole
Assign a role to a group.- Parameters:
input
-- Returns:
- AssignGroupRoleResponse
-
assignMachineUserResourceRole
public AssignMachineUserResourceRoleResponse assignMachineUserResourceRole(AssignMachineUserResourceRoleRequest input) Assign a resource role to a machine user.- Parameters:
input
-- Returns:
- AssignMachineUserResourceRoleResponse
-
assignMachineUserRole
Assign a role to a machine user.- Parameters:
input
-- Returns:
- AssignMachineUserRoleResponse
-
assignUserResourceRole
Assign a resource role to a user.- Parameters:
input
-- Returns:
- AssignUserResourceRoleResponse
-
assignUserRole
Assign a role to a user.- Parameters:
input
-- Returns:
- AssignUserRoleResponse
-
createGroup
Create a group.- Parameters:
input
-- Returns:
- CreateGroupResponse
-
createMachineUser
Create a machine user.- Parameters:
input
-- Returns:
- CreateMachineUserResponse
-
createMachineUserAccessKey
public CreateMachineUserAccessKeyResponse createMachineUserAccessKey(CreateMachineUserAccessKeyRequest input) Creates a new access key for a machine user.- Parameters:
input
-- Returns:
- CreateMachineUserAccessKeyResponse
-
createSamlProvider
Creates a SAML provider in CDP.- Parameters:
input
-- Returns:
- CreateSamlProviderResponse
-
createScimAccessToken
Creates a SCIM access token for a SCIM enabled identity provider.- Parameters:
input
-- Returns:
- CreateScimAccessTokenResponse
-
createUser
Creates a user in CDP.- Parameters:
input
-- Returns:
- CreateUserResponse
-
createUserAccessKey
Creates a new access key for a user.- Parameters:
input
-- Returns:
- CreateUserAccessKeyResponse
-
deleteAccessKey
Deletes an access key.- Parameters:
input
-- Returns:
- DeleteAccessKeyResponse
-
deleteGroup
Delete a group.- Parameters:
input
-- Returns:
- DeleteGroupResponse
-
deleteMachineUser
Delete a machine user.- Parameters:
input
-- Returns:
- DeleteMachineUserResponse
-
deleteSamlProvider
Deletes a SAML provider in CDP account.- Parameters:
input
-- Returns:
- DeleteSamlProviderResponse
-
deleteScimAccessToken
Deletes a SCIM access token.- Parameters:
input
-- Returns:
- DeleteScimAccessTokenResponse
-
deleteSshPublicKey
Deletes an SSH public key for an actor.- Parameters:
input
-- Returns:
- DeleteSshPublicKeyResponse
-
deleteUser
Deletes a user and all associated resources.- Parameters:
input
-- Returns:
- DeleteUserResponse
-
describeSamlProvider
Describes one SAML provider.- Parameters:
input
-- Returns:
- DescribeSamlProviderResponse
-
describeSshPublicKey
Describes an SSH public key for an actor.- Parameters:
input
-- Returns:
- DescribeSshPublicKeyResponse
-
disableClouderaSSOLogin
public DisableClouderaSSOLoginResponse disableClouderaSSOLogin(DisableClouderaSSOLoginRequest input) Disables interactive login using Cloudera SSO for this account.- Parameters:
input
-- Returns:
- DisableClouderaSSOLoginResponse
-
enableClouderaSSOLogin
Enables interactive login using Cloudera SSO for this account.- Parameters:
input
-- Returns:
- EnableClouderaSSOLoginResponse
-
generateWorkloadAuthToken
public GenerateWorkloadAuthTokenResponse generateWorkloadAuthToken(GenerateWorkloadAuthTokenRequest input) Generates an authentication token for workload APIs.- Parameters:
input
-- Returns:
- GenerateWorkloadAuthTokenResponse
-
getAccessKey
Gets information on an access key.- Parameters:
input
-- Returns:
- GetAccessKeyResponse
-
getAccount
Retrieves information about the CDP account.- Parameters:
input
-- Returns:
- GetAccountResponse
-
getAccountMessages
Get account messages.- Parameters:
input
-- Returns:
- GetAccountMessagesResponse
-
getDefaultIdentityProvider
public GetDefaultIdentityProviderResponse getDefaultIdentityProvider(GetDefaultIdentityProviderRequest input) Retrieves the CRN of the default identity provider.- Parameters:
input
-- Returns:
- GetDefaultIdentityProviderResponse
-
getUser
Gets information on a user.- Parameters:
input
-- Returns:
- GetUserResponse
-
listAccessKeys
Lists access keys.- Parameters:
input
-- Returns:
- ListAccessKeysResponse
-
listGroupAssignedResourceRoles
public ListGroupAssignedResourceRolesResponse listGroupAssignedResourceRoles(ListGroupAssignedResourceRolesRequest input) Lists a group's assigned resource roles.- Parameters:
input
-- Returns:
- ListGroupAssignedResourceRolesResponse
-
listGroupAssignedRoles
Lists the group's assigned roles.- Parameters:
input
-- Returns:
- ListGroupAssignedRolesResponse
-
listGroupMembers
List the members of a group.- Parameters:
input
-- Returns:
- ListGroupMembersResponse
-
listGroups
Lists groups.- Parameters:
input
-- Returns:
- ListGroupsResponse
-
listGroupsForMachineUser
public ListGroupsForMachineUserResponse listGroupsForMachineUser(ListGroupsForMachineUserRequest input) List the groups that the machine user belongs to.- Parameters:
input
-- Returns:
- ListGroupsForMachineUserResponse
-
listGroupsForUser
List the groups that the user belongs to.- Parameters:
input
-- Returns:
- ListGroupsForUserResponse
-
listMachineUserAssignedResourceRoles
public ListMachineUserAssignedResourceRolesResponse listMachineUserAssignedResourceRoles(ListMachineUserAssignedResourceRolesRequest input) Lists a machine user's assigned resource roles.- Parameters:
input
-- Returns:
- ListMachineUserAssignedResourceRolesResponse
-
listMachineUserAssignedRoles
public ListMachineUserAssignedRolesResponse listMachineUserAssignedRoles(ListMachineUserAssignedRolesRequest input) Lists the machine user's assigned roles.- Parameters:
input
-- Returns:
- ListMachineUserAssignedRolesResponse
-
listMachineUsers
Lists machine users.- Parameters:
input
-- Returns:
- ListMachineUsersResponse
-
listResourceAssignees
List the resource assignees and their respective resource roles for the resource.- Parameters:
input
-- Returns:
- ListResourceAssigneesResponse
-
listResourceRoles
Lists all the available resource roles.- Parameters:
input
-- Returns:
- ListResourceRolesResponse
-
listRoles
Lists all the available roles.- Parameters:
input
-- Returns:
- ListRolesResponse
-
listSamlProviders
Lists SAML providers in CDP account.- Parameters:
input
-- Returns:
- ListSamlProvidersResponse
-
listScimAccessTokens
Lists SCIM access tokens for a SCIM enabled identity provider.- Parameters:
input
-- Returns:
- ListScimAccessTokensResponse
-
listSshPublicKeys
Lists SSH public keys for an actor.- Parameters:
input
-- Returns:
- ListSshPublicKeysResponse
-
listUserAssignedResourceRoles
public ListUserAssignedResourceRolesResponse listUserAssignedResourceRoles(ListUserAssignedResourceRolesRequest input) Lists a user's assigned resource roles.- Parameters:
input
-- Returns:
- ListUserAssignedResourceRolesResponse
-
listUserAssignedRoles
Lists the user's assigned roles.- Parameters:
input
-- Returns:
- ListUserAssignedRolesResponse
-
listUsers
Lists users.- Parameters:
input
-- Returns:
- ListUsersResponse
-
removeMachineUserFromGroup
public RemoveMachineUserFromGroupResponse removeMachineUserFromGroup(RemoveMachineUserFromGroupRequest input) Remove a machine user from a group.- Parameters:
input
-- Returns:
- RemoveMachineUserFromGroupResponse
-
removeUserFromGroup
Remove a user from a group.- Parameters:
input
-- Returns:
- RemoveUserFromGroupResponse
-
setAccountMessages
Set messages for an account.- Parameters:
input
-- Returns:
- SetAccountMessagesResponse
-
setDefaultIdentityProvider
public SetDefaultIdentityProviderResponse setDefaultIdentityProvider(SetDefaultIdentityProviderRequest input) Sets the default identity provider.- Parameters:
input
-- Returns:
- SetDefaultIdentityProviderResponse
-
setWorkloadPassword
Set the workload password for an actor.- Parameters:
input
-- Returns:
- SetWorkloadPasswordResponse
-
setWorkloadPasswordPolicy
public SetWorkloadPasswordPolicyResponse setWorkloadPasswordPolicy(SetWorkloadPasswordPolicyRequest input) Set the workload password policy for the account.- Parameters:
input
-- Returns:
- SetWorkloadPasswordPolicyResponse
-
unassignGroupResourceRole
public UnassignGroupResourceRoleResponse unassignGroupResourceRole(UnassignGroupResourceRoleRequest input) Unassign a resource role from a group.- Parameters:
input
-- Returns:
- UnassignGroupResourceRoleResponse
-
unassignGroupRole
Unassign a role from a group.- Parameters:
input
-- Returns:
- UnassignGroupRoleResponse
-
unassignMachineUserResourceRole
public UnassignMachineUserResourceRoleResponse unassignMachineUserResourceRole(UnassignMachineUserResourceRoleRequest input) Unassign a resource role from a machine user.- Parameters:
input
-- Returns:
- UnassignMachineUserResourceRoleResponse
-
unassignMachineUserRole
public UnassignMachineUserRoleResponse unassignMachineUserRole(UnassignMachineUserRoleRequest input) Unassign a role from a machine user.- Parameters:
input
-- Returns:
- UnassignMachineUserRoleResponse
-
unassignUserResourceRole
public UnassignUserResourceRoleResponse unassignUserResourceRole(UnassignUserResourceRoleRequest input) Unassign a resource role from a user.- Parameters:
input
-- Returns:
- UnassignUserResourceRoleResponse
-
unassignUserRole
Unassign a role from a user.- Parameters:
input
-- Returns:
- UnassignUserRoleResponse
-
unlockMachineUserInControlPlane
public UnlockMachineUserInControlPlaneResponse unlockMachineUserInControlPlane(UnlockMachineUserInControlPlaneRequest input) Unlocks machine user in the CDP control plane.- Parameters:
input
-- Returns:
- UnlockMachineUserInControlPlaneResponse
-
unlockUserInControlPlane
public UnlockUserInControlPlaneResponse unlockUserInControlPlane(UnlockUserInControlPlaneRequest input) Unlocks user in the CDP control plane.- Parameters:
input
-- Returns:
- UnlockUserInControlPlaneResponse
-
unsetWorkloadPasswordMinLifetime
public UnsetWorkloadPasswordMinLifetimeResponse unsetWorkloadPasswordMinLifetime(UnsetWorkloadPasswordMinLifetimeRequest input) Removes workload password minimum lifetime date for an actor.- Parameters:
input
-- Returns:
- UnsetWorkloadPasswordMinLifetimeResponse
-
unsetWorkloadPasswordPolicy
public UnsetWorkloadPasswordPolicyResponse unsetWorkloadPasswordPolicy(UnsetWorkloadPasswordPolicyRequest input) Unset workload password policy for the account.- Parameters:
input
-- Returns:
- UnsetWorkloadPasswordPolicyResponse
-
updateAccessKey
Updates an access key.- Parameters:
input
-- Returns:
- UpdateAccessKeyResponse
-
updateGroup
Update a group.- Parameters:
input
-- Returns:
- UpdateGroupResponse
-
updateSamlProvider
Updates a SAML provider in CDP.- Parameters:
input
-- Returns:
- UpdateSamlProviderResponse
-
updateUser
Updates a user.- Parameters:
input
-- Returns:
- UpdateUserResponse
-