:doc:`ApiGatewayV2 <../../apigatewayv2>` / Client / list_product_rest_endpoint_pages

********************************
list_product_rest_endpoint_pages
********************************



.. py:method:: ApiGatewayV2.Client.list_product_rest_endpoint_pages(**kwargs)

  

  Lists the product REST endpoint pages of a portal product.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ListProductRestEndpointPages>`_  


  **Request Syntax**
  ::

    response = client.list_product_rest_endpoint_pages(
        MaxResults='string',
        NextToken='string',
        PortalProductId='string',
        ResourceOwnerAccountId='string'
    )
    
  :type MaxResults: string
  :param MaxResults: 

    The maximum number of elements to be returned for this resource.

    

  
  :type NextToken: string
  :param NextToken: 

    The next page of elements from this collection. Not valid for the last element of the collection.

    

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

    The portal product identifier.

    

  
  :type ResourceOwnerAccountId: string
  :param ResourceOwnerAccountId: 

    The account ID of the resource owner of the portal product.

    

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

    
    ::

      {
          'Items': [
              {
                  'Endpoint': 'string',
                  'LastModified': datetime(2015, 1, 1),
                  'OperationName': 'string',
                  'ProductRestEndpointPageArn': 'string',
                  'ProductRestEndpointPageId': 'string',
                  'RestEndpointIdentifier': {
                      'IdentifierParts': {
                          'Method': 'string',
                          'Path': 'string',
                          'RestApiId': 'string',
                          'Stage': 'string'
                      }
                  },
                  'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
                  'StatusException': {
                      'Exception': 'string',
                      'Message': 'string'
                  },
                  'TryItState': 'ENABLED'|'DISABLED'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Success

      
      

      - **Items** *(list) --* 

        The elements from this collection.

        
        

        - *(dict) --* 

          A summary of a product REST endpoint page, without providing the page content.

          
          

          - **Endpoint** *(string) --* 

            The endpoint of the product REST endpoint page.

            
          

          - **LastModified** *(datetime) --* 

            The timestamp when the product REST endpoint page was last modified.

            
          

          - **OperationName** *(string) --* 

            The operation name of the product REST endpoint.

            
          

          - **ProductRestEndpointPageArn** *(string) --* 

            The ARN of the product REST endpoint page.

            
          

          - **ProductRestEndpointPageId** *(string) --* 

            The product REST endpoint page identifier.

            
          

          - **RestEndpointIdentifier** *(dict) --* 

            The REST endpoint identifier.

            
            

            - **IdentifierParts** *(dict) --* 

              The identifier parts of the REST endpoint identifier.

              
              

              - **Method** *(string) --* 

                The method of the product REST endpoint.

                
              

              - **Path** *(string) --* 

                The path of the product REST endpoint.

                
              

              - **RestApiId** *(string) --* 

                The REST API ID of the product REST endpoint.

                
              

              - **Stage** *(string) --* 

                The stage of the product REST endpoint.

                
          
        
          

          - **Status** *(string) --* 

            The status.

            
          

          - **StatusException** *(dict) --* 

            The status exception information.

            
            

            - **Exception** *(string) --* 

              The exception.

              
            

            - **Message** *(string) --* 

              The error message.

              
        
          

          - **TryItState** *(string) --* 

            The try it state of a product REST endpoint page.

            
      
    
      

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

        The next page of elements from this collection. Not valid for the last element of the collection.

        
  
  **Exceptions**
  
  *   :py:class:`ApiGatewayV2.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`ApiGatewayV2.Client.exceptions.BadRequestException`

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

  