File Coverage

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