list_engagement_by_accepting_invitation_tasks
¶
list_engagement_by_accepting_invitation_tasks(
catalog: CatalogIdentifier,
*,
config_overrides: Optional[PartnerCentralSellingClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
sort: Optional[ListTasksSortBase] = None,
task_status: Optional[TaskStatuses] = None,
opportunity_identifier: Optional[OpportunityIdentifiers] = None,
engagement_invitation_identifier: Optional[EngagementInvitationIdentifiers] = None,
task_identifier: Optional[TaskIdentifiers] = None,
) -> ListEngagementByAcceptingInvitationTasksResponse
Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.
Parameters:
-
max_results(Optional[int], default:None) –Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.
-
next_token(Optional[str], default:None) –Use this parameter for pagination when the result set spans multiple pages. This value is obtained from the NextToken field in the response of a previous call to this API.
-
sort(Optional[ListTasksSortBase], default:None) –Specifies the sorting criteria for the returned results. This allows you to order the tasks based on specific attributes.
-
catalog(CatalogIdentifier) –Specifies the catalog related to the request. Valid values are:
-
AWS: Retrieves the request from the production AWS environment.
-
Sandbox: Retrieves the request from a sandbox environment used for testing or development purposes.
-
-
task_status(Optional[TaskStatuses], default:None) –Filters the tasks based on their current status. This allows you to focus on tasks in specific states.
-
opportunity_identifier(Optional[OpportunityIdentifiers], default:None) –Filters tasks by the identifiers of the opportunities they created or are associated with.
-
engagement_invitation_identifier(Optional[EngagementInvitationIdentifiers], default:None) –Filters tasks by the identifiers of the engagement invitations they are processing.
-
task_identifier(Optional[TaskIdentifiers], default:None) –Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks.
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.
-
ResourceNotFoundException–This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
-
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
2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 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 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 | |