aws_sdk_ecr/client/
delete_registry_policy.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 [`DeleteRegistryPolicy`](crate::operation::delete_registry_policy::builders::DeleteRegistryPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::delete_registry_policy::builders::DeleteRegistryPolicyFluentBuilder::send) it.
6    /// - On success, responds with [`DeleteRegistryPolicyOutput`](crate::operation::delete_registry_policy::DeleteRegistryPolicyOutput) with field(s):
7    ///   - [`registry_id(Option<String>)`](crate::operation::delete_registry_policy::DeleteRegistryPolicyOutput::registry_id): <p>The registry ID associated with the request.</p>
8    ///   - [`policy_text(Option<String>)`](crate::operation::delete_registry_policy::DeleteRegistryPolicyOutput::policy_text): <p>The contents of the registry permissions policy that was deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteRegistryPolicyError>`](crate::operation::delete_registry_policy::DeleteRegistryPolicyError)
10    pub fn delete_registry_policy(&self) -> crate::operation::delete_registry_policy::builders::DeleteRegistryPolicyFluentBuilder {
11        crate::operation::delete_registry_policy::builders::DeleteRegistryPolicyFluentBuilder::new(self.handle.clone())
12    }
13}