1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeletePullThroughCacheRule`](crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`ecr_repository_prefix(impl Into<String>)`](crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder::ecr_repository_prefix) / [`set_ecr_repository_prefix(Option<String>)`](crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder::set_ecr_repository_prefix):<br>required: **true**<br><p>The Amazon ECR repository prefix associated with the pull through cache rule to delete.</p><br>
    ///   - [`registry_id(impl Into<String>)`](crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder::set_registry_id):<br>required: **false**<br><p>The Amazon Web Services account ID associated with the registry that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed.</p><br>
    /// - On success, responds with [`DeletePullThroughCacheRuleOutput`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput) with field(s):
    ///   - [`ecr_repository_prefix(Option<String>)`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput::ecr_repository_prefix): <p>The Amazon ECR repository prefix associated with the request.</p>
    ///   - [`upstream_registry_url(Option<String>)`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput::upstream_registry_url): <p>The upstream registry URL associated with the pull through cache rule.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput::created_at): <p>The timestamp associated with the pull through cache rule.</p>
    ///   - [`registry_id(Option<String>)`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput::registry_id): <p>The registry ID associated with the request.</p>
    ///   - [`credential_arn(Option<String>)`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleOutput::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<DeletePullThroughCacheRuleError>`](crate::operation::delete_pull_through_cache_rule::DeletePullThroughCacheRuleError)
    pub fn delete_pull_through_cache_rule(
        &self,
    ) -> crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder {
        crate::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleFluentBuilder::new(self.handle.clone())
    }
}