« blib/lib/Paws/EC2/DescribeFleetError.pm
↑ Summary
blib/lib/Paws/EC2/DescribeFleetHistoryResult.pm »
| 1 | |||
| 2 | package Paws::EC2::DescribeFleetHistory; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 5 | has EventType => (is => 'ro', isa => 'Str'); | ||
| 6 | has FleetId => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 9 | has StartTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeFleetHistory'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeFleetHistoryResult'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::EC2::DescribeFleetHistory - Arguments for method DescribeFleetHistory on L<Paws::EC2> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method DescribeFleetHistory on the | ||
| 27 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 28 | as arguments to method DescribeFleetHistory. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeFleetHistory. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $ec2 = Paws->service('EC2'); | ||
| 35 | my $DescribeFleetHistoryResult = $ec2->DescribeFleetHistory( | ||
| 36 | FleetId => 'MyFleetId', | ||
| 37 | StartTime => '1970-01-01T01:00:00', | ||
| 38 | DryRun => 1, # OPTIONAL | ||
| 39 | EventType => 'instance-change', # OPTIONAL | ||
| 40 | MaxResults => 1, # OPTIONAL | ||
| 41 | NextToken => 'MyString', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $FleetId = $DescribeFleetHistoryResult->FleetId; | ||
| 46 | my $HistoryRecords = $DescribeFleetHistoryResult->HistoryRecords; | ||
| 47 | my $LastEvaluatedTime = $DescribeFleetHistoryResult->LastEvaluatedTime; | ||
| 48 | my $NextToken = $DescribeFleetHistoryResult->NextToken; | ||
| 49 | my $StartTime = $DescribeFleetHistoryResult->StartTime; | ||
| 50 | |||
| 51 | # Returns a L<Paws::EC2::DescribeFleetHistoryResult> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeFleetHistory> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 DryRun => Bool | ||
| 60 | |||
| 61 | Checks whether you have the required permissions for the action, | ||
| 62 | without actually making the request, and provides an error response. If | ||
| 63 | you have the required permissions, the error response is | ||
| 64 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 EventType => Str | ||
| 69 | |||
| 70 | The type of events to describe. By default, all events are described. | ||
| 71 | |||
| 72 | Valid values are: C<"instance-change">, C<"fleet-change">, C<"service-error"> | ||
| 73 | |||
| 74 | =head2 B<REQUIRED> FleetId => Str | ||
| 75 | |||
| 76 | The ID of the EC2 Fleet. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 MaxResults => Int | ||
| 81 | |||
| 82 | The maximum number of results to return in a single call. Specify a | ||
| 83 | value between 1 and 1000. The default value is 1000. To retrieve the | ||
| 84 | remaining results, make another call with the returned C<NextToken> | ||
| 85 | value. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 NextToken => Str | ||
| 90 | |||
| 91 | The token for the next set of results. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 B<REQUIRED> StartTime => Str | ||
| 96 | |||
| 97 | The start date and time for the events, in UTC format (for example, | ||
| 98 | I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, documenting arguments for method DescribeFleetHistory in L<Paws::EC2> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 |