File Coverage

blib/lib/Cfn/Resource/AWS/Pinpoint/Campaign.pm
Criterion Covered Total %
statement 98 98 100.0
branch n/a
condition n/a
subroutine 34 34 100.0
pod 0 2 0.0
total 132 134 98.5


line stmt bran cond sub pod time code
1             # AWS::Pinpoint::Campaign generated from spec 6.3.0
2 1     1   659 use Moose::Util::TypeConstraints;
  1         2  
  1         10  
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   1871 use Moose;
  1         3  
  1         8  
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 3 [ 'Arn','CampaignId' ]
15             }
16             sub supported_regions {
17 1     1 0 1353 [ '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::AWS::Pinpoint::Campaign::SetDimensionValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::SetDimensionValue {
37 1     1   6221 use Moose;
  1         3  
  1         5  
38 1     1   5424 use MooseX::StrictConstructor;
  1         3  
  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::AWS::Pinpoint::Campaign::EventDimensionsValue->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::EventDimensionsValue {
59 1     1   3061 use Moose;
  1         2  
  1         14  
60 1     1   5495 use MooseX::StrictConstructor;
  1         3  
  1         3  
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::AWS::Pinpoint::Campaign::QuietTimeValue->new( %$_ );
78             }
79             };
80              
81             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::QuietTimeValue {
82 1     1   2857 use Moose;
  1         3  
  1         6  
83 1     1   5534 use MooseX::StrictConstructor;
  1         4  
  1         4  
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::AWS::Pinpoint::Campaign::MessageValue->new( %$_ );
100             }
101             };
102              
103             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageValue {
104 1     1   2806 use Moose;
  1         3  
  1         5  
105 1     1   5494 use MooseX::StrictConstructor;
  1         3  
  1         6  
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::AWS::Pinpoint::Campaign::CampaignSmsMessageValue->new( %$_ );
132             }
133             };
134              
135             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignSmsMessageValue {
136 1     1   2905 use Moose;
  1         3  
  1         5  
137 1     1   5505 use MooseX::StrictConstructor;
  1         3  
  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::AWS::Pinpoint::Campaign::CampaignEventFilterValue->new( %$_ );
155             }
156             };
157              
158             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEventFilterValue {
159 1     1   2744 use Moose;
  1         4  
  1         7  
160 1     1   5448 use MooseX::StrictConstructor;
  1         3  
  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::AWS::Pinpoint::Campaign::CampaignEmailMessageValue->new( %$_ );
177             }
178             };
179              
180             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignEmailMessageValue {
181 1     1   2715 use Moose;
  1         2  
  1         7  
182 1     1   5446 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::AWS::Pinpoint::Campaign::ScheduleValue->new( %$_ );
201             }
202             };
203              
204             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::ScheduleValue {
205 1     1   2800 use Moose;
  1         2  
  1         6  
206 1     1   5382 use MooseX::StrictConstructor;
  1         4  
  1         4  
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::AWS::Pinpoint::Campaign::MessageConfigurationValue->new( %$_ );
228             }
229             };
230              
231             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MessageConfigurationValue {
232 1     1   2831 use Moose;
  1         1  
  1         7  
233 1     1   5421 use MooseX::StrictConstructor;
  1         2  
  1         6  
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::AWS::Pinpoint::Campaign::WriteTreatmentResourceValue->new( %$_ );
277             }
278             };
279              
280             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::WriteTreatmentResourceValue {
281 1     1   2983 use Moose;
  1         3  
  1         5  
282 1     1   5382 use MooseX::StrictConstructor;
  1         2  
  1         5  
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::AWS::Pinpoint::Campaign::MetricDimensionValue->new( %$_ );
302             }
303             };
304              
305             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::MetricDimensionValue {
306 1     1   2823 use Moose;
  1         4  
  1         8  
307 1     1   5369 use MooseX::StrictConstructor;
  1         3  
  1         4  
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::AWS::Pinpoint::Campaign::LimitsValue->new( %$_ );
324             }
325             };
326              
327             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::LimitsValue {
328 1     1   2794 use Moose;
  1         2  
  1         4  
329 1     1   5336 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::AWS::Pinpoint::Campaign::CampaignHookValue->new( %$_ );
348             }
349             };
350              
351             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::CampaignHookValue {
352 1     1   3159 use Moose;
  1         3  
  1         7  
353 1     1   5397 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::AWS::Pinpoint::Campaign::AttributeDimensionValue->new( %$_ );
371             }
372             };
373              
374             package Cfn::Resource::Properties::AWS::Pinpoint::Campaign::AttributeDimensionValue {
375 1     1   2811 use Moose;
  1         2  
  1         5  
376 1     1   5329 use MooseX::StrictConstructor;
  1         2  
  1         6  
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   2766 use Moose;
  1         3  
  1         5  
385 1     1   5357 use MooseX::StrictConstructor;
  1         4  
  1         7  
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;