line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::Pinpoint::Campaign generated from spec 18.4.0 |
2
|
1
|
|
|
1
|
|
638
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::Pinpoint::Campaign->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::Pinpoint::Campaign { |
9
|
1
|
|
|
1
|
|
2071
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ 'Arn','CampaignId' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1140
|
[ 'ap-south-1','ap-southeast-2','eu-central-1','eu-west-1','us-east-1','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::SetDimension', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::SetDimension', |
27
|
|
|
|
|
|
|
from 'HashRef', |
28
|
|
|
|
|
|
|
via { |
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
30
|
|
|
|
|
|
|
return $f |
31
|
|
|
|
|
|
|
} else { |
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::SetDimension->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::SetDimension { |
37
|
1
|
|
|
1
|
|
7108
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
14
|
|
38
|
1
|
|
|
1
|
|
6718
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
9
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has DimensionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
has Values => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::EventDimensions', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::EventDimensions', |
49
|
|
|
|
|
|
|
from 'HashRef', |
50
|
|
|
|
|
|
|
via { |
51
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
52
|
|
|
|
|
|
|
return $f |
53
|
|
|
|
|
|
|
} else { |
54
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::EventDimensions->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::EventDimensions { |
59
|
1
|
|
|
1
|
|
3521
|
use Moose; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
6
|
|
60
|
1
|
|
|
1
|
|
6657
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has Attributes => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has EventType => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::SetDimension', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
has Metrics => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::QuietTime', |
69
|
|
|
|
|
|
|
as 'Cfn::Value'; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::QuietTime', |
72
|
|
|
|
|
|
|
from 'HashRef', |
73
|
|
|
|
|
|
|
via { |
74
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
75
|
|
|
|
|
|
|
return $f |
76
|
|
|
|
|
|
|
} else { |
77
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::QuietTime->new( %$_ ); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
}; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::QuietTime { |
82
|
1
|
|
|
1
|
|
3393
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
83
|
1
|
|
|
1
|
|
6647
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
84
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
has End => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
has Start => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', |
91
|
|
|
|
|
|
|
as 'Cfn::Value'; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', |
94
|
|
|
|
|
|
|
from 'HashRef', |
95
|
|
|
|
|
|
|
via { |
96
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
97
|
|
|
|
|
|
|
return $f |
98
|
|
|
|
|
|
|
} else { |
99
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Message->new( %$_ ); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
}; |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Message { |
104
|
1
|
|
|
1
|
|
3556
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
105
|
1
|
|
|
1
|
|
6848
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
106
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
has Action => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
109
|
|
|
|
|
|
|
has Body => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
110
|
|
|
|
|
|
|
has ImageIconUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
111
|
|
|
|
|
|
|
has ImageSmallIconUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
112
|
|
|
|
|
|
|
has ImageUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
113
|
|
|
|
|
|
|
has JsonBody => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
114
|
|
|
|
|
|
|
has MediaUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
115
|
|
|
|
|
|
|
has RawContent => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
116
|
|
|
|
|
|
|
has SilentPush => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
117
|
|
|
|
|
|
|
has TimeToLive => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
118
|
|
|
|
|
|
|
has Title => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
119
|
|
|
|
|
|
|
has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignSmsMessage', |
123
|
|
|
|
|
|
|
as 'Cfn::Value'; |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignSmsMessage', |
126
|
|
|
|
|
|
|
from 'HashRef', |
127
|
|
|
|
|
|
|
via { |
128
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
129
|
|
|
|
|
|
|
return $f |
130
|
|
|
|
|
|
|
} else { |
131
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignSmsMessage->new( %$_ ); |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
}; |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignSmsMessage { |
136
|
1
|
|
|
1
|
|
3616
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
137
|
1
|
|
|
1
|
|
6611
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
138
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
has Body => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
141
|
|
|
|
|
|
|
has MessageType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
142
|
|
|
|
|
|
|
has SenderId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEventFilter', |
146
|
|
|
|
|
|
|
as 'Cfn::Value'; |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEventFilter', |
149
|
|
|
|
|
|
|
from 'HashRef', |
150
|
|
|
|
|
|
|
via { |
151
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
152
|
|
|
|
|
|
|
return $f |
153
|
|
|
|
|
|
|
} else { |
154
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignEventFilter->new( %$_ ); |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
}; |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignEventFilter { |
159
|
1
|
|
|
1
|
|
3449
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
160
|
1
|
|
|
1
|
|
6654
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
161
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
has Dimensions => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::EventDimensions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
164
|
|
|
|
|
|
|
has FilterType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEmailMessage', |
168
|
|
|
|
|
|
|
as 'Cfn::Value'; |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEmailMessage', |
171
|
|
|
|
|
|
|
from 'HashRef', |
172
|
|
|
|
|
|
|
via { |
173
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
174
|
|
|
|
|
|
|
return $f |
175
|
|
|
|
|
|
|
} else { |
176
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignEmailMessage->new( %$_ ); |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
}; |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignEmailMessage { |
181
|
1
|
|
|
1
|
|
3440
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
8
|
|
182
|
1
|
|
|
1
|
|
6585
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
183
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
has Body => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
186
|
|
|
|
|
|
|
has FromAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
187
|
|
|
|
|
|
|
has HtmlBody => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
188
|
|
|
|
|
|
|
has Title => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Schedule', |
192
|
|
|
|
|
|
|
as 'Cfn::Value'; |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Schedule', |
195
|
|
|
|
|
|
|
from 'HashRef', |
196
|
|
|
|
|
|
|
via { |
197
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
198
|
|
|
|
|
|
|
return $f |
199
|
|
|
|
|
|
|
} else { |
200
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Schedule->new( %$_ ); |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
}; |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Schedule { |
205
|
1
|
|
|
1
|
|
3525
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
206
|
1
|
|
|
1
|
|
6643
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
207
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
has EndTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
210
|
|
|
|
|
|
|
has EventFilter => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEventFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
211
|
|
|
|
|
|
|
has Frequency => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
212
|
|
|
|
|
|
|
has IsLocalTime => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
213
|
|
|
|
|
|
|
has QuietTime => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::QuietTime', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
214
|
|
|
|
|
|
|
has StartTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
215
|
|
|
|
|
|
|
has TimeZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageConfiguration', |
219
|
|
|
|
|
|
|
as 'Cfn::Value'; |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageConfiguration', |
222
|
|
|
|
|
|
|
from 'HashRef', |
223
|
|
|
|
|
|
|
via { |
224
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
225
|
|
|
|
|
|
|
return $f |
226
|
|
|
|
|
|
|
} else { |
227
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::MessageConfiguration->new( %$_ ); |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
}; |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::MessageConfiguration { |
232
|
1
|
|
|
1
|
|
3478
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
233
|
1
|
|
|
1
|
|
6561
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
234
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
has ADMMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
237
|
|
|
|
|
|
|
has APNSMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
238
|
|
|
|
|
|
|
has BaiduMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
239
|
|
|
|
|
|
|
has DefaultMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
240
|
|
|
|
|
|
|
has EmailMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEmailMessage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
241
|
|
|
|
|
|
|
has GCMMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Message', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
242
|
|
|
|
|
|
|
has SMSMessage => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignSmsMessage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource', |
245
|
|
|
|
|
|
|
as 'Cfn::Value', |
246
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
247
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource', |
250
|
|
|
|
|
|
|
from 'HashRef', |
251
|
|
|
|
|
|
|
via { |
252
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
253
|
|
|
|
|
|
|
return $f |
254
|
|
|
|
|
|
|
} else { |
255
|
|
|
|
|
|
|
die 'Only accepts functions'; |
256
|
|
|
|
|
|
|
} |
257
|
|
|
|
|
|
|
}, |
258
|
|
|
|
|
|
|
from 'ArrayRef', |
259
|
|
|
|
|
|
|
via { |
260
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
261
|
|
|
|
|
|
|
map { |
262
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource')->coerce($_) |
263
|
|
|
|
|
|
|
} @$_ |
264
|
|
|
|
|
|
|
]); |
265
|
|
|
|
|
|
|
}; |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource', |
268
|
|
|
|
|
|
|
as 'Cfn::Value'; |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource', |
271
|
|
|
|
|
|
|
from 'HashRef', |
272
|
|
|
|
|
|
|
via { |
273
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
274
|
|
|
|
|
|
|
return $f |
275
|
|
|
|
|
|
|
} else { |
276
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::WriteTreatmentResource->new( %$_ ); |
277
|
|
|
|
|
|
|
} |
278
|
|
|
|
|
|
|
}; |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::WriteTreatmentResource { |
281
|
1
|
|
|
1
|
|
3686
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
282
|
1
|
|
|
1
|
|
7015
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
283
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
has MessageConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
286
|
|
|
|
|
|
|
has Schedule => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Schedule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
287
|
|
|
|
|
|
|
has SizePercent => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
288
|
|
|
|
|
|
|
has TreatmentDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
289
|
|
|
|
|
|
|
has TreatmentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
290
|
|
|
|
|
|
|
} |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MetricDimension', |
293
|
|
|
|
|
|
|
as 'Cfn::Value'; |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MetricDimension', |
296
|
|
|
|
|
|
|
from 'HashRef', |
297
|
|
|
|
|
|
|
via { |
298
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
299
|
|
|
|
|
|
|
return $f |
300
|
|
|
|
|
|
|
} else { |
301
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::MetricDimension->new( %$_ ); |
302
|
|
|
|
|
|
|
} |
303
|
|
|
|
|
|
|
}; |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::MetricDimension { |
306
|
1
|
|
|
1
|
|
3484
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
307
|
1
|
|
|
1
|
|
6710
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
308
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
has ComparisonOperator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
311
|
|
|
|
|
|
|
has Value => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
312
|
|
|
|
|
|
|
} |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Limits', |
315
|
|
|
|
|
|
|
as 'Cfn::Value'; |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Limits', |
318
|
|
|
|
|
|
|
from 'HashRef', |
319
|
|
|
|
|
|
|
via { |
320
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
321
|
|
|
|
|
|
|
return $f |
322
|
|
|
|
|
|
|
} else { |
323
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Limits->new( %$_ ); |
324
|
|
|
|
|
|
|
} |
325
|
|
|
|
|
|
|
}; |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::Limits { |
328
|
1
|
|
|
1
|
|
3391
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
329
|
1
|
|
|
1
|
|
6691
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
330
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
has Daily => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
333
|
|
|
|
|
|
|
has MaximumDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
334
|
|
|
|
|
|
|
has MessagesPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
335
|
|
|
|
|
|
|
has Total => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
336
|
|
|
|
|
|
|
} |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignHook', |
339
|
|
|
|
|
|
|
as 'Cfn::Value'; |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignHook', |
342
|
|
|
|
|
|
|
from 'HashRef', |
343
|
|
|
|
|
|
|
via { |
344
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
345
|
|
|
|
|
|
|
return $f |
346
|
|
|
|
|
|
|
} else { |
347
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignHook->new( %$_ ); |
348
|
|
|
|
|
|
|
} |
349
|
|
|
|
|
|
|
}; |
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::CampaignHook { |
352
|
1
|
|
|
1
|
|
3453
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
353
|
1
|
|
|
1
|
|
6734
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
354
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
has LambdaFunctionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
357
|
|
|
|
|
|
|
has Mode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
358
|
|
|
|
|
|
|
has WebUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
359
|
|
|
|
|
|
|
} |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::AttributeDimension', |
362
|
|
|
|
|
|
|
as 'Cfn::Value'; |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::AttributeDimension', |
365
|
|
|
|
|
|
|
from 'HashRef', |
366
|
|
|
|
|
|
|
via { |
367
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
368
|
|
|
|
|
|
|
return $f |
369
|
|
|
|
|
|
|
} else { |
370
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::AttributeDimension->new( %$_ ); |
371
|
|
|
|
|
|
|
} |
372
|
|
|
|
|
|
|
}; |
373
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Pinpoint::Campaign::AttributeDimension { |
375
|
1
|
|
|
1
|
|
3466
|
use Moose; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
8
|
|
376
|
1
|
|
|
1
|
|
6745
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
377
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
has AttributeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
380
|
|
|
|
|
|
|
has Values => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
381
|
|
|
|
|
|
|
} |
382
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Pinpoint::Campaign { |
384
|
1
|
|
|
1
|
|
3583
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
7
|
|
385
|
1
|
|
|
1
|
|
6989
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
386
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
387
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
has AdditionalTreatments => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
389
|
|
|
|
|
|
|
has ApplicationId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
390
|
|
|
|
|
|
|
has CampaignHook => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignHook', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
391
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
392
|
|
|
|
|
|
|
has HoldoutPercent => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
393
|
|
|
|
|
|
|
has IsPaused => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
394
|
|
|
|
|
|
|
has Limits => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Limits', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
395
|
|
|
|
|
|
|
has MessageConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
396
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
397
|
|
|
|
|
|
|
has Schedule => (isa => 'Cfn::Resource::Properties::AWS::Pinpoint::Campaign::Schedule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
398
|
|
|
|
|
|
|
has SegmentId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
399
|
|
|
|
|
|
|
has SegmentVersion => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
400
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
401
|
|
|
|
|
|
|
has TreatmentDescription => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
402
|
|
|
|
|
|
|
has TreatmentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
403
|
|
|
|
|
|
|
} |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
1; |
406
|
|
|
|
|
|
|
### main pod documentation begin ### |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
=encoding UTF-8 |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
=head1 NAME |
411
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Cfn::Resource::AWS::Pinpoint::Campaign - Cfn resource for AWS::Pinpoint::Campaign |
413
|
|
|
|
|
|
|
|
414
|
|
|
|
|
|
|
=head1 DESCRIPTION |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::Pinpoint::Campaign. |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
=head1 AUTHOR |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
Jose Luis Martinez |
423
|
|
|
|
|
|
|
CAPSiDE |
424
|
|
|
|
|
|
|
jlmartinez@capside.com |
425
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
429
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
430
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
431
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
=cut |