ApiGatewayV2 / Client / update_product_page

update_product_page

ApiGatewayV2.Client.update_product_page(**kwargs)

Updates a product page of a portal product.

See also: AWS API Documentation

Request Syntax

response = client.update_product_page(
    DisplayContent={
        'Body': 'string',
        'Title': 'string'
    },
    PortalProductId='string',
    ProductPageId='string'
)
Parameters:
  • DisplayContent (dict) –

    The content of the product page.

    • Body (string) – [REQUIRED]

      The body.

    • Title (string) – [REQUIRED]

      The title.

  • PortalProductId (string) –

    [REQUIRED]

    The portal product identifier.

  • ProductPageId (string) –

    [REQUIRED]

    The portal product identifier.

Return type:

dict

Returns:

Response Syntax

{
    'DisplayContent': {
        'Body': 'string',
        'Title': 'string'
    },
    'LastModified': datetime(2015, 1, 1),
    'ProductPageArn': 'string',
    'ProductPageId': 'string'
}

Response Structure

  • (dict) –

    200 response

    • DisplayContent (dict) –

      The content of the product page.

      • Body (string) –

        The body.

      • Title (string) –

        The title.

    • LastModified (datetime) –

      The timestamp when the product page was last modified.

    • ProductPageArn (string) –

      The ARN of the product page.

    • ProductPageId (string) –

      The product page identifier.

Exceptions