| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Route53::TrafficPolicyInstance; | ||
| 3 | use Moose; | ||
| 4 | has HostedZoneId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Id => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Message => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has State => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has TrafficPolicyId => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has TrafficPolicyType => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has TrafficPolicyVersion => (is => 'ro', isa => 'Int', required => 1); | ||
| 12 | has TTL => (is => 'ro', isa => 'Int', required => 1); | ||
| 13 | |||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Route53::TrafficPolicyInstance | ||
| 21 | |||
| 22 | =head1 USAGE | ||
| 23 | |||
| 24 | This class represents one of two things: | ||
| 25 | |||
| 26 | =head3 Arguments in a call to a service | ||
| 27 | |||
| 28 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 29 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 30 | |||
| 31 | As an example, if Att1 is expected to be a Paws::Route53::TrafficPolicyInstance object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { HostedZoneId => $value, ..., TTL => $value }); | ||
| 34 | |||
| 35 | =head3 Results returned from an API call | ||
| 36 | |||
| 37 | Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::TrafficPolicyInstance object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->HostedZoneId | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | A complex type that contains settings for the new traffic policy | ||
| 45 | instance. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> HostedZoneId => Str | ||
| 51 | |||
| 52 | The ID of the hosted zone that Amazon Route 53 created resource record | ||
| 53 | sets in. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> Id => Str | ||
| 57 | |||
| 58 | The ID that Amazon Route 53 assigned to the new traffic policy | ||
| 59 | instance. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> Message => Str | ||
| 63 | |||
| 64 | If C<State> is C<Failed>, an explanation of the reason for the failure. | ||
| 65 | If C<State> is another value, C<Message> is empty. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> Name => Str | ||
| 69 | |||
| 70 | The DNS name, such as www.example.com, for which Amazon Route 53 | ||
| 71 | responds to queries by using the resource record sets that are | ||
| 72 | associated with this traffic policy instance. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> State => Str | ||
| 76 | |||
| 77 | The value of C<State> is one of the following values: | ||
| 78 | |||
| 79 | =over | ||
| 80 | |||
| 81 | =item Applied | ||
| 82 | |||
| 83 | Amazon Route 53 has finished creating resource record sets, and changes | ||
| 84 | have propagated to all Route 53 edge locations. | ||
| 85 | |||
| 86 | =item Creating | ||
| 87 | |||
| 88 | Route 53 is creating the resource record sets. Use | ||
| 89 | C<GetTrafficPolicyInstance> to confirm that the | ||
| 90 | C<CreateTrafficPolicyInstance> request completed successfully. | ||
| 91 | |||
| 92 | =item Failed | ||
| 93 | |||
| 94 | Route 53 wasn't able to create or update the resource record sets. When | ||
| 95 | the value of C<State> is C<Failed>, see C<Message> for an explanation | ||
| 96 | of what caused the request to fail. | ||
| 97 | |||
| 98 | =back | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 B<REQUIRED> TrafficPolicyId => Str | ||
| 103 | |||
| 104 | The ID of the traffic policy that Amazon Route 53 used to create | ||
| 105 | resource record sets in the specified hosted zone. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 B<REQUIRED> TrafficPolicyType => Str | ||
| 109 | |||
| 110 | The DNS type that Amazon Route 53 assigned to all of the resource | ||
| 111 | record sets that it created for this traffic policy instance. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 B<REQUIRED> TrafficPolicyVersion => Int | ||
| 115 | |||
| 116 | The version of the traffic policy that Amazon Route 53 used to create | ||
| 117 | resource record sets in the specified hosted zone. | ||
| 118 | |||
| 119 | |||
| 120 | =head2 B<REQUIRED> TTL => Int | ||
| 121 | |||
| 122 | The TTL that Amazon Route 53 assigned to all of the resource record | ||
| 123 | sets that it created in the specified hosted zone. | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | =head1 SEE ALSO | ||
| 128 | |||
| 129 | This class forms part of L<Paws>, describing an object used in L<Paws::Route53> | ||
| 130 | |||
| 131 | =head1 BUGS and CONTRIBUTIONS | ||
| 132 | |||
| 133 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 134 | |||
| 135 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 136 | |||
| 137 | =cut | ||
| 138 |