PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::EC2::PurchaseHostReservation; use Moose; has ClientToken => (is => 'ro', isa => 'Str'); has CurrencyCode => (is => 'ro', isa => 'Str'); has HostIdSet => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); has LimitPrice => (is => 'ro', isa => 'Str'); has OfferingId => (is => 'ro', isa => 'Str', required => 1); has TagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::TagSpecification]', traits => ['NameInRequest'], request_name => 'TagSpecification' ); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'PurchaseHostReservation'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::PurchaseHostReservationResult'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::EC2::PurchaseHostReservation - Arguments for method PurchaseHostReservation on L =head1 DESCRIPTION This class represents the parameters used for calling the method PurchaseHostReservation on the L service. Use the attributes of this class as arguments to method PurchaseHostReservation. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PurchaseHostReservation. =head1 SYNOPSIS my $ec2 = Paws->service('EC2'); my $PurchaseHostReservationResult = $ec2->PurchaseHostReservation( HostIdSet => [ 'MyDedicatedHostId', ... ], OfferingId => 'MyOfferingId', ClientToken => 'MyString', # OPTIONAL CurrencyCode => 'USD', # OPTIONAL LimitPrice => 'MyString', # OPTIONAL TagSpecifications => [ { ResourceType => 'client-vpn-endpoint' , # values: client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log; OPTIONAL Tags => [ { Key => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL }, ... ], # OPTIONAL ); # Results: my $ClientToken = $PurchaseHostReservationResult->ClientToken; my $CurrencyCode = $PurchaseHostReservationResult->CurrencyCode; my $Purchase = $PurchaseHostReservationResult->Purchase; my $TotalHourlyPrice = $PurchaseHostReservationResult->TotalHourlyPrice; my $TotalUpfrontPrice = $PurchaseHostReservationResult->TotalUpfrontPrice; # Returns a L object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 ClientToken => Str Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). =head2 CurrencyCode => Str The currency in which the C, C, and C amounts are specified. At this time, the only supported currency is C. Valid values are: C<"USD"> =head2 B HostIdSet => ArrayRef[Str|Undef] The IDs of the Dedicated Hosts with which the reservation will be associated. =head2 LimitPrice => Str The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is C. For example, to indicate a limit price of USD 100, specify 100.00. =head2 B OfferingId => Str The ID of the offering. =head2 TagSpecifications => ArrayRef[L] The tags to apply to the Dedicated Host Reservation during purchase. =head1 SEE ALSO This class forms part of L, documenting arguments for method PurchaseHostReservation in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut