« blib/lib/Paws/Robomaker/UntagResourceResponse.pm
↑ Summary
blib/lib/Paws/Robomaker/UpdateRobotApplicationResponse.pm »
| 1 | |||
| 2 | package Paws::Robomaker::UpdateRobotApplication; | ||
| 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 RobotSoftwareSuite => (is => 'ro', isa => 'Paws::Robomaker::RobotSoftwareSuite', traits => ['NameInRequest'], request_name => 'robotSoftwareSuite', required => 1); | ||
| 7 | has Sources => (is => 'ro', isa => 'ArrayRef[Paws::Robomaker::SourceConfig]', traits => ['NameInRequest'], request_name => 'sources', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRobotApplication'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/updateRobotApplication'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::UpdateRobotApplicationResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Robomaker::UpdateRobotApplication - Arguments for method UpdateRobotApplication on L<Paws::Robomaker> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateRobotApplication on the | ||
| 26 | L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateRobotApplication. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRobotApplication. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $robomaker = Paws->service('Robomaker'); | ||
| 34 | my $UpdateRobotApplicationResponse = $robomaker->UpdateRobotApplication( | ||
| 35 | Application => 'MyArn', | ||
| 36 | RobotSoftwareSuite => { | ||
| 37 | Name => 'ROS', # values: ROS, ROS2; OPTIONAL | ||
| 38 | Version => | ||
| 39 | 'Kinetic', # values: Kinetic, Melodic, Dashing, Foxy; OPTIONAL | ||
| 40 | }, | ||
| 41 | Sources => [ | ||
| 42 | { | ||
| 43 | Architecture => 'X86_64', # values: X86_64, ARM64, ARMHF; OPTIONAL | ||
| 44 | S3Bucket => 'MyS3Bucket', # min: 3, max: 63; OPTIONAL | ||
| 45 | S3Key => 'MyS3Key', # min: 1, max: 1024; OPTIONAL | ||
| 46 | }, | ||
| 47 | ... | ||
| 48 | ], | ||
| 49 | CurrentRevisionId => 'MyRevisionId', # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $Arn = $UpdateRobotApplicationResponse->Arn; | ||
| 54 | my $LastUpdatedAt = $UpdateRobotApplicationResponse->LastUpdatedAt; | ||
| 55 | my $Name = $UpdateRobotApplicationResponse->Name; | ||
| 56 | my $RevisionId = $UpdateRobotApplicationResponse->RevisionId; | ||
| 57 | my $RobotSoftwareSuite = | ||
| 58 | $UpdateRobotApplicationResponse->RobotSoftwareSuite; | ||
| 59 | my $Sources = $UpdateRobotApplicationResponse->Sources; | ||
| 60 | my $Version = $UpdateRobotApplicationResponse->Version; | ||
| 61 | |||
| 62 | # Returns a L<Paws::Robomaker::UpdateRobotApplicationResponse> object. | ||
| 63 | |||
| 64 | 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. | ||
| 65 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/UpdateRobotApplication> | ||
| 66 | |||
| 67 | =head1 ATTRIBUTES | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> Application => Str | ||
| 71 | |||
| 72 | The application information for the robot application. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 CurrentRevisionId => Str | ||
| 77 | |||
| 78 | The revision id for the robot application. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> RobotSoftwareSuite => L<Paws::Robomaker::RobotSoftwareSuite> | ||
| 83 | |||
| 84 | The robot software suite (ROS distribution) used by the robot | ||
| 85 | application. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> Sources => ArrayRef[L<Paws::Robomaker::SourceConfig>] | ||
| 90 | |||
| 91 | The sources of the robot application. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method UpdateRobotApplication in L<Paws::Robomaker> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |