File Coverage

blib/lib/Paws/ApiGateway/UpdateMethodResponse.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::UpdateMethodResponse;
3 1     1   568 use Moose;
  1         2  
  1         9  
4             has HttpMethod => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'httpMethod' , required => 1);
5             has PatchOperations => (is => 'ro', isa => 'ArrayRef[Paws::ApiGateway::PatchOperation]');
6             has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'resourceId' , required => 1);
7             has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1);
8             has StatusCode => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'statusCode' , required => 1);
9              
10 1     1   7253 use MooseX::ClassAttribute;
  1         3  
  1         11  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMethodResponse');
13             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}');
14             class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::MethodResponse');
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::UpdateMethodResponse - Arguments for method UpdateMethodResponse on Paws::ApiGateway
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method UpdateMethodResponse on the
28             Amazon API Gateway service. Use the attributes of this class
29             as arguments to method UpdateMethodResponse.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMethodResponse.
32              
33             As an example:
34              
35             $service_obj->UpdateMethodResponse(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 B<REQUIRED> HttpMethod => Str
43              
44             The HTTP verb of the Method resource.
45              
46              
47              
48             =head2 PatchOperations => ArrayRef[L<Paws::ApiGateway::PatchOperation>]
49              
50             A list of update operations to be applied to the specified resource and
51             in the order specified in this list.
52              
53              
54              
55             =head2 B<REQUIRED> ResourceId => Str
56              
57             The Resource identifier for the MethodResponse resource.
58              
59              
60              
61             =head2 B<REQUIRED> RestApiId => Str
62              
63             The string identifier of the associated RestApi.
64              
65              
66              
67             =head2 B<REQUIRED> StatusCode => Str
68              
69             The status code for the MethodResponse resource.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method UpdateMethodResponse in L<Paws::ApiGateway>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85