forked from aws/aws-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAmazonCloudFrontAsync.java
More file actions
705 lines (658 loc) · 35.1 KB
/
AmazonCloudFrontAsync.java
File metadata and controls
705 lines (658 loc) · 35.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.cloudfront;
import com.amazonaws.services.cloudfront.model.*;
/**
* Interface for accessing CloudFront asynchronously. Each asynchronous method
* will return a Java Future object representing the asynchronous operation;
* overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*/
public interface AmazonCloudFrontAsync extends AmazonCloudFront {
/**
* Create a new origin access identity.
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity.
* @return A Java Future containing the result of the
* CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest);
/**
* Create a new origin access identity.
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest, CreateCloudFrontOriginAccessIdentityResult> asyncHandler);
/**
* Create a new distribution.
*
* @param createDistributionRequest
* The request to create a new distribution.
* @return A Java Future containing the result of the CreateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateDistribution
*/
java.util.concurrent.Future<CreateDistributionResult> createDistributionAsync(
CreateDistributionRequest createDistributionRequest);
/**
* Create a new distribution.
*
* @param createDistributionRequest
* The request to create a new distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateDistribution
*/
java.util.concurrent.Future<CreateDistributionResult> createDistributionAsync(
CreateDistributionRequest createDistributionRequest,
com.amazonaws.handlers.AsyncHandler<CreateDistributionRequest, CreateDistributionResult> asyncHandler);
/**
* Create a new invalidation.
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @return A Java Future containing the result of the CreateInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateInvalidation
*/
java.util.concurrent.Future<CreateInvalidationResult> createInvalidationAsync(
CreateInvalidationRequest createInvalidationRequest);
/**
* Create a new invalidation.
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateInvalidation
*/
java.util.concurrent.Future<CreateInvalidationResult> createInvalidationAsync(
CreateInvalidationRequest createInvalidationRequest,
com.amazonaws.handlers.AsyncHandler<CreateInvalidationRequest, CreateInvalidationResult> asyncHandler);
/**
* Create a new streaming distribution.
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @return A Java Future containing the result of the
* CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateStreamingDistribution
*/
java.util.concurrent.Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest);
/**
* Create a new streaming distribution.
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateStreamingDistribution
*/
java.util.concurrent.Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler<CreateStreamingDistributionRequest, CreateStreamingDistributionResult> asyncHandler);
/**
* Delete an origin access identity.
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* The request to delete a origin access identity.
* @return A Java Future containing the result of the
* DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.DeleteCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<DeleteCloudFrontOriginAccessIdentityResult> deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest);
/**
* Delete an origin access identity.
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* The request to delete a origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.DeleteCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<DeleteCloudFrontOriginAccessIdentityResult> deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest, DeleteCloudFrontOriginAccessIdentityResult> asyncHandler);
/**
* Delete a distribution.
*
* @param deleteDistributionRequest
* The request to delete a distribution.
* @return A Java Future containing the result of the DeleteDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteDistribution
*/
java.util.concurrent.Future<DeleteDistributionResult> deleteDistributionAsync(
DeleteDistributionRequest deleteDistributionRequest);
/**
* Delete a distribution.
*
* @param deleteDistributionRequest
* The request to delete a distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteDistribution
*/
java.util.concurrent.Future<DeleteDistributionResult> deleteDistributionAsync(
DeleteDistributionRequest deleteDistributionRequest,
com.amazonaws.handlers.AsyncHandler<DeleteDistributionRequest, DeleteDistributionResult> asyncHandler);
/**
* Delete a streaming distribution.
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @return A Java Future containing the result of the
* DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteStreamingDistribution
*/
java.util.concurrent.Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest);
/**
* Delete a streaming distribution.
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteStreamingDistribution
*/
java.util.concurrent.Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler<DeleteStreamingDistributionRequest, DeleteStreamingDistributionResult> asyncHandler);
/**
* Get the information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest);
/**
* Get the information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler<GetCloudFrontOriginAccessIdentityRequest, GetCloudFrontOriginAccessIdentityResult> asyncHandler);
/**
* Get the configuration information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The request to get an origin access identity's configuration.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentityConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentityConfig
*/
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest);
/**
* Get the configuration information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The request to get an origin access identity's configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentityConfig operation returned by the
* service.
* @sample
* AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentityConfig
*/
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest,
com.amazonaws.handlers.AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest, GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler);
/**
* Get the information about a distribution.
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @return A Java Future containing the result of the GetDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistribution
*/
java.util.concurrent.Future<GetDistributionResult> getDistributionAsync(
GetDistributionRequest getDistributionRequest);
/**
* Get the information about a distribution.
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistribution
*/
java.util.concurrent.Future<GetDistributionResult> getDistributionAsync(
GetDistributionRequest getDistributionRequest,
com.amazonaws.handlers.AsyncHandler<GetDistributionRequest, GetDistributionResult> asyncHandler);
/**
* Get the configuration information about a distribution.
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @return A Java Future containing the result of the GetDistributionConfig
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistributionConfig
*/
java.util.concurrent.Future<GetDistributionConfigResult> getDistributionConfigAsync(
GetDistributionConfigRequest getDistributionConfigRequest);
/**
* Get the configuration information about a distribution.
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetDistributionConfig
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistributionConfig
*/
java.util.concurrent.Future<GetDistributionConfigResult> getDistributionConfigAsync(
GetDistributionConfigRequest getDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler<GetDistributionConfigRequest, GetDistributionConfigResult> asyncHandler);
/**
* Get the information about an invalidation.
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @return A Java Future containing the result of the GetInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetInvalidation
*/
java.util.concurrent.Future<GetInvalidationResult> getInvalidationAsync(
GetInvalidationRequest getInvalidationRequest);
/**
* Get the information about an invalidation.
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetInvalidation
*/
java.util.concurrent.Future<GetInvalidationResult> getInvalidationAsync(
GetInvalidationRequest getInvalidationRequest,
com.amazonaws.handlers.AsyncHandler<GetInvalidationRequest, GetInvalidationResult> asyncHandler);
/**
* Get the information about a streaming distribution.
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @return A Java Future containing the result of the
* GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.GetStreamingDistribution
*/
java.util.concurrent.Future<GetStreamingDistributionResult> getStreamingDistributionAsync(
GetStreamingDistributionRequest getStreamingDistributionRequest);
/**
* Get the information about a streaming distribution.
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistribution
*/
java.util.concurrent.Future<GetStreamingDistributionResult> getStreamingDistributionAsync(
GetStreamingDistributionRequest getStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler<GetStreamingDistributionRequest, GetStreamingDistributionResult> asyncHandler);
/**
* Get the configuration information about a streaming distribution.
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @return A Java Future containing the result of the
* GetStreamingDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsync.GetStreamingDistributionConfig
*/
java.util.concurrent.Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest);
/**
* Get the configuration information about a streaming distribution.
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetStreamingDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistributionConfig
*/
java.util.concurrent.Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler<GetStreamingDistributionConfigRequest, GetStreamingDistributionConfigResult> asyncHandler);
/**
* List origin access identities.
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @return A Java Future containing the result of the
* ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsync.ListCloudFrontOriginAccessIdentities
*/
java.util.concurrent.Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest);
/**
* List origin access identities.
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.ListCloudFrontOriginAccessIdentities
*/
java.util.concurrent.Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest,
com.amazonaws.handlers.AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest, ListCloudFrontOriginAccessIdentitiesResult> asyncHandler);
/**
* List distributions.
*
* @param listDistributionsRequest
* The request to list your distributions.
* @return A Java Future containing the result of the ListDistributions
* operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributions
*/
java.util.concurrent.Future<ListDistributionsResult> listDistributionsAsync(
ListDistributionsRequest listDistributionsRequest);
/**
* List distributions.
*
* @param listDistributionsRequest
* The request to list your distributions.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListDistributions
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributions
*/
java.util.concurrent.Future<ListDistributionsResult> listDistributionsAsync(
ListDistributionsRequest listDistributionsRequest,
com.amazonaws.handlers.AsyncHandler<ListDistributionsRequest, ListDistributionsResult> asyncHandler);
/**
* List the distributions that are associated with a specified AWS WAF web
* ACL.
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a
* specified AWS WAF web ACL.
* @return A Java Future containing the result of the
* ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributionsByWebACLId
*/
java.util.concurrent.Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest);
/**
* List the distributions that are associated with a specified AWS WAF web
* ACL.
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a
* specified AWS WAF web ACL.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributionsByWebACLId
*/
java.util.concurrent.Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest,
com.amazonaws.handlers.AsyncHandler<ListDistributionsByWebACLIdRequest, ListDistributionsByWebACLIdResult> asyncHandler);
/**
* List invalidation batches.
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @return A Java Future containing the result of the ListInvalidations
* operation returned by the service.
* @sample AmazonCloudFrontAsync.ListInvalidations
*/
java.util.concurrent.Future<ListInvalidationsResult> listInvalidationsAsync(
ListInvalidationsRequest listInvalidationsRequest);
/**
* List invalidation batches.
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListInvalidations
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListInvalidations
*/
java.util.concurrent.Future<ListInvalidationsResult> listInvalidationsAsync(
ListInvalidationsRequest listInvalidationsRequest,
com.amazonaws.handlers.AsyncHandler<ListInvalidationsRequest, ListInvalidationsResult> asyncHandler);
/**
* List streaming distributions.
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @return A Java Future containing the result of the
* ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsync.ListStreamingDistributions
*/
java.util.concurrent.Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest);
/**
* List streaming distributions.
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListStreamingDistributions
*/
java.util.concurrent.Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest,
com.amazonaws.handlers.AsyncHandler<ListStreamingDistributionsRequest, ListStreamingDistributionsResult> asyncHandler);
/**
* Update an origin access identity.
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @return A Java Future containing the result of the
* UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.UpdateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest);
/**
* Update an origin access identity.
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.UpdateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest, UpdateCloudFrontOriginAccessIdentityResult> asyncHandler);
/**
* Update a distribution.
*
* @param updateDistributionRequest
* The request to update a distribution.
* @return A Java Future containing the result of the UpdateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateDistribution
*/
java.util.concurrent.Future<UpdateDistributionResult> updateDistributionAsync(
UpdateDistributionRequest updateDistributionRequest);
/**
* Update a distribution.
*
* @param updateDistributionRequest
* The request to update a distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateDistribution
*/
java.util.concurrent.Future<UpdateDistributionResult> updateDistributionAsync(
UpdateDistributionRequest updateDistributionRequest,
com.amazonaws.handlers.AsyncHandler<UpdateDistributionRequest, UpdateDistributionResult> asyncHandler);
/**
* Update a streaming distribution.
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @return A Java Future containing the result of the
* UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateStreamingDistribution
*/
java.util.concurrent.Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest);
/**
* Update a streaming distribution.
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateStreamingDistribution
*/
java.util.concurrent.Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler<UpdateStreamingDistributionRequest, UpdateStreamingDistributionResult> asyncHandler);
}