aws_sdk_shield/client/delete_protection.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 [`DeleteProtection`](crate::operation::delete_protection::builders::DeleteProtectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protection_id(impl Into<String>)`](crate::operation::delete_protection::builders::DeleteProtectionFluentBuilder::protection_id) / [`set_protection_id(Option<String>)`](crate::operation::delete_protection::builders::DeleteProtectionFluentBuilder::set_protection_id):<br>required: **true**<br><p>The unique identifier (ID) for the <code>Protection</code> object to be deleted.</p><br>
7 /// - On success, responds with [`DeleteProtectionOutput`](crate::operation::delete_protection::DeleteProtectionOutput)
8 /// - On failure, responds with [`SdkError<DeleteProtectionError>`](crate::operation::delete_protection::DeleteProtectionError)
9 pub fn delete_protection(&self) -> crate::operation::delete_protection::builders::DeleteProtectionFluentBuilder {
10 crate::operation::delete_protection::builders::DeleteProtectionFluentBuilder::new(self.handle.clone())
11 }
12}