#[non_exhaustive]pub struct DescribePullThroughCacheRulesInput {
pub registry_id: Option<String>,
pub ecr_repository_prefixes: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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 to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.
ecr_repository_prefixes: Option<Vec<String>>
The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
next_token: Option<String>
The nextToken
value returned from a previous paginated DescribePullThroughCacheRulesRequest
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.
max_results: Option<i32>
The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest
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 DescribePullThroughCacheRulesRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest
returns up to 100 results and a nextToken
value, if applicable.
Implementations
sourceimpl DescribePullThroughCacheRulesInput
impl DescribePullThroughCacheRulesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribePullThroughCacheRules, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribePullThroughCacheRules, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribePullThroughCacheRules
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribePullThroughCacheRulesInput
.
sourceimpl DescribePullThroughCacheRulesInput
impl DescribePullThroughCacheRulesInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.
sourcepub fn ecr_repository_prefixes(&self) -> Option<&[String]>
pub fn ecr_repository_prefixes(&self) -> Option<&[String]>
The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value returned from a previous paginated DescribePullThroughCacheRulesRequest
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.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest
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 DescribePullThroughCacheRulesRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest
returns up to 100 results and a nextToken
value, if applicable.
Trait Implementations
sourceimpl Clone for DescribePullThroughCacheRulesInput
impl Clone for DescribePullThroughCacheRulesInput
sourcefn clone(&self) -> DescribePullThroughCacheRulesInput
fn clone(&self) -> DescribePullThroughCacheRulesInput
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<DescribePullThroughCacheRulesInput> for DescribePullThroughCacheRulesInput
impl PartialEq<DescribePullThroughCacheRulesInput> for DescribePullThroughCacheRulesInput
sourcefn eq(&self, other: &DescribePullThroughCacheRulesInput) -> bool
fn eq(&self, other: &DescribePullThroughCacheRulesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribePullThroughCacheRulesInput) -> bool
fn ne(&self, other: &DescribePullThroughCacheRulesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribePullThroughCacheRulesInput
Auto Trait Implementations
impl RefUnwindSafe for DescribePullThroughCacheRulesInput
impl Send for DescribePullThroughCacheRulesInput
impl Sync for DescribePullThroughCacheRulesInput
impl Unpin for DescribePullThroughCacheRulesInput
impl UnwindSafe for DescribePullThroughCacheRulesInput
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