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

*******************
create_product_page
*******************



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

  

  Creates a new product page for a portal product.

  

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


  **Request Syntax**
  ::

    response = client.create_product_page(
        DisplayContent={
            'Body': 'string',
            'Title': 'string'
        },
        PortalProductId='string'
    )
    
  :type DisplayContent: dict
  :param DisplayContent: **[REQUIRED]** 

    The content of the product page.

    

  
    - **Body** *(string) --* **[REQUIRED]** 

      The body.

      

    
    - **Title** *(string) --* **[REQUIRED]** 

      The title.

      

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

    The portal product identifier.

    

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

    
    ::

      {
          'DisplayContent': {
              'Body': 'string',
              'Title': 'string'
          },
          'LastModified': datetime(2015, 1, 1),
          'ProductPageArn': 'string',
          'ProductPageId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The request has succeeded and has resulted in the creation of a resource.

      
      

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

        The content of the product page.

        
        

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

          The body.

          
        

        - **Title** *(string) --* 

          The title.

          
    
      

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

        The timestamp when the product page was last modified.

        
      

      - **ProductPageArn** *(string) --* 

        The ARN of the product page.

        
      

      - **ProductPageId** *(string) --* 

        The product page identifier.

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

  