:doc:`signer <../../signer>` / Client / list_profile_permissions

************************
list_profile_permissions
************************



.. py:method:: signer.Client.list_profile_permissions(**kwargs)

  

  Lists the cross-account permissions associated with a signing profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissions>`_  


  **Request Syntax**
  ::

    response = client.list_profile_permissions(
        profileName='string',
        nextToken='string'
    )
    
  :type profileName: string
  :param profileName: **[REQUIRED]** 

    Name of the signing profile containing the cross-account permissions.

    

  
  :type nextToken: string
  :param nextToken: 

    String for specifying the next set of paginated results.

    

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

    
    ::

      {
          'revisionId': 'string',
          'policySizeBytes': 123,
          'permissions': [
              {
                  'action': 'string',
                  'principal': 'string',
                  'statementId': 'string',
                  'profileVersion': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **revisionId** *(string) --* 

        The identifier for the current revision of profile permissions.

        
      

      - **policySizeBytes** *(integer) --* 

        Total size of the policy associated with the Signing Profile in bytes.

        
      

      - **permissions** *(list) --* 

        List of permissions associated with the Signing Profile.

        
        

        - *(dict) --* 

          A cross-account permission for a signing profile.

          
          

          - **action** *(string) --* 

            An AWS Signer action permitted as part of cross-account permissions.

            
          

          - **principal** *(string) --* 

            The AWS principal that has been granted a cross-account permission.

            
          

          - **statementId** *(string) --* 

            A unique identifier for a cross-account permission statement.

            
          

          - **profileVersion** *(string) --* 

            The signing profile version that a permission applies to.

            
      
    
      

      - **nextToken** *(string) --* 

        String for specifying the next set of paginated results.

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

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

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

  
  *   :py:class:`signer.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`signer.Client.exceptions.InternalServiceErrorException`

  