list_engagement_by_accepting_invitation_tasks
async
¶
list_engagement_by_accepting_invitation_tasks(
catalog: CatalogIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralSellingClientConfig] = 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/async_partner_central_selling.py
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 | |