File Coverage

blib/lib/Paws/ApiGateway/TestInvokeAuthorizer.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ApiGateway::TestInvokeAuthorizer;
3 1     1   476 use Moose;
  1         3  
  1         7  
4             has AdditionalContext => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString');
5             has AuthorizerId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'authorizerId' , required => 1);
6             has Body => (is => 'ro', isa => 'Str');
7             has Headers => (is => 'ro', isa => 'Paws::ApiGateway::MapOfHeaderValues');
8             has PathWithQueryString => (is => 'ro', isa => 'Str');
9             has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1);
10             has StageVariables => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString');
11              
12 1     1   6021 use MooseX::ClassAttribute;
  1         2  
  1         15  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'TestInvokeAuthorizer');
15             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/authorizers/{authorizer_id}');
16             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::TestInvokeAuthorizerResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::ApiGateway::TestInvokeAuthorizer - Arguments for method TestInvokeAuthorizer on Paws::ApiGateway
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method TestInvokeAuthorizer on the
30             Amazon API Gateway service. Use the attributes of this class
31             as arguments to method TestInvokeAuthorizer.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestInvokeAuthorizer.
34              
35             As an example:
36              
37             $service_obj->TestInvokeAuthorizer(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AdditionalContext => L<Paws::ApiGateway::MapOfStringToString>
45              
46             [Optional] A key-value map of additional context variables.
47              
48              
49              
50             =head2 B<REQUIRED> AuthorizerId => Str
51              
52             Specifies a test invoke authorizer request's Authorizer ID.
53              
54              
55              
56             =head2 Body => Str
57              
58             [Optional] The simulated request body of an incoming invocation
59             request.
60              
61              
62              
63             =head2 Headers => L<Paws::ApiGateway::MapOfHeaderValues>
64              
65             [Required] A key-value map of headers to simulate an incoming
66             invocation request. This is where the incoming authorization token, or
67             identity source, should be specified.
68              
69              
70              
71             =head2 PathWithQueryString => Str
72              
73             [Optional] The URI path, including query string, of the simulated
74             invocation request. Use this to specify path parameters and query
75             string parameters.
76              
77              
78              
79             =head2 B<REQUIRED> RestApiId => Str
80              
81             Specifies a test invoke authorizer request's RestApi identifier.
82              
83              
84              
85             =head2 StageVariables => L<Paws::ApiGateway::MapOfStringToString>
86              
87             A key-value map of stage variables to simulate an invocation on a
88             deployed Stage.
89              
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, documenting arguments for method TestInvokeAuthorizer in L<Paws::ApiGateway>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104