get_product_api_page
¶
get_product_api_page(
product_id: ProductId,
product_api_page_id: ProductApiPageId,
*,
config_overrides: Optional[APIPortalClientConfig] = None,
resource_owner_account_id: Optional[AccountId] = None,
include_raw_display_content: Optional[bool] = None,
) -> GetProductApiPageResponse
Returns an API page, including its body.
Parameters:
-
product_id(ProductId) –The identifier of the product.
-
product_api_page_id(ProductApiPageId) –The identifier of the API page.
-
resource_owner_account_id(Optional[AccountId], default:None) –The AWS account ID that owns the product. Supply it to read a product shared with you by another account. Omit it for products in your own account.
-
include_raw_display_content(Optional[bool], default:None) –Set to
trueto also return the page body inrawDisplayContent.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
BadRequestException–The request is not valid. The message identifies the field or value that failed validation.
-
LimitExceededException–The request rate or a service quota was exceeded. Reduce the request rate or the number of resources and try again.
-
ResourceNotFoundException–The requested resource does not exist, or you do not have access to it.
-
UnknownServiceError–The service returned an error code this client does not model.