list_prospecting_from_engagement_tasks
async
¶
list_prospecting_from_engagement_tasks(
catalog: CatalogIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralSellingClientConfig] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[str] = None,
task_identifier: Optional[TaskIdentifierList] = None,
task_name: Optional[TaskNameList] = None,
start_after: Optional[DateTime] = None,
start_before: Optional[DateTime] = None,
sort: Optional[ProspectingFromEngagementTaskSort] = None,
) -> ListProspectingFromEngagementTasksResponse
Lists all prospecting tasks initiated by the caller's account. Supports optional filters by task identifier, task name, or start time range. Results can be sorted using configurable options. The response is paginated. Use the NextToken value from each response to retrieve subsequent pages.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog to list tasks from. Specify
AWSfor production environments andSandboxfor testing and development purposes. -
max_results(Optional[PageSize], default:None) –The maximum number of results to return in a single page. If additional results exist, the response includes a
NextTokenvalue for retrieving the next page. If omitted, the API uses a service-defined default page size. -
next_token(Optional[str], default:None) –The pagination token from a previous call to this API. Include this value to retrieve the next page of results. If omitted, the first page is returned.
-
task_identifier(Optional[TaskIdentifierList], default:None) –Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.
-
task_name(Optional[TaskNameList], default:None) –Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.
-
start_after(Optional[DateTime], default:None) –Filters tasks to include only those that started after the specified timestamp. Use this with
StartBeforeto define a start-time range for your query. The format follows ISO 8601 date-time notation. -
start_before(Optional[DateTime], default:None) –Filters tasks to include only those that started before the specified timestamp. Use this with
StartAfterto define a start-time range for your query. The format follows ISO 8601 date-time notation. -
sort(Optional[ProspectingFromEngagementTaskSort], default:None) –Specifies the field and order used to sort the returned tasks. If omitted, tasks are returned in the default sort order.
Raises:
-
AccessDeniedException–This error occurs when you don't have permission to perform the requested action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
-
InternalServerException–This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
-
ThrottlingException–This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
-
ValidationException–The input fails to satisfy the constraints specified by the service or business validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_selling/_services/async_partner_central_selling.py
4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 | |