File Coverage

blib/lib/Paws/Route53/TrafficPolicySummary.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::Route53::TrafficPolicySummary;
2 1     1   568 use Moose;
  1         3  
  1         9  
3             has Id => (is => 'ro', isa => 'Str', required => 1);
4             has LatestVersion => (is => 'ro', isa => 'Int', required => 1);
5             has Name => (is => 'ro', isa => 'Str', required => 1);
6             has TrafficPolicyCount => (is => 'ro', isa => 'Int', required => 1);
7             has Type => (is => 'ro', isa => 'Str', required => 1);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::Route53::TrafficPolicySummary
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::Route53::TrafficPolicySummary object:
26              
27             $service_obj->Method(Att1 => { Id => $value, ..., Type => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::TrafficPolicySummary object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Id
35              
36             =head1 DESCRIPTION
37              
38             A complex type that contains information about the latest version of
39             one traffic policy that is associated with the current AWS account.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> Id => Str
45              
46             The ID that Amazon Route 53 assigned to the traffic policy when you
47             created it.
48              
49              
50             =head2 B<REQUIRED> LatestVersion => Int
51              
52             The version number of the latest version of the traffic policy.
53              
54              
55             =head2 B<REQUIRED> Name => Str
56              
57             The name that you specified for the traffic policy when you created it.
58              
59              
60             =head2 B<REQUIRED> TrafficPolicyCount => Int
61              
62             The number of traffic policies that are associated with the current AWS
63             account.
64              
65              
66             =head2 B<REQUIRED> Type => Str
67              
68             The DNS type of the resource record sets that Amazon Route 53 creates
69             when you use a traffic policy to create a traffic policy instance.
70              
71              
72              
73             =head1 SEE ALSO
74              
75             This class forms part of L<Paws>, describing an object used in L<Paws::Route53>
76              
77             =head1 BUGS and CONTRIBUTIONS
78              
79             The source code is located here: https://github.com/pplu/aws-sdk-perl
80              
81             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
82              
83             =cut
84