blib/lib/Paws/ElasticBeanstalk/ListPlatformBranches.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ElasticBeanstalk::ListPlatformBranches;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::SearchFilter]');
5 has MaxRecords => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListPlatformBranches');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ListPlatformBranchesResult');
12 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListPlatformBranchesResult');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ElasticBeanstalk::ListPlatformBranches - Arguments for method ListPlatformBranches on L<Paws::ElasticBeanstalk>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListPlatformBranches on the
24 L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class
25 as arguments to method ListPlatformBranches.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPlatformBranches.
28  
29 =head1 SYNOPSIS
30  
31 my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
32 my $ListPlatformBranchesResult = $elasticbeanstalk->ListPlatformBranches(
33 Filters => [
34 {
35 Attribute => 'MySearchFilterAttribute', # OPTIONAL
36 Operator => 'MySearchFilterOperator', # OPTIONAL
37 Values => [ 'MySearchFilterValue', ... ], # OPTIONAL
38 },
39 ...
40 ], # OPTIONAL
41 MaxRecords => 1, # OPTIONAL
42 NextToken => 'MyToken', # OPTIONAL
43 );
44  
45 # Results:
46 my $NextToken = $ListPlatformBranchesResult->NextToken;
47 my $PlatformBranchSummaryList =
48 $ListPlatformBranchesResult->PlatformBranchSummaryList;
49  
50 # Returns a L<Paws::ElasticBeanstalk::ListPlatformBranchesResult> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/ListPlatformBranches>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Filters => ArrayRef[L<Paws::ElasticBeanstalk::SearchFilter>]
59  
60 Criteria for restricting the resulting list of platform branches. The
61 filter is evaluated as a logical conjunction (AND) of the separate
62 C<SearchFilter> terms.
63  
64 The following list shows valid attribute values for each of the
65 C<SearchFilter> terms. Most operators take a single value. The C<in>
66 and C<not_in> operators can take multiple values.
67  
68 =over
69  
70 =item *
71  
72 C<Attribute = BranchName>:
73  
74 =over
75  
76 =item *
77  
78 C<Operator>: C<=> | C<!=> | C<begins_with> | C<ends_with> | C<contains>
79 | C<in> | C<not_in>
80  
81 =back
82  
83 =item *
84  
85 C<Attribute = LifecycleState>:
86  
87 =over
88  
89 =item *
90  
91 C<Operator>: C<=> | C<!=> | C<in> | C<not_in>
92  
93 =item *
94  
95 C<Values>: C<beta> | C<supported> | C<deprecated> | C<retired>
96  
97 =back
98  
99 =item *
100  
101 C<Attribute = PlatformName>:
102  
103 =over
104  
105 =item *
106  
107 C<Operator>: C<=> | C<!=> | C<begins_with> | C<ends_with> | C<contains>
108 | C<in> | C<not_in>
109  
110 =back
111  
112 =item *
113  
114 C<Attribute = TierType>:
115  
116 =over
117  
118 =item *
119  
120 C<Operator>: C<=> | C<!=>
121  
122 =item *
123  
124 C<Values>: C<WebServer/Standard> | C<Worker/SQS/HTTP>
125  
126 =back
127  
128 =back
129  
130 Array size: limited to 10 C<SearchFilter> objects.
131  
132 Within each C<SearchFilter> item, the C<Values> array is limited to 10
133 items.
134  
135  
136  
137 =head2 MaxRecords => Int
138  
139 The maximum number of platform branch values returned in one call.
140  
141  
142  
143 =head2 NextToken => Str
144  
145 For a paginated request. Specify a token from a previous response page
146 to retrieve the next response page. All other parameter values must be
147 identical to the ones specified in the initial request.
148  
149 If no C<NextToken> is specified, the first page is retrieved.
150  
151  
152  
153  
154 =head1 SEE ALSO
155  
156 This class forms part of L<Paws>, documenting arguments for method ListPlatformBranches in L<Paws::ElasticBeanstalk>
157  
158 =head1 BUGS and CONTRIBUTIONS
159  
160 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
161  
162 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
163  
164 =cut
165