:doc:`SSOAdmin <../../sso-admin>` / Client / list_permission_sets_provisioned_to_account

*******************************************
list_permission_sets_provisioned_to_account
*******************************************



.. py:method:: SSOAdmin.Client.list_permission_sets_provisioned_to_account(**kwargs)

  

  Lists all the permission sets that are provisioned to a specified Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount>`_  


  **Request Syntax**
  ::

    response = client.list_permission_sets_provisioned_to_account(
        InstanceArn='string',
        AccountId='string',
        ProvisioningStatus='LATEST_PERMISSION_SET_PROVISIONED'|'LATEST_PERMISSION_SET_NOT_PROVISIONED',
        MaxResults=123,
        NextToken='string'
    )
    
  :type InstanceArn: string
  :param InstanceArn: **[REQUIRED]** 

    The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see `Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces </general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference*.

    

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

    The identifier of the Amazon Web Services account from which to list the assignments.

    

  
  :type ProvisioningStatus: string
  :param ProvisioningStatus: 

    The status object for the permission set provisioning operation.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to display for the assignment.

    

  
  :type NextToken: string
  :param NextToken: 

    The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

    

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

    
    ::

      {
          'NextToken': 'string',
          'PermissionSets': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

        
      

      - **PermissionSets** *(list) --* 

        Defines the level of access that an Amazon Web Services account has.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`SSOAdmin.Client.exceptions.ThrottlingException`

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

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

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

  
  *   :py:class:`SSOAdmin.Client.exceptions.ValidationException`

  