| 1 | # AWS::Athena::WorkGroup generated from spec 18.4.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Athena::WorkGroup->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Athena::WorkGroup { | |||||||||
| 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::Athena::WorkGroup', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'CreationTime' ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','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::Athena::WorkGroup::EncryptionConfiguration', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration', | ||||||||||
| 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::Athena::WorkGroup::EncryptionConfiguration->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::EncryptionConfiguration { | |||||||||
| 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 EncryptionOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | has KmsKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 43 | } | ||||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 0 | return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfigurationUpdates->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfigurationUpdates { | |||||||||
| 59 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 1 | has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 1 | has OutputLocation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | 1 | has RemoveEncryptionConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 66 | 1 | has RemoveOutputLocation => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 67 | } | ||||||||||
| 68 | |||||||||||
| 69 | 1 | subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration', | |||||||||
| 70 | as 'Cfn::Value'; | ||||||||||
| 71 | |||||||||||
| 72 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration', | ||||||||||
| 73 | from 'HashRef', | ||||||||||
| 74 | via { | ||||||||||
| 75 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 76 | 0 | return $f | |||||||||
| 77 | } else { | ||||||||||
| 78 | 0 | return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfiguration->new( %$_ ); | |||||||||
| 79 | } | ||||||||||
| 80 | 1 | }; | |||||||||
| 81 | |||||||||||
| 82 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfiguration { | |||||||||
| 83 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 84 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 85 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 86 | |||||||||||
| 87 | 1 | has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 88 | 1 | has OutputLocation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 89 | } | ||||||||||
| 90 | |||||||||||
| 91 | 1 | subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates', | |||||||||
| 92 | as 'Cfn::Value'; | ||||||||||
| 93 | |||||||||||
| 94 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates', | ||||||||||
| 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::Athena::WorkGroup::WorkGroupConfigurationUpdates->new( %$_ ); | |||||||||
| 101 | } | ||||||||||
| 102 | 1 | }; | |||||||||
| 103 | |||||||||||
| 104 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates { | |||||||||
| 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 BytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 1 | has EnforceWorkGroupConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | 1 | has PublishCloudWatchMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 112 | 1 | has RemoveBytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 113 | 1 | has RequesterPaysEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 114 | 1 | has ResultConfigurationUpdates => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 115 | } | ||||||||||
| 116 | |||||||||||
| 117 | 1 | subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration', | |||||||||
| 118 | as 'Cfn::Value'; | ||||||||||
| 119 | |||||||||||
| 120 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration', | ||||||||||
| 121 | from 'HashRef', | ||||||||||
| 122 | via { | ||||||||||
| 123 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 124 | 0 | return $f | |||||||||
| 125 | } else { | ||||||||||
| 126 | 0 | return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfiguration->new( %$_ ); | |||||||||
| 127 | } | ||||||||||
| 128 | 1 | }; | |||||||||
| 129 | |||||||||||
| 130 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfiguration { | |||||||||
| 131 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 132 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 133 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 134 | |||||||||||
| 135 | 1 | has BytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 136 | 1 | has EnforceWorkGroupConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 137 | 1 | has PublishCloudWatchMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 138 | 1 | has RequesterPaysEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 139 | 1 | has ResultConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 140 | } | ||||||||||
| 141 | |||||||||||
| 142 | 1 | subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags', | |||||||||
| 143 | as 'Cfn::Value'; | ||||||||||
| 144 | |||||||||||
| 145 | coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags', | ||||||||||
| 146 | from 'HashRef', | ||||||||||
| 147 | via { | ||||||||||
| 148 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 149 | 0 | return $f | |||||||||
| 150 | } else { | ||||||||||
| 151 | 0 | return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::Tags->new( %$_ ); | |||||||||
| 152 | } | ||||||||||
| 153 | 1 | }; | |||||||||
| 154 | |||||||||||
| 155 | 1 | package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::Tags { | |||||||||
| 156 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 157 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 158 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 159 | |||||||||||
| 160 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 161 | } | ||||||||||
| 162 | |||||||||||
| 163 | 1 | package Cfn::Resource::Properties::AWS::Athena::WorkGroup { | |||||||||
| 164 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 165 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 166 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 167 | |||||||||||
| 168 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 169 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 170 | 1 | has RecursiveDeleteOption => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 171 | 1 | has State => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 172 | 1 | has Tags => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 173 | 1 | has WorkGroupConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 174 | 1 | has WorkGroupConfigurationUpdates => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 175 | } | ||||||||||
| 176 | |||||||||||
| 177 | 1 | 1; | |||||||||
| 178 | ### main pod documentation begin ### | ||||||||||
| 179 | |||||||||||
| 180 | =encoding UTF-8 | ||||||||||
| 181 | |||||||||||
| 182 | =head1 NAME | ||||||||||
| 183 | |||||||||||
| 184 | Cfn::Resource::AWS::Athena::WorkGroup - Cfn resource for AWS::Athena::WorkGroup | ||||||||||
| 185 | |||||||||||
| 186 | =head1 DESCRIPTION | ||||||||||
| 187 | |||||||||||
| 188 | This module implements a Perl module that represents the CloudFormation object AWS::Athena::WorkGroup. | ||||||||||
| 189 | |||||||||||
| 190 | See L<Cfn> for more information on how to use it. | ||||||||||
| 191 | |||||||||||
| 192 | =head1 AUTHOR | ||||||||||
| 193 | |||||||||||
| 194 | Jose Luis Martinez | ||||||||||
| 195 | CAPSiDE | ||||||||||
| 196 | jlmartinez@capside.com | ||||||||||
| 197 | |||||||||||
| 198 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 199 | |||||||||||
| 200 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 201 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 202 | license can be found in the LICENSE file included with this module. | ||||||||||
| 203 | |||||||||||
| 204 | =cut | ||||||||||