« blib/lib/Paws/EC2/AcceptVpcPeeringConnectionResult.pm
↑ Summary
blib/lib/Paws/EC2/AddPrefixListEntry.pm »
| 1 | package Paws::EC2::ActiveInstance; | ||
| 2 | use Moose; | ||
| 3 | has InstanceHealth => (is => 'ro', isa => 'Str', request_name => 'instanceHealth', traits => ['NameInRequest']); | ||
| 4 | has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']); | ||
| 5 | has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']); | ||
| 6 | has SpotInstanceRequestId => (is => 'ro', isa => 'Str', request_name => 'spotInstanceRequestId', traits => ['NameInRequest']); | ||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::EC2::ActiveInstance | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::EC2::ActiveInstance object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { InstanceHealth => $value, ..., SpotInstanceRequestId => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ActiveInstance object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->InstanceHealth | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This class has no description | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 InstanceHealth => Str | ||
| 43 | |||
| 44 | The health status of the instance. If the status of either the instance | ||
| 45 | status check or the system status check is C<impaired>, the health | ||
| 46 | status of the instance is C<unhealthy>. Otherwise, the health status is | ||
| 47 | C<healthy>. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 InstanceId => Str | ||
| 51 | |||
| 52 | The ID of the instance. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 InstanceType => Str | ||
| 56 | |||
| 57 | The instance type. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 SpotInstanceRequestId => Str | ||
| 61 | |||
| 62 | The ID of the Spot Instance request. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut |