File Coverage

blib/lib/Paws/Shield/AttackDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Shield::AttackDetail;
2 1     1   396 use Moose;
  1         3  
  1         8  
3             has AttackCounters => (is => 'ro', isa => 'ArrayRef[Paws::Shield::SummarizedCounter]');
4             has AttackId => (is => 'ro', isa => 'Str');
5             has EndTime => (is => 'ro', isa => 'Str');
6             has Mitigations => (is => 'ro', isa => 'ArrayRef[Paws::Shield::Mitigation]');
7             has ResourceArn => (is => 'ro', isa => 'Str');
8             has StartTime => (is => 'ro', isa => 'Str');
9             has SubResources => (is => 'ro', isa => 'ArrayRef[Paws::Shield::SubResourceSummary]');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Shield::AttackDetail
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Shield::AttackDetail object:
28              
29             $service_obj->Method(Att1 => { AttackCounters => $value, ..., SubResources => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Shield::AttackDetail object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AttackCounters
37              
38             =head1 DESCRIPTION
39              
40             The details of a DDoS attack.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AttackCounters => ArrayRef[L<Paws::Shield::SummarizedCounter>]
46              
47             List of counters that describe the attack for the specified time
48             period.
49              
50              
51             =head2 AttackId => Str
52              
53             The unique identifier (ID) of the attack.
54              
55              
56             =head2 EndTime => Str
57              
58             The time the attack ended, in the format 2016-12-16T13:50Z.
59              
60              
61             =head2 Mitigations => ArrayRef[L<Paws::Shield::Mitigation>]
62              
63             List of mitigation actions taken for the attack.
64              
65              
66             =head2 ResourceArn => Str
67              
68             The ARN (Amazon Resource Name) of the resource that was attacked.
69              
70              
71             =head2 StartTime => Str
72              
73             The time the attack started, in the format 2016-12-16T13:50Z.
74              
75              
76             =head2 SubResources => ArrayRef[L<Paws::Shield::SubResourceSummary>]
77              
78             If applicable, additional detail about the resource being attacked, for
79             example, IP address or URL.
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, describing an object used in L<Paws::Shield>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94