list_notifications
async
¶
list_notifications(
domain_identifier: DomainId,
type: NotificationType,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 | |