| 1 | # AWS::PinpointEmail::ConfigurationSet 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::PinpointEmail::ConfigurationSet', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::PinpointEmail::ConfigurationSet { | |||||||||
| 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::PinpointEmail::ConfigurationSet', 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-south-1','ap-southeast-2','eu-central-1','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 | |||||||||||
| 23 | 1 | subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::TrackingOptions', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::TrackingOptions', | ||||||||||
| 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::PinpointEmail::ConfigurationSet::TrackingOptions->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::TrackingOptions { | |||||||||
| 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 CustomRedirectDomain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | subtype 'ArrayOfCfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags', | ||||||||||
| 44 | as 'Cfn::Value', | ||||||||||
| 45 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 46 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 47 | |||||||||||
| 48 | coerce 'ArrayOfCfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags', | ||||||||||
| 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 | die 'Only accepts functions'; | |||||||||
| 55 | } | ||||||||||
| 56 | }, | ||||||||||
| 57 | from 'ArrayRef', | ||||||||||
| 58 | via { | ||||||||||
| 59 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 60 | map { | ||||||||||
| 61 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 62 | } @$_ | ||||||||||
| 63 | ]); | ||||||||||
| 64 | 1 | }; | |||||||||
| 65 | |||||||||||
| 66 | 1 | subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags', | |||||||||
| 67 | as 'Cfn::Value'; | ||||||||||
| 68 | |||||||||||
| 69 | coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags', | ||||||||||
| 70 | from 'HashRef', | ||||||||||
| 71 | via { | ||||||||||
| 72 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 73 | 0 | return $f | |||||||||
| 74 | } else { | ||||||||||
| 75 | 0 | return Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::Tags->new( %$_ ); | |||||||||
| 76 | } | ||||||||||
| 77 | 1 | }; | |||||||||
| 78 | |||||||||||
| 79 | 1 | package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::Tags { | |||||||||
| 80 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 81 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 83 | |||||||||||
| 84 | 1 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | 1 | has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | } | ||||||||||
| 87 | |||||||||||
| 88 | 1 | subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::SendingOptions', | |||||||||
| 89 | as 'Cfn::Value'; | ||||||||||
| 90 | |||||||||||
| 91 | coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::SendingOptions', | ||||||||||
| 92 | from 'HashRef', | ||||||||||
| 93 | via { | ||||||||||
| 94 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 95 | 0 | return $f | |||||||||
| 96 | } else { | ||||||||||
| 97 | 0 | return Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::SendingOptions->new( %$_ ); | |||||||||
| 98 | } | ||||||||||
| 99 | 1 | }; | |||||||||
| 100 | |||||||||||
| 101 | 1 | package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::SendingOptions { | |||||||||
| 102 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 103 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 105 | |||||||||||
| 106 | 1 | has SendingEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 107 | } | ||||||||||
| 108 | |||||||||||
| 109 | 1 | subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::ReputationOptions', | |||||||||
| 110 | as 'Cfn::Value'; | ||||||||||
| 111 | |||||||||||
| 112 | coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::ReputationOptions', | ||||||||||
| 113 | from 'HashRef', | ||||||||||
| 114 | via { | ||||||||||
| 115 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 116 | 0 | return $f | |||||||||
| 117 | } else { | ||||||||||
| 118 | 0 | return Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::ReputationOptions->new( %$_ ); | |||||||||
| 119 | } | ||||||||||
| 120 | 1 | }; | |||||||||
| 121 | |||||||||||
| 122 | 1 | package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::ReputationOptions { | |||||||||
| 123 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 124 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 125 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 126 | |||||||||||
| 127 | 1 | has ReputationMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 128 | } | ||||||||||
| 129 | |||||||||||
| 130 | 1 | subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::DeliveryOptions', | |||||||||
| 131 | as 'Cfn::Value'; | ||||||||||
| 132 | |||||||||||
| 133 | coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::DeliveryOptions', | ||||||||||
| 134 | from 'HashRef', | ||||||||||
| 135 | via { | ||||||||||
| 136 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 137 | 0 | return $f | |||||||||
| 138 | } else { | ||||||||||
| 139 | 0 | return Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::DeliveryOptions->new( %$_ ); | |||||||||
| 140 | } | ||||||||||
| 141 | 1 | }; | |||||||||
| 142 | |||||||||||
| 143 | 1 | package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSet::DeliveryOptions { | |||||||||
| 144 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 145 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 146 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 147 | |||||||||||
| 148 | 1 | has SendingPoolName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 149 | } | ||||||||||
| 150 | |||||||||||
| 151 | 1 | package Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet { | |||||||||
| 152 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 153 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 154 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 155 | |||||||||||
| 156 | 1 | has DeliveryOptions => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::DeliveryOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 157 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 158 | 1 | has ReputationOptions => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::ReputationOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 159 | 1 | has SendingOptions => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::SendingOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 160 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 161 | 1 | has TrackingOptions => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSet::TrackingOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 162 | } | ||||||||||
| 163 | |||||||||||
| 164 | 1 | 1; | |||||||||
| 165 | ### main pod documentation begin ### | ||||||||||
| 166 | |||||||||||
| 167 | =encoding UTF-8 | ||||||||||
| 168 | |||||||||||
| 169 | =head1 NAME | ||||||||||
| 170 | |||||||||||
| 171 | Cfn::Resource::AWS::PinpointEmail::ConfigurationSet - Cfn resource for AWS::PinpointEmail::ConfigurationSet | ||||||||||
| 172 | |||||||||||
| 173 | =head1 DESCRIPTION | ||||||||||
| 174 | |||||||||||
| 175 | This module implements a Perl module that represents the CloudFormation object AWS::PinpointEmail::ConfigurationSet. | ||||||||||
| 176 | |||||||||||
| 177 | See L<Cfn> for more information on how to use it. | ||||||||||
| 178 | |||||||||||
| 179 | =head1 AUTHOR | ||||||||||
| 180 | |||||||||||
| 181 | Jose Luis Martinez | ||||||||||
| 182 | CAPSiDE | ||||||||||
| 183 | jlmartinez@capside.com | ||||||||||
| 184 | |||||||||||
| 185 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 186 | |||||||||||
| 187 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 188 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 189 | license can be found in the LICENSE file included with this module. | ||||||||||
| 190 | |||||||||||
| 191 | =cut | ||||||||||