ApiGatewayV2 / Client / put_portal_product_sharing_policy

put_portal_product_sharing_policy

ApiGatewayV2.Client.put_portal_product_sharing_policy(**kwargs)

Updates the sharing policy for a portal product.

See also: AWS API Documentation

Request Syntax

response = client.put_portal_product_sharing_policy(
    PolicyDocument='string',
    PortalProductId='string'
)
Parameters:
  • PolicyDocument (string) –

    [REQUIRED]

    The product sharing policy.

  • PortalProductId (string) –

    [REQUIRED]

    The portal product identifier.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    200 response

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException

  • ApiGatewayV2.Client.exceptions.TooManyRequestsException

  • ApiGatewayV2.Client.exceptions.BadRequestException

  • ApiGatewayV2.Client.exceptions.AccessDeniedException