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

**************
publish_portal
**************



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

  

  Publishes a portal.

  

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


  **Request Syntax**
  ::

    response = client.publish_portal(
        Description='string',
        PortalId='string'
    )
    
  :type Description: string
  :param Description: 

    The description of the portal. When the portal is published, this description becomes the last published description.

    

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

  