list_engagements
¶
list_engagements(
*,
config_overrides: Optional[SSMContactsClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
incident_id: Optional[IncidentId] = None,
time_range_value: Optional[TimeRange] = None,
) -> ListEngagementsResult
Lists all engagements that have happened in an incident.
Parameters:
-
next_token(Optional[PaginationToken], default:None) –The pagination token to continue to the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of engagements per page of results.
-
incident_id(Optional[IncidentId], default:None) –The Amazon Resource Name (ARN) of the incident you're listing engagements for.
-
time_range_value(Optional[TimeRange], default:None) –The time range to lists engagements for an incident.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_contacts/_services/ssm_contacts.py
1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 | |