File Coverage

blib/lib/Paws/EC2/Placement.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::Placement;
2 1     1   920 use Moose;
  1     1   4  
  1         11  
  1         760  
  1         3  
  1         9  
3             has Affinity => (is => 'ro', isa => 'Str', request_name => 'affinity', traits => ['NameInRequest']);
4             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
5             has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']);
6             has HostId => (is => 'ro', isa => 'Str', request_name => 'hostId', traits => ['NameInRequest']);
7             has SpreadDomain => (is => 'ro', isa => 'Str', request_name => 'spreadDomain', traits => ['NameInRequest']);
8             has Tenancy => (is => 'ro', isa => 'Str', request_name => 'tenancy', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::Placement
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::Placement object:
27              
28             $service_obj->Method(Att1 => { Affinity => $value, ..., Tenancy => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Placement object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Affinity
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Affinity => Str
45              
46             The affinity setting for the instance on the Dedicated Host. This
47             parameter is not supported for the ImportInstance command.
48              
49              
50             =head2 AvailabilityZone => Str
51              
52             The Availability Zone of the instance.
53              
54              
55             =head2 GroupName => Str
56              
57             The name of the placement group the instance is in (for cluster compute
58             instances).
59              
60              
61             =head2 HostId => Str
62              
63             The ID of the Dedicated Host on which the instance resides. This
64             parameter is not supported for the ImportInstance command.
65              
66              
67             =head2 SpreadDomain => Str
68              
69             Reserved for future use.
70              
71              
72             =head2 Tenancy => Str
73              
74             The tenancy of the instance (if the instance is running in a VPC). An
75             instance with a tenancy of C<dedicated> runs on single-tenant hardware.
76             The C<host> tenancy is not supported for the ImportInstance command.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut