| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Paws::CloudFront; |
|
2
|
|
|
|
|
|
|
warn "Paws::CloudFront is not stable / supported / entirely developed"; |
|
3
|
1
|
|
|
1
|
|
3469
|
use Moose; |
|
|
1
|
|
|
3
|
|
3
|
|
|
|
1
|
|
|
|
|
7
|
|
|
|
3
|
|
|
|
|
3072
|
|
|
|
3
|
|
|
|
|
9
|
|
|
|
3
|
|
|
|
|
27
|
|
|
4
|
12
|
|
|
12
|
0
|
125
|
sub service { 'cloudfront' } |
|
5
|
0
|
|
|
0
|
0
|
0
|
sub version { '2017-03-25' } |
|
6
|
3
|
|
|
3
|
0
|
17
|
sub flattened_arrays { 0 } |
|
7
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
|
8
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
|
9
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
|
10
|
|
|
|
|
|
|
}); |
|
11
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
|
12
|
|
|
|
|
|
|
] }); |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestXmlCaller', 'Paws::Net::RestXMLResponse'; |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has '+region_rules' => (default => sub { |
|
17
|
|
|
|
|
|
|
my $regioninfo; |
|
18
|
|
|
|
|
|
|
$regioninfo = [ |
|
19
|
|
|
|
|
|
|
{ |
|
20
|
|
|
|
|
|
|
constraints => [ |
|
21
|
|
|
|
|
|
|
[ |
|
22
|
|
|
|
|
|
|
'region', |
|
23
|
|
|
|
|
|
|
'notStartsWith', |
|
24
|
|
|
|
|
|
|
'cn-' |
|
25
|
|
|
|
|
|
|
] |
|
26
|
|
|
|
|
|
|
], |
|
27
|
|
|
|
|
|
|
properties => { |
|
28
|
|
|
|
|
|
|
credentialScope => { |
|
29
|
|
|
|
|
|
|
region => 'us-east-1' |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
}, |
|
32
|
|
|
|
|
|
|
uri => 'https://cloudfront.amazonaws.com' |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
]; |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
return $regioninfo; |
|
37
|
|
|
|
|
|
|
}); |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub CreateCloudFrontOriginAccessIdentity { |
|
41
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
|
42
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateCloudFrontOriginAccessIdentity', @_); |
|
43
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
|
44
|
|
|
|
|
|
|
} |
|
45
|
|
|
|
|
|
|
sub CreateDistribution { |
|
46
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
|
47
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateDistribution', @_); |
|
48
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
|
49
|
|
|
|
|
|
|
} |
|
50
|
|
|
|
|
|
|
sub CreateDistributionWithTags { |
|
51
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
|
52
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateDistributionWithTags', @_); |
|
53
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
|
54
|
|
|
|
|
|
|
} |
|
55
|
|
|
|
|
|
|
sub CreateInvalidation { |
|
56
|
2
|
|
|
2
|
1
|
468
|
my $self = shift; |
|
57
|
2
|
|
|
|
|
37
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateInvalidation', @_); |
|
58
|
2
|
|
|
|
|
1634
|
return $self->caller->do_call($self, $call_object); |
|
59
|
|
|
|
|
|
|
} |
|
60
|
|
|
|
|
|
|
sub CreateStreamingDistribution { |
|
61
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
62
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateStreamingDistribution', @_); |
|
63
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
64
|
|
|
|
|
|
|
} |
|
65
|
|
|
|
|
|
|
sub CreateStreamingDistributionWithTags { |
|
66
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
67
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::CreateStreamingDistributionWithTags', @_); |
|
68
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
69
|
|
|
|
|
|
|
} |
|
70
|
|
|
|
|
|
|
sub DeleteCloudFrontOriginAccessIdentity { |
|
71
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
72
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::DeleteCloudFrontOriginAccessIdentity', @_); |
|
73
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
74
|
|
|
|
|
|
|
} |
|
75
|
|
|
|
|
|
|
sub DeleteDistribution { |
|
76
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
77
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::DeleteDistribution', @_); |
|
78
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
79
|
|
|
|
|
|
|
} |
|
80
|
|
|
|
|
|
|
sub DeleteStreamingDistribution { |
|
81
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
82
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::DeleteStreamingDistribution', @_); |
|
83
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
84
|
|
|
|
|
|
|
} |
|
85
|
|
|
|
|
|
|
sub GetCloudFrontOriginAccessIdentity { |
|
86
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
87
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetCloudFrontOriginAccessIdentity', @_); |
|
88
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
89
|
|
|
|
|
|
|
} |
|
90
|
|
|
|
|
|
|
sub GetCloudFrontOriginAccessIdentityConfig { |
|
91
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
92
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetCloudFrontOriginAccessIdentityConfig', @_); |
|
93
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
94
|
|
|
|
|
|
|
} |
|
95
|
|
|
|
|
|
|
sub GetDistribution { |
|
96
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
97
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetDistribution', @_); |
|
98
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
99
|
|
|
|
|
|
|
} |
|
100
|
|
|
|
|
|
|
sub GetDistributionConfig { |
|
101
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
102
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetDistributionConfig', @_); |
|
103
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
104
|
|
|
|
|
|
|
} |
|
105
|
|
|
|
|
|
|
sub GetInvalidation { |
|
106
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
107
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetInvalidation', @_); |
|
108
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
109
|
|
|
|
|
|
|
} |
|
110
|
|
|
|
|
|
|
sub GetStreamingDistribution { |
|
111
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
112
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetStreamingDistribution', @_); |
|
113
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
114
|
|
|
|
|
|
|
} |
|
115
|
|
|
|
|
|
|
sub GetStreamingDistributionConfig { |
|
116
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
117
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::GetStreamingDistributionConfig', @_); |
|
118
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
119
|
|
|
|
|
|
|
} |
|
120
|
|
|
|
|
|
|
sub ListCloudFrontOriginAccessIdentities { |
|
121
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
122
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListCloudFrontOriginAccessIdentities', @_); |
|
123
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
124
|
|
|
|
|
|
|
} |
|
125
|
|
|
|
|
|
|
sub ListDistributions { |
|
126
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
127
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListDistributions', @_); |
|
128
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
129
|
|
|
|
|
|
|
} |
|
130
|
|
|
|
|
|
|
sub ListDistributionsByWebACLId { |
|
131
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
132
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListDistributionsByWebACLId', @_); |
|
133
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
134
|
|
|
|
|
|
|
} |
|
135
|
|
|
|
|
|
|
sub ListInvalidations { |
|
136
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
137
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListInvalidations', @_); |
|
138
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
139
|
|
|
|
|
|
|
} |
|
140
|
|
|
|
|
|
|
sub ListStreamingDistributions { |
|
141
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
142
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListStreamingDistributions', @_); |
|
143
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
144
|
|
|
|
|
|
|
} |
|
145
|
|
|
|
|
|
|
sub ListTagsForResource { |
|
146
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
147
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::ListTagsForResource', @_); |
|
148
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
149
|
|
|
|
|
|
|
} |
|
150
|
|
|
|
|
|
|
sub TagResource { |
|
151
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
152
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::TagResource', @_); |
|
153
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
154
|
|
|
|
|
|
|
} |
|
155
|
|
|
|
|
|
|
sub UntagResource { |
|
156
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
157
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::UntagResource', @_); |
|
158
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
159
|
|
|
|
|
|
|
} |
|
160
|
|
|
|
|
|
|
sub UpdateCloudFrontOriginAccessIdentity { |
|
161
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
162
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::UpdateCloudFrontOriginAccessIdentity', @_); |
|
163
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
164
|
|
|
|
|
|
|
} |
|
165
|
|
|
|
|
|
|
sub UpdateDistribution { |
|
166
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
167
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::UpdateDistribution', @_); |
|
168
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
169
|
|
|
|
|
|
|
} |
|
170
|
|
|
|
|
|
|
sub UpdateStreamingDistribution { |
|
171
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
172
|
0
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::CloudFront::UpdateStreamingDistribution', @_); |
|
173
|
0
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
|
174
|
|
|
|
|
|
|
} |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub ListAllCloudFrontOriginAccessIdentities { |
|
177
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
178
|
|
|
|
|
|
|
|
|
179
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
|
180
|
0
|
|
|
|
|
|
my $result = $self->ListCloudFrontOriginAccessIdentities(@_); |
|
181
|
0
|
|
|
|
|
|
my $next_result = $result; |
|
182
|
|
|
|
|
|
|
|
|
183
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
|
184
|
0
|
|
|
|
|
|
while ($next_result->CloudFrontOriginAccessIdentityList->IsTruncated) { |
|
185
|
0
|
|
|
|
|
|
$next_result = $self->ListCloudFrontOriginAccessIdentities(@_, Marker => $next_result->CloudFrontOriginAccessIdentityList->NextMarker); |
|
186
|
0
|
|
|
|
|
|
push @{ $result->CloudFrontOriginAccessIdentityList->Items }, @{ $next_result->CloudFrontOriginAccessIdentityList->Items }; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
} |
|
188
|
0
|
|
|
|
|
|
return $result; |
|
189
|
|
|
|
|
|
|
} else { |
|
190
|
0
|
|
|
|
|
|
while ($result->CloudFrontOriginAccessIdentityList->IsTruncated) { |
|
191
|
0
|
|
|
|
|
|
$callback->($_ => 'CloudFrontOriginAccessIdentityList.Items') foreach (@{ $result->CloudFrontOriginAccessIdentityList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
192
|
0
|
|
|
|
|
|
$result = $self->ListCloudFrontOriginAccessIdentities(@_, Marker => $result->CloudFrontOriginAccessIdentityList->NextMarker); |
|
193
|
|
|
|
|
|
|
} |
|
194
|
0
|
|
|
|
|
|
$callback->($_ => 'CloudFrontOriginAccessIdentityList.Items') foreach (@{ $result->CloudFrontOriginAccessIdentityList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
} |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
return undef |
|
198
|
0
|
|
|
|
|
|
} |
|
199
|
|
|
|
|
|
|
sub ListAllDistributions { |
|
200
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
201
|
|
|
|
|
|
|
|
|
202
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
|
203
|
0
|
|
|
|
|
|
my $result = $self->ListDistributions(@_); |
|
204
|
0
|
|
|
|
|
|
my $next_result = $result; |
|
205
|
|
|
|
|
|
|
|
|
206
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
|
207
|
0
|
|
|
|
|
|
while ($next_result->DistributionList->IsTruncated) { |
|
208
|
0
|
|
|
|
|
|
$next_result = $self->ListDistributions(@_, Marker => $next_result->DistributionList->NextMarker); |
|
209
|
0
|
|
|
|
|
|
push @{ $result->DistributionList->Items }, @{ $next_result->DistributionList->Items }; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
} |
|
211
|
0
|
|
|
|
|
|
return $result; |
|
212
|
|
|
|
|
|
|
} else { |
|
213
|
0
|
|
|
|
|
|
while ($result->DistributionList->IsTruncated) { |
|
214
|
0
|
|
|
|
|
|
$callback->($_ => 'DistributionList.Items') foreach (@{ $result->DistributionList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
215
|
0
|
|
|
|
|
|
$result = $self->ListDistributions(@_, Marker => $result->DistributionList->NextMarker); |
|
216
|
|
|
|
|
|
|
} |
|
217
|
0
|
|
|
|
|
|
$callback->($_ => 'DistributionList.Items') foreach (@{ $result->DistributionList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
} |
|
219
|
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
return undef |
|
221
|
0
|
|
|
|
|
|
} |
|
222
|
|
|
|
|
|
|
sub ListAllInvalidations { |
|
223
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
224
|
|
|
|
|
|
|
|
|
225
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
|
226
|
0
|
|
|
|
|
|
my $result = $self->ListInvalidations(@_); |
|
227
|
0
|
|
|
|
|
|
my $next_result = $result; |
|
228
|
|
|
|
|
|
|
|
|
229
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
|
230
|
0
|
|
|
|
|
|
while ($next_result->InvalidationList->IsTruncated) { |
|
231
|
0
|
|
|
|
|
|
$next_result = $self->ListInvalidations(@_, Marker => $next_result->InvalidationList->NextMarker); |
|
232
|
0
|
|
|
|
|
|
push @{ $result->InvalidationList->Items }, @{ $next_result->InvalidationList->Items }; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
} |
|
234
|
0
|
|
|
|
|
|
return $result; |
|
235
|
|
|
|
|
|
|
} else { |
|
236
|
0
|
|
|
|
|
|
while ($result->InvalidationList->IsTruncated) { |
|
237
|
0
|
|
|
|
|
|
$callback->($_ => 'InvalidationList.Items') foreach (@{ $result->InvalidationList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
238
|
0
|
|
|
|
|
|
$result = $self->ListInvalidations(@_, Marker => $result->InvalidationList->NextMarker); |
|
239
|
|
|
|
|
|
|
} |
|
240
|
0
|
|
|
|
|
|
$callback->($_ => 'InvalidationList.Items') foreach (@{ $result->InvalidationList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
} |
|
242
|
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
return undef |
|
244
|
0
|
|
|
|
|
|
} |
|
245
|
|
|
|
|
|
|
sub ListAllStreamingDistributions { |
|
246
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
247
|
|
|
|
|
|
|
|
|
248
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
|
249
|
0
|
|
|
|
|
|
my $result = $self->ListStreamingDistributions(@_); |
|
250
|
0
|
|
|
|
|
|
my $next_result = $result; |
|
251
|
|
|
|
|
|
|
|
|
252
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
|
253
|
0
|
|
|
|
|
|
while ($next_result->StreamingDistributionList->IsTruncated) { |
|
254
|
0
|
|
|
|
|
|
$next_result = $self->ListStreamingDistributions(@_, Marker => $next_result->StreamingDistributionList->NextMarker); |
|
255
|
0
|
|
|
|
|
|
push @{ $result->StreamingDistributionList->Items }, @{ $next_result->StreamingDistributionList->Items }; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
} |
|
257
|
0
|
|
|
|
|
|
return $result; |
|
258
|
|
|
|
|
|
|
} else { |
|
259
|
0
|
|
|
|
|
|
while ($result->StreamingDistributionList->IsTruncated) { |
|
260
|
0
|
|
|
|
|
|
$callback->($_ => 'StreamingDistributionList.Items') foreach (@{ $result->StreamingDistributionList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
261
|
0
|
|
|
|
|
|
$result = $self->ListStreamingDistributions(@_, Marker => $result->StreamingDistributionList->NextMarker); |
|
262
|
|
|
|
|
|
|
} |
|
263
|
0
|
|
|
|
|
|
$callback->($_ => 'StreamingDistributionList.Items') foreach (@{ $result->StreamingDistributionList->Items }); |
|
|
0
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
} |
|
265
|
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
return undef |
|
267
|
0
|
|
|
|
|
|
} |
|
268
|
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
|
|
270
|
0
|
|
|
0
|
0
|
|
sub operations { qw/CreateCloudFrontOriginAccessIdentity CreateDistribution CreateDistributionWithTags CreateInvalidation CreateStreamingDistribution CreateStreamingDistributionWithTags DeleteCloudFrontOriginAccessIdentity DeleteDistribution DeleteStreamingDistribution GetCloudFrontOriginAccessIdentity GetCloudFrontOriginAccessIdentityConfig GetDistribution GetDistributionConfig GetInvalidation GetStreamingDistribution GetStreamingDistributionConfig ListCloudFrontOriginAccessIdentities ListDistributions ListDistributionsByWebACLId ListInvalidations ListStreamingDistributions ListTagsForResource TagResource UntagResource UpdateCloudFrontOriginAccessIdentity UpdateDistribution UpdateStreamingDistribution / } |
|
271
|
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
1; |
|
273
|
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
275
|
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
=head1 NAME |
|
277
|
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
Paws::CloudFront - Perl Interface to AWS Amazon CloudFront |
|
279
|
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
281
|
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
use Paws; |
|
283
|
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
my $obj = Paws->service('CloudFront'); |
|
285
|
|
|
|
|
|
|
my $res = $obj->Method( |
|
286
|
|
|
|
|
|
|
Arg1 => $val1, |
|
287
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
|
288
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
|
289
|
|
|
|
|
|
|
# of the arguments type |
|
290
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
|
291
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
|
292
|
|
|
|
|
|
|
# the constructor of the arguments type |
|
293
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
|
294
|
|
|
|
|
|
|
); |
|
295
|
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
297
|
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
Amazon CloudFront |
|
299
|
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
This is the I<Amazon CloudFront API Reference>. This guide is for |
|
301
|
|
|
|
|
|
|
developers who need detailed information about the CloudFront API |
|
302
|
|
|
|
|
|
|
actions, data types, and errors. For detailed information about |
|
303
|
|
|
|
|
|
|
CloudFront features and their associated API calls, see the I<Amazon |
|
304
|
|
|
|
|
|
|
CloudFront Developer Guide>. |
|
305
|
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
=head1 METHODS |
|
307
|
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
=head2 CreateCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentityConfig => L<Paws::CloudFront::CloudFrontOriginAccessIdentityConfig>) |
|
309
|
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateCloudFrontOriginAccessIdentity> |
|
311
|
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateCloudFrontOriginAccessIdentityResult> instance |
|
313
|
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
Creates a new origin access identity. If you're using Amazon S3 for |
|
315
|
|
|
|
|
|
|
your origin, you can use an origin access identity to require users to |
|
316
|
|
|
|
|
|
|
access your content using a CloudFront URL instead of the Amazon S3 |
|
317
|
|
|
|
|
|
|
URL. For more information about how to use origin access identities, |
|
318
|
|
|
|
|
|
|
see Serving Private Content through CloudFront in the I<Amazon |
|
319
|
|
|
|
|
|
|
CloudFront Developer Guide>. |
|
320
|
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=head2 CreateDistribution(DistributionConfig => L<Paws::CloudFront::DistributionConfig>) |
|
323
|
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateDistribution> |
|
325
|
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateDistributionResult> instance |
|
327
|
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
Creates a new web distribution. Send a C<POST> request to the |
|
329
|
|
|
|
|
|
|
C</I<CloudFront API version>/distribution>/C<distribution ID> resource. |
|
330
|
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=head2 CreateDistributionWithTags(DistributionConfigWithTags => L<Paws::CloudFront::DistributionConfigWithTags>) |
|
333
|
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateDistributionWithTags> |
|
335
|
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateDistributionWithTagsResult> instance |
|
337
|
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
Create a new distribution with tags. |
|
339
|
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
=head2 CreateInvalidation(DistributionId => Str, InvalidationBatch => L<Paws::CloudFront::InvalidationBatch>) |
|
342
|
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateInvalidation> |
|
344
|
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateInvalidationResult> instance |
|
346
|
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
Create a new invalidation. |
|
348
|
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
=head2 CreateStreamingDistribution(StreamingDistributionConfig => L<Paws::CloudFront::StreamingDistributionConfig>) |
|
351
|
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateStreamingDistribution> |
|
353
|
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateStreamingDistributionResult> instance |
|
355
|
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
Creates a new RMTP distribution. An RTMP distribution is similar to a |
|
357
|
|
|
|
|
|
|
web distribution, but an RTMP distribution streams media files using |
|
358
|
|
|
|
|
|
|
the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files |
|
359
|
|
|
|
|
|
|
using HTTP. |
|
360
|
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
To create a new web distribution, submit a C<POST> request to the |
|
362
|
|
|
|
|
|
|
I<CloudFront API version>/distribution resource. The request body must |
|
363
|
|
|
|
|
|
|
include a document with a I<StreamingDistributionConfig> element. The |
|
364
|
|
|
|
|
|
|
response echoes the C<StreamingDistributionConfig> element and returns |
|
365
|
|
|
|
|
|
|
other information about the RTMP distribution. |
|
366
|
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
To get the status of your request, use the I<GET StreamingDistribution> |
|
368
|
|
|
|
|
|
|
API action. When the value of C<Enabled> is C<true> and the value of |
|
369
|
|
|
|
|
|
|
C<Status> is C<Deployed>, your distribution is ready. A distribution |
|
370
|
|
|
|
|
|
|
usually deploys in less than 15 minutes. |
|
371
|
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
For more information about web distributions, see Working with RTMP |
|
373
|
|
|
|
|
|
|
Distributions in the I<Amazon CloudFront Developer Guide>. |
|
374
|
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
Beginning with the 2012-05-05 version of the CloudFront API, we made |
|
376
|
|
|
|
|
|
|
substantial changes to the format of the XML document that you include |
|
377
|
|
|
|
|
|
|
in the request body when you create or update a web distribution or an |
|
378
|
|
|
|
|
|
|
RTMP distribution, and when you invalidate objects. With previous |
|
379
|
|
|
|
|
|
|
versions of the API, we discovered that it was too easy to accidentally |
|
380
|
|
|
|
|
|
|
delete one or more values for an element that accepts multiple values, |
|
381
|
|
|
|
|
|
|
for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 |
|
382
|
|
|
|
|
|
|
release are intended to prevent these accidental deletions and to |
|
383
|
|
|
|
|
|
|
notify you when there's a mismatch between the number of values you say |
|
384
|
|
|
|
|
|
|
you're specifying in the C<Quantity> element and the number of values |
|
385
|
|
|
|
|
|
|
specified. |
|
386
|
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
=head2 CreateStreamingDistributionWithTags(StreamingDistributionConfigWithTags => L<Paws::CloudFront::StreamingDistributionConfigWithTags>) |
|
389
|
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::CreateStreamingDistributionWithTags> |
|
391
|
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::CreateStreamingDistributionWithTagsResult> instance |
|
393
|
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
Create a new streaming distribution with tags. |
|
395
|
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
|
|
397
|
|
|
|
|
|
|
=head2 DeleteCloudFrontOriginAccessIdentity(Id => Str, [IfMatch => Str]) |
|
398
|
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::DeleteCloudFrontOriginAccessIdentity> |
|
400
|
|
|
|
|
|
|
|
|
401
|
|
|
|
|
|
|
Returns: nothing |
|
402
|
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
Delete an origin access identity. |
|
404
|
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
=head2 DeleteDistribution(Id => Str, [IfMatch => Str]) |
|
407
|
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::DeleteDistribution> |
|
409
|
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
Returns: nothing |
|
411
|
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Delete a distribution. |
|
413
|
|
|
|
|
|
|
|
|
414
|
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
=head2 DeleteStreamingDistribution(Id => Str, [IfMatch => Str]) |
|
416
|
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::DeleteStreamingDistribution> |
|
418
|
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
Returns: nothing |
|
420
|
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
Delete a streaming distribution. To delete an RTMP distribution using |
|
422
|
|
|
|
|
|
|
the CloudFront API, perform the following steps. |
|
423
|
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
B<To delete an RTMP distribution using the CloudFront API>: |
|
425
|
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
=over |
|
427
|
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
=item 1. |
|
429
|
|
|
|
|
|
|
|
|
430
|
|
|
|
|
|
|
Disable the RTMP distribution. |
|
431
|
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
=item 2. |
|
433
|
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
Submit a C<GET Streaming Distribution Config> request to get the |
|
435
|
|
|
|
|
|
|
current configuration and the C<Etag> header for the distribution. |
|
436
|
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
=item 3. |
|
438
|
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
Update the XML document that was returned in the response to your C<GET |
|
440
|
|
|
|
|
|
|
Streaming Distribution Config> request to change the value of |
|
441
|
|
|
|
|
|
|
C<Enabled> to C<false>. |
|
442
|
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
=item 4. |
|
444
|
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
Submit a C<PUT Streaming Distribution Config> request to update the |
|
446
|
|
|
|
|
|
|
configuration for your distribution. In the request body, include the |
|
447
|
|
|
|
|
|
|
XML document that you updated in Step 3. Then set the value of the HTTP |
|
448
|
|
|
|
|
|
|
C<If-Match> header to the value of the C<ETag> header that CloudFront |
|
449
|
|
|
|
|
|
|
returned when you submitted the C<GET Streaming Distribution Config> |
|
450
|
|
|
|
|
|
|
request in Step 2. |
|
451
|
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
=item 5. |
|
453
|
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
Review the response to the C<PUT Streaming Distribution Config> request |
|
455
|
|
|
|
|
|
|
to confirm that the distribution was successfully disabled. |
|
456
|
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
=item 6. |
|
458
|
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
Submit a C<GET Streaming Distribution Config> request to confirm that |
|
460
|
|
|
|
|
|
|
your changes have propagated. When propagation is complete, the value |
|
461
|
|
|
|
|
|
|
of C<Status> is C<Deployed>. |
|
462
|
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
=item 7. |
|
464
|
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
Submit a C<DELETE Streaming Distribution> request. Set the value of the |
|
466
|
|
|
|
|
|
|
HTTP C<If-Match> header to the value of the C<ETag> header that |
|
467
|
|
|
|
|
|
|
CloudFront returned when you submitted the C<GET Streaming Distribution |
|
468
|
|
|
|
|
|
|
Config> request in Step 2. |
|
469
|
|
|
|
|
|
|
|
|
470
|
|
|
|
|
|
|
=item 8. |
|
471
|
|
|
|
|
|
|
|
|
472
|
|
|
|
|
|
|
Review the response to your C<DELETE Streaming Distribution> request to |
|
473
|
|
|
|
|
|
|
confirm that the distribution was successfully deleted. |
|
474
|
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
=back |
|
476
|
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
For information about deleting a distribution using the CloudFront |
|
478
|
|
|
|
|
|
|
console, see Deleting a Distribution in the I<Amazon CloudFront |
|
479
|
|
|
|
|
|
|
Developer Guide>. |
|
480
|
|
|
|
|
|
|
|
|
481
|
|
|
|
|
|
|
|
|
482
|
|
|
|
|
|
|
=head2 GetCloudFrontOriginAccessIdentity(Id => Str) |
|
483
|
|
|
|
|
|
|
|
|
484
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetCloudFrontOriginAccessIdentity> |
|
485
|
|
|
|
|
|
|
|
|
486
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetCloudFrontOriginAccessIdentityResult> instance |
|
487
|
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
Get the information about an origin access identity. |
|
489
|
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
=head2 GetCloudFrontOriginAccessIdentityConfig(Id => Str) |
|
492
|
|
|
|
|
|
|
|
|
493
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetCloudFrontOriginAccessIdentityConfig> |
|
494
|
|
|
|
|
|
|
|
|
495
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetCloudFrontOriginAccessIdentityConfigResult> instance |
|
496
|
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
Get the configuration information about an origin access identity. |
|
498
|
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
=head2 GetDistribution(Id => Str) |
|
501
|
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetDistribution> |
|
503
|
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetDistributionResult> instance |
|
505
|
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
Get the information about a distribution. |
|
507
|
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
=head2 GetDistributionConfig(Id => Str) |
|
510
|
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetDistributionConfig> |
|
512
|
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetDistributionConfigResult> instance |
|
514
|
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
Get the configuration information about a distribution. |
|
516
|
|
|
|
|
|
|
|
|
517
|
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
=head2 GetInvalidation(DistributionId => Str, Id => Str) |
|
519
|
|
|
|
|
|
|
|
|
520
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetInvalidation> |
|
521
|
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetInvalidationResult> instance |
|
523
|
|
|
|
|
|
|
|
|
524
|
|
|
|
|
|
|
Get the information about an invalidation. |
|
525
|
|
|
|
|
|
|
|
|
526
|
|
|
|
|
|
|
|
|
527
|
|
|
|
|
|
|
=head2 GetStreamingDistribution(Id => Str) |
|
528
|
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetStreamingDistribution> |
|
530
|
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetStreamingDistributionResult> instance |
|
532
|
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
Gets information about a specified RTMP distribution, including the |
|
534
|
|
|
|
|
|
|
distribution configuration. |
|
535
|
|
|
|
|
|
|
|
|
536
|
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
=head2 GetStreamingDistributionConfig(Id => Str) |
|
538
|
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::GetStreamingDistributionConfig> |
|
540
|
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::GetStreamingDistributionConfigResult> instance |
|
542
|
|
|
|
|
|
|
|
|
543
|
|
|
|
|
|
|
Get the configuration information about a streaming distribution. |
|
544
|
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
=head2 ListCloudFrontOriginAccessIdentities([Marker => Str, MaxItems => Str]) |
|
547
|
|
|
|
|
|
|
|
|
548
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListCloudFrontOriginAccessIdentities> |
|
549
|
|
|
|
|
|
|
|
|
550
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListCloudFrontOriginAccessIdentitiesResult> instance |
|
551
|
|
|
|
|
|
|
|
|
552
|
|
|
|
|
|
|
Lists origin access identities. |
|
553
|
|
|
|
|
|
|
|
|
554
|
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
=head2 ListDistributions([Marker => Str, MaxItems => Str]) |
|
556
|
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListDistributions> |
|
558
|
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListDistributionsResult> instance |
|
560
|
|
|
|
|
|
|
|
|
561
|
|
|
|
|
|
|
List distributions. |
|
562
|
|
|
|
|
|
|
|
|
563
|
|
|
|
|
|
|
|
|
564
|
|
|
|
|
|
|
=head2 ListDistributionsByWebACLId(WebACLId => Str, [Marker => Str, MaxItems => Str]) |
|
565
|
|
|
|
|
|
|
|
|
566
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListDistributionsByWebACLId> |
|
567
|
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListDistributionsByWebACLIdResult> instance |
|
569
|
|
|
|
|
|
|
|
|
570
|
|
|
|
|
|
|
List the distributions that are associated with a specified AWS WAF web |
|
571
|
|
|
|
|
|
|
ACL. |
|
572
|
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
=head2 ListInvalidations(DistributionId => Str, [Marker => Str, MaxItems => Str]) |
|
575
|
|
|
|
|
|
|
|
|
576
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListInvalidations> |
|
577
|
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListInvalidationsResult> instance |
|
579
|
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
Lists invalidation batches. |
|
581
|
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
|
|
583
|
|
|
|
|
|
|
=head2 ListStreamingDistributions([Marker => Str, MaxItems => Str]) |
|
584
|
|
|
|
|
|
|
|
|
585
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListStreamingDistributions> |
|
586
|
|
|
|
|
|
|
|
|
587
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListStreamingDistributionsResult> instance |
|
588
|
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
List streaming distributions. |
|
590
|
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
|
|
592
|
|
|
|
|
|
|
=head2 ListTagsForResource(Resource => Str) |
|
593
|
|
|
|
|
|
|
|
|
594
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::ListTagsForResource> |
|
595
|
|
|
|
|
|
|
|
|
596
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::ListTagsForResourceResult> instance |
|
597
|
|
|
|
|
|
|
|
|
598
|
|
|
|
|
|
|
List tags for a CloudFront resource. |
|
599
|
|
|
|
|
|
|
|
|
600
|
|
|
|
|
|
|
|
|
601
|
|
|
|
|
|
|
=head2 TagResource(Resource => Str, Tags => L<Paws::CloudFront::Tags>) |
|
602
|
|
|
|
|
|
|
|
|
603
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::TagResource> |
|
604
|
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
Returns: nothing |
|
606
|
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
Add tags to a CloudFront resource. |
|
608
|
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
|
|
610
|
|
|
|
|
|
|
=head2 UntagResource(Resource => Str, TagKeys => L<Paws::CloudFront::TagKeys>) |
|
611
|
|
|
|
|
|
|
|
|
612
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::UntagResource> |
|
613
|
|
|
|
|
|
|
|
|
614
|
|
|
|
|
|
|
Returns: nothing |
|
615
|
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
Remove tags from a CloudFront resource. |
|
617
|
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
=head2 UpdateCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentityConfig => L<Paws::CloudFront::CloudFrontOriginAccessIdentityConfig>, Id => Str, [IfMatch => Str]) |
|
620
|
|
|
|
|
|
|
|
|
621
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::UpdateCloudFrontOriginAccessIdentity> |
|
622
|
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::UpdateCloudFrontOriginAccessIdentityResult> instance |
|
624
|
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
Update an origin access identity. |
|
626
|
|
|
|
|
|
|
|
|
627
|
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
=head2 UpdateDistribution(DistributionConfig => L<Paws::CloudFront::DistributionConfig>, Id => Str, [IfMatch => Str]) |
|
629
|
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::UpdateDistribution> |
|
631
|
|
|
|
|
|
|
|
|
632
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::UpdateDistributionResult> instance |
|
633
|
|
|
|
|
|
|
|
|
634
|
|
|
|
|
|
|
Updates the configuration for a web distribution. Perform the following |
|
635
|
|
|
|
|
|
|
steps. |
|
636
|
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
For information about updating a distribution using the CloudFront |
|
638
|
|
|
|
|
|
|
console, see Creating or Updating a Web Distribution Using the |
|
639
|
|
|
|
|
|
|
CloudFront Console in the I<Amazon CloudFront Developer Guide>. |
|
640
|
|
|
|
|
|
|
|
|
641
|
|
|
|
|
|
|
B<To update a web distribution using the CloudFront API> |
|
642
|
|
|
|
|
|
|
|
|
643
|
|
|
|
|
|
|
=over |
|
644
|
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
=item 1. |
|
646
|
|
|
|
|
|
|
|
|
647
|
|
|
|
|
|
|
Submit a GetDistributionConfig request to get the current configuration |
|
648
|
|
|
|
|
|
|
and an C<Etag> header for the distribution. |
|
649
|
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
If you update the distribution again, you need to get a new C<Etag> |
|
651
|
|
|
|
|
|
|
header. |
|
652
|
|
|
|
|
|
|
|
|
653
|
|
|
|
|
|
|
=item 2. |
|
654
|
|
|
|
|
|
|
|
|
655
|
|
|
|
|
|
|
Update the XML document that was returned in the response to your |
|
656
|
|
|
|
|
|
|
C<GetDistributionConfig> request to include the desired changes. You |
|
657
|
|
|
|
|
|
|
can't change the value of C<CallerReference>. If you try to change this |
|
658
|
|
|
|
|
|
|
value, CloudFront returns an C<IllegalUpdate> error. |
|
659
|
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
The new configuration replaces the existing configuration; the values |
|
661
|
|
|
|
|
|
|
that you specify in an C<UpdateDistribution> request are not merged |
|
662
|
|
|
|
|
|
|
into the existing configuration. When you add, delete, or replace |
|
663
|
|
|
|
|
|
|
values in an element that allows multiple values (for example, |
|
664
|
|
|
|
|
|
|
C<CNAME>), you must specify all of the values that you want to appear |
|
665
|
|
|
|
|
|
|
in the updated distribution. In addition, you must update the |
|
666
|
|
|
|
|
|
|
corresponding C<Quantity> element. |
|
667
|
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
=item 3. |
|
669
|
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
Submit an C<UpdateDistribution> request to update the configuration for |
|
671
|
|
|
|
|
|
|
your distribution: |
|
672
|
|
|
|
|
|
|
|
|
673
|
|
|
|
|
|
|
=over |
|
674
|
|
|
|
|
|
|
|
|
675
|
|
|
|
|
|
|
=item * |
|
676
|
|
|
|
|
|
|
|
|
677
|
|
|
|
|
|
|
In the request body, include the XML document that you updated in Step |
|
678
|
|
|
|
|
|
|
2. The request body must include an XML document with a |
|
679
|
|
|
|
|
|
|
C<DistributionConfig> element. |
|
680
|
|
|
|
|
|
|
|
|
681
|
|
|
|
|
|
|
=item * |
|
682
|
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
Set the value of the HTTP C<If-Match> header to the value of the |
|
684
|
|
|
|
|
|
|
C<ETag> header that CloudFront returned when you submitted the |
|
685
|
|
|
|
|
|
|
C<GetDistributionConfig> request in Step 1. |
|
686
|
|
|
|
|
|
|
|
|
687
|
|
|
|
|
|
|
=back |
|
688
|
|
|
|
|
|
|
|
|
689
|
|
|
|
|
|
|
=item 4. |
|
690
|
|
|
|
|
|
|
|
|
691
|
|
|
|
|
|
|
Review the response to the C<UpdateDistribution> request to confirm |
|
692
|
|
|
|
|
|
|
that the configuration was successfully updated. |
|
693
|
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
=item 5. |
|
695
|
|
|
|
|
|
|
|
|
696
|
|
|
|
|
|
|
Optional: Submit a GetDistribution request to confirm that your changes |
|
697
|
|
|
|
|
|
|
have propagated. When propagation is complete, the value of C<Status> |
|
698
|
|
|
|
|
|
|
is C<Deployed>. |
|
699
|
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
Beginning with the 2012-05-05 version of the CloudFront API, we made |
|
701
|
|
|
|
|
|
|
substantial changes to the format of the XML document that you include |
|
702
|
|
|
|
|
|
|
in the request body when you create or update a distribution. With |
|
703
|
|
|
|
|
|
|
previous versions of the API, we discovered that it was too easy to |
|
704
|
|
|
|
|
|
|
accidentally delete one or more values for an element that accepts |
|
705
|
|
|
|
|
|
|
multiple values, for example, CNAMEs and trusted signers. Our changes |
|
706
|
|
|
|
|
|
|
for the 2012-05-05 release are intended to prevent these accidental |
|
707
|
|
|
|
|
|
|
deletions and to notify you when there's a mismatch between the number |
|
708
|
|
|
|
|
|
|
of values you say you're specifying in the C<Quantity> element and the |
|
709
|
|
|
|
|
|
|
number of values you're actually specifying. |
|
710
|
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
=back |
|
712
|
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
|
|
714
|
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
=head2 UpdateStreamingDistribution(Id => Str, StreamingDistributionConfig => L<Paws::CloudFront::StreamingDistributionConfig>, [IfMatch => Str]) |
|
716
|
|
|
|
|
|
|
|
|
717
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFront::UpdateStreamingDistribution> |
|
718
|
|
|
|
|
|
|
|
|
719
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFront::UpdateStreamingDistributionResult> instance |
|
720
|
|
|
|
|
|
|
|
|
721
|
|
|
|
|
|
|
Update a streaming distribution. |
|
722
|
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
|
|
725
|
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
=head1 PAGINATORS |
|
727
|
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
|
729
|
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
=head2 ListAllCloudFrontOriginAccessIdentities(sub { },[Marker => Str, MaxItems => Str]) |
|
731
|
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
=head2 ListAllCloudFrontOriginAccessIdentities([Marker => Str, MaxItems => Str]) |
|
733
|
|
|
|
|
|
|
|
|
734
|
|
|
|
|
|
|
|
|
735
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
|
736
|
|
|
|
|
|
|
|
|
737
|
|
|
|
|
|
|
- CloudFrontOriginAccessIdentityList.Items, passing the object as the first parameter, and the string 'CloudFrontOriginAccessIdentityList.Items' as the second parameter |
|
738
|
|
|
|
|
|
|
|
|
739
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFront::ListCloudFrontOriginAccessIdentitiesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
|
740
|
|
|
|
|
|
|
|
|
741
|
|
|
|
|
|
|
|
|
742
|
|
|
|
|
|
|
=head2 ListAllDistributions(sub { },[Marker => Str, MaxItems => Str]) |
|
743
|
|
|
|
|
|
|
|
|
744
|
|
|
|
|
|
|
=head2 ListAllDistributions([Marker => Str, MaxItems => Str]) |
|
745
|
|
|
|
|
|
|
|
|
746
|
|
|
|
|
|
|
|
|
747
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
|
748
|
|
|
|
|
|
|
|
|
749
|
|
|
|
|
|
|
- DistributionList.Items, passing the object as the first parameter, and the string 'DistributionList.Items' as the second parameter |
|
750
|
|
|
|
|
|
|
|
|
751
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFront::ListDistributionsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
|
752
|
|
|
|
|
|
|
|
|
753
|
|
|
|
|
|
|
|
|
754
|
|
|
|
|
|
|
=head2 ListAllInvalidations(sub { },DistributionId => Str, [Marker => Str, MaxItems => Str]) |
|
755
|
|
|
|
|
|
|
|
|
756
|
|
|
|
|
|
|
=head2 ListAllInvalidations(DistributionId => Str, [Marker => Str, MaxItems => Str]) |
|
757
|
|
|
|
|
|
|
|
|
758
|
|
|
|
|
|
|
|
|
759
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
|
760
|
|
|
|
|
|
|
|
|
761
|
|
|
|
|
|
|
- InvalidationList.Items, passing the object as the first parameter, and the string 'InvalidationList.Items' as the second parameter |
|
762
|
|
|
|
|
|
|
|
|
763
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFront::ListInvalidationsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
|
764
|
|
|
|
|
|
|
|
|
765
|
|
|
|
|
|
|
|
|
766
|
|
|
|
|
|
|
=head2 ListAllStreamingDistributions(sub { },[Marker => Str, MaxItems => Str]) |
|
767
|
|
|
|
|
|
|
|
|
768
|
|
|
|
|
|
|
=head2 ListAllStreamingDistributions([Marker => Str, MaxItems => Str]) |
|
769
|
|
|
|
|
|
|
|
|
770
|
|
|
|
|
|
|
|
|
771
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
|
772
|
|
|
|
|
|
|
|
|
773
|
|
|
|
|
|
|
- StreamingDistributionList.Items, passing the object as the first parameter, and the string 'StreamingDistributionList.Items' as the second parameter |
|
774
|
|
|
|
|
|
|
|
|
775
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFront::ListStreamingDistributionsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
|
776
|
|
|
|
|
|
|
|
|
777
|
|
|
|
|
|
|
|
|
778
|
|
|
|
|
|
|
|
|
779
|
|
|
|
|
|
|
|
|
780
|
|
|
|
|
|
|
|
|
781
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
782
|
|
|
|
|
|
|
|
|
783
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
|
784
|
|
|
|
|
|
|
|
|
785
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
786
|
|
|
|
|
|
|
|
|
787
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
788
|
|
|
|
|
|
|
|
|
789
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
790
|
|
|
|
|
|
|
|
|
791
|
|
|
|
|
|
|
=cut |
|
792
|
|
|
|
|
|
|
|