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
3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 | |