Class Iam


  • public class Iam
    extends java.lang.Object
    • Method Detail

      • listUsers

        public IamListUsersResponse listUsers​(IamListUsersRequest request)
                                       throws java.lang.Exception
        List Users
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listUsers

        public IamListUsersResponse listUsers​(IamListUsersRequest request,
                                              java.util.Optional<Options> options)
                                       throws java.lang.Exception
        List Users
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getUser

        public IamGetUserResponse getUser​(IamGetUserRequest request)
                                   throws java.lang.Exception
        Get User
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getUser

        public IamGetUserResponse getUser​(IamGetUserRequest request,
                                          java.util.Optional<Options> options)
                                   throws java.lang.Exception
        Get User
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • deleteUser

        public IamDeleteUserResponse deleteUser​(java.lang.String xAccountId,
                                                java.lang.String id)
                                         throws java.lang.Exception
        Delete User
        Parameters:
        xAccountId - The account identifier
        id -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • deleteUser

        public IamDeleteUserResponse deleteUser​(java.lang.String xAccountId,
                                                java.lang.String id,
                                                java.util.Optional<Options> options)
                                         throws java.lang.Exception
        Delete User
        Parameters:
        xAccountId - The account identifier
        id -
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • updateUser

        public IamUpdateUserResponse updateUser​(java.lang.String xAccountId,
                                                java.lang.String id,
                                                IamUpdateUserRequestDto iamUpdateUserRequestDto)
                                         throws java.lang.Exception
        Update User
        Parameters:
        xAccountId - The account identifier
        id -
        iamUpdateUserRequestDto -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • updateUser

        public IamUpdateUserResponse updateUser​(java.lang.String xAccountId,
                                                java.lang.String id,
                                                IamUpdateUserRequestDto iamUpdateUserRequestDto,
                                                java.util.Optional<Options> options)
                                         throws java.lang.Exception
        Update User
        Parameters:
        xAccountId - The account identifier
        id -
        iamUpdateUserRequestDto -
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listRoles

        public IamListRolesResponse listRoles​(IamListRolesRequest request)
                                       throws java.lang.Exception
        List Roles
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listRoles

        public IamListRolesResponse listRoles​(IamListRolesRequest request,
                                              java.util.Optional<Options> options)
                                       throws java.lang.Exception
        List Roles
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getRole

        public IamGetRoleResponse getRole​(IamGetRoleRequest request)
                                   throws java.lang.Exception
        Get Role
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getRole

        public IamGetRoleResponse getRole​(IamGetRoleRequest request,
                                          java.util.Optional<Options> options)
                                   throws java.lang.Exception
        Get Role
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listGroups

        public IamListGroupsResponse listGroups​(IamListGroupsRequest request)
                                         throws java.lang.Exception
        List Groups
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listGroups

        public IamListGroupsResponse listGroups​(IamListGroupsRequest request,
                                                java.util.Optional<Options> options)
                                         throws java.lang.Exception
        List Groups
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getGroup

        public IamGetGroupResponse getGroup​(IamGetGroupRequest request)
                                     throws java.lang.Exception
        Get Group
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getGroup

        public IamGetGroupResponse getGroup​(IamGetGroupRequest request,
                                            java.util.Optional<Options> options)
                                     throws java.lang.Exception
        Get Group
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listPolicies

        public IamListPoliciesResponse listPolicies​(IamListPoliciesRequest request)
                                             throws java.lang.Exception
        List Policies
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listPolicies

        public IamListPoliciesResponse listPolicies​(IamListPoliciesRequest request,
                                                    java.util.Optional<Options> options)
                                             throws java.lang.Exception
        List Policies
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getPolicy

        public IamGetPolicyResponse getPolicy​(IamGetPolicyRequest request)
                                       throws java.lang.Exception
        Get Policy
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getPolicy

        public IamGetPolicyResponse getPolicy​(IamGetPolicyRequest request,
                                              java.util.Optional<Options> options)
                                       throws java.lang.Exception
        Get Policy
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails