list_product_pages
async
¶
list_product_pages(
product_id: ProductId,
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
resource_owner_account_id: Optional[AccountId] = None,
) -> ListProductPagesResponse
Lists the product pages in a product. The results do not include page bodies.
Parameters:
-
product_id(ProductId) –The identifier of the product.
-
next_token(Optional[NextToken], default:None) –The pagination token returned by a previous call. Omit it to get the first page.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in one page, from 1 to 100.
-
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.
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
2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 | |