File Coverage

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