#[non_exhaustive]pub struct ListNotificationsInput {
pub domain_identifier: Option<String>,
pub type: Option<NotificationType>,
pub after_timestamp: Option<DateTime>,
pub before_timestamp: Option<DateTime>,
pub subjects: Option<Vec<String>>,
pub task_status: Option<TaskStatus>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_identifier: Option<String>
The identifier of the Amazon DataZone domain.
type: Option<NotificationType>
The type of notifications.
after_timestamp: Option<DateTime>
The time after which you want to list notifications.
before_timestamp: Option<DateTime>
The time before which you want to list notifications.
subjects: Option<Vec<String>>
The subjects of notifications.
task_status: Option<TaskStatus>
The task status of notifications.
max_results: Option<i32>
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 of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListNotifications
to list the next set of notifications.
next_token: Option<String>
When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of notifications, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
Implementations§
source§impl ListNotificationsInput
impl ListNotificationsInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The identifier of the Amazon DataZone domain.
sourcepub fn type(&self) -> Option<&NotificationType>
pub fn type(&self) -> Option<&NotificationType>
The type of notifications.
sourcepub fn after_timestamp(&self) -> Option<&DateTime>
pub fn after_timestamp(&self) -> Option<&DateTime>
The time after which you want to list notifications.
sourcepub fn before_timestamp(&self) -> Option<&DateTime>
pub fn before_timestamp(&self) -> Option<&DateTime>
The time before which you want to list notifications.
sourcepub fn subjects(&self) -> &[String]
pub fn subjects(&self) -> &[String]
The subjects of notifications.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subjects.is_none()
.
sourcepub fn task_status(&self) -> Option<&TaskStatus>
pub fn task_status(&self) -> Option<&TaskStatus>
The task status of notifications.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
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 of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListNotifications
to list the next set of notifications.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of notifications, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
source§impl ListNotificationsInput
impl ListNotificationsInput
sourcepub fn builder() -> ListNotificationsInputBuilder
pub fn builder() -> ListNotificationsInputBuilder
Creates a new builder-style object to manufacture ListNotificationsInput
.
Trait Implementations§
source§impl Clone for ListNotificationsInput
impl Clone for ListNotificationsInput
source§fn clone(&self) -> ListNotificationsInput
fn clone(&self) -> ListNotificationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListNotificationsInput
impl Debug for ListNotificationsInput
source§impl PartialEq for ListNotificationsInput
impl PartialEq for ListNotificationsInput
source§fn eq(&self, other: &ListNotificationsInput) -> bool
fn eq(&self, other: &ListNotificationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.