« blib/lib/Paws/EBS/Tag.pm
↑ Summary
blib/lib/Paws/EC2/AcceptReservedInstancesExchangeQuoteResult.pm »
| 1 | |||
| 2 | package Paws::EC2::AcceptReservedInstancesExchangeQuote; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 5 | has ReservedInstanceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ReservedInstanceId' , required => 1); | ||
| 6 | has TargetConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::EC2::TargetConfigurationRequest]', traits => ['NameInRequest'], request_name => 'TargetConfiguration' ); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AcceptReservedInstancesExchangeQuote'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::AcceptReservedInstancesExchangeQuoteResult'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::EC2::AcceptReservedInstancesExchangeQuote - Arguments for method AcceptReservedInstancesExchangeQuote on L<Paws::EC2> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method AcceptReservedInstancesExchangeQuote on the | ||
| 24 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 25 | as arguments to method AcceptReservedInstancesExchangeQuote. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AcceptReservedInstancesExchangeQuote. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $ec2 = Paws->service('EC2'); | ||
| 32 | my $AcceptReservedInstancesExchangeQuoteResult = | ||
| 33 | $ec2->AcceptReservedInstancesExchangeQuote( | ||
| 34 | ReservedInstanceIds => [ 'MyReservationId', ... ], | ||
| 35 | DryRun => 1, # OPTIONAL | ||
| 36 | TargetConfigurations => [ | ||
| 37 | { | ||
| 38 | OfferingId => 'MyReservedInstancesOfferingId', | ||
| 39 | InstanceCount => 1, # OPTIONAL | ||
| 40 | }, | ||
| 41 | ... | ||
| 42 | ], # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $ExchangeId = $AcceptReservedInstancesExchangeQuoteResult->ExchangeId; | ||
| 47 | |||
| 48 | # Returns a L<Paws::EC2::AcceptReservedInstancesExchangeQuoteResult> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/AcceptReservedInstancesExchangeQuote> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 DryRun => Bool | ||
| 57 | |||
| 58 | Checks whether you have the required permissions for the action, | ||
| 59 | without actually making the request, and provides an error response. If | ||
| 60 | you have the required permissions, the error response is | ||
| 61 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> ReservedInstanceIds => ArrayRef[Str|Undef] | ||
| 66 | |||
| 67 | The IDs of the Convertible Reserved Instances to exchange for another | ||
| 68 | Convertible Reserved Instance of the same or higher value. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 TargetConfigurations => ArrayRef[L<Paws::EC2::TargetConfigurationRequest>] | ||
| 73 | |||
| 74 | The configuration of the target Convertible Reserved Instance to | ||
| 75 | exchange for your current Convertible Reserved Instances. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method AcceptReservedInstancesExchangeQuote in L<Paws::EC2> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |