aws_sdk_shield/client/describe_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 [`DescribeProtectionGroup`](crate::operation::describe_protection_group::builders::DescribeProtectionGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protection_group_id(impl Into<String>)`](crate::operation::describe_protection_group::builders::DescribeProtectionGroupFluentBuilder::protection_group_id) / [`set_protection_group_id(Option<String>)`](crate::operation::describe_protection_group::builders::DescribeProtectionGroupFluentBuilder::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 [`DescribeProtectionGroupOutput`](crate::operation::describe_protection_group::DescribeProtectionGroupOutput) with field(s):
8 /// - [`protection_group(Option<ProtectionGroup>)`](crate::operation::describe_protection_group::DescribeProtectionGroupOutput::protection_group): <p>A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.</p>
9 /// - On failure, responds with [`SdkError<DescribeProtectionGroupError>`](crate::operation::describe_protection_group::DescribeProtectionGroupError)
10 pub fn describe_protection_group(&self) -> crate::operation::describe_protection_group::builders::DescribeProtectionGroupFluentBuilder {
11 crate::operation::describe_protection_group::builders::DescribeProtectionGroupFluentBuilder::new(self.handle.clone())
12 }
13}