Struct aws_sdk_ecr::input::GetLifecyclePolicyPreviewInput
source · [−]#[non_exhaustive]pub struct GetLifecyclePolicyPreviewInput {
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<LifecyclePolicyPreviewFilter>,
}
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. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>
The name of the repository.
image_ids: Option<Vec<ImageIdentifier>>
The list of imageIDs to be included.
next_token: Option<String>
The nextToken
value returned from a previous paginated
GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
in
paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this
parameter is not used, then GetLifecyclePolicyPreviewRequest
returns up to
100 results and a nextToken
value, if
applicable. This option cannot be used when you specify images with imageIds
.
filter: Option<LifecyclePolicyPreviewFilter>
An optional parameter that filters results based on image tag status and all tags, if tagged.
Implementations
sourceimpl GetLifecyclePolicyPreviewInput
impl GetLifecyclePolicyPreviewInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetLifecyclePolicyPreview, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetLifecyclePolicyPreview, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetLifecyclePolicyPreview
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetLifecyclePolicyPreviewInput
.
sourceimpl GetLifecyclePolicyPreviewInput
impl GetLifecyclePolicyPreviewInput
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. 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 name of the repository.
sourcepub fn image_ids(&self) -> Option<&[ImageIdentifier]>
pub fn image_ids(&self) -> Option<&[ImageIdentifier]>
The list of imageIDs to be included.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value returned from a previous paginated
GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
in
paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this
parameter is not used, then GetLifecyclePolicyPreviewRequest
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<&LifecyclePolicyPreviewFilter>
pub fn filter(&self) -> Option<&LifecyclePolicyPreviewFilter>
An optional parameter that filters results based on image tag status and all tags, if tagged.
Trait Implementations
sourceimpl Clone for GetLifecyclePolicyPreviewInput
impl Clone for GetLifecyclePolicyPreviewInput
sourcefn clone(&self) -> GetLifecyclePolicyPreviewInput
fn clone(&self) -> GetLifecyclePolicyPreviewInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<GetLifecyclePolicyPreviewInput> for GetLifecyclePolicyPreviewInput
impl PartialEq<GetLifecyclePolicyPreviewInput> for GetLifecyclePolicyPreviewInput
sourcefn eq(&self, other: &GetLifecyclePolicyPreviewInput) -> bool
fn eq(&self, other: &GetLifecyclePolicyPreviewInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetLifecyclePolicyPreviewInput) -> bool
fn ne(&self, other: &GetLifecyclePolicyPreviewInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetLifecyclePolicyPreviewInput
Auto Trait Implementations
impl RefUnwindSafe for GetLifecyclePolicyPreviewInput
impl Send for GetLifecyclePolicyPreviewInput
impl Sync for GetLifecyclePolicyPreviewInput
impl Unpin for GetLifecyclePolicyPreviewInput
impl UnwindSafe for GetLifecyclePolicyPreviewInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more