blib/lib/Paws/IoTFleetHub/UpdateApplication.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoTFleetHub::UpdateApplication;
3 use Moose;
4 has ApplicationDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationDescription');
5 has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'applicationId', required => 1);
6 has ApplicationName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationName');
7 has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApplication');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/applications/{applicationId}');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTFleetHub::UpdateApplicationResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::IoTFleetHub::UpdateApplication - Arguments for method UpdateApplication on L<Paws::IoTFleetHub>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateApplication on the
26 L<AWS IoT Fleet Hub|Paws::IoTFleetHub> service. Use the attributes of this class
27 as arguments to method UpdateApplication.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApplication.
30  
31 =head1 SYNOPSIS
32  
33 my $api.fleethub.iot = Paws->service('IoTFleetHub');
34 my $UpdateApplicationResponse = $api . fleethub . iot->UpdateApplication(
35 ApplicationId => 'MyId',
36 ApplicationDescription => 'MyDescription', # OPTIONAL
37 ApplicationName => 'MyName', # OPTIONAL
38 ClientToken => 'MyClientRequestToken', # OPTIONAL
39 );
40  
41 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.
42 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.fleethub.iot/UpdateApplication>
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ApplicationDescription => Str
48  
49 An optional description of the web application.
50  
51  
52  
53 =head2 B<REQUIRED> ApplicationId => Str
54  
55 The unique Id of the web application.
56  
57  
58  
59 =head2 ApplicationName => Str
60  
61 The name of the web application.
62  
63  
64  
65 =head2 ClientToken => Str
66  
67 A unique case-sensitive identifier that you can provide to ensure the
68 idempotency of the request. Don't reuse this client token if a new
69 idempotent request is required.
70  
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, documenting arguments for method UpdateApplication in L<Paws::IoTFleetHub>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85