ApiGatewayV2 / Client / get_product_rest_endpoint_page

get_product_rest_endpoint_page

ApiGatewayV2.Client.get_product_rest_endpoint_page(**kwargs)

Gets a product REST endpoint page.

See also: AWS API Documentation

Request Syntax

response = client.get_product_rest_endpoint_page(
    IncludeRawDisplayContent='string',
    PortalProductId='string',
    ProductRestEndpointPageId='string',
    ResourceOwnerAccountId='string'
)
Parameters:
  • IncludeRawDisplayContent (string) – The query parameter to include raw display content.

  • PortalProductId (string) –

    [REQUIRED]

    The portal product identifier.

  • ProductRestEndpointPageId (string) –

    [REQUIRED]

    The product REST endpoint identifier.

  • ResourceOwnerAccountId (string) – The account ID of the resource owner of the portal product.

Return type:

dict

Returns:

Response Syntax

{
    'DisplayContent': {
        'Body': 'string',
        'Endpoint': 'string',
        'OperationName': 'string'
    },
    'LastModified': datetime(2015, 1, 1),
    'ProductRestEndpointPageArn': 'string',
    'ProductRestEndpointPageId': 'string',
    'RawDisplayContent': 'string',
    'RestEndpointIdentifier': {
        'IdentifierParts': {
            'Method': 'string',
            'Path': 'string',
            'RestApiId': 'string',
            'Stage': 'string'
        }
    },
    'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
    'StatusException': {
        'Exception': 'string',
        'Message': 'string'
    },
    'TryItState': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) –

    Success

    • DisplayContent (dict) –

      The content of the product REST endpoint page.

      • Body (string) –

        The API documentation.

      • Endpoint (string) –

        The URL to invoke your REST API.

      • OperationName (string) –

        The operation name.

    • LastModified (datetime) –

      The timestamp when the product REST endpoint page was last modified.

    • ProductRestEndpointPageArn (string) –

      The ARN of the product REST endpoint page.

    • ProductRestEndpointPageId (string) –

      The product REST endpoint page identifier.

    • RawDisplayContent (string) –

      The raw display content of the product REST endpoint page.

    • RestEndpointIdentifier (dict) –

      The REST endpoint identifier.

      • IdentifierParts (dict) –

        The identifier parts of the REST endpoint identifier.

        • Method (string) –

          The method of the product REST endpoint.

        • Path (string) –

          The path of the product REST endpoint.

        • RestApiId (string) –

          The REST API ID of the product REST endpoint.

        • Stage (string) –

          The stage of the product REST endpoint.

    • Status (string) –

      The status of the product REST endpoint page.

    • StatusException (dict) –

      The status exception information.

      • Exception (string) –

        The exception.

      • Message (string) –

        The error message.

    • TryItState (string) –

      The try it state.

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException

  • ApiGatewayV2.Client.exceptions.TooManyRequestsException

  • ApiGatewayV2.Client.exceptions.BadRequestException

  • ApiGatewayV2.Client.exceptions.AccessDeniedException