:doc:`Connect <../../connect>` / Client / list_security_profile_permissions

*********************************
list_security_profile_permissions
*********************************



.. py:method:: Connect.Client.list_security_profile_permissions(**kwargs)

  

  Lists the permissions granted to a security profile.

   

  For information about security profiles, see `Security Profiles <https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html>`__ in the *Amazon Connect Administrator Guide*. For a mapping of the API name and user interface name of the security profile permissions, see `List of security profile permissions <https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.list_security_profile_permissions(
        SecurityProfileId='string',
        InstanceId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type SecurityProfileId: string
  :param SecurityProfileId: **[REQUIRED]** 

    The identifier for the security profle.

    

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

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return per page.

    

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

    
    ::

      {
          'Permissions': [
              'string',
          ],
          'NextToken': 'string',
          'LastModifiedTime': datetime(2015, 1, 1),
          'LastModifiedRegion': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Permissions** *(list) --* 

        The permissions granted to the security profile. For a complete list of valid permissions, see `List of security profile permissions <https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html>`__.

        
        

        - *(string) --* 
    
      

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

        If there are additional results, this is the token for the next set of results.

        
      

      - **LastModifiedTime** *(datetime) --* 

        The timestamp when this resource was last modified.

        
      

      - **LastModifiedRegion** *(string) --* 

        The Amazon Web Services Region where this resource was last modified.

        
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  