« blib/lib/Paws/ELBv2/TargetGroupTuple.pm
↑ Summary
blib/lib/Paws/ELBv2/TargetHealthDescription.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::TargetHealth; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str'); | ||
| 5 | has Reason => (is => 'ro', isa => 'Str'); | ||
| 6 | has State => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::ELBv2::TargetHealth | ||
| 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::ELBv2::TargetHealth object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Description => $value, ..., State => $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::ELBv2::TargetHealth object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Description | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Information about the current health of a target. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Description => Str | ||
| 44 | |||
| 45 | A description of the target health that provides additional details. If | ||
| 46 | the state is C<healthy>, a description is not provided. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Reason => Str | ||
| 50 | |||
| 51 | The reason code. | ||
| 52 | |||
| 53 | If the target state is C<healthy>, a reason code is not provided. | ||
| 54 | |||
| 55 | If the target state is C<initial>, the reason code can be one of the | ||
| 56 | following values: | ||
| 57 | |||
| 58 | =over | ||
| 59 | |||
| 60 | =item * | ||
| 61 | |||
| 62 | C<Elb.RegistrationInProgress> - The target is in the process of being | ||
| 63 | registered with the load balancer. | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | C<Elb.InitialHealthChecking> - The load balancer is still sending the | ||
| 68 | target the minimum number of health checks required to determine its | ||
| 69 | health status. | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | If the target state is C<unhealthy>, the reason code can be one of the | ||
| 74 | following values: | ||
| 75 | |||
| 76 | =over | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | C<Target.ResponseCodeMismatch> - The health checks did not return an | ||
| 81 | expected HTTP code. Applies only to Application Load Balancers and | ||
| 82 | Gateway Load Balancers. | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | C<Target.Timeout> - The health check requests timed out. Applies only | ||
| 87 | to Application Load Balancers and Gateway Load Balancers. | ||
| 88 | |||
| 89 | =item * | ||
| 90 | |||
| 91 | C<Target.FailedHealthChecks> - The load balancer received an error | ||
| 92 | while establishing a connection to the target or the target response | ||
| 93 | was malformed. | ||
| 94 | |||
| 95 | =item * | ||
| 96 | |||
| 97 | C<Elb.InternalError> - The health checks failed due to an internal | ||
| 98 | error. Applies only to Application Load Balancers. | ||
| 99 | |||
| 100 | =back | ||
| 101 | |||
| 102 | If the target state is C<unused>, the reason code can be one of the | ||
| 103 | following values: | ||
| 104 | |||
| 105 | =over | ||
| 106 | |||
| 107 | =item * | ||
| 108 | |||
| 109 | C<Target.NotRegistered> - The target is not registered with the target | ||
| 110 | group. | ||
| 111 | |||
| 112 | =item * | ||
| 113 | |||
| 114 | C<Target.NotInUse> - The target group is not used by any load balancer | ||
| 115 | or the target is in an Availability Zone that is not enabled for its | ||
| 116 | load balancer. | ||
| 117 | |||
| 118 | =item * | ||
| 119 | |||
| 120 | C<Target.InvalidState> - The target is in the stopped or terminated | ||
| 121 | state. | ||
| 122 | |||
| 123 | =item * | ||
| 124 | |||
| 125 | C<Target.IpUnusable> - The target IP address is reserved for use by a | ||
| 126 | load balancer. | ||
| 127 | |||
| 128 | =back | ||
| 129 | |||
| 130 | If the target state is C<draining>, the reason code can be the | ||
| 131 | following value: | ||
| 132 | |||
| 133 | =over | ||
| 134 | |||
| 135 | =item * | ||
| 136 | |||
| 137 | C<Target.DeregistrationInProgress> - The target is in the process of | ||
| 138 | being deregistered and the deregistration delay period has not expired. | ||
| 139 | |||
| 140 | =back | ||
| 141 | |||
| 142 | If the target state is C<unavailable>, the reason code can be the | ||
| 143 | following value: | ||
| 144 | |||
| 145 | =over | ||
| 146 | |||
| 147 | =item * | ||
| 148 | |||
| 149 | C<Target.HealthCheckDisabled> - Health checks are disabled for the | ||
| 150 | target group. Applies only to Application Load Balancers. | ||
| 151 | |||
| 152 | =item * | ||
| 153 | |||
| 154 | C<Elb.InternalError> - Target health is unavailable due to an internal | ||
| 155 | error. Applies only to Network Load Balancers. | ||
| 156 | |||
| 157 | =back | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | =head2 State => Str | ||
| 162 | |||
| 163 | The state of the target. | ||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =head1 SEE ALSO | ||
| 168 | |||
| 169 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 170 | |||
| 171 | =head1 BUGS and CONTRIBUTIONS | ||
| 172 | |||
| 173 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 174 | |||
| 175 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 176 | |||
| 177 | =cut | ||
| 178 |