line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::IoTAnalytics::Dataset generated from spec 20.1.0 |
2
|
1
|
|
|
1
|
|
900
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
14
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::IoTAnalytics::Dataset { |
9
|
1
|
|
|
1
|
|
2357
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1161
|
[ 'ap-northeast-1','ap-southeast-2','cn-north-1','eu-central-1','eu-west-1','us-east-1','us-east-2','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::OutputFileUriValue', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::OutputFileUriValue', |
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::IoTAnalytics::Dataset::OutputFileUriValue->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::OutputFileUriValue { |
37
|
1
|
|
|
1
|
|
7802
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
4
|
|
38
|
1
|
|
|
1
|
|
6770
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
21
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has FileName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::GlueConfiguration', |
45
|
|
|
|
|
|
|
as 'Cfn::Value'; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::GlueConfiguration', |
48
|
|
|
|
|
|
|
from 'HashRef', |
49
|
|
|
|
|
|
|
via { |
50
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
51
|
|
|
|
|
|
|
return $f |
52
|
|
|
|
|
|
|
} else { |
53
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::GlueConfiguration->new( %$_ ); |
54
|
|
|
|
|
|
|
} |
55
|
|
|
|
|
|
|
}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::GlueConfiguration { |
58
|
1
|
|
|
1
|
|
3787
|
use Moose; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
11
|
|
59
|
1
|
|
|
1
|
|
6618
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
60
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
63
|
|
|
|
|
|
|
has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DeltaTime', |
67
|
|
|
|
|
|
|
as 'Cfn::Value'; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DeltaTime', |
70
|
|
|
|
|
|
|
from 'HashRef', |
71
|
|
|
|
|
|
|
via { |
72
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
73
|
|
|
|
|
|
|
return $f |
74
|
|
|
|
|
|
|
} else { |
75
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DeltaTime->new( %$_ ); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
}; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DeltaTime { |
80
|
1
|
|
|
1
|
|
3436
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
81
|
1
|
|
|
1
|
|
6838
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
82
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
has OffsetSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
85
|
|
|
|
|
|
|
has TimeExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentVersionValue', |
89
|
|
|
|
|
|
|
as 'Cfn::Value'; |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentVersionValue', |
92
|
|
|
|
|
|
|
from 'HashRef', |
93
|
|
|
|
|
|
|
via { |
94
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
95
|
|
|
|
|
|
|
return $f |
96
|
|
|
|
|
|
|
} else { |
97
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentVersionValue->new( %$_ ); |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
}; |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentVersionValue { |
102
|
1
|
|
|
1
|
|
3494
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
103
|
1
|
|
|
1
|
|
6691
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
6
|
|
104
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
has DatasetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable', |
109
|
|
|
|
|
|
|
as 'Cfn::Value', |
110
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
111
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable', |
114
|
|
|
|
|
|
|
from 'HashRef', |
115
|
|
|
|
|
|
|
via { |
116
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
117
|
|
|
|
|
|
|
return $f |
118
|
|
|
|
|
|
|
} else { |
119
|
|
|
|
|
|
|
die 'Only accepts functions'; |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
}, |
122
|
|
|
|
|
|
|
from 'ArrayRef', |
123
|
|
|
|
|
|
|
via { |
124
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
125
|
|
|
|
|
|
|
map { |
126
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable')->coerce($_) |
127
|
|
|
|
|
|
|
} @$_ |
128
|
|
|
|
|
|
|
]); |
129
|
|
|
|
|
|
|
}; |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable', |
132
|
|
|
|
|
|
|
as 'Cfn::Value'; |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable', |
135
|
|
|
|
|
|
|
from 'HashRef', |
136
|
|
|
|
|
|
|
via { |
137
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
138
|
|
|
|
|
|
|
return $f |
139
|
|
|
|
|
|
|
} else { |
140
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Variable->new( %$_ ); |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
}; |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Variable { |
145
|
1
|
|
|
1
|
|
3641
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
17
|
|
146
|
1
|
|
|
1
|
|
6708
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
147
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
has DatasetContentVersionValue => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentVersionValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
150
|
|
|
|
|
|
|
has DoubleValue => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
151
|
|
|
|
|
|
|
has OutputFileUriValue => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::OutputFileUriValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
152
|
|
|
|
|
|
|
has StringValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
153
|
|
|
|
|
|
|
has VariableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
154
|
|
|
|
|
|
|
} |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::S3DestinationConfiguration', |
157
|
|
|
|
|
|
|
as 'Cfn::Value'; |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::S3DestinationConfiguration', |
160
|
|
|
|
|
|
|
from 'HashRef', |
161
|
|
|
|
|
|
|
via { |
162
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
163
|
|
|
|
|
|
|
return $f |
164
|
|
|
|
|
|
|
} else { |
165
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::S3DestinationConfiguration->new( %$_ ); |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
}; |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::S3DestinationConfiguration { |
170
|
1
|
|
|
1
|
|
3494
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
171
|
1
|
|
|
1
|
|
6761
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
8
|
|
172
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
175
|
|
|
|
|
|
|
has GlueConfiguration => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::GlueConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
176
|
|
|
|
|
|
|
has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
177
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ResourceConfiguration', |
181
|
|
|
|
|
|
|
as 'Cfn::Value'; |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ResourceConfiguration', |
184
|
|
|
|
|
|
|
from 'HashRef', |
185
|
|
|
|
|
|
|
via { |
186
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
187
|
|
|
|
|
|
|
return $f |
188
|
|
|
|
|
|
|
} else { |
189
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::ResourceConfiguration->new( %$_ ); |
190
|
|
|
|
|
|
|
} |
191
|
|
|
|
|
|
|
}; |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::ResourceConfiguration { |
194
|
1
|
|
|
1
|
|
4100
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
195
|
1
|
|
|
1
|
|
6601
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
196
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
has ComputeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
199
|
|
|
|
|
|
|
has VolumeSizeInGB => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::IotEventsDestinationConfiguration', |
203
|
|
|
|
|
|
|
as 'Cfn::Value'; |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::IotEventsDestinationConfiguration', |
206
|
|
|
|
|
|
|
from 'HashRef', |
207
|
|
|
|
|
|
|
via { |
208
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
209
|
|
|
|
|
|
|
return $f |
210
|
|
|
|
|
|
|
} else { |
211
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::IotEventsDestinationConfiguration->new( %$_ ); |
212
|
|
|
|
|
|
|
} |
213
|
|
|
|
|
|
|
}; |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::IotEventsDestinationConfiguration { |
216
|
1
|
|
|
1
|
|
3418
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
217
|
1
|
|
|
1
|
|
6719
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
5
|
|
218
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
has InputName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
221
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
222
|
|
|
|
|
|
|
} |
223
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter', |
224
|
|
|
|
|
|
|
as 'Cfn::Value', |
225
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
226
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter', |
229
|
|
|
|
|
|
|
from 'HashRef', |
230
|
|
|
|
|
|
|
via { |
231
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
232
|
|
|
|
|
|
|
return $f |
233
|
|
|
|
|
|
|
} else { |
234
|
|
|
|
|
|
|
die 'Only accepts functions'; |
235
|
|
|
|
|
|
|
} |
236
|
|
|
|
|
|
|
}, |
237
|
|
|
|
|
|
|
from 'ArrayRef', |
238
|
|
|
|
|
|
|
via { |
239
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
240
|
|
|
|
|
|
|
map { |
241
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter')->coerce($_) |
242
|
|
|
|
|
|
|
} @$_ |
243
|
|
|
|
|
|
|
]); |
244
|
|
|
|
|
|
|
}; |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter', |
247
|
|
|
|
|
|
|
as 'Cfn::Value'; |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter', |
250
|
|
|
|
|
|
|
from 'HashRef', |
251
|
|
|
|
|
|
|
via { |
252
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
253
|
|
|
|
|
|
|
return $f |
254
|
|
|
|
|
|
|
} else { |
255
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Filter->new( %$_ ); |
256
|
|
|
|
|
|
|
} |
257
|
|
|
|
|
|
|
}; |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Filter { |
260
|
1
|
|
|
1
|
|
3715
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
261
|
1
|
|
|
1
|
|
6754
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
5
|
|
262
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
has DeltaTime => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DeltaTime', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::TriggeringDataset', |
268
|
|
|
|
|
|
|
as 'Cfn::Value'; |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::TriggeringDataset', |
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::IoTAnalytics::Dataset::TriggeringDataset->new( %$_ ); |
277
|
|
|
|
|
|
|
} |
278
|
|
|
|
|
|
|
}; |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::TriggeringDataset { |
281
|
1
|
|
|
1
|
|
3403
|
use Moose; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
8
|
|
282
|
1
|
|
|
1
|
|
6891
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
283
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
has DatasetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
286
|
|
|
|
|
|
|
} |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Schedule', |
289
|
|
|
|
|
|
|
as 'Cfn::Value'; |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Schedule', |
292
|
|
|
|
|
|
|
from 'HashRef', |
293
|
|
|
|
|
|
|
via { |
294
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
295
|
|
|
|
|
|
|
return $f |
296
|
|
|
|
|
|
|
} else { |
297
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Schedule->new( %$_ ); |
298
|
|
|
|
|
|
|
} |
299
|
|
|
|
|
|
|
}; |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Schedule { |
302
|
1
|
|
|
1
|
|
3446
|
use Moose; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
6
|
|
303
|
1
|
|
|
1
|
|
6753
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
304
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
has ScheduleExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
307
|
|
|
|
|
|
|
} |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::QueryAction', |
310
|
|
|
|
|
|
|
as 'Cfn::Value'; |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::QueryAction', |
313
|
|
|
|
|
|
|
from 'HashRef', |
314
|
|
|
|
|
|
|
via { |
315
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
316
|
|
|
|
|
|
|
return $f |
317
|
|
|
|
|
|
|
} else { |
318
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::QueryAction->new( %$_ ); |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
}; |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::QueryAction { |
323
|
1
|
|
|
1
|
|
3572
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
324
|
1
|
|
|
1
|
|
7096
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
325
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
has Filters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Filter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
328
|
|
|
|
|
|
|
has SqlQuery => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
329
|
|
|
|
|
|
|
} |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRuleDestination', |
332
|
|
|
|
|
|
|
as 'Cfn::Value'; |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRuleDestination', |
335
|
|
|
|
|
|
|
from 'HashRef', |
336
|
|
|
|
|
|
|
via { |
337
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
338
|
|
|
|
|
|
|
return $f |
339
|
|
|
|
|
|
|
} else { |
340
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRuleDestination->new( %$_ ); |
341
|
|
|
|
|
|
|
} |
342
|
|
|
|
|
|
|
}; |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRuleDestination { |
345
|
1
|
|
|
1
|
|
3589
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
346
|
1
|
|
|
1
|
|
6768
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
347
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
has IotEventsDestinationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::IotEventsDestinationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
350
|
|
|
|
|
|
|
has S3DestinationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::S3DestinationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
351
|
|
|
|
|
|
|
} |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ContainerAction', |
354
|
|
|
|
|
|
|
as 'Cfn::Value'; |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ContainerAction', |
357
|
|
|
|
|
|
|
from 'HashRef', |
358
|
|
|
|
|
|
|
via { |
359
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
360
|
|
|
|
|
|
|
return $f |
361
|
|
|
|
|
|
|
} else { |
362
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::ContainerAction->new( %$_ ); |
363
|
|
|
|
|
|
|
} |
364
|
|
|
|
|
|
|
}; |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::ContainerAction { |
367
|
1
|
|
|
1
|
|
3421
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
368
|
1
|
|
|
1
|
|
6772
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
369
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
has ExecutionRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
372
|
|
|
|
|
|
|
has Image => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
373
|
|
|
|
|
|
|
has ResourceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ResourceConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
374
|
|
|
|
|
|
|
has Variables => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Variable', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
375
|
|
|
|
|
|
|
} |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::VersioningConfiguration', |
378
|
|
|
|
|
|
|
as 'Cfn::Value'; |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::VersioningConfiguration', |
381
|
|
|
|
|
|
|
from 'HashRef', |
382
|
|
|
|
|
|
|
via { |
383
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
384
|
|
|
|
|
|
|
return $f |
385
|
|
|
|
|
|
|
} else { |
386
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::VersioningConfiguration->new( %$_ ); |
387
|
|
|
|
|
|
|
} |
388
|
|
|
|
|
|
|
}; |
389
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::VersioningConfiguration { |
391
|
1
|
|
|
1
|
|
3440
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
392
|
1
|
|
|
1
|
|
6733
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
393
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
has MaxVersions => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
396
|
|
|
|
|
|
|
has Unlimited => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
397
|
|
|
|
|
|
|
} |
398
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger', |
399
|
|
|
|
|
|
|
as 'Cfn::Value', |
400
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
401
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
402
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger', |
404
|
|
|
|
|
|
|
from 'HashRef', |
405
|
|
|
|
|
|
|
via { |
406
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
407
|
|
|
|
|
|
|
return $f |
408
|
|
|
|
|
|
|
} else { |
409
|
|
|
|
|
|
|
die 'Only accepts functions'; |
410
|
|
|
|
|
|
|
} |
411
|
|
|
|
|
|
|
}, |
412
|
|
|
|
|
|
|
from 'ArrayRef', |
413
|
|
|
|
|
|
|
via { |
414
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
415
|
|
|
|
|
|
|
map { |
416
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger')->coerce($_) |
417
|
|
|
|
|
|
|
} @$_ |
418
|
|
|
|
|
|
|
]); |
419
|
|
|
|
|
|
|
}; |
420
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger', |
422
|
|
|
|
|
|
|
as 'Cfn::Value'; |
423
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger', |
425
|
|
|
|
|
|
|
from 'HashRef', |
426
|
|
|
|
|
|
|
via { |
427
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
428
|
|
|
|
|
|
|
return $f |
429
|
|
|
|
|
|
|
} else { |
430
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Trigger->new( %$_ ); |
431
|
|
|
|
|
|
|
} |
432
|
|
|
|
|
|
|
}; |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Trigger { |
435
|
1
|
|
|
1
|
|
3710
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
436
|
1
|
|
|
1
|
|
6790
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
437
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
438
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
has Schedule => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Schedule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
440
|
|
|
|
|
|
|
has TriggeringDataset => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::TriggeringDataset', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
441
|
|
|
|
|
|
|
} |
442
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::RetentionPeriod', |
444
|
|
|
|
|
|
|
as 'Cfn::Value'; |
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::RetentionPeriod', |
447
|
|
|
|
|
|
|
from 'HashRef', |
448
|
|
|
|
|
|
|
via { |
449
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
450
|
|
|
|
|
|
|
return $f |
451
|
|
|
|
|
|
|
} else { |
452
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::RetentionPeriod->new( %$_ ); |
453
|
|
|
|
|
|
|
} |
454
|
|
|
|
|
|
|
}; |
455
|
|
|
|
|
|
|
|
456
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::RetentionPeriod { |
457
|
1
|
|
|
1
|
|
3471
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
4
|
|
458
|
1
|
|
|
1
|
|
6590
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
459
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
has NumberOfDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
462
|
|
|
|
|
|
|
has Unlimited => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
463
|
|
|
|
|
|
|
} |
464
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule', |
465
|
|
|
|
|
|
|
as 'Cfn::Value', |
466
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
467
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule', |
470
|
|
|
|
|
|
|
from 'HashRef', |
471
|
|
|
|
|
|
|
via { |
472
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
473
|
|
|
|
|
|
|
return $f |
474
|
|
|
|
|
|
|
} else { |
475
|
|
|
|
|
|
|
die 'Only accepts functions'; |
476
|
|
|
|
|
|
|
} |
477
|
|
|
|
|
|
|
}, |
478
|
|
|
|
|
|
|
from 'ArrayRef', |
479
|
|
|
|
|
|
|
via { |
480
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
481
|
|
|
|
|
|
|
map { |
482
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule')->coerce($_) |
483
|
|
|
|
|
|
|
} @$_ |
484
|
|
|
|
|
|
|
]); |
485
|
|
|
|
|
|
|
}; |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule', |
488
|
|
|
|
|
|
|
as 'Cfn::Value'; |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule', |
491
|
|
|
|
|
|
|
from 'HashRef', |
492
|
|
|
|
|
|
|
via { |
493
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
494
|
|
|
|
|
|
|
return $f |
495
|
|
|
|
|
|
|
} else { |
496
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule->new( %$_ ); |
497
|
|
|
|
|
|
|
} |
498
|
|
|
|
|
|
|
}; |
499
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule { |
501
|
1
|
|
|
1
|
|
3610
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
502
|
1
|
|
|
1
|
|
6673
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
503
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
504
|
|
|
|
|
|
|
|
505
|
|
|
|
|
|
|
has Destination => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRuleDestination', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
506
|
|
|
|
|
|
|
has EntryName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
507
|
|
|
|
|
|
|
} |
508
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action', |
509
|
|
|
|
|
|
|
as 'Cfn::Value', |
510
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
511
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action', |
514
|
|
|
|
|
|
|
from 'HashRef', |
515
|
|
|
|
|
|
|
via { |
516
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
517
|
|
|
|
|
|
|
return $f |
518
|
|
|
|
|
|
|
} else { |
519
|
|
|
|
|
|
|
die 'Only accepts functions'; |
520
|
|
|
|
|
|
|
} |
521
|
|
|
|
|
|
|
}, |
522
|
|
|
|
|
|
|
from 'ArrayRef', |
523
|
|
|
|
|
|
|
via { |
524
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
525
|
|
|
|
|
|
|
map { |
526
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action')->coerce($_) |
527
|
|
|
|
|
|
|
} @$_ |
528
|
|
|
|
|
|
|
]); |
529
|
|
|
|
|
|
|
}; |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action', |
532
|
|
|
|
|
|
|
as 'Cfn::Value'; |
533
|
|
|
|
|
|
|
|
534
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action', |
535
|
|
|
|
|
|
|
from 'HashRef', |
536
|
|
|
|
|
|
|
via { |
537
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
538
|
|
|
|
|
|
|
return $f |
539
|
|
|
|
|
|
|
} else { |
540
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Action->new( %$_ ); |
541
|
|
|
|
|
|
|
} |
542
|
|
|
|
|
|
|
}; |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Dataset::Action { |
545
|
1
|
|
|
1
|
|
3670
|
use Moose; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
13
|
|
546
|
1
|
|
|
1
|
|
7555
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
547
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
548
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
has ActionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
550
|
|
|
|
|
|
|
has ContainerAction => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::ContainerAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
551
|
|
|
|
|
|
|
has QueryAction => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::QueryAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
552
|
|
|
|
|
|
|
} |
553
|
|
|
|
|
|
|
|
554
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset { |
555
|
1
|
|
|
1
|
|
3496
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
556
|
1
|
|
|
1
|
|
6720
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
557
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
558
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
has Actions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Action', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
560
|
|
|
|
|
|
|
has ContentDeliveryRules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::DatasetContentDeliveryRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
561
|
|
|
|
|
|
|
has DatasetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
562
|
|
|
|
|
|
|
has RetentionPeriod => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::RetentionPeriod', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
563
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
564
|
|
|
|
|
|
|
has Triggers => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoTAnalytics::Dataset::Trigger', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
565
|
|
|
|
|
|
|
has VersioningConfiguration => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Dataset::VersioningConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
566
|
|
|
|
|
|
|
} |
567
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
1; |
569
|
|
|
|
|
|
|
### main pod documentation begin ### |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
=encoding UTF-8 |
572
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
=head1 NAME |
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
Cfn::Resource::AWS::IoTAnalytics::Dataset - Cfn resource for AWS::IoTAnalytics::Dataset |
576
|
|
|
|
|
|
|
|
577
|
|
|
|
|
|
|
=head1 DESCRIPTION |
578
|
|
|
|
|
|
|
|
579
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::IoTAnalytics::Dataset. |
580
|
|
|
|
|
|
|
|
581
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
582
|
|
|
|
|
|
|
|
583
|
|
|
|
|
|
|
=head1 AUTHOR |
584
|
|
|
|
|
|
|
|
585
|
|
|
|
|
|
|
Jose Luis Martinez |
586
|
|
|
|
|
|
|
CAPSiDE |
587
|
|
|
|
|
|
|
jlmartinez@capside.com |
588
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
590
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
592
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
593
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
=cut |