// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdatePullThroughCacheRule`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`registry_id(impl Into<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::set_registry_id):<br>required: **false**<br><p>The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.</p><br>
/// - [`ecr_repository_prefix(impl Into<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::ecr_repository_prefix) / [`set_ecr_repository_prefix(Option<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::set_ecr_repository_prefix):<br>required: **true**<br><p>The repository name prefix to use when caching images from the source registry.</p><br>
/// - [`credential_arn(impl Into<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::credential_arn) / [`set_credential_arn(Option<String>)`](crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::set_credential_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.</p><br>
/// - On success, responds with [`UpdatePullThroughCacheRuleOutput`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleOutput) with field(s):
/// - [`ecr_repository_prefix(Option<String>)`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleOutput::ecr_repository_prefix): <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
/// - [`registry_id(Option<String>)`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleOutput::registry_id): <p>The registry ID associated with the request.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleOutput::updated_at): <p>The date and time, in JavaScript date format, when the pull through cache rule was updated.</p>
/// - [`credential_arn(Option<String>)`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleOutput::credential_arn): <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.</p>
/// - On failure, responds with [`SdkError<UpdatePullThroughCacheRuleError>`](crate::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleError)
pub fn update_pull_through_cache_rule(
&self,
) -> crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder {
crate::operation::update_pull_through_cache_rule::builders::UpdatePullThroughCacheRuleFluentBuilder::new(self.handle.clone())
}
}