ApiGatewayV2 / Client / get_portal_product_sharing_policy

get_portal_product_sharing_policy

ApiGatewayV2.Client.get_portal_product_sharing_policy(**kwargs)

Gets the sharing policy for a portal product.

See also: AWS API Documentation

Request Syntax

response = client.get_portal_product_sharing_policy(
    PortalProductId='string'
)
Parameters:

PortalProductId (string) –

[REQUIRED]

The portal product identifier.

Return type:

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

  • ApiGatewayV2.Client.exceptions.NotFoundException

  • ApiGatewayV2.Client.exceptions.TooManyRequestsException

  • ApiGatewayV2.Client.exceptions.BadRequestException

  • ApiGatewayV2.Client.exceptions.AccessDeniedException