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

*********************************
update_product_rest_endpoint_page
*********************************



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

  

  Updates a product REST endpoint page.

  

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


  **Request Syntax**
  ::

    response = client.update_product_rest_endpoint_page(
        DisplayContent={
            'None': {}
            ,
            'Overrides': {
                'Body': 'string',
                'Endpoint': 'string',
                'OperationName': 'string'
            }
        },
        PortalProductId='string',
        ProductRestEndpointPageId='string',
        TryItState='ENABLED'|'DISABLED'
    )
    
  :type DisplayContent: dict
  :param DisplayContent: 

    The display content.

    

  
    - **None** *(dict) --* 

      If your product REST endpoint contains no overrides, the none object is returned.

      

    
    
    - **Overrides** *(dict) --* 

      The overrides for endpoint display content.

      

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

        By default, this is the documentation of your REST API from API Gateway. You can provide custom documentation to override this value.

        

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

        The URL for your REST API. By default, API Gateway uses the default execute API endpoint. You can provide a custom domain to override this value.

        

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

        The operation name of the product REST endpoint.

        

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

    The portal product identifier.

    

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

    The product REST endpoint identifier.

    

  
  :type TryItState: string
  :param TryItState: 

    The try it state of a product REST endpoint page.

    

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

    
    ::

      {
          'DisplayContent': {
              'Body': 'string',
              'Endpoint': 'string',
              'OperationName': 'string'
          },
          'LastModified': datetime(2015, 1, 1),
          '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'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

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

        
      

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

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

  