NAME

Paws::EC2::Purchase

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EC2::Purchase object:

$service_obj->Method(Att1 => { CurrencyCode => $value, ..., UpfrontPrice => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Purchase object:

$result = $service_obj->Method(...);
$result->Att1->CurrencyCode

DESCRIPTION

This class has no description

ATTRIBUTES

CurrencyCode => Str

The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD.

Duration => Int

The duration of the reservation's term in seconds.

HostIdSet => ArrayRef[Str|Undef]

The IDs of the Dedicated Hosts associated with the reservation.

HostReservationId => Str

The ID of the reservation.

HourlyPrice => Str

The hourly price of the reservation per hour.

InstanceFamily => Str

The instance family on the Dedicated Host that the reservation can be associated with.

PaymentOption => Str

The payment option for the reservation.

UpfrontPrice => Str

The upfront price of the reservation.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::EC2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues