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

******************************
get_product_rest_endpoint_page
******************************



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

  

  Gets a product REST endpoint page.

  

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


  **Request Syntax**
  ::

    response = client.get_product_rest_endpoint_page(
        IncludeRawDisplayContent='string',
        PortalProductId='string',
        ProductRestEndpointPageId='string',
        ResourceOwnerAccountId='string'
    )
    
  :type IncludeRawDisplayContent: string
  :param IncludeRawDisplayContent: 

    The query parameter to include raw display content.

    

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

    The portal product identifier.

    

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

    The product REST endpoint identifier.

    

  
  :type ResourceOwnerAccountId: string
  :param ResourceOwnerAccountId: 

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

    

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

    
    ::

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

    

    - *(dict) --* 

      Success

      
      

      - **DisplayContent** *(dict) --* 

        The content of the product REST endpoint page.

        
        

        - **Body** *(string) --* 

          The API documentation.

          
        

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

          The URL to invoke your REST API.

          
        

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

          The operation name.

          
    
      

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

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

        
      

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

        The ARN of the product REST endpoint page.

        
      

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

        The product REST endpoint page identifier.

        
      

      - **RawDisplayContent** *(string) --* 

        The raw display content of the product REST endpoint page.

        
      

      - **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 of the product REST endpoint page.

        
      

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

        The status exception information.

        
        

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

          The exception.

          
        

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

          The error message.

          
    
      

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

        The try it state.

        
  
  **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`

  