list_managed_notification_events
¶
list_managed_notification_events(
*,
config_overrides: Optional[NotificationsClientConfig] = None,
start_time: Optional[datetime] = None,
end_time: Optional[datetime] = None,
locale: Optional[LocaleCode] = None,
source: Optional[Source] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
organizational_unit_id: Optional[OrganizationalUnitId] = None,
related_account: Optional[AccountId] = None,
include_sensitive_events: Optional[bool] = None,
) -> ListManagedNotificationEventsResponse
Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).
Parameters:
-
start_time(Optional[datetime], default:None) –The earliest time of events to return from this call.
-
end_time(Optional[datetime], default:None) –Latest time of events to return from this call.
-
locale(Optional[LocaleCode], default:None) –The locale code of the language used for the retrieved NotificationEvent. The default locale is English (en_US).
-
source(Optional[Source], default:None) –The Amazon Web Services service the event originates from. For example aws.cloudwatch.
-
max_results(Optional[int], default:None) –The maximum number of results to be returned in this call. Defaults to 20.
-
next_token(Optional[NextToken], default:None) –The start token for paginated calls. Retrieved from the response of a previous
ListManagedNotificationChannelAssociationscall. Next token uses Base64 encoding. -
organizational_unit_id(Optional[OrganizationalUnitId], default:None) –The Organizational Unit Id that an Amazon Web Services account belongs to.
-
related_account(Optional[AccountId], default:None) –The Amazon Web Services account ID associated with the Managed Notification Events.
-
include_sensitive_events(Optional[bool], default:None) –Specifies whether to include sensitive events in the result. By default, only non-sensitive events are returned. The
notifications:AccessSensitiveEventspermission controls access to sensitive events.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–This exception is thrown when the notification event fails validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_notifications/_services/notifications.py
1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 | |