:doc:`Macie2 <../../macie2>` / Client / update_member_session

*********************
update_member_session
*********************



.. py:method:: Macie2.Client.update_member_session(**kwargs)

  

  Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession>`_  


  **Request Syntax**
  ::

    response = client.update_member_session(
        id='string',
        status='PAUSED'|'ENABLED'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The unique identifier for the Amazon Macie resource that the request applies to.

    

  
  :type status: string
  :param status: **[REQUIRED]** 

    Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded and there isn't any content to include in the body of the response (No Content).

      
  
  **Exceptions**
  
  *   :py:class:`Macie2.Client.exceptions.ValidationException`

  
  *   :py:class:`Macie2.Client.exceptions.InternalServerException`

  
  *   :py:class:`Macie2.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Macie2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Macie2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Macie2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Macie2.Client.exceptions.ConflictException`

  