File Coverage

blib/lib/Paws/EMR/Application.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EMR::Application;
2 1     1   408 use Moose;
  1         3  
  1         7  
3             has AdditionalInfo => (is => 'ro', isa => 'Paws::EMR::StringMap');
4             has Args => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has Name => (is => 'ro', isa => 'Str');
6             has Version => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::EMR::Application
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::EMR::Application object:
25              
26             $service_obj->Method(Att1 => { AdditionalInfo => $value, ..., Version => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::Application object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->AdditionalInfo
34              
35             =head1 DESCRIPTION
36              
37             An application is any Amazon or third-party software that you can add
38             to the cluster. This structure contains a list of strings that
39             indicates the software to use with the cluster and accepts a user
40             argument list. Amazon EMR accepts and forwards the argument list to the
41             corresponding installation script as bootstrap action argument. For
42             more information, see Using the MapR Distribution for Hadoop. Currently
43             supported values are:
44              
45             =over
46              
47             =item *
48              
49             "mapr-m3" - launch the cluster using MapR M3 Edition.
50              
51             =item *
52              
53             "mapr-m5" - launch the cluster using MapR M5 Edition.
54              
55             =item *
56              
57             "mapr" with the user arguments specifying "--edition,m3" or
58             "--edition,m5" - launch the cluster using MapR M3 or M5 Edition,
59             respectively.
60              
61             =back
62              
63             In Amazon EMR releases 4.x and later, the only accepted parameter is
64             the application name. To pass arguments to applications, you supply a
65             configuration for each application.
66              
67             =head1 ATTRIBUTES
68              
69              
70             =head2 AdditionalInfo => L<Paws::EMR::StringMap>
71              
72             This option is for advanced users only. This is meta information about
73             third-party applications that third-party vendors use for testing
74             purposes.
75              
76              
77             =head2 Args => ArrayRef[Str|Undef]
78              
79             Arguments for Amazon EMR to pass to the application.
80              
81              
82             =head2 Name => Str
83              
84             The name of the application.
85              
86              
87             =head2 Version => Str
88              
89             The version of the application.
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104