#[non_exhaustive]pub struct ListImageVersionsInput {
pub creation_time_after: Option<DateTime>,
pub creation_time_before: Option<DateTime>,
pub image_name: Option<String>,
pub last_modified_time_after: Option<DateTime>,
pub last_modified_time_before: Option<DateTime>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub sort_by: Option<ImageVersionSortBy>,
pub sort_order: Option<ImageVersionSortOrder>,
}
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.creation_time_after: Option<DateTime>
A filter that returns only versions created on or after the specified time.
creation_time_before: Option<DateTime>
A filter that returns only versions created on or before the specified time.
image_name: Option<String>
The name of the image to list the versions of.
last_modified_time_after: Option<DateTime>
A filter that returns only versions modified on or after the specified time.
last_modified_time_before: Option<DateTime>
A filter that returns only versions modified on or before the specified time.
max_results: Option<i32>
The maximum number of versions to return in the response. The default value is 10.
next_token: Option<String>
If the previous call to ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.
sort_by: Option<ImageVersionSortBy>
The property used to sort results. The default value is CREATION_TIME
.
sort_order: Option<ImageVersionSortOrder>
The sort order. The default value is DESCENDING
.
Implementations§
source§impl ListImageVersionsInput
impl ListImageVersionsInput
sourcepub fn creation_time_after(&self) -> Option<&DateTime>
pub fn creation_time_after(&self) -> Option<&DateTime>
A filter that returns only versions created on or after the specified time.
sourcepub fn creation_time_before(&self) -> Option<&DateTime>
pub fn creation_time_before(&self) -> Option<&DateTime>
A filter that returns only versions created on or before the specified time.
sourcepub fn image_name(&self) -> Option<&str>
pub fn image_name(&self) -> Option<&str>
The name of the image to list the versions of.
sourcepub fn last_modified_time_after(&self) -> Option<&DateTime>
pub fn last_modified_time_after(&self) -> Option<&DateTime>
A filter that returns only versions modified on or after the specified time.
sourcepub fn last_modified_time_before(&self) -> Option<&DateTime>
pub fn last_modified_time_before(&self) -> Option<&DateTime>
A filter that returns only versions modified on or before the specified time.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of versions to return in the response. The default value is 10.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous call to ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.
sourcepub fn sort_by(&self) -> Option<&ImageVersionSortBy>
pub fn sort_by(&self) -> Option<&ImageVersionSortBy>
The property used to sort results. The default value is CREATION_TIME
.
sourcepub fn sort_order(&self) -> Option<&ImageVersionSortOrder>
pub fn sort_order(&self) -> Option<&ImageVersionSortOrder>
The sort order. The default value is DESCENDING
.
source§impl ListImageVersionsInput
impl ListImageVersionsInput
sourcepub fn builder() -> ListImageVersionsInputBuilder
pub fn builder() -> ListImageVersionsInputBuilder
Creates a new builder-style object to manufacture ListImageVersionsInput
.
Trait Implementations§
source§impl Clone for ListImageVersionsInput
impl Clone for ListImageVersionsInput
source§fn clone(&self) -> ListImageVersionsInput
fn clone(&self) -> ListImageVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListImageVersionsInput
impl Debug for ListImageVersionsInput
source§impl PartialEq for ListImageVersionsInput
impl PartialEq for ListImageVersionsInput
source§fn eq(&self, other: &ListImageVersionsInput) -> bool
fn eq(&self, other: &ListImageVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.