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