blib/lib/Paws/Robomaker/UpdateSimulationApplication.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Robomaker::UpdateSimulationApplication;
3 use Moose;
4 has Application => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'application', required => 1);
5 has CurrentRevisionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'currentRevisionId');
6 has RenderingEngine => (is => 'ro', isa => 'Paws::Robomaker::RenderingEngine', traits => ['NameInRequest'], request_name => 'renderingEngine');
7 has RobotSoftwareSuite => (is => 'ro', isa => 'Paws::Robomaker::RobotSoftwareSuite', traits => ['NameInRequest'], request_name => 'robotSoftwareSuite', required => 1);
8 has SimulationSoftwareSuite => (is => 'ro', isa => 'Paws::Robomaker::SimulationSoftwareSuite', traits => ['NameInRequest'], request_name => 'simulationSoftwareSuite', required => 1);
9 has Sources => (is => 'ro', isa => 'ArrayRef[Paws::Robomaker::SourceConfig]', traits => ['NameInRequest'], request_name => 'sources', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSimulationApplication');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/updateSimulationApplication');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::UpdateSimulationApplicationResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Robomaker::UpdateSimulationApplication - Arguments for method UpdateSimulationApplication on L<Paws::Robomaker>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateSimulationApplication on the
28 L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class
29 as arguments to method UpdateSimulationApplication.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSimulationApplication.
32  
33 =head1 SYNOPSIS
34  
35 my $robomaker = Paws->service('Robomaker');
36 my $UpdateSimulationApplicationResponse =
37 $robomaker->UpdateSimulationApplication(
38 Application => 'MyArn',
39 RobotSoftwareSuite => {
40 Name => 'ROS', # values: ROS, ROS2; OPTIONAL
41 Version =>
42 'Kinetic', # values: Kinetic, Melodic, Dashing, Foxy; OPTIONAL
43 },
44 SimulationSoftwareSuite => {
45 Name => 'Gazebo', # values: Gazebo, RosbagPlay; OPTIONAL
46 Version => 'MySimulationSoftwareSuiteVersionType', # max: 1024; OPTIONAL
47 },
48 Sources => [
49 {
50 Architecture => 'X86_64', # values: X86_64, ARM64, ARMHF; OPTIONAL
51 S3Bucket => 'MyS3Bucket', # min: 3, max: 63; OPTIONAL
52 S3Key => 'MyS3Key', # min: 1, max: 1024; OPTIONAL
53 },
54 ...
55 ],
56 CurrentRevisionId => 'MyRevisionId', # OPTIONAL
57 RenderingEngine => {
58 Name => 'OGRE', # values: OGRE; OPTIONAL
59 Version => 'MyRenderingEngineVersionType', # min: 1, max: 4; OPTIONAL
60 }, # OPTIONAL
61 );
62  
63 # Results:
64 my $Arn = $UpdateSimulationApplicationResponse->Arn;
65 my $LastUpdatedAt = $UpdateSimulationApplicationResponse->LastUpdatedAt;
66 my $Name = $UpdateSimulationApplicationResponse->Name;
67 my $RenderingEngine = $UpdateSimulationApplicationResponse->RenderingEngine;
68 my $RevisionId = $UpdateSimulationApplicationResponse->RevisionId;
69 my $RobotSoftwareSuite =
70 $UpdateSimulationApplicationResponse->RobotSoftwareSuite;
71 my $SimulationSoftwareSuite =
72 $UpdateSimulationApplicationResponse->SimulationSoftwareSuite;
73 my $Sources = $UpdateSimulationApplicationResponse->Sources;
74 my $Version = $UpdateSimulationApplicationResponse->Version;
75  
76 # Returns a L<Paws::Robomaker::UpdateSimulationApplicationResponse> object.
77  
78 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.
79 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/UpdateSimulationApplication>
80  
81 =head1 ATTRIBUTES
82  
83  
84 =head2 B<REQUIRED> Application => Str
85  
86 The application information for the simulation application.
87  
88  
89  
90 =head2 CurrentRevisionId => Str
91  
92 The revision id for the robot application.
93  
94  
95  
96 =head2 RenderingEngine => L<Paws::Robomaker::RenderingEngine>
97  
98 The rendering engine for the simulation application.
99  
100  
101  
102 =head2 B<REQUIRED> RobotSoftwareSuite => L<Paws::Robomaker::RobotSoftwareSuite>
103  
104 Information about the robot software suite (ROS distribution).
105  
106  
107  
108 =head2 B<REQUIRED> SimulationSoftwareSuite => L<Paws::Robomaker::SimulationSoftwareSuite>
109  
110 The simulation software suite used by the simulation application.
111  
112  
113  
114 =head2 B<REQUIRED> Sources => ArrayRef[L<Paws::Robomaker::SourceConfig>]
115  
116 The sources of the simulation application.
117  
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, documenting arguments for method UpdateSimulationApplication in L<Paws::Robomaker>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132