:doc:`ServiceCatalog <../../servicecatalog>` / Client / list_provisioned_product_plans

******************************
list_provisioned_product_plans
******************************



.. py:method:: ServiceCatalog.Client.list_provisioned_product_plans(**kwargs)

  

  Lists the plans for the specified provisioned product or all plans to which the user has access.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisionedProductPlans>`_  


  **Request Syntax**
  ::

    response = client.list_provisioned_product_plans(
        AcceptLanguage='string',
        ProvisionProductId='string',
        PageSize=123,
        PageToken='string',
        AccessLevelFilter={
            'Key': 'Account'|'Role'|'User',
            'Value': 'string'
        }
    )
    
  :type AcceptLanguage: string
  :param AcceptLanguage: 

    The language code.

     

    
    * ``jp`` - Japanese
     
    * ``zh`` - Chinese
    

    

  
  :type ProvisionProductId: string
  :param ProvisionProductId: 

    The product identifier.

    

  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of items to return with this call.

    

  
  :type PageToken: string
  :param PageToken: 

    The page token for the next set of results. To retrieve the first set of results, use null.

    

  
  :type AccessLevelFilter: dict
  :param AccessLevelFilter: 

    The access level to use to obtain results. The default is ``User``.

    

  
    - **Key** *(string) --* 

      The access level.

       

      
      * ``Account`` - Filter results based on the account.
       
      * ``Role`` - Filter results based on the federated role of the specified user.
       
      * ``User`` - Filter results based on the specified user.
      

      

    
    - **Value** *(string) --* 

      The user to which the access level applies. The only supported value is ``self``.

      

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

    
    ::

      {
          'ProvisionedProductPlans': [
              {
                  'PlanName': 'string',
                  'PlanId': 'string',
                  'ProvisionProductId': 'string',
                  'ProvisionProductName': 'string',
                  'PlanType': 'CLOUDFORMATION',
                  'ProvisioningArtifactId': 'string'
              },
          ],
          'NextPageToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ProvisionedProductPlans** *(list) --* 

        Information about the plans.

        
        

        - *(dict) --* 

          Summary information about a plan.

          
          

          - **PlanName** *(string) --* 

            The name of the plan.

            
          

          - **PlanId** *(string) --* 

            The plan identifier.

            
          

          - **ProvisionProductId** *(string) --* 

            The product identifier.

            
          

          - **ProvisionProductName** *(string) --* 

            The user-friendly name of the provisioned product.

            
          

          - **PlanType** *(string) --* 

            The plan type.

            
          

          - **ProvisioningArtifactId** *(string) --* 

            The identifier of the provisioning artifact.

            
      
    
      

      - **NextPageToken** *(string) --* 

        The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

        
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  