blib/lib/Paws/SecretsManager/ListSecrets.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SecretsManager::ListSecrets;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SecretsManager::Filter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has SortOrder => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListSecrets');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SecretsManager::ListSecretsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SecretsManager::ListSecrets - Arguments for method ListSecrets on L<Paws::SecretsManager>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListSecrets on the
25 L<AWS Secrets Manager|Paws::SecretsManager> service. Use the attributes of this class
26 as arguments to method ListSecrets.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListSecrets.
29  
30 =head1 SYNOPSIS
31  
32 my $secretsmanager = Paws->service('SecretsManager');
33 # To list the secrets in your account
34 # The following example shows how to list all of the secrets in your account.
35 my $ListSecretsResponse = $secretsmanager->ListSecrets();
36  
37 # Results:
38 my $SecretList = $ListSecretsResponse->SecretList;
39  
40 # Returns a L<Paws::SecretsManager::ListSecretsResponse> object.
41  
42 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.
43 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/secretsmanager/ListSecrets>
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Filters => ArrayRef[L<Paws::SecretsManager::Filter>]
49  
50 Lists the secret request filters.
51  
52  
53  
54 =head2 MaxResults => Int
55  
56 (Optional) Limits the number of results you want to include in the
57 response. If you don't include this parameter, it defaults to a value
58 that's specific to the operation. If additional items exist beyond the
59 maximum you specify, the C<NextToken> response element is present and
60 has a value (isn't null). Include that value as the C<NextToken>
61 request parameter in the next call to the operation to get the next
62 part of the results. Note that Secrets Manager might return fewer
63 results than the maximum even when there are more results available.
64 You should check C<NextToken> after every operation to ensure that you
65 receive all of the results.
66  
67  
68  
69 =head2 NextToken => Str
70  
71 (Optional) Use this parameter in a request if you receive a
72 C<NextToken> response in a previous request indicating there's more
73 output available. In a subsequent call, set it to the value of the
74 previous call C<NextToken> response to indicate where the output should
75 continue from.
76  
77  
78  
79 =head2 SortOrder => Str
80  
81 Lists secrets in the requested order.
82  
83 Valid values are: C<"asc">, C<"desc">
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, documenting arguments for method ListSecrets in L<Paws::SecretsManager>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97