list_prospecting_from_engagement_tasks
¶
list_prospecting_from_engagement_tasks(
catalog: CatalogIdentifier,
*,
config_overrides: Optional[PartnerCentralSellingClientConfig] = 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/partner_central_selling.py
4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 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 | |