File Coverage

blib/lib/Paws/ElasticBeanstalk/CreateConfigurationTemplate.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ElasticBeanstalk::CreateConfigurationTemplate;
3 1     1   442 use Moose;
  1     1   2  
  1         7  
  1         702  
  1         3  
  1         9  
4             has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5             has Description => (is => 'ro', isa => 'Str');
6             has EnvironmentId => (is => 'ro', isa => 'Str');
7             has OptionSettings => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::ConfigurationOptionSetting]');
8             has PlatformArn => (is => 'ro', isa => 'Str');
9             has SolutionStackName => (is => 'ro', isa => 'Str');
10             has SourceConfiguration => (is => 'ro', isa => 'Paws::ElasticBeanstalk::SourceConfiguration');
11             has TemplateName => (is => 'ro', isa => 'Str', required => 1);
12              
13 1     1   6133 use MooseX::ClassAttribute;
  1     1   3  
  1         8  
  1         9347  
  1         4  
  1         9  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateConfigurationTemplate');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ConfigurationSettingsDescription');
17             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateConfigurationTemplateResult');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::ElasticBeanstalk::CreateConfigurationTemplate - Arguments for method CreateConfigurationTemplate on Paws::ElasticBeanstalk
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method CreateConfigurationTemplate on the
29             AWS Elastic Beanstalk service. Use the attributes of this class
30             as arguments to method CreateConfigurationTemplate.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConfigurationTemplate.
33              
34             As an example:
35              
36             $service_obj->CreateConfigurationTemplate(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> ApplicationName => Str
44              
45             The name of the application to associate with this configuration
46             template. If no application is found with this name, AWS Elastic
47             Beanstalk returns an C<InvalidParameterValue> error.
48              
49              
50              
51             =head2 Description => Str
52              
53             Describes this configuration.
54              
55              
56              
57             =head2 EnvironmentId => Str
58              
59             The ID of the environment used with this configuration template.
60              
61              
62              
63             =head2 OptionSettings => ArrayRef[L<Paws::ElasticBeanstalk::ConfigurationOptionSetting>]
64              
65             If specified, AWS Elastic Beanstalk sets the specified configuration
66             option to the requested value. The new value overrides the value
67             obtained from the solution stack or the source configuration template.
68              
69              
70              
71             =head2 PlatformArn => Str
72              
73             The ARN of the custome platform.
74              
75              
76              
77             =head2 SolutionStackName => Str
78              
79             The name of the solution stack used by this configuration. The solution
80             stack specifies the operating system, architecture, and application
81             server for a configuration template. It determines the set of
82             configuration options as well as the possible and default values.
83              
84             Use ListAvailableSolutionStacks to obtain a list of available solution
85             stacks.
86              
87             A solution stack name or a source configuration parameter must be
88             specified, otherwise AWS Elastic Beanstalk returns an
89             C<InvalidParameterValue> error.
90              
91             If a solution stack name is not specified and the source configuration
92             parameter is specified, AWS Elastic Beanstalk uses the same solution
93             stack as the source configuration template.
94              
95              
96              
97             =head2 SourceConfiguration => L<Paws::ElasticBeanstalk::SourceConfiguration>
98              
99             If specified, AWS Elastic Beanstalk uses the configuration values from
100             the specified configuration template to create a new configuration.
101              
102             Values specified in the C<OptionSettings> parameter of this call
103             overrides any values obtained from the C<SourceConfiguration>.
104              
105             If no configuration template is found, returns an
106             C<InvalidParameterValue> error.
107              
108             Constraint: If both the solution stack name parameter and the source
109             configuration parameters are specified, the solution stack of the
110             source configuration template must match the specified solution stack
111             name or else AWS Elastic Beanstalk returns an
112             C<InvalidParameterCombination> error.
113              
114              
115              
116             =head2 B<REQUIRED> TemplateName => Str
117              
118             The name of the configuration template.
119              
120             Constraint: This name must be unique per application.
121              
122             Default: If a configuration template already exists with this name, AWS
123             Elastic Beanstalk returns an C<InvalidParameterValue> error.
124              
125              
126              
127              
128             =head1 SEE ALSO
129              
130             This class forms part of L<Paws>, documenting arguments for method CreateConfigurationTemplate in L<Paws::ElasticBeanstalk>
131              
132             =head1 BUGS and CONTRIBUTIONS
133              
134             The source code is located here: https://github.com/pplu/aws-sdk-perl
135              
136             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
137              
138             =cut
139