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

*********************************
put_portal_product_sharing_policy
*********************************



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

  

  Updates the sharing policy for a portal product.

  

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


  **Request Syntax**
  ::

    response = client.put_portal_product_sharing_policy(
        PolicyDocument='string',
        PortalProductId='string'
    )
    
  :type PolicyDocument: string
  :param PolicyDocument: **[REQUIRED]** 

    The product sharing policy.

    

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

    The portal product identifier.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      200 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.AccessDeniedException`

  