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
7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 | |