blib/lib/Paws/ApiGateway/GetGatewayResponse.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApiGateway::GetGatewayResponse;
3 use Moose;
4 has ResponseType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'response_type', required => 1);
5 has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1);
6  
7 use MooseX::ClassAttribute;
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 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ApiGateway::GetGatewayResponse - Arguments for method GetGatewayResponse on L<Paws::ApiGateway>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method GetGatewayResponse on the
24 L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class
25 as arguments to method GetGatewayResponse.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetGatewayResponse.
28  
29 =head1 SYNOPSIS
30  
31 my $apigateway = Paws->service('ApiGateway');
32 my $GatewayResponse = $apigateway->GetGatewayResponse(
33 ResponseType => 'DEFAULT_4XX',
34 RestApiId => 'MyString',
35  
36 );
37  
38 # Results:
39 my $DefaultResponse = $GatewayResponse->DefaultResponse;
40 my $ResponseParameters = $GatewayResponse->ResponseParameters;
41 my $ResponseTemplates = $GatewayResponse->ResponseTemplates;
42 my $ResponseType = $GatewayResponse->ResponseType;
43 my $StatusCode = $GatewayResponse->StatusCode;
44  
45 # Returns a L<Paws::ApiGateway::GatewayResponse> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/GetGatewayResponse>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 B<REQUIRED> ResponseType => Str
54  
55 [Required]
56  
57 The response type of the associated GatewayResponse. Valid values are
58  
59 =over
60  
61 =item * ACCESS_DENIED
62  
63 =item * API_CONFIGURATION_ERROR
64  
65 =item * AUTHORIZER_FAILURE
66  
67 =item * AUTHORIZER_CONFIGURATION_ERROR
68  
69 =item * BAD_REQUEST_PARAMETERS
70  
71 =item * BAD_REQUEST_BODY
72  
73 =item * DEFAULT_4XX
74  
75 =item * DEFAULT_5XX
76  
77 =item * EXPIRED_TOKEN
78  
79 =item * INVALID_SIGNATURE
80  
81 =item * INTEGRATION_FAILURE
82  
83 =item * INTEGRATION_TIMEOUT
84  
85 =item * INVALID_API_KEY
86  
87 =item * MISSING_AUTHENTICATION_TOKEN
88  
89 =item * QUOTA_EXCEEDED
90  
91 =item * REQUEST_TOO_LARGE
92  
93 =item * RESOURCE_NOT_FOUND
94  
95 =item * THROTTLED
96  
97 =item * UNAUTHORIZED
98  
99 =item * UNSUPPORTED_MEDIA_TYPE
100  
101 =back
102  
103  
104 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">
105  
106 =head2 B<REQUIRED> RestApiId => Str
107  
108 [Required] The string identifier of the associated RestApi.
109  
110  
111  
112  
113 =head1 SEE ALSO
114  
115 This class forms part of L<Paws>, documenting arguments for method GetGatewayResponse in L<Paws::ApiGateway>
116  
117 =head1 BUGS and CONTRIBUTIONS
118  
119 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
120  
121 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
122  
123 =cut
124