File Coverage

blib/lib/Paws/ElasticBeanstalk/CreateApplicationVersion.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::CreateApplicationVersion;
3 1     1   437 use Moose;
  1     1   3  
  1         6  
  1         1982  
  1         10  
  1         13  
4             has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5             has AutoCreateApplication => (is => 'ro', isa => 'Bool');
6             has BuildConfiguration => (is => 'ro', isa => 'Paws::ElasticBeanstalk::BuildConfiguration');
7             has Description => (is => 'ro', isa => 'Str');
8             has Process => (is => 'ro', isa => 'Bool');
9             has SourceBuildInformation => (is => 'ro', isa => 'Paws::ElasticBeanstalk::SourceBuildInformation');
10             has SourceBundle => (is => 'ro', isa => 'Paws::ElasticBeanstalk::S3Location');
11             has VersionLabel => (is => 'ro', isa => 'Str', required => 1);
12              
13 1     1   6114 use MooseX::ClassAttribute;
  1     1   3  
  1         7  
  1         13145  
  1         4  
  1         17  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateApplicationVersion');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ApplicationVersionDescriptionMessage');
17             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateApplicationVersionResult');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::ElasticBeanstalk::CreateApplicationVersion - Arguments for method CreateApplicationVersion on Paws::ElasticBeanstalk
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method CreateApplicationVersion on the
29             AWS Elastic Beanstalk service. Use the attributes of this class
30             as arguments to method CreateApplicationVersion.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplicationVersion.
33              
34             As an example:
35              
36             $service_obj->CreateApplicationVersion(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. If no application is found with this name,
46             and C<AutoCreateApplication> is C<false>, returns an
47             C<InvalidParameterValue> error.
48              
49              
50              
51             =head2 AutoCreateApplication => Bool
52              
53             Set to C<true> to create an application with the specified name if it
54             doesn't already exist.
55              
56              
57              
58             =head2 BuildConfiguration => L<Paws::ElasticBeanstalk::BuildConfiguration>
59              
60             Settings for an AWS CodeBuild build.
61              
62              
63              
64             =head2 Description => Str
65              
66             Describes this version.
67              
68              
69              
70             =head2 Process => Bool
71              
72             Preprocesses and validates the environment manifest and configuration
73             files in the source bundle. Validating configuration files can identify
74             issues prior to deploying the application version to an environment.
75              
76              
77              
78             =head2 SourceBuildInformation => L<Paws::ElasticBeanstalk::SourceBuildInformation>
79              
80             Specify a commit in an AWS CodeCommit Git repository to use as the
81             source code for the application version.
82              
83              
84              
85             =head2 SourceBundle => L<Paws::ElasticBeanstalk::S3Location>
86              
87             The Amazon S3 bucket and key that identify the location of the source
88             bundle for this version.
89              
90             The Amazon S3 bucket must be in the same region as the environment.
91              
92             Specify a source bundle in S3 or a commit in an AWS CodeCommit
93             repository (with C<SourceBuildInformation>), but not both. If neither
94             C<SourceBundle> nor C<SourceBuildInformation> are provided, Elastic
95             Beanstalk uses a sample application.
96              
97              
98              
99             =head2 B<REQUIRED> VersionLabel => Str
100              
101             A label identifying this version.
102              
103             Constraint: Must be unique per application. If an application version
104             already exists with this label for the specified application, AWS
105             Elastic Beanstalk returns an C<InvalidParameterValue> error.
106              
107              
108              
109              
110             =head1 SEE ALSO
111              
112             This class forms part of L<Paws>, documenting arguments for method CreateApplicationVersion in L<Paws::ElasticBeanstalk>
113              
114             =head1 BUGS and CONTRIBUTIONS
115              
116             The source code is located here: https://github.com/pplu/aws-sdk-perl
117              
118             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
119              
120             =cut
121