// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreatePullThroughCacheRule`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`ecr_repository_prefix(impl Into<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::ecr_repository_prefix) / [`set_ecr_repository_prefix(Option<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::set_ecr_repository_prefix): <p>The repository name prefix to use when caching images from the source registry.</p>
/// - [`upstream_registry_url(impl Into<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::upstream_registry_url) / [`set_upstream_registry_url(Option<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::set_upstream_registry_url): <p>The registry URL of the upstream public registry to use as the source for the pull through cache rule.</p>
/// - [`registry_id(impl Into<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::set_registry_id): <p>The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.</p>
/// - On success, responds with [`CreatePullThroughCacheRuleOutput`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleOutput) with field(s):
/// - [`ecr_repository_prefix(Option<String>)`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleOutput::ecr_repository_prefix): <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
/// - [`upstream_registry_url(Option<String>)`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleOutput::upstream_registry_url): <p>The upstream registry URL associated with the pull through cache rule.</p>
/// - [`created_at(Option<DateTime>)`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleOutput::created_at): <p>The date and time, in JavaScript date format, when the pull through cache rule was created.</p>
/// - [`registry_id(Option<String>)`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleOutput::registry_id): <p>The registry ID associated with the request.</p>
/// - On failure, responds with [`SdkError<CreatePullThroughCacheRuleError>`](crate::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleError)
pub fn create_pull_through_cache_rule(&self) -> crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder{
crate::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleFluentBuilder::new(self.handle.clone())
}
}