blib/lib/Paws/ACM/ListCertificates.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::ACM::ListCertificates;
3 use Moose;
4 has CertificateStatuses => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has Includes => (is => 'ro', isa => 'Paws::ACM::Filters');
6 has MaxItems => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListCertificates');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ACM::ListCertificatesResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ACM::ListCertificates - Arguments for method ListCertificates on L<Paws::ACM>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListCertificates on the
25 L<AWS Certificate Manager|Paws::ACM> service. Use the attributes of this class
26 as arguments to method ListCertificates.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListCertificates.
29  
30 =head1 SYNOPSIS
31  
32 my $acm = Paws->service('ACM');
33 my $ListCertificatesResponse = $acm->ListCertificates(
34 CertificateStatuses => [
35 'PENDING_VALIDATION',
36 ... # values: PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED
37 ], # OPTIONAL
38 Includes => {
39 ExtendedKeyUsage => [
40 'TLS_WEB_SERVER_AUTHENTICATION',
41 ... # values: TLS_WEB_SERVER_AUTHENTICATION, TLS_WEB_CLIENT_AUTHENTICATION, CODE_SIGNING, EMAIL_PROTECTION, TIME_STAMPING, OCSP_SIGNING, IPSEC_END_SYSTEM, IPSEC_TUNNEL, IPSEC_USER, ANY, NONE, CUSTOM
42 ], # OPTIONAL
43 KeyTypes => [
44 'RSA_2048',
45 ... # values: RSA_2048, RSA_1024, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
46 ], # OPTIONAL
47 KeyUsage => [
48 'DIGITAL_SIGNATURE',
49 ... # values: DIGITAL_SIGNATURE, NON_REPUDIATION, KEY_ENCIPHERMENT, DATA_ENCIPHERMENT, KEY_AGREEMENT, CERTIFICATE_SIGNING, CRL_SIGNING, ENCIPHER_ONLY, DECIPHER_ONLY, ANY, CUSTOM
50 ], # OPTIONAL
51 }, # OPTIONAL
52 MaxItems => 1, # OPTIONAL
53 NextToken => 'MyNextToken', # OPTIONAL
54 );
55  
56 # Results:
57 my $CertificateSummaryList =
58 $ListCertificatesResponse->CertificateSummaryList;
59 my $NextToken = $ListCertificatesResponse->NextToken;
60  
61 # Returns a L<Paws::ACM::ListCertificatesResponse> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/acm/ListCertificates>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 CertificateStatuses => ArrayRef[Str|Undef]
70  
71 Filter the certificate list by status value.
72  
73  
74  
75 =head2 Includes => L<Paws::ACM::Filters>
76  
77 Filter the certificate list. For more information, see the Filters
78 structure.
79  
80  
81  
82 =head2 MaxItems => Int
83  
84 Use this parameter when paginating results to specify the maximum
85 number of items to return in the response. If additional items exist
86 beyond the number you specify, the C<NextToken> element is sent in the
87 response. Use this C<NextToken> value in a subsequent request to
88 retrieve additional items.
89  
90  
91  
92 =head2 NextToken => Str
93  
94 Use this parameter only when paginating results and only in a
95 subsequent request after you receive a response with truncated results.
96 Set it to the value of C<NextToken> from the response you just
97 received.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method ListCertificates in L<Paws::ACM>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113