aws_sdk_ecr/client/describe_pull_through_cache_rules.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribePullThroughCacheRules`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`registry_id(impl Into<String>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::set_registry_id):<br>required: **false**<br><p>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.</p><br>
8 /// - [`ecr_repository_prefixes(impl Into<String>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::ecr_repository_prefixes) / [`set_ecr_repository_prefixes(Option<Vec::<String>>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::set_ecr_repository_prefixes):<br>required: **false**<br><p>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.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated <code>DescribePullThroughCacheRulesRequest</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is null when there are no more results to return.</p><br>
10 /// - [`max_results(i32)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of pull through cache rules returned by <code>DescribePullThroughCacheRulesRequest</code> in paginated output. When this parameter is used, <code>DescribePullThroughCacheRulesRequest</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribePullThroughCacheRulesRequest</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 1000. If this parameter is not used, then <code>DescribePullThroughCacheRulesRequest</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p><br>
11 /// - On success, responds with [`DescribePullThroughCacheRulesOutput`](crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesOutput) with field(s):
12 /// - [`pull_through_cache_rules(Option<Vec::<PullThroughCacheRule>>)`](crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesOutput::pull_through_cache_rules): <p>The details of the pull through cache rules.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>DescribePullThroughCacheRulesRequest</code> request. When the results of a <code>DescribePullThroughCacheRulesRequest</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.</p>
14 /// - On failure, responds with [`SdkError<DescribePullThroughCacheRulesError>`](crate::operation::describe_pull_through_cache_rules::DescribePullThroughCacheRulesError)
15 pub fn describe_pull_through_cache_rules(
16 &self,
17 ) -> crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder {
18 crate::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesFluentBuilder::new(self.handle.clone())
19 }
20}