File Coverage

blib/lib/Paws/EC2/DescribeBundleTasks.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeBundleTasks;
3 1     1   335 use Moose;
  1     1   3  
  1         6  
  1         524  
  1         2  
  1         10  
4             has BundleIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'BundleId' );
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7              
8 1     1   5324 use MooseX::ClassAttribute;
  1     1   2  
  1         9  
  1         7043  
  1         2  
  1         9  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeBundleTasks');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeBundleTasksResult');
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::DescribeBundleTasks - Arguments for method DescribeBundleTasks on Paws::EC2
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method DescribeBundleTasks on the
24             Amazon Elastic Compute Cloud service. Use the attributes of this class
25             as arguments to method DescribeBundleTasks.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeBundleTasks.
28              
29             As an example:
30              
31             $service_obj->DescribeBundleTasks(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 BundleIds => ArrayRef[Str|Undef]
39              
40             One or more bundle task IDs.
41              
42             Default: Describes all your bundle tasks.
43              
44              
45              
46             =head2 DryRun => Bool
47              
48             Checks whether you have the required permissions for the action,
49             without actually making the request, and provides an error response. If
50             you have the required permissions, the error response is
51             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
52              
53              
54              
55             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
56              
57             One or more filters.
58              
59             =over
60              
61             =item *
62              
63             C<bundle-id> - The ID of the bundle task.
64              
65             =item *
66              
67             C<error-code> - If the task failed, the error code returned.
68              
69             =item *
70              
71             C<error-message> - If the task failed, the error message returned.
72              
73             =item *
74              
75             C<instance-id> - The ID of the instance.
76              
77             =item *
78              
79             C<progress> - The level of task completion, as a percentage (for
80             example, 20%).
81              
82             =item *
83              
84             C<s3-bucket> - The Amazon S3 bucket to store the AMI.
85              
86             =item *
87              
88             C<s3-prefix> - The beginning of the AMI name.
89              
90             =item *
91              
92             C<start-time> - The time the task started (for example,
93             2013-09-15T17:15:20.000Z).
94              
95             =item *
96              
97             C<state> - The state of the task (C<pending> | C<waiting-for-shutdown>
98             | C<bundling> | C<storing> | C<cancelling> | C<complete> | C<failed>).
99              
100             =item *
101              
102             C<update-time> - The time of the most recent update for the task.
103              
104             =back
105              
106              
107              
108              
109              
110             =head1 SEE ALSO
111              
112             This class forms part of L<Paws>, documenting arguments for method DescribeBundleTasks in L<Paws::EC2>
113              
114             =head1 BUGS and CONTRIBUTIONS
115              
116             The source code is located here: https://github.com/pplu/aws-sdk-perl
117              
118             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
119              
120             =cut
121