aws_sdk_shield/client/delete_protection_group.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 [`DeleteProtectionGroup`](crate::operation::delete_protection_group::builders::DeleteProtectionGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protection_group_id(impl Into<String>)`](crate::operation::delete_protection_group::builders::DeleteProtectionGroupFluentBuilder::protection_group_id) / [`set_protection_group_id(Option<String>)`](crate::operation::delete_protection_group::builders::DeleteProtectionGroupFluentBuilder::set_protection_group_id):<br>required: **true**<br><p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.</p><br>
7 /// - On success, responds with [`DeleteProtectionGroupOutput`](crate::operation::delete_protection_group::DeleteProtectionGroupOutput)
8 /// - On failure, responds with [`SdkError<DeleteProtectionGroupError>`](crate::operation::delete_protection_group::DeleteProtectionGroupError)
9 pub fn delete_protection_group(&self) -> crate::operation::delete_protection_group::builders::DeleteProtectionGroupFluentBuilder {
10 crate::operation::delete_protection_group::builders::DeleteProtectionGroupFluentBuilder::new(self.handle.clone())
11 }
12}