blib/lib/Paws/ElasticBeanstalk/CreatePlatformVersion.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ElasticBeanstalk::CreatePlatformVersion;
3 use Moose;
4 has EnvironmentName => (is => 'ro', isa => 'Str');
5 has OptionSettings => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::ConfigurationOptionSetting]');
6 has PlatformDefinitionBundle => (is => 'ro', isa => 'Paws::ElasticBeanstalk::S3Location', required => 1);
7 has PlatformName => (is => 'ro', isa => 'Str', required => 1);
8 has PlatformVersion => (is => 'ro', isa => 'Str', required => 1);
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::Tag]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePlatformVersion');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::CreatePlatformVersionResult');
15 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreatePlatformVersionResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ElasticBeanstalk::CreatePlatformVersion - Arguments for method CreatePlatformVersion on L<Paws::ElasticBeanstalk>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreatePlatformVersion on the
27 L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class
28 as arguments to method CreatePlatformVersion.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePlatformVersion.
31  
32 =head1 SYNOPSIS
33  
34 my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
35 my $CreatePlatformVersionResult = $elasticbeanstalk->CreatePlatformVersion(
36 PlatformDefinitionBundle => {
37 S3Bucket => 'MyS3Bucket', # max: 255; OPTIONAL
38 S3Key => 'MyS3Key', # max: 1024; OPTIONAL
39 },
40 PlatformName => 'MyPlatformName',
41 PlatformVersion => 'MyPlatformVersion',
42 EnvironmentName => 'MyEnvironmentName', # OPTIONAL
43 OptionSettings => [
44 {
45 Namespace => 'MyOptionNamespace', # OPTIONAL
46 OptionName => 'MyConfigurationOptionName', # OPTIONAL
47 ResourceName => 'MyResourceName', # min: 1, max: 256; OPTIONAL
48 Value => 'MyConfigurationOptionValue', # OPTIONAL
49 },
50 ...
51 ], # OPTIONAL
52 Tags => [
53 {
54 Key => 'MyTagKey', # min: 1, max: 128; OPTIONAL
55 Value => 'MyTagValue', # min: 1, max: 256; OPTIONAL
56 },
57 ...
58 ], # OPTIONAL
59 );
60  
61 # Results:
62 my $Builder = $CreatePlatformVersionResult->Builder;
63 my $PlatformSummary = $CreatePlatformVersionResult->PlatformSummary;
64  
65 # Returns a L<Paws::ElasticBeanstalk::CreatePlatformVersionResult> object.
66  
67 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.
68 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/CreatePlatformVersion>
69  
70 =head1 ATTRIBUTES
71  
72  
73 =head2 EnvironmentName => Str
74  
75 The name of the builder environment.
76  
77  
78  
79 =head2 OptionSettings => ArrayRef[L<Paws::ElasticBeanstalk::ConfigurationOptionSetting>]
80  
81 The configuration option settings to apply to the builder environment.
82  
83  
84  
85 =head2 B<REQUIRED> PlatformDefinitionBundle => L<Paws::ElasticBeanstalk::S3Location>
86  
87 The location of the platform definition archive in Amazon S3.
88  
89  
90  
91 =head2 B<REQUIRED> PlatformName => Str
92  
93 The name of your custom platform.
94  
95  
96  
97 =head2 B<REQUIRED> PlatformVersion => Str
98  
99 The number, such as 1.0.2, for the new platform version.
100  
101  
102  
103 =head2 Tags => ArrayRef[L<Paws::ElasticBeanstalk::Tag>]
104  
105 Specifies the tags applied to the new platform version.
106  
107 Elastic Beanstalk applies these tags only to the platform version.
108 Environments that you create using the platform version don't inherit
109 the tags.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method CreatePlatformVersion in L<Paws::ElasticBeanstalk>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125