list_contacts
async
¶
list_contacts(
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
alias_prefix: Optional[ContactAlias] = None,
type: Optional[ContactType] = None,
) -> ListContactsResult
Lists all contacts and escalation plans in Incident Manager.
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 contacts and escalation plans per page of results.
-
alias_prefix(Optional[ContactAlias], default:None) –Used to list only contacts who's aliases start with the specified prefix.
-
type(Optional[ContactType], default:None) –The type of contact.
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/async_ssm_contacts.py
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 | |