1 2package Paws::EC2::AllocateAddress { 3 use Moose; 4 has Domain => (is => 'ro', isa => 'Str'); 5 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); 6 7 use MooseX::ClassAttribute; 8 9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AllocateAddress'); 10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::AllocateAddressResult'); 11 class_has _result_key => (isa => 'Str', is => 'ro'); 12} 131; 14 15### main pod documentation begin ### 16 17=head1 NAME 18 19Paws::EC2::AllocateAddress - Arguments for method AllocateAddress on Paws::EC2 20 21=head1 DESCRIPTION 22 23This class represents the parameters used for calling the method AllocateAddress on the 24Amazon Elastic Compute Cloud service. Use the attributes of this class 25as arguments to method AllocateAddress. 26 27You shouln't make instances of this class. Each attribute should be used as a named argument in the call to AllocateAddress. 28 29As an example: 30 31 $service_obj->AllocateAddress(Att1 => $value1, Att2 => $value2, ...); 32 33Values 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. 34 35=head1 ATTRIBUTES 36 37=head2 Domain => Str 38 39 40 41Set to C<vpc> to allocate the address for use with instances in a VPC. 42 43Default: The address is for use with instances in EC2-Classic. 44 45 46 47 48 49 50 51 52 53 54=head2 DryRun => Bool 55 56 57 58Checks whether you have the required permissions for the action, 59without actually making the request, and provides an error response. If 60you have the required permissions, the error response is 61C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. 62 63 64 65 66 67 68 69 70 71 72 73 74=head1 SEE ALSO 75 76This class forms part of L<Paws>, documenting arguments for method AllocateAddress in L<Paws::EC2> 77 78=head1 BUGS and CONTRIBUTIONS 79 80The source code is located here: https://github.com/pplu/aws-sdk-perl 81 82Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues 83 84=cut 85 86