1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRepositoryPolicy`](crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder::set_registry_id):<br>required: **false**<br><p>The Amazon Web Services account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.</p><br>
    ///   - [`repository_name(impl Into<String>)`](crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository that is associated with the repository policy to delete.</p><br>
    /// - On success, responds with [`DeleteRepositoryPolicyOutput`](crate::operation::delete_repository_policy::DeleteRepositoryPolicyOutput) with field(s):
    ///   - [`registry_id(Option<String>)`](crate::operation::delete_repository_policy::DeleteRepositoryPolicyOutput::registry_id): <p>The registry ID associated with the request.</p>
    ///   - [`repository_name(Option<String>)`](crate::operation::delete_repository_policy::DeleteRepositoryPolicyOutput::repository_name): <p>The repository name associated with the request.</p>
    ///   - [`policy_text(Option<String>)`](crate::operation::delete_repository_policy::DeleteRepositoryPolicyOutput::policy_text): <p>The JSON repository policy that was deleted from the repository.</p>
    /// - On failure, responds with [`SdkError<DeleteRepositoryPolicyError>`](crate::operation::delete_repository_policy::DeleteRepositoryPolicyError)
    pub fn delete_repository_policy(&self) -> crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder {
        crate::operation::delete_repository_policy::builders::DeleteRepositoryPolicyFluentBuilder::new(self.handle.clone())
    }
}