« blib/lib/Paws/EC2/CancelledSpotInstanceRequest.pm
↑ Summary
blib/lib/Paws/EC2/ConfirmProductInstance.pm »
| 1 | package Paws::EC2::CapacityReservationSpecificationResponse; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | has CapacityReservationPreference => (is => 'ro', isa => 'Str', request_name => 'capacityReservationPreference', traits => ['NameInRequest']); | |
| 4 | 1 | has CapacityReservationTarget => (is => 'ro', isa => 'Paws::EC2::CapacityReservationTargetResponse', request_name => 'capacityReservationTarget', traits => ['NameInRequest']); | |
| 5 | 1 | 1; | |
| 6 | |||
| 7 | ### main pod documentation begin ### | ||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Paws::EC2::CapacityReservationSpecificationResponse | ||
| 12 | |||
| 13 | =head1 USAGE | ||
| 14 | |||
| 15 | This class represents one of two things: | ||
| 16 | |||
| 17 | =head3 Arguments in a call to a service | ||
| 18 | |||
| 19 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 20 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 21 | |||
| 22 | As an example, if Att1 is expected to be a Paws::EC2::CapacityReservationSpecificationResponse object: | ||
| 23 | |||
| 24 | $service_obj->Method(Att1 => { CapacityReservationPreference => $value, ..., CapacityReservationTarget => $value }); | ||
| 25 | |||
| 26 | =head3 Results returned from an API call | ||
| 27 | |||
| 28 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::CapacityReservationSpecificationResponse object: | ||
| 29 | |||
| 30 | $result = $service_obj->Method(...); | ||
| 31 | $result->Att1->CapacityReservationPreference | ||
| 32 | |||
| 33 | =head1 DESCRIPTION | ||
| 34 | |||
| 35 | This class has no description | ||
| 36 | |||
| 37 | =head1 ATTRIBUTES | ||
| 38 | |||
| 39 | |||
| 40 | =head2 CapacityReservationPreference => Str | ||
| 41 | |||
| 42 | Describes the instance's Capacity Reservation preferences. Possible | ||
| 43 | preferences include: | ||
| 44 | |||
| 45 | =over | ||
| 46 | |||
| 47 | =item * | ||
| 48 | |||
| 49 | C<open> - The instance can run in any C<open> Capacity Reservation that | ||
| 50 | has matching attributes (instance type, platform, Availability Zone). | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | C<none> - The instance avoids running in a Capacity Reservation even if | ||
| 55 | one is available. The instance runs in On-Demand capacity. | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 CapacityReservationTarget => L<Paws::EC2::CapacityReservationTargetResponse> | ||
| 62 | |||
| 63 | Information about the targeted Capacity Reservation or Capacity | ||
| 64 | Reservation group. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||