blib/lib/Paws/EC2/DescribeBundleTasks.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/DescribeAvailabilityZonesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeBundleTasksResult.pm »
1  
2 package Paws::EC2::DescribeBundleTasks;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has BundleIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'BundleId' );
5 1 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6 1 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7  
8 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeBundleTasks');
11 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeBundleTasksResult');
12 1 class_has _result_key => (isa => 'Str', is => 'ro');
13 1 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::EC2::DescribeBundleTasks - Arguments for method DescribeBundleTasks on L<Paws::EC2>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method DescribeBundleTasks on the
24 L<Amazon Elastic Compute Cloud|Paws::EC2> 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 =head1 SYNOPSIS
30  
31 my $ec2 = Paws->service('EC2');
32 my $DescribeBundleTasksResult = $ec2->DescribeBundleTasks(
33 BundleIds => [ 'MyBundleId', ... ], # OPTIONAL
34 DryRun => 1, # OPTIONAL
35 Filters => [
36 {
37 Name => 'MyString', # OPTIONAL
38 Values => [
39 'MyString', ... # OPTIONAL
40 ], # OPTIONAL
41 },
42 ...
43 ], # OPTIONAL
44 );
45  
46 # Results:
47 my $BundleTasks = $DescribeBundleTasksResult->BundleTasks;
48  
49 # Returns a L<Paws::EC2::DescribeBundleTasksResult> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeBundleTasks>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 BundleIds => ArrayRef[Str|Undef]
58  
59 The bundle task IDs.
60  
61 Default: Describes all your bundle tasks.
62  
63  
64  
65 =head2 DryRun => Bool
66  
67 Checks whether you have the required permissions for the action,
68 without actually making the request, and provides an error response. If
69 you have the required permissions, the error response is
70 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
71  
72  
73  
74 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
75  
76 The filters.
77  
78 =over
79  
80 =item *
81  
82 C<bundle-id> - The ID of the bundle task.
83  
84 =item *
85  
86 C<error-code> - If the task failed, the error code returned.
87  
88 =item *
89  
90 C<error-message> - If the task failed, the error message returned.
91  
92 =item *
93  
94 C<instance-id> - The ID of the instance.
95  
96 =item *
97  
98 C<progress> - The level of task completion, as a percentage (for
99 example, 20%).
100  
101 =item *
102  
103 C<s3-bucket> - The Amazon S3 bucket to store the AMI.
104  
105 =item *
106  
107 C<s3-prefix> - The beginning of the AMI name.
108  
109 =item *
110  
111 C<start-time> - The time the task started (for example,
112 2013-09-15T17:15:20.000Z).
113  
114 =item *
115  
116 C<state> - The state of the task (C<pending> | C<waiting-for-shutdown>
117 | C<bundling> | C<storing> | C<cancelling> | C<complete> | C<failed>).
118  
119 =item *
120  
121 C<update-time> - The time of the most recent update for the task.
122  
123 =back
124  
125  
126  
127  
128  
129 =head1 SEE ALSO
130  
131 This class forms part of L<Paws>, documenting arguments for method DescribeBundleTasks in L<Paws::EC2>
132  
133 =head1 BUGS and CONTRIBUTIONS
134  
135 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
136  
137 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
138  
139 =cut
140  
« blib/lib/Paws/EC2/DescribeAvailabilityZonesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeBundleTasksResult.pm »