File Coverage

blib/lib/Paws/ApiGateway/UpdateGatewayResponse.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::UpdateGatewayResponse;
3 1     1   494 use Moose;
  1         2  
  1         7  
4             has PatchOperations => (is => 'ro', isa => 'ArrayRef[Paws::ApiGateway::PatchOperation]');
5             has ResponseType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'responseType' , required => 1);
6             has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1);
7              
8 1     1   6418 use MooseX::ClassAttribute;
  1         2  
  1         9  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateGatewayResponse');
11             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/gatewayresponses/{response_type}');
12             class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::GatewayResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::ApiGateway::UpdateGatewayResponse - Arguments for method UpdateGatewayResponse on Paws::ApiGateway
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method UpdateGatewayResponse on the
26             Amazon API Gateway service. Use the attributes of this class
27             as arguments to method UpdateGatewayResponse.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGatewayResponse.
30              
31             As an example:
32              
33             $service_obj->UpdateGatewayResponse(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 PatchOperations => ArrayRef[L<Paws::ApiGateway::PatchOperation>]
41              
42             A list of update operations to be applied to the specified resource and
43             in the order specified in this list.
44              
45              
46              
47             =head2 B<REQUIRED> ResponseType => Str
48              
49             The response type of the associated GatewayResponse. Valid values are
50              
51             =over
52              
53             =item * ACCESS_DENIED
54              
55             =item * API_CONFIGURATION_ERROR
56              
57             =item * AUTHORIZER_FAILURE
58              
59             =item * AUTHORIZER_CONFIGURATION_ERROR
60              
61             =item * BAD_REQUEST_PARAMETERS
62              
63             =item * BAD_REQUEST_BODY
64              
65             =item * DEFAULT_4XX
66              
67             =item * DEFAULT_5XX
68              
69             =item * EXPIRED_TOKEN
70              
71             =item * INVALID_SIGNATURE
72              
73             =item * INTEGRATION_FAILURE
74              
75             =item * INTEGRATION_TIMEOUT
76              
77             =item * INVALID_API_KEY
78              
79             =item * MISSING_AUTHENTICATION_TOKEN
80              
81             =item * QUOTA_EXCEEDED
82              
83             =item * REQUEST_TOO_LARGE
84              
85             =item * RESOURCE_NOT_FOUND
86              
87             =item * THROTTLED
88              
89             =item * UNAUTHORIZED
90              
91             =item * UNSUPPORTED_MEDIA_TYPES
92              
93             =back
94              
95              
96             Valid values are: C<"DEFAULT_4XX">, C<"DEFAULT_5XX">, C<"RESOURCE_NOT_FOUND">, C<"UNAUTHORIZED">, C<"INVALID_API_KEY">, C<"ACCESS_DENIED">, C<"AUTHORIZER_FAILURE">, C<"AUTHORIZER_CONFIGURATION_ERROR">, C<"INVALID_SIGNATURE">, C<"EXPIRED_TOKEN">, C<"MISSING_AUTHENTICATION_TOKEN">, C<"INTEGRATION_FAILURE">, C<"INTEGRATION_TIMEOUT">, C<"API_CONFIGURATION_ERROR">, C<"UNSUPPORTED_MEDIA_TYPE">, C<"BAD_REQUEST_PARAMETERS">, C<"BAD_REQUEST_BODY">, C<"REQUEST_TOO_LARGE">, C<"THROTTLED">, C<"QUOTA_EXCEEDED">
97              
98             =head2 B<REQUIRED> RestApiId => Str
99              
100             The string identifier of the associated RestApi.
101              
102              
103              
104              
105             =head1 SEE ALSO
106              
107             This class forms part of L<Paws>, documenting arguments for method UpdateGatewayResponse in L<Paws::ApiGateway>
108              
109             =head1 BUGS and CONTRIBUTIONS
110              
111             The source code is located here: https://github.com/pplu/aws-sdk-perl
112              
113             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
114              
115             =cut
116