Cfn/Resource/AWS/Glue/MLTransform.pm untested

filter: Statementstmt 0.0% 0 / 165 Branchbran 0.0% 0 / 14 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 18 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 204 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::Glue::MLTransform generated from spec 22.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::Glue::MLTransform->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::Glue::MLTransform {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ ]
15 }
16 sub supported_regions {
17 [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-gov-west-1','us-west-1','us-west-2' ]
18 }
19 }
20  
21  
22  
23 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::MLUserDataEncryption',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::MLUserDataEncryption',
27 from 'HashRef',
28 via {
29 if (my $f = Cfn::TypeLibrary::try_function($_)) {
30 return $f
31 } else {
32 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::MLUserDataEncryption->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::MLUserDataEncryption {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 has MLUserDataEncryptionMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 }
44 subtype 'ArrayOfCfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables',
45 as 'Cfn::Value',
46 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
47 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
48  
49 coerce 'ArrayOfCfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables',
50 from 'HashRef',
51 via {
52 if (my $f = Cfn::TypeLibrary::try_function($_)) {
53 return $f
54 } else {
55 die 'Only accepts functions';
56 }
57 },
58 from 'ArrayRef',
59 via {
60 Cfn::Value::Array->new(Value => [
61 map {
62 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables')->coerce($_)
63 } @$_
64 ]);
65 };
66  
67 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables',
71 from 'HashRef',
72 via {
73 if (my $f = Cfn::TypeLibrary::try_function($_)) {
74 return $f
75 } else {
76 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::GlueTables->new( %$_ );
77 }
78 };
79  
80 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::GlueTables {
81 use Moose;
82 use MooseX::StrictConstructor;
83 extends 'Cfn::Value::TypedValue';
84
85 has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 has ConnectionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 }
90  
91 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::FindMatchesParameters',
92 as 'Cfn::Value';
93  
94 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::FindMatchesParameters',
95 from 'HashRef',
96 via {
97 if (my $f = Cfn::TypeLibrary::try_function($_)) {
98 return $f
99 } else {
100 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::FindMatchesParameters->new( %$_ );
101 }
102 };
103  
104 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::FindMatchesParameters {
105 use Moose;
106 use MooseX::StrictConstructor;
107 extends 'Cfn::Value::TypedValue';
108
109 has AccuracyCostTradeoff => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 has EnforceProvidedLabels => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 has PrecisionRecallTradeoff => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112 has PrimaryKeyColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
113 }
114  
115 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformParameters',
116 as 'Cfn::Value';
117  
118 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformParameters',
119 from 'HashRef',
120 via {
121 if (my $f = Cfn::TypeLibrary::try_function($_)) {
122 return $f
123 } else {
124 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformParameters->new( %$_ );
125 }
126 };
127  
128 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformParameters {
129 use Moose;
130 use MooseX::StrictConstructor;
131 extends 'Cfn::Value::TypedValue';
132
133 has FindMatchesParameters => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::FindMatchesParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 has TransformType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 }
136  
137 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformEncryption',
138 as 'Cfn::Value';
139  
140 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformEncryption',
141 from 'HashRef',
142 via {
143 if (my $f = Cfn::TypeLibrary::try_function($_)) {
144 return $f
145 } else {
146 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformEncryption->new( %$_ );
147 }
148 };
149  
150 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformEncryption {
151 use Moose;
152 use MooseX::StrictConstructor;
153 extends 'Cfn::Value::TypedValue';
154
155 has MLUserDataEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::MLUserDataEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156 has TaskRunSecurityConfigurationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157 }
158  
159 subtype 'Cfn::Resource::Properties::AWS::Glue::MLTransform::InputRecordTables',
160 as 'Cfn::Value';
161  
162 coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform::InputRecordTables',
163 from 'HashRef',
164 via {
165 if (my $f = Cfn::TypeLibrary::try_function($_)) {
166 return $f
167 } else {
168 return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::InputRecordTables->new( %$_ );
169 }
170 };
171  
172 package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::InputRecordTables {
173 use Moose;
174 use MooseX::StrictConstructor;
175 extends 'Cfn::Value::TypedValue';
176
177 has GlueTables => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178 }
179  
180 package Cfn::Resource::Properties::AWS::Glue::MLTransform {
181 use Moose;
182 use MooseX::StrictConstructor;
183 extends 'Cfn::Resource::Properties';
184
185 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
186 has GlueVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
187 has InputRecordTables => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::InputRecordTables', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
188 has MaxCapacity => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
189 has MaxRetries => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
190 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
191 has NumberOfWorkers => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
192 has Role => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
194 has Timeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
195 has TransformEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
196 has TransformParameters => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformParameters', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
197 has WorkerType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
198 }
199  
200 1;
201 ### main pod documentation begin ###
202  
203 =encoding UTF-8
204  
205 =head1 NAME
206  
207 Cfn::Resource::AWS::Glue::MLTransform - Cfn resource for AWS::Glue::MLTransform
208  
209 =head1 DESCRIPTION
210  
211 This module implements a Perl module that represents the CloudFormation object AWS::Glue::MLTransform.
212  
213 See L<Cfn> for more information on how to use it.
214  
215 =head1 AUTHOR
216  
217 Jose Luis Martinez
218 CAPSiDE
219 jlmartinez@capside.com
220  
221 =head1 COPYRIGHT and LICENSE
222  
223 Copyright (c) 2013 by CAPSiDE
224 This code is distributed under the Apache 2 License. The full text of the
225 license can be found in the LICENSE file included with this module.
226  
227 =cut