blib/lib/Paws/ElasticBeanstalk/CreateApplication.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/ElasticBeanstalk/ConfigurationSettingsDescription.pm ↑ Summary blib/lib/Paws/ElasticBeanstalk/CreateApplicationVersion.pm »
1  
2 package Paws::ElasticBeanstalk::CreateApplication;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5 1 has Description => (is => 'ro', isa => 'Str');
6 1 has ResourceLifecycleConfig => (is => 'ro', isa => 'Paws::ElasticBeanstalk::ApplicationResourceLifecycleConfig');
7 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::Tag]');
8  
9 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateApplication');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ApplicationDescriptionMessage');
13 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateApplicationResult');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ElasticBeanstalk::CreateApplication - Arguments for method CreateApplication on L<Paws::ElasticBeanstalk>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateApplication on the
25 L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class
26 as arguments to method CreateApplication.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplication.
29  
30 =head1 SYNOPSIS
31  
32 my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
33 # To create a new application
34 # The following operation creates a new application named my-app:
35 my $ApplicationDescriptionMessage = $elasticbeanstalk->CreateApplication(
36 'ApplicationName' => 'my-app',
37 'Description' => 'my application'
38 );
39  
40 # Results:
41 my $Application = $ApplicationDescriptionMessage->Application;
42  
43 # Returns a L<Paws::ElasticBeanstalk::ApplicationDescriptionMessage> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/CreateApplication>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> ApplicationName => Str
52  
53 The name of the application. Must be unique within your account.
54  
55  
56  
57 =head2 Description => Str
58  
59 Your description of the application.
60  
61  
62  
63 =head2 ResourceLifecycleConfig => L<Paws::ElasticBeanstalk::ApplicationResourceLifecycleConfig>
64  
65 Specifies an application resource lifecycle configuration to prevent
66 your application from accumulating too many versions.
67  
68  
69  
70 =head2 Tags => ArrayRef[L<Paws::ElasticBeanstalk::Tag>]
71  
72 Specifies the tags applied to the application.
73  
74 Elastic Beanstalk applies these tags only to the application.
75 Environments that you create in the application don't inherit the tags.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method CreateApplication in L<Paws::ElasticBeanstalk>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91  
« blib/lib/Paws/ElasticBeanstalk/ConfigurationSettingsDescription.pm ↑ Summary blib/lib/Paws/ElasticBeanstalk/CreateApplicationVersion.pm »