list_notifications
¶
list_notifications(
domain_identifier: DomainId,
type: NotificationType,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
after_timestamp: Optional[datetime] = None,
before_timestamp: Optional[datetime] = None,
subjects: Optional[NotificationSubjects] = None,
task_status: Optional[TaskStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNotificationsOutput
Lists all Amazon DataZone notifications.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
type(NotificationType) –The type of notifications.
-
after_timestamp(Optional[datetime], default:None) –The time after which you want to list notifications.
-
before_timestamp(Optional[datetime], default:None) –The time before which you want to list notifications.
-
subjects(Optional[NotificationSubjects], default:None) –The subjects of notifications.
-
task_status(Optional[TaskStatus], default:None) –The task status of notifications.
-
max_results(Optional[MaxResults], default:None) –The maximum number of notifications to return in a single call to
ListNotifications. When the number of notifications to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListNotificationsto list the next set of notifications. -
next_token(Optional[PaginationToken], default:None) –When the number of notifications is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of notifications, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListNotificationsto list the next set of notifications.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 | |