Struct aws_sdk_ecr::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesInput
source · #[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§
source§impl 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) -> &[String]
pub fn ecr_repository_prefixes(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ecr_repository_prefixes.is_none()
.
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.
source§impl DescribePullThroughCacheRulesInput
impl DescribePullThroughCacheRulesInput
sourcepub fn builder() -> DescribePullThroughCacheRulesInputBuilder
pub fn builder() -> DescribePullThroughCacheRulesInputBuilder
Creates a new builder-style object to manufacture DescribePullThroughCacheRulesInput
.
Trait Implementations§
source§impl Clone for DescribePullThroughCacheRulesInput
impl Clone for DescribePullThroughCacheRulesInput
source§fn clone(&self) -> DescribePullThroughCacheRulesInput
fn clone(&self) -> DescribePullThroughCacheRulesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribePullThroughCacheRulesInput
impl PartialEq for DescribePullThroughCacheRulesInput
source§fn eq(&self, other: &DescribePullThroughCacheRulesInput) -> bool
fn eq(&self, other: &DescribePullThroughCacheRulesInput) -> bool
self
and other
values to be equal, and is used
by ==
.