File Coverage

blib/lib/Paws/OpsWorks/UpdateApp.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::OpsWorks::UpdateApp;
3 1     1   538 use Moose;
  1         3  
  1         9  
4             has AppId => (is => 'ro', isa => 'Str', required => 1);
5             has AppSource => (is => 'ro', isa => 'Paws::OpsWorks::Source');
6             has Attributes => (is => 'ro', isa => 'Paws::OpsWorks::AppAttributes');
7             has DataSources => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::DataSource]');
8             has Description => (is => 'ro', isa => 'Str');
9             has Domains => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10             has EnableSsl => (is => 'ro', isa => 'Bool');
11             has Environment => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::EnvironmentVariable]');
12             has Name => (is => 'ro', isa => 'Str');
13             has SslConfiguration => (is => 'ro', isa => 'Paws::OpsWorks::SslConfiguration');
14             has Type => (is => 'ro', isa => 'Str');
15              
16 1     1   8052 use MooseX::ClassAttribute;
  1         3  
  1         16  
17              
18             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApp');
19             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
20             class_has _result_key => (isa => 'Str', is => 'ro');
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::OpsWorks::UpdateApp - Arguments for method UpdateApp on Paws::OpsWorks
28              
29             =head1 DESCRIPTION
30              
31             This class represents the parameters used for calling the method UpdateApp on the
32             AWS OpsWorks service. Use the attributes of this class
33             as arguments to method UpdateApp.
34              
35             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApp.
36              
37             As an example:
38              
39             $service_obj->UpdateApp(Att1 => $value1, Att2 => $value2, ...);
40              
41             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.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> AppId => Str
47              
48             The app ID.
49              
50              
51              
52             =head2 AppSource => L<Paws::OpsWorks::Source>
53              
54             A C<Source> object that specifies the app repository.
55              
56              
57              
58             =head2 Attributes => L<Paws::OpsWorks::AppAttributes>
59              
60             One or more user-defined key/value pairs to be added to the stack
61             attributes.
62              
63              
64              
65             =head2 DataSources => ArrayRef[L<Paws::OpsWorks::DataSource>]
66              
67             The app's data sources.
68              
69              
70              
71             =head2 Description => Str
72              
73             A description of the app.
74              
75              
76              
77             =head2 Domains => ArrayRef[Str|Undef]
78              
79             The app's virtual host settings, with multiple domains separated by
80             commas. For example: C<'www.example.com, example.com'>
81              
82              
83              
84             =head2 EnableSsl => Bool
85              
86             Whether SSL is enabled for the app.
87              
88              
89              
90             =head2 Environment => ArrayRef[L<Paws::OpsWorks::EnvironmentVariable>]
91              
92             An array of C<EnvironmentVariable> objects that specify environment
93             variables to be associated with the app. After you deploy the app,
94             these variables are defined on the associated app server instances.For
95             more information, see Environment Variables.
96              
97             There is no specific limit on the number of environment variables.
98             However, the size of the associated data structure - which includes the
99             variables' names, values, and protected flag values - cannot exceed 10
100             KB (10240 Bytes). This limit should accommodate most if not all use
101             cases. Exceeding it will cause an exception with the message,
102             "Environment: is too large (maximum is 10KB)."
103              
104             This parameter is supported only by Chef 11.10 stacks. If you have
105             specified one or more environment variables, you cannot modify the
106             stack's Chef version.
107              
108              
109              
110             =head2 Name => Str
111              
112             The app name.
113              
114              
115              
116             =head2 SslConfiguration => L<Paws::OpsWorks::SslConfiguration>
117              
118             An C<SslConfiguration> object with the SSL configuration.
119              
120              
121              
122             =head2 Type => Str
123              
124             The app type.
125              
126             Valid values are: C<"aws-flow-ruby">, C<"java">, C<"rails">, C<"php">, C<"nodejs">, C<"static">, C<"other">
127              
128              
129             =head1 SEE ALSO
130              
131             This class forms part of L<Paws>, documenting arguments for method UpdateApp in L<Paws::OpsWorks>
132              
133             =head1 BUGS and CONTRIBUTIONS
134              
135             The source code is located here: https://github.com/pplu/aws-sdk-perl
136              
137             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
138              
139             =cut
140