:doc:`WellArchitected <../../wellarchitected>` / Client / list_profile_shares

*******************
list_profile_shares
*******************



.. py:method:: WellArchitected.Client.list_profile_shares(**kwargs)

  

  List profile shares.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListProfileShares>`_  


  **Request Syntax**
  ::

    response = client.list_profile_shares(
        ProfileArn='string',
        SharedWithPrefix='string',
        NextToken='string',
        MaxResults=123,
        Status='ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED'
    )
    
  :type ProfileArn: string
  :param ProfileArn: **[REQUIRED]** 

    The profile ARN.

    

  
  :type SharedWithPrefix: string
  :param SharedWithPrefix: 

    The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.

    

  
  :type NextToken: string
  :param NextToken: 

    The token to use to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return for this request.

    

  
  :type Status: string
  :param Status: 

    The status of the share request.

    

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

    
    ::

      {
          'ProfileShareSummaries': [
              {
                  'ShareId': 'string',
                  'SharedWith': 'string',
                  'Status': 'ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED',
                  'StatusMessage': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ProfileShareSummaries** *(list) --* 

        Profile share summaries.

        
        

        - *(dict) --* 

          Summary of a profile share.

          
          

          - **ShareId** *(string) --* 

            The ID associated with the share.

            
          

          - **SharedWith** *(string) --* 

            The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

            
          

          - **Status** *(string) --* 

            The status of the share request.

            
          

          - **StatusMessage** *(string) --* 

            Profile share invitation status message.

            
      
    
      

      - **NextToken** *(string) --* 

        The token to use to retrieve the next set of results.

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

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

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

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

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

  