get_product_api_page
async
¶
get_product_api_page(
product_id: ProductId,
product_api_page_id: ProductApiPageId,
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = 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.
Source code in docs_src/capo_apiportal/_services/async_api_portal.py
2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 | |