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

**************
preview_portal
**************



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

  

  Creates a portal preview.

  

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


  **Request Syntax**
  ::

    response = client.preview_portal(
        PortalId='string'
    )
    
  :type PortalId: string
  :param PortalId: **[REQUIRED]** 

    The portal identifier.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      202 response

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

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

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

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

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

  