« blib/lib/Paws/Robomaker/CreateRobotResponse.pm
↑ Summary
blib/lib/Paws/Robomaker/CreateSimulationApplicationResponse.pm »
| 1 | |||
| 2 | package Paws::Robomaker::CreateSimulationApplication; | ||
| 3 | use Moose; | ||
| 4 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 5 | has RenderingEngine => (is => 'ro', isa => 'Paws::Robomaker::RenderingEngine', traits => ['NameInRequest'], request_name => 'renderingEngine'); | ||
| 6 | has RobotSoftwareSuite => (is => 'ro', isa => 'Paws::Robomaker::RobotSoftwareSuite', traits => ['NameInRequest'], request_name => 'robotSoftwareSuite', required => 1); | ||
| 7 | has SimulationSoftwareSuite => (is => 'ro', isa => 'Paws::Robomaker::SimulationSoftwareSuite', traits => ['NameInRequest'], request_name => 'simulationSoftwareSuite', required => 1); | ||
| 8 | has Sources => (is => 'ro', isa => 'ArrayRef[Paws::Robomaker::SourceConfig]', traits => ['NameInRequest'], request_name => 'sources', required => 1); | ||
| 9 | has Tags => (is => 'ro', isa => 'Paws::Robomaker::TagMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateSimulationApplication'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/createSimulationApplication'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::CreateSimulationApplicationResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::Robomaker::CreateSimulationApplication - Arguments for method CreateSimulationApplication on L<Paws::Robomaker> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method CreateSimulationApplication on the | ||
| 28 | L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class | ||
| 29 | as arguments to method CreateSimulationApplication. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateSimulationApplication. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $robomaker = Paws->service('Robomaker'); | ||
| 36 | my $CreateSimulationApplicationResponse = | ||
| 37 | $robomaker->CreateSimulationApplication( | ||
| 38 | Name => 'MyName', | ||
| 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 | RenderingEngine => { | ||
| 57 | Name => 'OGRE', # values: OGRE; OPTIONAL | ||
| 58 | Version => 'MyRenderingEngineVersionType', # min: 1, max: 4; OPTIONAL | ||
| 59 | }, # OPTIONAL | ||
| 60 | Tags => { | ||
| 61 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 62 | }, # OPTIONAL | ||
| 63 | ); | ||
| 64 | |||
| 65 | # Results: | ||
| 66 | my $Arn = $CreateSimulationApplicationResponse->Arn; | ||
| 67 | my $LastUpdatedAt = $CreateSimulationApplicationResponse->LastUpdatedAt; | ||
| 68 | my $Name = $CreateSimulationApplicationResponse->Name; | ||
| 69 | my $RenderingEngine = $CreateSimulationApplicationResponse->RenderingEngine; | ||
| 70 | my $RevisionId = $CreateSimulationApplicationResponse->RevisionId; | ||
| 71 | my $RobotSoftwareSuite = | ||
| 72 | $CreateSimulationApplicationResponse->RobotSoftwareSuite; | ||
| 73 | my $SimulationSoftwareSuite = | ||
| 74 | $CreateSimulationApplicationResponse->SimulationSoftwareSuite; | ||
| 75 | my $Sources = $CreateSimulationApplicationResponse->Sources; | ||
| 76 | my $Tags = $CreateSimulationApplicationResponse->Tags; | ||
| 77 | my $Version = $CreateSimulationApplicationResponse->Version; | ||
| 78 | |||
| 79 | # Returns a L<Paws::Robomaker::CreateSimulationApplicationResponse> object. | ||
| 80 | |||
| 81 | 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. | ||
| 82 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/CreateSimulationApplication> | ||
| 83 | |||
| 84 | =head1 ATTRIBUTES | ||
| 85 | |||
| 86 | |||
| 87 | =head2 B<REQUIRED> Name => Str | ||
| 88 | |||
| 89 | The name of the simulation application. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 RenderingEngine => L<Paws::Robomaker::RenderingEngine> | ||
| 94 | |||
| 95 | The rendering engine for the simulation application. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 B<REQUIRED> RobotSoftwareSuite => L<Paws::Robomaker::RobotSoftwareSuite> | ||
| 100 | |||
| 101 | The robot software suite (ROS distribution) used by the simulation | ||
| 102 | application. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head2 B<REQUIRED> SimulationSoftwareSuite => L<Paws::Robomaker::SimulationSoftwareSuite> | ||
| 107 | |||
| 108 | The simulation software suite used by the simulation application. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 B<REQUIRED> Sources => ArrayRef[L<Paws::Robomaker::SourceConfig>] | ||
| 113 | |||
| 114 | The sources of the simulation application. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head2 Tags => L<Paws::Robomaker::TagMap> | ||
| 119 | |||
| 120 | A map that contains tag keys and tag values that are attached to the | ||
| 121 | simulation application. | ||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | =head1 SEE ALSO | ||
| 127 | |||
| 128 | This class forms part of L<Paws>, documenting arguments for method CreateSimulationApplication in L<Paws::Robomaker> | ||
| 129 | |||
| 130 | =head1 BUGS and CONTRIBUTIONS | ||
| 131 | |||
| 132 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 133 | |||
| 134 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 135 | |||
| 136 | =cut | ||
| 137 |