blib/lib/Paws/ApiGateway/MutualTlsAuthentication.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ApiGateway::MutualTlsAuthentication;
3 use Moose;
4 has TruststoreUri => (is => 'ro', isa => 'Str', request_name => 'truststoreUri', traits => ['NameInRequest']);
5 has TruststoreVersion => (is => 'ro', isa => 'Str', request_name => 'truststoreVersion', traits => ['NameInRequest']);
6 has TruststoreWarnings => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'truststoreWarnings', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::ApiGateway::MutualTlsAuthentication
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::ApiGateway::MutualTlsAuthentication object:
26  
27 $service_obj->Method(Att1 => { TruststoreUri => $value, ..., TruststoreWarnings => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::ApiGateway::MutualTlsAuthentication object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->TruststoreUri
35  
36 =head1 DESCRIPTION
37  
38 If specified, API Gateway performs two-way authentication between the
39 client and the server. Clients must present a trusted certificate to
40 access your custom domain name.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 TruststoreUri => Str
46  
47 An Amazon S3 URL that specifies the truststore for mutual TLS
48 authentication, for example C<s3://bucket-name/key-name>. The
49 truststore can contain certificates from public or private certificate
50 authorities. To update the truststore, upload a new version to S3, and
51 then update your custom domain name to use the new version. To update
52 the truststore, you must have permissions to access the S3 object.
53  
54  
55 =head2 TruststoreVersion => Str
56  
57 The version of the S3 object that contains your truststore. To specify
58 a version, you must have versioning enabled for the S3 bucket.
59  
60  
61 =head2 TruststoreWarnings => ArrayRef[Str|Undef]
62  
63 A list of warnings that API Gateway returns while processing your
64 truststore. Invalid certificates produce warnings. Mutual TLS is still
65 enabled, but some clients might not be able to access your API. To
66 resolve warnings, upload a new truststore to S3, and then update you
67 domain name to use the new version.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::ApiGateway>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82