« Cfn/Resource/AWS/PinpointEmail/ConfigurationSetEventDestination.pm
↑ Summary
Cfn/Resource/AWS/S3/StorageLens.pm »
| 1 | # AWS::Glue::MLTransform generated from spec 21.0.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Glue::MLTransform', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Glue::MLTransform->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Glue::MLTransform { | |||||||||
| 9 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | extends 'Cfn::Resource'; | |||||||||
| 11 | 1 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::MLUserDataEncryption->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::MLUserDataEncryption { | |||||||||
| 37 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 1 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | 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 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 47 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 48 | |||||||||||
| 49 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables', | ||||||||||
| 50 | from 'HashRef', | ||||||||||
| 51 | via { | ||||||||||
| 52 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 53 | 0 | return $f | |||||||||
| 54 | } else { | ||||||||||
| 55 | 0 | die 'Only accepts functions'; | |||||||||
| 56 | } | ||||||||||
| 57 | }, | ||||||||||
| 58 | from 'ArrayRef', | ||||||||||
| 59 | via { | ||||||||||
| 60 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 61 | map { | ||||||||||
| 62 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 63 | } @$_ | ||||||||||
| 64 | ]); | ||||||||||
| 65 | 1 | }; | |||||||||
| 66 | |||||||||||
| 67 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::GlueTables->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 1 | }; | |||||||||
| 79 | |||||||||||
| 80 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::GlueTables { | |||||||||
| 81 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 1 | has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | 1 | has ConnectionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | 1 | has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 88 | 1 | has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 89 | } | ||||||||||
| 90 | |||||||||||
| 91 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 98 | 0 | return $f | |||||||||
| 99 | } else { | ||||||||||
| 100 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::FindMatchesParameters->new( %$_ ); | |||||||||
| 101 | } | ||||||||||
| 102 | 1 | }; | |||||||||
| 103 | |||||||||||
| 104 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::FindMatchesParameters { | |||||||||
| 105 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 106 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 107 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 108 | |||||||||||
| 109 | 1 | has AccuracyCostTradeoff => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 1 | has EnforceProvidedLabels => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | 1 | has PrecisionRecallTradeoff => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 112 | 1 | has PrimaryKeyColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 113 | } | ||||||||||
| 114 | |||||||||||
| 115 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 122 | 0 | return $f | |||||||||
| 123 | } else { | ||||||||||
| 124 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformParameters->new( %$_ ); | |||||||||
| 125 | } | ||||||||||
| 126 | 1 | }; | |||||||||
| 127 | |||||||||||
| 128 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformParameters { | |||||||||
| 129 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 130 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 131 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 132 | |||||||||||
| 133 | 1 | has FindMatchesParameters => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::FindMatchesParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 134 | 1 | has TransformType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 135 | } | ||||||||||
| 136 | |||||||||||
| 137 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 144 | 0 | return $f | |||||||||
| 145 | } else { | ||||||||||
| 146 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformEncryption->new( %$_ ); | |||||||||
| 147 | } | ||||||||||
| 148 | 1 | }; | |||||||||
| 149 | |||||||||||
| 150 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::TransformEncryption { | |||||||||
| 151 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 152 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 153 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 154 | |||||||||||
| 155 | 1 | has MLUserDataEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::MLUserDataEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 156 | 1 | has TaskRunSecurityConfigurationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 157 | } | ||||||||||
| 158 | |||||||||||
| 159 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 166 | 0 | return $f | |||||||||
| 167 | } else { | ||||||||||
| 168 | 0 | return Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::InputRecordTables->new( %$_ ); | |||||||||
| 169 | } | ||||||||||
| 170 | 1 | }; | |||||||||
| 171 | |||||||||||
| 172 | 1 | package Cfn::Resource::Properties::Object::AWS::Glue::MLTransform::InputRecordTables { | |||||||||
| 173 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 174 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 175 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 176 | |||||||||||
| 177 | 1 | has GlueTables => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Glue::MLTransform::GlueTables', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | } | ||||||||||
| 179 | |||||||||||
| 180 | 1 | package Cfn::Resource::Properties::AWS::Glue::MLTransform { | |||||||||
| 181 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 182 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 183 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 184 | |||||||||||
| 185 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 186 | 1 | has GlueVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 187 | 1 | has InputRecordTables => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::InputRecordTables', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 188 | 1 | has MaxCapacity => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 189 | 1 | has MaxRetries => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 190 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 191 | 1 | has NumberOfWorkers => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 192 | 1 | has Role => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 193 | 1 | has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 194 | 1 | has Timeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 195 | 1 | has TransformEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 196 | 1 | has TransformParameters => (isa => 'Cfn::Resource::Properties::AWS::Glue::MLTransform::TransformParameters', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 197 | 1 | has WorkerType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 198 | } | ||||||||||
| 199 | |||||||||||
| 200 | 1 | 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 | ||||||||||