#[non_exhaustive]pub struct ListImagesInput {
pub owner: Option<Ownership>,
pub filters: Option<Vec<Filter>>,
pub by_name: Option<bool>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub include_deprecated: Option<bool>,
}
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.owner: Option<Ownership>
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
filters: Option<Vec<Filter>>
Use the following filters to streamline results:
-
name
-
osVersion
-
platform
-
type
-
version
by_name: Option<bool>
Requests a list of images with a specific recipe name.
max_results: Option<i32>
The maximum items to return in a request.
next_token: Option<String>
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
include_deprecated: Option<bool>
Includes deprecated images in the response list.
Implementations§
source§impl ListImagesInput
impl ListImagesInput
sourcepub fn owner(&self) -> Option<&Ownership>
pub fn owner(&self) -> Option<&Ownership>
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
Use the following filters to streamline results:
-
name
-
osVersion
-
platform
-
type
-
version
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum items to return in a request.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
sourcepub fn include_deprecated(&self) -> Option<bool>
pub fn include_deprecated(&self) -> Option<bool>
Includes deprecated images in the response list.
source§impl ListImagesInput
impl ListImagesInput
sourcepub fn builder() -> ListImagesInputBuilder
pub fn builder() -> ListImagesInputBuilder
Creates a new builder-style object to manufacture ListImagesInput
.
Trait Implementations§
source§impl Clone for ListImagesInput
impl Clone for ListImagesInput
source§fn clone(&self) -> ListImagesInput
fn clone(&self) -> ListImagesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListImagesInput
impl Debug for ListImagesInput
source§impl PartialEq for ListImagesInput
impl PartialEq for ListImagesInput
source§fn eq(&self, other: &ListImagesInput) -> bool
fn eq(&self, other: &ListImagesInput) -> bool
self
and other
values to be equal, and is used
by ==
.