| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Robomaker::Tool; | ||
| 3 | use Moose; | ||
| 4 | has Command => (is => 'ro', isa => 'Str', request_name => 'command', traits => ['NameInRequest'], required => 1); | ||
| 5 | has ExitBehavior => (is => 'ro', isa => 'Str', request_name => 'exitBehavior', traits => ['NameInRequest']); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 7 | has StreamOutputToCloudWatch => (is => 'ro', isa => 'Bool', request_name => 'streamOutputToCloudWatch', traits => ['NameInRequest']); | ||
| 8 | has StreamUI => (is => 'ro', isa => 'Bool', request_name => 'streamUI', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Robomaker::Tool | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Robomaker::Tool object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Command => $value, ..., StreamUI => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Robomaker::Tool object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Command | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Information about a tool. Tools are used in a simulation job. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> Command => Str | ||
| 46 | |||
| 47 | Command-line arguments for the tool. It must include the tool | ||
| 48 | executable name. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ExitBehavior => Str | ||
| 52 | |||
| 53 | Exit behavior determines what happens when your tool quits running. | ||
| 54 | C<RESTART> will cause your tool to be restarted. C<FAIL> will cause | ||
| 55 | your job to exit. The default is C<RESTART>. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> Name => Str | ||
| 59 | |||
| 60 | The name of the tool. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 StreamOutputToCloudWatch => Bool | ||
| 64 | |||
| 65 | Boolean indicating whether logs will be recorded in CloudWatch for the | ||
| 66 | tool. The default is C<False>. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 StreamUI => Bool | ||
| 70 | |||
| 71 | Boolean indicating whether a streaming session will be configured for | ||
| 72 | the tool. If C<True>, AWS RoboMaker will configure a connection so you | ||
| 73 | can interact with the tool as it is running in the simulation. It must | ||
| 74 | have a graphical user interface. The default is C<False>. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, describing an object used in L<Paws::Robomaker> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |