Struct aws_sdk_ecr::operation::describe_images::DescribeImagesInput
source · #[non_exhaustive]pub struct DescribeImagesInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_ids: Option<Vec<ImageIdentifier>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filter: Option<DescribeImagesFilter>,
}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.registry_id: Option<String>The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>The repository that contains the images to describe.
image_ids: Option<Vec<ImageIdentifier>>The list of image IDs for the requested repository.
next_token: Option<String>The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds.
max_results: Option<i32>The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify images with imageIds.
filter: Option<DescribeImagesFilter>The filter key and value with which to filter your DescribeImages results.
Implementations§
source§impl DescribeImagesInput
impl DescribeImagesInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The repository that contains the images to describe.
sourcepub fn image_ids(&self) -> &[ImageIdentifier]
pub fn image_ids(&self) -> &[ImageIdentifier]
The list of image IDs for the requested repository.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .image_ids.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify images with imageIds.
sourcepub fn filter(&self) -> Option<&DescribeImagesFilter>
pub fn filter(&self) -> Option<&DescribeImagesFilter>
The filter key and value with which to filter your DescribeImages results.
source§impl DescribeImagesInput
impl DescribeImagesInput
sourcepub fn builder() -> DescribeImagesInputBuilder
pub fn builder() -> DescribeImagesInputBuilder
Creates a new builder-style object to manufacture DescribeImagesInput.
Trait Implementations§
source§impl Clone for DescribeImagesInput
impl Clone for DescribeImagesInput
source§fn clone(&self) -> DescribeImagesInput
fn clone(&self) -> DescribeImagesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeImagesInput
impl Debug for DescribeImagesInput
source§impl PartialEq for DescribeImagesInput
impl PartialEq for DescribeImagesInput
source§fn eq(&self, other: &DescribeImagesInput) -> bool
fn eq(&self, other: &DescribeImagesInput) -> bool
self and other values to be equal, and is used
by ==.