blib/lib/Paws/ImageBuilder/ListComponents.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ImageBuilder::ListComponents;
3 use Moose;
4 has ByName => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'byName');
5 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::ImageBuilder::Filter]', traits => ['NameInRequest'], request_name => 'filters');
6 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
7 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
8 has Owner => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'owner');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListComponents');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/ListComponents');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ImageBuilder::ListComponentsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ImageBuilder::ListComponents - Arguments for method ListComponents on L<Paws::ImageBuilder>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListComponents on the
27 L<EC2 Image Builder|Paws::ImageBuilder> service. Use the attributes of this class
28 as arguments to method ListComponents.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListComponents.
31  
32 =head1 SYNOPSIS
33  
34 my $imagebuilder = Paws->service('ImageBuilder');
35 my $ListComponentsResponse = $imagebuilder->ListComponents(
36 ByName => 1, # OPTIONAL
37 Filters => [
38 {
39 Name => 'MyFilterName', # OPTIONAL
40 Values => [ 'MyFilterValue', ... ], # min: 1, max: 10; OPTIONAL
41 },
42 ...
43 ], # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NextToken => 'MyPaginationToken', # OPTIONAL
46 Owner => 'Self', # OPTIONAL
47 );
48  
49 # Results:
50 my $ComponentVersionList = $ListComponentsResponse->ComponentVersionList;
51 my $NextToken = $ListComponentsResponse->NextToken;
52 my $RequestId = $ListComponentsResponse->RequestId;
53  
54 # Returns a L<Paws::ImageBuilder::ListComponentsResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/imagebuilder/ListComponents>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 ByName => Bool
63  
64 Returns the list of component build versions for the specified semantic
65 version.
66  
67  
68  
69 =head2 Filters => ArrayRef[L<Paws::ImageBuilder::Filter>]
70  
71 The filters.
72  
73  
74  
75 =head2 MaxResults => Int
76  
77 The maximum items to return in a request.
78  
79  
80  
81 =head2 NextToken => Str
82  
83 A token to specify where to start paginating. This is the NextToken
84 from a previously truncated response.
85  
86  
87  
88 =head2 Owner => Str
89  
90 The owner defines which components you want to list. By default, this
91 request will only show components owned by your account. You can use
92 this field to specify if you want to view components owned by yourself,
93 by Amazon, or those components that have been shared with you by other
94 customers.
95  
96 Valid values are: C<"Self">, C<"Shared">, C<"Amazon">
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, documenting arguments for method ListComponents in L<Paws::ImageBuilder>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110