aws_sdk_shield/client/
describe_attack_statistics.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 [`DescribeAttackStatistics`](crate::operation::describe_attack_statistics::builders::DescribeAttackStatisticsFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_attack_statistics::builders::DescribeAttackStatisticsFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeAttackStatisticsOutput`](crate::operation::describe_attack_statistics::DescribeAttackStatisticsOutput) with field(s):
7    ///   - [`time_range(Option<TimeRange>)`](crate::operation::describe_attack_statistics::DescribeAttackStatisticsOutput::time_range): <p>The time range of the attack.</p>
8    ///   - [`data_items(Vec::<AttackStatisticsDataItem>)`](crate::operation::describe_attack_statistics::DescribeAttackStatisticsOutput::data_items): <p>The data that describes the attacks detected during the time period.</p>
9    /// - On failure, responds with [`SdkError<DescribeAttackStatisticsError>`](crate::operation::describe_attack_statistics::DescribeAttackStatisticsError)
10    pub fn describe_attack_statistics(&self) -> crate::operation::describe_attack_statistics::builders::DescribeAttackStatisticsFluentBuilder {
11        crate::operation::describe_attack_statistics::builders::DescribeAttackStatisticsFluentBuilder::new(self.handle.clone())
12    }
13}