| 1 | # AWS::Kendra::DataSource 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::Kendra::DataSource', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Kendra::DataSource->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Kendra::DataSource { | |||||||||
| 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::Kendra::DataSource', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn','Id' ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-southeast-2','eu-west-1','us-east-1','us-west-2' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', | ||||||||||
| 23 | as 'Cfn::Value', | ||||||||||
| 24 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 25 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 26 | |||||||||||
| 27 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', | ||||||||||
| 28 | from 'HashRef', | ||||||||||
| 29 | via { | ||||||||||
| 30 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $f | |||||||||
| 32 | } else { | ||||||||||
| 33 | 0 | die 'Only accepts functions'; | |||||||||
| 34 | } | ||||||||||
| 35 | }, | ||||||||||
| 36 | from 'ArrayRef', | ||||||||||
| 37 | via { | ||||||||||
| 38 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 39 | map { | ||||||||||
| 40 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 41 | } @$_ | ||||||||||
| 42 | ]); | ||||||||||
| 43 | 1 | }; | |||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', | ||||||||||
| 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::Kendra::DataSource::DataSourceToIndexFieldMapping->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping { | |||||||||
| 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 DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 1 | has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | 1 | has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 66 | } | ||||||||||
| 67 | |||||||||||
| 68 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', | |||||||||
| 69 | as 'Cfn::Value'; | ||||||||||
| 70 | |||||||||||
| 71 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', | ||||||||||
| 72 | from 'HashRef', | ||||||||||
| 73 | via { | ||||||||||
| 74 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 75 | 0 | return $f | |||||||||
| 76 | } else { | ||||||||||
| 77 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList->new( %$_ ); | |||||||||
| 78 | } | ||||||||||
| 79 | 1 | }; | |||||||||
| 80 | |||||||||||
| 81 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList { | |||||||||
| 82 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 84 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 85 | |||||||||||
| 86 | 1 | has DataSourceToIndexFieldMappingList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', | ||||||||||
| 89 | as 'Cfn::Value', | ||||||||||
| 90 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 91 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 92 | |||||||||||
| 93 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', | ||||||||||
| 94 | from 'HashRef', | ||||||||||
| 95 | via { | ||||||||||
| 96 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 97 | 0 | return $f | |||||||||
| 98 | } else { | ||||||||||
| 99 | 0 | die 'Only accepts functions'; | |||||||||
| 100 | } | ||||||||||
| 101 | }, | ||||||||||
| 102 | from 'ArrayRef', | ||||||||||
| 103 | via { | ||||||||||
| 104 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 105 | map { | ||||||||||
| 106 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 107 | } @$_ | ||||||||||
| 108 | ]); | ||||||||||
| 109 | 1 | }; | |||||||||
| 110 | |||||||||||
| 111 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', | |||||||||
| 112 | as 'Cfn::Value'; | ||||||||||
| 113 | |||||||||||
| 114 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', | ||||||||||
| 115 | from 'HashRef', | ||||||||||
| 116 | via { | ||||||||||
| 117 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 118 | 0 | return $f | |||||||||
| 119 | } else { | ||||||||||
| 120 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration->new( %$_ ); | |||||||||
| 121 | } | ||||||||||
| 122 | 1 | }; | |||||||||
| 123 | |||||||||||
| 124 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration { | |||||||||
| 125 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 127 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 128 | |||||||||||
| 129 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 130 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 131 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 132 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 133 | } | ||||||||||
| 134 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||||||||||
| 135 | as 'Cfn::Value', | ||||||||||
| 136 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 137 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 138 | |||||||||||
| 139 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||||||||||
| 140 | from 'HashRef', | ||||||||||
| 141 | via { | ||||||||||
| 142 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 143 | 0 | return $f | |||||||||
| 144 | } else { | ||||||||||
| 145 | 0 | die 'Only accepts functions'; | |||||||||
| 146 | } | ||||||||||
| 147 | }, | ||||||||||
| 148 | from 'ArrayRef', | ||||||||||
| 149 | via { | ||||||||||
| 150 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 151 | map { | ||||||||||
| 152 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 153 | } @$_ | ||||||||||
| 154 | ]); | ||||||||||
| 155 | 1 | }; | |||||||||
| 156 | |||||||||||
| 157 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | |||||||||
| 158 | as 'Cfn::Value'; | ||||||||||
| 159 | |||||||||||
| 160 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||||||||||
| 161 | from 'HashRef', | ||||||||||
| 162 | via { | ||||||||||
| 163 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 164 | 0 | return $f | |||||||||
| 165 | } else { | ||||||||||
| 166 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration->new( %$_ ); | |||||||||
| 167 | } | ||||||||||
| 168 | 1 | }; | |||||||||
| 169 | |||||||||||
| 170 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration { | |||||||||
| 171 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 172 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 173 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 174 | |||||||||||
| 175 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 176 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 177 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 179 | } | ||||||||||
| 180 | |||||||||||
| 181 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', | |||||||||
| 182 | as 'Cfn::Value'; | ||||||||||
| 183 | |||||||||||
| 184 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', | ||||||||||
| 185 | from 'HashRef', | ||||||||||
| 186 | via { | ||||||||||
| 187 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 188 | 0 | return $f | |||||||||
| 189 | } else { | ||||||||||
| 190 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration->new( %$_ ); | |||||||||
| 191 | } | ||||||||||
| 192 | 1 | }; | |||||||||
| 193 | |||||||||||
| 194 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration { | |||||||||
| 195 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 196 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 197 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 198 | |||||||||||
| 199 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 200 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 201 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 202 | } | ||||||||||
| 203 | |||||||||||
| 204 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', | |||||||||
| 205 | as 'Cfn::Value'; | ||||||||||
| 206 | |||||||||||
| 207 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', | ||||||||||
| 208 | from 'HashRef', | ||||||||||
| 209 | via { | ||||||||||
| 210 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 211 | 0 | return $f | |||||||||
| 212 | } else { | ||||||||||
| 213 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList->new( %$_ ); | |||||||||
| 214 | } | ||||||||||
| 215 | 1 | }; | |||||||||
| 216 | |||||||||||
| 217 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList { | |||||||||
| 218 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 219 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 220 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 221 | |||||||||||
| 222 | 1 | has SalesforceKnowledgeArticleStateList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 223 | } | ||||||||||
| 224 | |||||||||||
| 225 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', | |||||||||
| 226 | as 'Cfn::Value'; | ||||||||||
| 227 | |||||||||||
| 228 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', | ||||||||||
| 229 | from 'HashRef', | ||||||||||
| 230 | via { | ||||||||||
| 231 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 232 | 0 | return $f | |||||||||
| 233 | } else { | ||||||||||
| 234 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList->new( %$_ ); | |||||||||
| 235 | } | ||||||||||
| 236 | 1 | }; | |||||||||
| 237 | |||||||||||
| 238 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList { | |||||||||
| 239 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 240 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 241 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 242 | |||||||||||
| 243 | 1 | has SalesforceCustomKnowledgeArticleTypeConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 244 | } | ||||||||||
| 245 | |||||||||||
| 246 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', | |||||||||
| 247 | as 'Cfn::Value'; | ||||||||||
| 248 | |||||||||||
| 249 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', | ||||||||||
| 250 | from 'HashRef', | ||||||||||
| 251 | via { | ||||||||||
| 252 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 253 | 0 | return $f | |||||||||
| 254 | } else { | ||||||||||
| 255 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes->new( %$_ ); | |||||||||
| 256 | } | ||||||||||
| 257 | 1 | }; | |||||||||
| 258 | |||||||||||
| 259 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes { | |||||||||
| 260 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 261 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 262 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 263 | |||||||||||
| 264 | 1 | has SalesforceChatterFeedIncludeFilterTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 265 | } | ||||||||||
| 266 | |||||||||||
| 267 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', | |||||||||
| 268 | as 'Cfn::Value'; | ||||||||||
| 269 | |||||||||||
| 270 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', | ||||||||||
| 271 | from 'HashRef', | ||||||||||
| 272 | via { | ||||||||||
| 273 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 274 | 0 | return $f | |||||||||
| 275 | } else { | ||||||||||
| 276 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path->new( %$_ ); | |||||||||
| 277 | } | ||||||||||
| 278 | 1 | }; | |||||||||
| 279 | |||||||||||
| 280 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path { | |||||||||
| 281 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 282 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 283 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 284 | |||||||||||
| 285 | 1 | has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 286 | 1 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 287 | } | ||||||||||
| 288 | |||||||||||
| 289 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', | |||||||||
| 290 | as 'Cfn::Value'; | ||||||||||
| 291 | |||||||||||
| 292 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', | ||||||||||
| 293 | from 'HashRef', | ||||||||||
| 294 | via { | ||||||||||
| 295 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 296 | 0 | return $f | |||||||||
| 297 | } else { | ||||||||||
| 298 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList->new( %$_ ); | |||||||||
| 299 | } | ||||||||||
| 300 | 1 | }; | |||||||||
| 301 | |||||||||||
| 302 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList { | |||||||||
| 303 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 304 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 305 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 306 | |||||||||||
| 307 | 1 | has OneDriveUserList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 308 | } | ||||||||||
| 309 | |||||||||||
| 310 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', | |||||||||
| 311 | as 'Cfn::Value'; | ||||||||||
| 312 | |||||||||||
| 313 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', | ||||||||||
| 314 | from 'HashRef', | ||||||||||
| 315 | via { | ||||||||||
| 316 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 317 | 0 | return $f | |||||||||
| 318 | } else { | ||||||||||
| 319 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings->new( %$_ ); | |||||||||
| 320 | } | ||||||||||
| 321 | 1 | }; | |||||||||
| 322 | |||||||||||
| 323 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings { | |||||||||
| 324 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 325 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 326 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 327 | |||||||||||
| 328 | 1 | has DataSourceInclusionsExclusionsStrings => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 329 | } | ||||||||||
| 330 | |||||||||||
| 331 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', | |||||||||
| 332 | as 'Cfn::Value'; | ||||||||||
| 333 | |||||||||||
| 334 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', | ||||||||||
| 335 | from 'HashRef', | ||||||||||
| 336 | via { | ||||||||||
| 337 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 338 | 0 | return $f | |||||||||
| 339 | } else { | ||||||||||
| 340 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns->new( %$_ ); | |||||||||
| 341 | } | ||||||||||
| 342 | 1 | }; | |||||||||
| 343 | |||||||||||
| 344 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns { | |||||||||
| 345 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 346 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 347 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 348 | |||||||||||
| 349 | 1 | has ChangeDetectingColumns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 350 | } | ||||||||||
| 351 | |||||||||||
| 352 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', | |||||||||
| 353 | as 'Cfn::Value'; | ||||||||||
| 354 | |||||||||||
| 355 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', | ||||||||||
| 356 | from 'HashRef', | ||||||||||
| 357 | via { | ||||||||||
| 358 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 359 | 0 | return $f | |||||||||
| 360 | } else { | ||||||||||
| 361 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration->new( %$_ ); | |||||||||
| 362 | } | ||||||||||
| 363 | 1 | }; | |||||||||
| 364 | |||||||||||
| 365 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration { | |||||||||
| 366 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 367 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 368 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 369 | |||||||||||
| 370 | 1 | has QueryIdentifiersEnclosingOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 371 | } | ||||||||||
| 372 | |||||||||||
| 373 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', | |||||||||
| 374 | as 'Cfn::Value'; | ||||||||||
| 375 | |||||||||||
| 376 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', | ||||||||||
| 377 | from 'HashRef', | ||||||||||
| 378 | via { | ||||||||||
| 379 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 380 | 0 | return $f | |||||||||
| 381 | } else { | ||||||||||
| 382 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration->new( %$_ ); | |||||||||
| 383 | } | ||||||||||
| 384 | 1 | }; | |||||||||
| 385 | |||||||||||
| 386 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration { | |||||||||
| 387 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 388 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 389 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 390 | |||||||||||
| 391 | 1 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 392 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 393 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 394 | 1 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 395 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 396 | 1 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 397 | } | ||||||||||
| 398 | |||||||||||
| 399 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', | |||||||||
| 400 | as 'Cfn::Value'; | ||||||||||
| 401 | |||||||||||
| 402 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', | ||||||||||
| 403 | from 'HashRef', | ||||||||||
| 404 | via { | ||||||||||
| 405 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 406 | 0 | return $f | |||||||||
| 407 | } else { | ||||||||||
| 408 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration->new( %$_ ); | |||||||||
| 409 | } | ||||||||||
| 410 | 1 | }; | |||||||||
| 411 | |||||||||||
| 412 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration { | |||||||||
| 413 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 414 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 415 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 416 | |||||||||||
| 417 | 1 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 418 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 419 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 420 | 1 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 421 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 422 | 1 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 423 | } | ||||||||||
| 424 | |||||||||||
| 425 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', | |||||||||
| 426 | as 'Cfn::Value'; | ||||||||||
| 427 | |||||||||||
| 428 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', | ||||||||||
| 429 | from 'HashRef', | ||||||||||
| 430 | via { | ||||||||||
| 431 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 432 | 0 | return $f | |||||||||
| 433 | } else { | ||||||||||
| 434 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList->new( %$_ ); | |||||||||
| 435 | } | ||||||||||
| 436 | 1 | }; | |||||||||
| 437 | |||||||||||
| 438 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList { | |||||||||
| 439 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 440 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 441 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 442 | |||||||||||
| 443 | 1 | has SalesforceStandardObjectConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 444 | } | ||||||||||
| 445 | |||||||||||
| 446 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', | |||||||||
| 447 | as 'Cfn::Value'; | ||||||||||
| 448 | |||||||||||
| 449 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', | ||||||||||
| 450 | from 'HashRef', | ||||||||||
| 451 | via { | ||||||||||
| 452 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 453 | 0 | return $f | |||||||||
| 454 | } else { | ||||||||||
| 455 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration->new( %$_ ); | |||||||||
| 456 | } | ||||||||||
| 457 | 1 | }; | |||||||||
| 458 | |||||||||||
| 459 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration { | |||||||||
| 460 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 461 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 462 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 463 | |||||||||||
| 464 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 465 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 466 | } | ||||||||||
| 467 | |||||||||||
| 468 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', | |||||||||
| 469 | as 'Cfn::Value'; | ||||||||||
| 470 | |||||||||||
| 471 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', | ||||||||||
| 472 | from 'HashRef', | ||||||||||
| 473 | via { | ||||||||||
| 474 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 475 | 0 | return $f | |||||||||
| 476 | } else { | ||||||||||
| 477 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration->new( %$_ ); | |||||||||
| 478 | } | ||||||||||
| 479 | 1 | }; | |||||||||
| 480 | |||||||||||
| 481 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration { | |||||||||
| 482 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 483 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 484 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 485 | |||||||||||
| 486 | 1 | has CustomKnowledgeArticleTypeConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 487 | 1 | has IncludedStates => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 488 | 1 | has StandardKnowledgeArticleTypeConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 489 | } | ||||||||||
| 490 | |||||||||||
| 491 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', | |||||||||
| 492 | as 'Cfn::Value'; | ||||||||||
| 493 | |||||||||||
| 494 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', | ||||||||||
| 495 | from 'HashRef', | ||||||||||
| 496 | via { | ||||||||||
| 497 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 498 | 0 | return $f | |||||||||
| 499 | } else { | ||||||||||
| 500 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration->new( %$_ ); | |||||||||
| 501 | } | ||||||||||
| 502 | 1 | }; | |||||||||
| 503 | |||||||||||
| 504 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration { | |||||||||
| 505 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 506 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 507 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 508 | |||||||||||
| 509 | 1 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 510 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 511 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 512 | 1 | has IncludeFilterTypes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 513 | } | ||||||||||
| 514 | |||||||||||
| 515 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', | |||||||||
| 516 | as 'Cfn::Value'; | ||||||||||
| 517 | |||||||||||
| 518 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', | ||||||||||
| 519 | from 'HashRef', | ||||||||||
| 520 | via { | ||||||||||
| 521 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 522 | 0 | return $f | |||||||||
| 523 | } else { | ||||||||||
| 524 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers->new( %$_ ); | |||||||||
| 525 | } | ||||||||||
| 526 | 1 | }; | |||||||||
| 527 | |||||||||||
| 528 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers { | |||||||||
| 529 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 530 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 531 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 532 | |||||||||||
| 533 | 1 | has OneDriveUserList => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 534 | 1 | has OneDriveUserS3Path => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 535 | } | ||||||||||
| 536 | |||||||||||
| 537 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', | |||||||||
| 538 | as 'Cfn::Value'; | ||||||||||
| 539 | |||||||||||
| 540 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', | ||||||||||
| 541 | from 'HashRef', | ||||||||||
| 542 | via { | ||||||||||
| 543 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 544 | 0 | return $f | |||||||||
| 545 | } else { | ||||||||||
| 546 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration->new( %$_ ); | |||||||||
| 547 | } | ||||||||||
| 548 | 1 | }; | |||||||||
| 549 | |||||||||||
| 550 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration { | |||||||||
| 551 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 552 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 553 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 554 | |||||||||||
| 555 | 1 | has S3Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 556 | } | ||||||||||
| 557 | |||||||||||
| 558 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', | |||||||||
| 559 | as 'Cfn::Value'; | ||||||||||
| 560 | |||||||||||
| 561 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', | ||||||||||
| 562 | from 'HashRef', | ||||||||||
| 563 | via { | ||||||||||
| 564 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 565 | 0 | return $f | |||||||||
| 566 | } else { | ||||||||||
| 567 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration->new( %$_ ); | |||||||||
| 568 | } | ||||||||||
| 569 | 1 | }; | |||||||||
| 570 | |||||||||||
| 571 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration { | |||||||||
| 572 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 573 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 574 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 575 | |||||||||||
| 576 | 1 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 577 | 1 | has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 578 | } | ||||||||||
| 579 | |||||||||||
| 580 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', | |||||||||
| 581 | as 'Cfn::Value'; | ||||||||||
| 582 | |||||||||||
| 583 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', | ||||||||||
| 584 | from 'HashRef', | ||||||||||
| 585 | via { | ||||||||||
| 586 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 587 | 0 | return $f | |||||||||
| 588 | } else { | ||||||||||
| 589 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration->new( %$_ ); | |||||||||
| 590 | } | ||||||||||
| 591 | 1 | }; | |||||||||
| 592 | |||||||||||
| 593 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration { | |||||||||
| 594 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 595 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 596 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 597 | |||||||||||
| 598 | 1 | has DatabaseHost => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 599 | 1 | has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 600 | 1 | has DatabasePort => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 601 | 1 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 602 | 1 | has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 603 | } | ||||||||||
| 604 | |||||||||||
| 605 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', | |||||||||
| 606 | as 'Cfn::Value'; | ||||||||||
| 607 | |||||||||||
| 608 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', | ||||||||||
| 609 | from 'HashRef', | ||||||||||
| 610 | via { | ||||||||||
| 611 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 612 | 0 | return $f | |||||||||
| 613 | } else { | ||||||||||
| 614 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration->new( %$_ ); | |||||||||
| 615 | } | ||||||||||
| 616 | 1 | }; | |||||||||
| 617 | |||||||||||
| 618 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration { | |||||||||
| 619 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 620 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 621 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 622 | |||||||||||
| 623 | 1 | has ChangeDetectingColumns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 624 | 1 | has DocumentDataColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 625 | 1 | has DocumentIdColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 626 | 1 | has DocumentTitleColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 627 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 628 | } | ||||||||||
| 629 | |||||||||||
| 630 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', | |||||||||
| 631 | as 'Cfn::Value'; | ||||||||||
| 632 | |||||||||||
| 633 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', | ||||||||||
| 634 | from 'HashRef', | ||||||||||
| 635 | via { | ||||||||||
| 636 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 637 | 0 | return $f | |||||||||
| 638 | } else { | ||||||||||
| 639 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration->new( %$_ ); | |||||||||
| 640 | } | ||||||||||
| 641 | 1 | }; | |||||||||
| 642 | |||||||||||
| 643 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration { | |||||||||
| 644 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 645 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 646 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 647 | |||||||||||
| 648 | 1 | has AllowedGroupsColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 649 | } | ||||||||||
| 650 | |||||||||||
| 651 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', | |||||||||
| 652 | as 'Cfn::Value'; | ||||||||||
| 653 | |||||||||||
| 654 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', | ||||||||||
| 655 | from 'HashRef', | ||||||||||
| 656 | via { | ||||||||||
| 657 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 658 | 0 | return $f | |||||||||
| 659 | } else { | ||||||||||
| 660 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration->new( %$_ ); | |||||||||
| 661 | } | ||||||||||
| 662 | 1 | }; | |||||||||
| 663 | |||||||||||
| 664 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration { | |||||||||
| 665 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 666 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 667 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 668 | |||||||||||
| 669 | 1 | has KeyPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 670 | } | ||||||||||
| 671 | |||||||||||
| 672 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', | |||||||||
| 673 | as 'Cfn::Value'; | ||||||||||
| 674 | |||||||||||
| 675 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', | ||||||||||
| 676 | from 'HashRef', | ||||||||||
| 677 | via { | ||||||||||
| 678 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 679 | 0 | return $f | |||||||||
| 680 | } else { | ||||||||||
| 681 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration->new( %$_ ); | |||||||||
| 682 | } | ||||||||||
| 683 | 1 | }; | |||||||||
| 684 | |||||||||||
| 685 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration { | |||||||||
| 686 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 687 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 688 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 689 | |||||||||||
| 690 | 1 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 691 | 1 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 692 | 1 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 693 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 694 | 1 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 695 | 1 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 696 | 1 | has SharePointVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 697 | 1 | has Urls => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 698 | 1 | has UseChangeLog => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 699 | 1 | has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 700 | } | ||||||||||
| 701 | |||||||||||
| 702 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', | |||||||||
| 703 | as 'Cfn::Value'; | ||||||||||
| 704 | |||||||||||
| 705 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', | ||||||||||
| 706 | from 'HashRef', | ||||||||||
| 707 | via { | ||||||||||
| 708 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 709 | 0 | return $f | |||||||||
| 710 | } else { | ||||||||||
| 711 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration->new( %$_ ); | |||||||||
| 712 | } | ||||||||||
| 713 | 1 | }; | |||||||||
| 714 | |||||||||||
| 715 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration { | |||||||||
| 716 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 717 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 718 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 719 | |||||||||||
| 720 | 1 | has HostUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 721 | 1 | has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 722 | 1 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 723 | 1 | has ServiceCatalogConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 724 | 1 | has ServiceNowBuildVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 725 | } | ||||||||||
| 726 | |||||||||||
| 727 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', | |||||||||
| 728 | as 'Cfn::Value'; | ||||||||||
| 729 | |||||||||||
| 730 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', | ||||||||||
| 731 | from 'HashRef', | ||||||||||
| 732 | via { | ||||||||||
| 733 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 734 | 0 | return $f | |||||||||
| 735 | } else { | ||||||||||
| 736 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration->new( %$_ ); | |||||||||
| 737 | } | ||||||||||
| 738 | 1 | }; | |||||||||
| 739 | |||||||||||
| 740 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration { | |||||||||
| 741 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 742 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 743 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 744 | |||||||||||
| 745 | 1 | has ChatterFeedConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 746 | 1 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 747 | 1 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 748 | 1 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 749 | 1 | has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 750 | 1 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 751 | 1 | has ServerUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 752 | 1 | has StandardObjectAttachmentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 753 | 1 | has StandardObjectConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 754 | } | ||||||||||
| 755 | |||||||||||
| 756 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', | |||||||||
| 757 | as 'Cfn::Value'; | ||||||||||
| 758 | |||||||||||
| 759 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', | ||||||||||
| 760 | from 'HashRef', | ||||||||||
| 761 | via { | ||||||||||
| 762 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 763 | 0 | return $f | |||||||||
| 764 | } else { | ||||||||||
| 765 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration->new( %$_ ); | |||||||||
| 766 | } | ||||||||||
| 767 | 1 | }; | |||||||||
| 768 | |||||||||||
| 769 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration { | |||||||||
| 770 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 771 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 772 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 773 | |||||||||||
| 774 | 1 | has AccessControlListConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 775 | 1 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 776 | 1 | has DocumentsMetadataConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 777 | 1 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 778 | 1 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 779 | 1 | has InclusionPrefixes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 780 | } | ||||||||||
| 781 | |||||||||||
| 782 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', | |||||||||
| 783 | as 'Cfn::Value'; | ||||||||||
| 784 | |||||||||||
| 785 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', | ||||||||||
| 786 | from 'HashRef', | ||||||||||
| 787 | via { | ||||||||||
| 788 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 789 | 0 | return $f | |||||||||
| 790 | } else { | ||||||||||
| 791 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration->new( %$_ ); | |||||||||
| 792 | } | ||||||||||
| 793 | 1 | }; | |||||||||
| 794 | |||||||||||
| 795 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration { | |||||||||
| 796 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 797 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 798 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 799 | |||||||||||
| 800 | 1 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 801 | 1 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 802 | 1 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 803 | 1 | has OneDriveUsers => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 804 | 1 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 805 | 1 | has TenantDomain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 806 | } | ||||||||||
| 807 | |||||||||||
| 808 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', | |||||||||
| 809 | as 'Cfn::Value'; | ||||||||||
| 810 | |||||||||||
| 811 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', | ||||||||||
| 812 | from 'HashRef', | ||||||||||
| 813 | via { | ||||||||||
| 814 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 815 | 0 | return $f | |||||||||
| 816 | } else { | ||||||||||
| 817 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration->new( %$_ ); | |||||||||
| 818 | } | ||||||||||
| 819 | 1 | }; | |||||||||
| 820 | |||||||||||
| 821 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration { | |||||||||
| 822 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 823 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 824 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 825 | |||||||||||
| 826 | 1 | has AclConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 827 | 1 | has ColumnConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 828 | 1 | has ConnectionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 829 | 1 | has DatabaseEngineType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 830 | 1 | has SqlConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 831 | 1 | has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 832 | } | ||||||||||
| 833 | |||||||||||
| 834 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList', | |||||||||
| 835 | as 'Cfn::Value'; | ||||||||||
| 836 | |||||||||||
| 837 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList', | ||||||||||
| 838 | from 'HashRef', | ||||||||||
| 839 | via { | ||||||||||
| 840 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 841 | 0 | return $f | |||||||||
| 842 | } else { | ||||||||||
| 843 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::TagList->new( %$_ ); | |||||||||
| 844 | } | ||||||||||
| 845 | 1 | }; | |||||||||
| 846 | |||||||||||
| 847 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::TagList { | |||||||||
| 848 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 849 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 850 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 851 | |||||||||||
| 852 | 1 | has TagList => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 853 | } | ||||||||||
| 854 | |||||||||||
| 855 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', | |||||||||
| 856 | as 'Cfn::Value'; | ||||||||||
| 857 | |||||||||||
| 858 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', | ||||||||||
| 859 | from 'HashRef', | ||||||||||
| 860 | via { | ||||||||||
| 861 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 862 | 0 | return $f | |||||||||
| 863 | } else { | ||||||||||
| 864 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration->new( %$_ ); | |||||||||
| 865 | } | ||||||||||
| 866 | 1 | }; | |||||||||
| 867 | |||||||||||
| 868 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration { | |||||||||
| 869 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 870 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 871 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 872 | |||||||||||
| 873 | 1 | has DatabaseConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 874 | 1 | has OneDriveConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 875 | 1 | has S3Configuration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 876 | 1 | has SalesforceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 877 | 1 | has ServiceNowConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 878 | 1 | has SharePointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 879 | } | ||||||||||
| 880 | |||||||||||
| 881 | 1 | package Cfn::Resource::Properties::AWS::Kendra::DataSource { | |||||||||
| 882 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 883 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 884 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 885 | |||||||||||
| 886 | 1 | has DataSourceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 887 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 888 | 1 | has IndexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 889 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 890 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 891 | 1 | has Schedule => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 892 | 1 | has Tags => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 893 | 1 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 894 | } | ||||||||||
| 895 | |||||||||||
| 896 | 1 | 1; | |||||||||
| 897 | ### main pod documentation begin ### | ||||||||||
| 898 | |||||||||||
| 899 | =encoding UTF-8 | ||||||||||
| 900 | |||||||||||
| 901 | =head1 NAME | ||||||||||
| 902 | |||||||||||
| 903 | Cfn::Resource::AWS::Kendra::DataSource - Cfn resource for AWS::Kendra::DataSource | ||||||||||
| 904 | |||||||||||
| 905 | =head1 DESCRIPTION | ||||||||||
| 906 | |||||||||||
| 907 | This module implements a Perl module that represents the CloudFormation object AWS::Kendra::DataSource. | ||||||||||
| 908 | |||||||||||
| 909 | See L<Cfn> for more information on how to use it. | ||||||||||
| 910 | |||||||||||
| 911 | =head1 AUTHOR | ||||||||||
| 912 | |||||||||||
| 913 | Jose Luis Martinez | ||||||||||
| 914 | CAPSiDE | ||||||||||
| 915 | jlmartinez@capside.com | ||||||||||
| 916 | |||||||||||
| 917 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 918 | |||||||||||
| 919 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 920 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 921 | license can be found in the LICENSE file included with this module. | ||||||||||
| 922 | |||||||||||
| 923 | =cut | ||||||||||