:doc:`Inspector2 <../../inspector2>` / Client / get_member

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



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

  

  Gets member information for your organization.

  

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


  **Request Syntax**
  ::

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

    The Amazon Web Services account ID of the member account to retrieve information on.

    

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

    
    ::

      {
          'member': {
              'accountId': 'string',
              'relationshipStatus': 'CREATED'|'INVITED'|'DISABLED'|'ENABLED'|'REMOVED'|'RESIGNED'|'DELETED'|'EMAIL_VERIFICATION_IN_PROGRESS'|'EMAIL_VERIFICATION_FAILED'|'REGION_DISABLED'|'ACCOUNT_SUSPENDED'|'CANNOT_CREATE_DETECTOR_IN_ORG_MASTER',
              'delegatedAdminAccountId': 'string',
              'updatedAt': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **member** *(dict) --* 

        Details of the retrieved member account.

        
        

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

          The Amazon Web Services account ID of the member account.

          
        

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

          The status of the member account.

          
        

        - **delegatedAdminAccountId** *(string) --* 

          The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.

          
        

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

          A timestamp showing when the status of this member was last updated.

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

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

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

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

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

  