list_pages_by_contact
async
¶
list_pages_by_contact(
contact_id: SsmContactsArn,
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListPagesByContactResult
Lists the engagements to a contact's contact channels.
Parameters:
-
contact_id(SsmContactsArn) –The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.
-
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 to contact channels to list per page of results.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
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
1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 | |