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

*********************************
get_portal_product_sharing_policy
*********************************



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

  

  Gets the sharing policy for a portal product.

  

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


  **Request Syntax**
  ::

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

    The portal product identifier.

    

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

    
    ::

      {
          'PolicyDocument': 'string',
          'PortalProductId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Success

      
      

      - **PolicyDocument** *(string) --* 

        The product sharing policy.

        
      

      - **PortalProductId** *(string) --* 

        The portal product 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`

  