| 1 | package Paws::EC2::HostOffering; | ||
| 2 | use Moose; | ||
| 3 | has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']); | ||
| 4 | has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']); | ||
| 5 | has HourlyPrice => (is => 'ro', isa => 'Str', request_name => 'hourlyPrice', traits => ['NameInRequest']); | ||
| 6 | has InstanceFamily => (is => 'ro', isa => 'Str', request_name => 'instanceFamily', traits => ['NameInRequest']); | ||
| 7 | has OfferingId => (is => 'ro', isa => 'Str', request_name => 'offeringId', traits => ['NameInRequest']); | ||
| 8 | has PaymentOption => (is => 'ro', isa => 'Str', request_name => 'paymentOption', traits => ['NameInRequest']); | ||
| 9 | has UpfrontPrice => (is => 'ro', isa => 'Str', request_name => 'upfrontPrice', traits => ['NameInRequest']); | ||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::EC2::HostOffering | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::EC2::HostOffering object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UpfrontPrice => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::HostOffering object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->CurrencyCode | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | This class has no description | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 CurrencyCode => Str | ||
| 46 | |||
| 47 | The currency of the offering. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Duration => Int | ||
| 51 | |||
| 52 | The duration of the offering (in seconds). | ||
| 53 | |||
| 54 | |||
| 55 | =head2 HourlyPrice => Str | ||
| 56 | |||
| 57 | The hourly price of the offering. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 InstanceFamily => Str | ||
| 61 | |||
| 62 | The instance family of the offering. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 OfferingId => Str | ||
| 66 | |||
| 67 | The ID of the offering. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 PaymentOption => Str | ||
| 71 | |||
| 72 | The available payment option. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 UpfrontPrice => Str | ||
| 76 | |||
| 77 | The upfront price of the offering. Does not apply to No Upfront | ||
| 78 | offerings. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut |