| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Route53::CreateTrafficPolicyInstance; |
|
3
|
1
|
|
|
1
|
|
524
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
|
|
has HostedZoneId => (is => 'ro', isa => 'Str', required => 1); |
|
5
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
|
6
|
|
|
|
|
|
|
has TrafficPolicyId => (is => 'ro', isa => 'Str', required => 1); |
|
7
|
|
|
|
|
|
|
has TrafficPolicyVersion => (is => 'ro', isa => 'Int', required => 1); |
|
8
|
|
|
|
|
|
|
has TTL => (is => 'ro', isa => 'Int', required => 1); |
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6535
|
use MooseX::ClassAttribute; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
11
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTrafficPolicyInstance'); |
|
13
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstance'); |
|
14
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
|
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::CreateTrafficPolicyInstanceResponse'); |
|
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::Route53::CreateTrafficPolicyInstance - Arguments for method CreateTrafficPolicyInstance on Paws::Route53 |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateTrafficPolicyInstance on the |
|
29
|
|
|
|
|
|
|
Amazon Route 53 service. Use the attributes of this class |
|
30
|
|
|
|
|
|
|
as arguments to method CreateTrafficPolicyInstance. |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTrafficPolicyInstance. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
As an example: |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
$service_obj->CreateTrafficPolicyInstance(Att1 => $value1, Att2 => $value2, ...); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 B<REQUIRED> HostedZoneId => Str |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
The ID of the hosted zone in which you want Amazon Route 53 to create |
|
46
|
|
|
|
|
|
|
resource record sets by using the configuration in a traffic policy. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
The domain name (such as example.com) or subdomain name (such as |
|
53
|
|
|
|
|
|
|
www.example.com) for which Amazon Route 53 responds to DNS queries by |
|
54
|
|
|
|
|
|
|
using the resource record sets that Amazon Route 53 creates for this |
|
55
|
|
|
|
|
|
|
traffic policy instance. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 B<REQUIRED> TrafficPolicyId => Str |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The ID of the traffic policy that you want to use to create resource |
|
62
|
|
|
|
|
|
|
record sets in the specified hosted zone. |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 B<REQUIRED> TrafficPolicyVersion => Int |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The version of the traffic policy that you want to use to create |
|
69
|
|
|
|
|
|
|
resource record sets in the specified hosted zone. |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 B<REQUIRED> TTL => Int |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
(Optional) The TTL that you want Amazon Route 53 to assign to all of |
|
76
|
|
|
|
|
|
|
the resource record sets that it creates in the specified hosted zone. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateTrafficPolicyInstance in L<Paws::Route53> |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
|
92
|
|
|
|
|
|
|
|