blib/lib/Paws/ApiGatewayV2/UpdateApiMapping.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApiGatewayV2::UpdateApiMapping;
3 use Moose;
4 has ApiId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'apiId', required => 1);
5 has ApiMappingId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiMappingId', required => 1);
6 has ApiMappingKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'apiMappingKey');
7 has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'domainName', required => 1);
8 has Stage => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stage');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApiMapping');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/domainnames/{domainName}/apimappings/{apiMappingId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::UpdateApiMappingResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ApiGatewayV2::UpdateApiMapping - Arguments for method UpdateApiMapping on L<Paws::ApiGatewayV2>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateApiMapping on the
27 L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class
28 as arguments to method UpdateApiMapping.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApiMapping.
31  
32 =head1 SYNOPSIS
33  
34 my $apigateway = Paws->service('ApiGatewayV2');
35 my $UpdateApiMappingResponse = $apigateway->UpdateApiMapping(
36 ApiId => 'MyId',
37 ApiMappingId => 'My__string',
38 DomainName => 'My__string',
39 ApiMappingKey => 'MySelectionKey', # OPTIONAL
40 Stage => 'MyStringWithLengthBetween1And128', # OPTIONAL
41 );
42  
43 # Results:
44 my $ApiId = $UpdateApiMappingResponse->ApiId;
45 my $ApiMappingId = $UpdateApiMappingResponse->ApiMappingId;
46 my $ApiMappingKey = $UpdateApiMappingResponse->ApiMappingKey;
47 my $Stage = $UpdateApiMappingResponse->Stage;
48  
49 # Returns a L<Paws::ApiGatewayV2::UpdateApiMappingResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/UpdateApiMapping>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> ApiId => Str
58  
59 The API identifier.
60  
61  
62  
63 =head2 B<REQUIRED> ApiMappingId => Str
64  
65 The API mapping identifier.
66  
67  
68  
69 =head2 ApiMappingKey => Str
70  
71 The API mapping key.
72  
73  
74  
75 =head2 B<REQUIRED> DomainName => Str
76  
77 The domain name.
78  
79  
80  
81 =head2 Stage => Str
82  
83 The API stage.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method UpdateApiMapping in L<Paws::ApiGatewayV2>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99