:doc:`ServiceCatalog <../../servicecatalog>` / Paginator / ListAcceptedPortfolioShares

***************************
ListAcceptedPortfolioShares
***************************



.. py:class:: ServiceCatalog.Paginator.ListAcceptedPortfolioShares

  ::

    
    paginator = client.get_paginator('list_accepted_portfolio_shares')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`ServiceCatalog.Client.list_accepted_portfolio_shares`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          AcceptLanguage='string',
          PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type AcceptLanguage: string
    :param AcceptLanguage: 

      The language code.

       

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

      

    
    :type PortfolioShareType: string
    :param PortfolioShareType: 

      The type of shared portfolios to list. The default is to list imported portfolios.

       

      
      * ``AWS_ORGANIZATIONS`` - List portfolios accepted and shared via organizational sharing by the management account or delegated administrator of your organization.
       
      * ``AWS_SERVICECATALOG`` - Deprecated type.
       
      * ``IMPORTED`` - List imported portfolios that have been accepted and shared through account-to-account sharing.
      

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'PortfolioDetails': [
                {
                    'Id': 'string',
                    'ARN': 'string',
                    'DisplayName': 'string',
                    'Description': 'string',
                    'CreatedTime': datetime(2015, 1, 1),
                    'ProviderName': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **PortfolioDetails** *(list) --* 

          Information about the portfolios.

          
          

          - *(dict) --* 

            Information about a portfolio.

            
            

            - **Id** *(string) --* 

              The portfolio identifier.

              
            

            - **ARN** *(string) --* 

              The ARN assigned to the portfolio.

              
            

            - **DisplayName** *(string) --* 

              The name to use for display purposes.

              
            

            - **Description** *(string) --* 

              The description of the portfolio.

              
            

            - **CreatedTime** *(datetime) --* 

              The UTC time stamp of the creation time.

              
            

            - **ProviderName** *(string) --* 

              The name of the portfolio provider.

              
        
      
        

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

          A token to resume pagination.

          
    