line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ApiGateway::CreateAuthorizer; |
3
|
1
|
|
|
1
|
|
576
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AuthorizerCredentials => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has AuthorizerResultTtlInSeconds => (is => 'ro', isa => 'Int'); |
6
|
|
|
|
|
|
|
has AuthorizerUri => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has AuthType => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has IdentitySource => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
has IdentityValidationExpression => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
11
|
|
|
|
|
|
|
has ProviderARNs => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
12
|
|
|
|
|
|
|
has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1); |
13
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str', required => 1); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
6874
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAuthorizer'); |
18
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/authorizers'); |
19
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
20
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::Authorizer'); |
21
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
### main pod documentation begin ### |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Paws::ApiGateway::CreateAuthorizer - Arguments for method CreateAuthorizer on Paws::ApiGateway |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateAuthorizer on the |
33
|
|
|
|
|
|
|
Amazon API Gateway service. Use the attributes of this class |
34
|
|
|
|
|
|
|
as arguments to method CreateAuthorizer. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAuthorizer. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
As an example: |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$service_obj->CreateAuthorizer(Att1 => $value1, Att2 => $value2, ...); |
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
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 AuthorizerCredentials => Str |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Specifies the credentials required for the authorizer, if any. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 AuthorizerResultTtlInSeconds => Int |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The TTL of cached authorizer results. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 AuthorizerUri => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
[Required] Specifies the authorizer's Uniform Resource Identifier |
62
|
|
|
|
|
|
|
(URI). |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 AuthType => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Optional customer-defined field, used in Swagger imports/exports. Has |
69
|
|
|
|
|
|
|
no functional impact. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 B<REQUIRED> IdentitySource => Str |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
[Required] The source of the identity in an incoming request. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 IdentityValidationExpression => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
A validation expression for the incoming identity. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
[Required] The name of the authorizer. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 ProviderARNs => ArrayRef[Str|Undef] |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
A list of the Cognito Your User Pool authorizer's provider ARNs. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 B<REQUIRED> RestApiId => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The RestApi identifier under which the Authorizer will be created. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 B<REQUIRED> Type => Str |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
[Required] The type of the authorizer. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Valid values are: C<"TOKEN">, C<"COGNITO_USER_POOLS"> |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 SEE ALSO |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateAuthorizer in L<Paws::ApiGateway> |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|