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

**********
get_member
**********



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

  

  Retrieves information about an account that's associated with an Amazon Macie administrator account.

  

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


  **Request Syntax**
  ::

    response = client.get_member(
        id='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

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

    

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

    
    ::

      {
          'accountId': 'string',
          'administratorAccountId': 'string',
          'arn': 'string',
          'email': 'string',
          'invitedAt': datetime(2015, 1, 1),
          'masterAccountId': 'string',
          'relationshipStatus': 'Enabled'|'Paused'|'Invited'|'Created'|'Removed'|'Resigned'|'EmailVerificationInProgress'|'EmailVerificationFailed'|'RegionDisabled'|'AccountSuspended',
          'tags': {
              'string': 'string'
          },
          'updatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded.

      
      

      - **accountId** *(string) --* 

        The Amazon Web Services account ID for the account.

        
      

      - **administratorAccountId** *(string) --* 

        The Amazon Web Services account ID for the administrator account.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the account.

        
      

      - **email** *(string) --* 

        The email address for the account. This value is null if the account is associated with the administrator account through Organizations.

        
      

      - **invitedAt** *(datetime) --* 

        The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.

        
      

      - **masterAccountId** *(string) --* 

        (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

        
      

      - **relationshipStatus** *(string) --* 

        The current status of the relationship between the account and the administrator account.

        
      

      - **tags** *(dict) --* 

        A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **updatedAt** *(datetime) --* 

        The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.

        
  
  **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`

  