blib/lib/Paws/ApiGatewayV2/UpdateRouteInput.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ApiGatewayV2::UpdateRouteInput;
3 use Moose;
4 has ApiKeyRequired => (is => 'ro', isa => 'Bool', request_name => 'apiKeyRequired', traits => ['NameInRequest']);
5 has AuthorizationScopes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'authorizationScopes', traits => ['NameInRequest']);
6 has AuthorizationType => (is => 'ro', isa => 'Str', request_name => 'authorizationType', traits => ['NameInRequest']);
7 has AuthorizerId => (is => 'ro', isa => 'Str', request_name => 'authorizerId', traits => ['NameInRequest']);
8 has ModelSelectionExpression => (is => 'ro', isa => 'Str', request_name => 'modelSelectionExpression', traits => ['NameInRequest']);
9 has OperationName => (is => 'ro', isa => 'Str', request_name => 'operationName', traits => ['NameInRequest']);
10 has RequestModels => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteModels', request_name => 'requestModels', traits => ['NameInRequest']);
11 has RequestParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteParameters', request_name => 'requestParameters', traits => ['NameInRequest']);
12 has RouteKey => (is => 'ro', isa => 'Str', request_name => 'routeKey', traits => ['NameInRequest']);
13 has RouteResponseSelectionExpression => (is => 'ro', isa => 'Str', request_name => 'routeResponseSelectionExpression', traits => ['NameInRequest']);
14 has Target => (is => 'ro', isa => 'Str', request_name => 'target', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ApiGatewayV2::UpdateRouteInput
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::ApiGatewayV2::UpdateRouteInput object:
34  
35 $service_obj->Method(Att1 => { ApiKeyRequired => $value, ..., Target => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::ApiGatewayV2::UpdateRouteInput object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->ApiKeyRequired
43  
44 =head1 DESCRIPTION
45  
46 Represents the input parameters for an UpdateRoute request.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ApiKeyRequired => Bool
52  
53 Specifies whether an API key is required for the route. Supported only
54 for WebSocket APIs.
55  
56  
57 =head2 AuthorizationScopes => ArrayRef[Str|Undef]
58  
59 The authorization scopes supported by this route.
60  
61  
62 =head2 AuthorizationType => Str
63  
64 The authorization type for the route. For WebSocket APIs, valid values
65 are NONE for open access, AWS_IAM for using AWS IAM permissions, and
66 CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are
67 NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using
68 AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
69  
70  
71 =head2 AuthorizerId => Str
72  
73 The identifier of the Authorizer resource to be associated with this
74 route. The authorizer identifier is generated by API Gateway when you
75 created the authorizer.
76  
77  
78 =head2 ModelSelectionExpression => Str
79  
80 The model selection expression for the route. Supported only for
81 WebSocket APIs.
82  
83  
84 =head2 OperationName => Str
85  
86 The operation name for the route.
87  
88  
89 =head2 RequestModels => L<Paws::ApiGatewayV2::RouteModels>
90  
91 The request models for the route. Supported only for WebSocket APIs.
92  
93  
94 =head2 RequestParameters => L<Paws::ApiGatewayV2::RouteParameters>
95  
96 The request parameters for the route. Supported only for WebSocket
97 APIs.
98  
99  
100 =head2 RouteKey => Str
101  
102 The route key for the route.
103  
104  
105 =head2 RouteResponseSelectionExpression => Str
106  
107 The route response selection expression for the route. Supported only
108 for WebSocket APIs.
109  
110  
111 =head2 Target => Str
112  
113 The target for the route.
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, describing an object used in L<Paws::ApiGatewayV2>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128