Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront
Interface AmazonCloudFrontAsync

All Superinterfaces:
AmazonCloudFront
All Known Implementing Classes:
AmazonCloudFrontAsyncClient

public interface AmazonCloudFrontAsync
extends AmazonCloudFront

Interface for accessing AmazonCloudFront asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler.


Method Summary
 Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
           Create a new origin access identity.
 Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest, AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler)
           Create a new origin access identity.
 Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest)
           Create a new distribution.
 Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
           Create a new distribution.
 Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest)
           Create a new invalidation.
 Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest, AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler)
           Create a new invalidation.
 Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest)
           Create a new streaming distribution.
 Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest, AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler)
           Create a new streaming distribution.
 Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
           Delete an origin access identity.
 Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest, AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,Void> asyncHandler)
           Delete an origin access identity.
 Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest)
           Delete a distribution.
 Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest, AsyncHandler<DeleteDistributionRequest,Void> asyncHandler)
           Delete a distribution.
 Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
           Delete a streaming distribution.
 Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest, AsyncHandler<DeleteStreamingDistributionRequest,Void> asyncHandler)
           Delete a streaming distribution.
 Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
           Get the information about an origin access identity.
 Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest, AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler)
           Get the information about an origin access identity.
 Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
           Get the configuration information about an origin access identity.
 Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest, AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler)
           Get the configuration information about an origin access identity.
 Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest)
           Get the information about a distribution.
 Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest, AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler)
           Get the information about a distribution.
 Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest)
           Get the configuration information about a distribution.
 Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest, AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler)
           Get the configuration information about a distribution.
 Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest)
           Get the information about an invalidation.
 Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest, AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler)
           Get the information about an invalidation.
 Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest)
           Get the information about a streaming distribution.
 Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest, AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler)
           Get the information about a streaming distribution.
 Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
           Get the configuration information about a streaming distribution.
 Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest, AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler)
           Get the configuration information about a streaming distribution.
 Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
           List origin access identities.
 Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest, AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler)
           List origin access identities.
 Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest)
           List distributions.
 Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest, AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler)
           List distributions.
 Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest)
           List invalidation batches.
 Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest, AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler)
           List invalidation batches.
 Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
           List streaming distributions.
 Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest, AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler)
           List streaming distributions.
 Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
           Update an origin access identity.
 Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest, AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler)
           Update an origin access identity.
 Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest)
           Update a distribution.
 Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
           Update a distribution.
 Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
           Update a streaming distribution.
 Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest, AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler)
           Update a streaming distribution.
 
Methods inherited from interface com.amazonaws.services.cloudfront.AmazonCloudFront
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listInvalidations, listStreamingDistributions, setEndpoint, setRegion, shutdown, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
 

Method Detail

createInvalidationAsync

Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Create a new invalidation.

Parameters:
createInvalidationRequest - Container for the necessary parameters to execute the CreateInvalidation operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateInvalidation service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createInvalidationAsync

Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest,
                                                         AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Create a new invalidation.

Parameters:
createInvalidationRequest - Container for the necessary parameters to execute the CreateInvalidation operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateInvalidation service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listCloudFrontOriginAccessIdentitiesAsync

Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

List origin access identities.

Parameters:
listCloudFrontOriginAccessIdentitiesRequest - Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListCloudFrontOriginAccessIdentities service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listCloudFrontOriginAccessIdentitiesAsync

Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest,
                                                                                             AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

List origin access identities.

Parameters:
listCloudFrontOriginAccessIdentitiesRequest - Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListCloudFrontOriginAccessIdentities service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateCloudFrontOriginAccessIdentityAsync

Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Update an origin access identity.

Parameters:
updateCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateCloudFrontOriginAccessIdentityAsync

Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest,
                                                                                             AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Update an origin access identity.

Parameters:
updateCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getStreamingDistributionAsync

Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Get the information about a streaming distribution.

Parameters:
getStreamingDistributionRequest - Container for the necessary parameters to execute the GetStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getStreamingDistributionAsync

Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest,
                                                                     AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Get the information about a streaming distribution.

Parameters:
getStreamingDistributionRequest - Container for the necessary parameters to execute the GetStreamingDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteDistributionAsync

Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Delete a distribution.

Parameters:
deleteDistributionRequest - Container for the necessary parameters to execute the DeleteDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteDistributionAsync

Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest,
                                     AsyncHandler<DeleteDistributionRequest,Void> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

Delete a distribution.

Parameters:
deleteDistributionRequest - Container for the necessary parameters to execute the DeleteDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getDistributionConfigAsync

Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Get the configuration information about a distribution.

Parameters:
getDistributionConfigRequest - Container for the necessary parameters to execute the GetDistributionConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getDistributionConfigAsync

Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest,
                                                               AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Get the configuration information about a distribution.

Parameters:
getDistributionConfigRequest - Container for the necessary parameters to execute the GetDistributionConfig operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateDistributionAsync

Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Update a distribution.

Parameters:
updateDistributionRequest - Container for the necessary parameters to execute the UpdateDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateDistributionAsync

Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest,
                                                         AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Update a distribution.

Parameters:
updateDistributionRequest - Container for the necessary parameters to execute the UpdateDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createDistributionAsync

Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Create a new distribution.

Parameters:
createDistributionRequest - Container for the necessary parameters to execute the CreateDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createDistributionAsync

Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest,
                                                         AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Create a new distribution.

Parameters:
createDistributionRequest - Container for the necessary parameters to execute the CreateDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getCloudFrontOriginAccessIdentityConfigAsync

Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
                                                                                                   throws AmazonServiceException,
                                                                                                          AmazonClientException

Get the configuration information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityConfigRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getCloudFrontOriginAccessIdentityConfigAsync

Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest,
                                                                                                   AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler)
                                                                                                   throws AmazonServiceException,
                                                                                                          AmazonClientException

Get the configuration information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityConfigRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listInvalidationsAsync

Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

List invalidation batches.

Parameters:
listInvalidationsRequest - Container for the necessary parameters to execute the ListInvalidations operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListInvalidations service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listInvalidationsAsync

Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest,
                                                       AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

List invalidation batches.

Parameters:
listInvalidationsRequest - Container for the necessary parameters to execute the ListInvalidations operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListInvalidations service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listDistributionsAsync

Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

List distributions.

Parameters:
listDistributionsRequest - Container for the necessary parameters to execute the ListDistributions operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListDistributions service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listDistributionsAsync

Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest,
                                                       AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

List distributions.

Parameters:
listDistributionsRequest - Container for the necessary parameters to execute the ListDistributions operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListDistributions service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getStreamingDistributionConfigAsync

Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
                                                                                 throws AmazonServiceException,
                                                                                        AmazonClientException

Get the configuration information about a streaming distribution.

Parameters:
getStreamingDistributionConfigRequest - Container for the necessary parameters to execute the GetStreamingDistributionConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetStreamingDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getStreamingDistributionConfigAsync

Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest,
                                                                                 AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler)
                                                                                 throws AmazonServiceException,
                                                                                        AmazonClientException

Get the configuration information about a streaming distribution.

Parameters:
getStreamingDistributionConfigRequest - Container for the necessary parameters to execute the GetStreamingDistributionConfig operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetStreamingDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getDistributionAsync

Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Get the information about a distribution.

Parameters:
getDistributionRequest - Container for the necessary parameters to execute the GetDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getDistributionAsync

Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest,
                                                   AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Get the information about a distribution.

Parameters:
getDistributionRequest - Container for the necessary parameters to execute the GetDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteStreamingDistributionAsync

Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
                                              throws AmazonServiceException,
                                                     AmazonClientException

Delete a streaming distribution.

Parameters:
deleteStreamingDistributionRequest - Container for the necessary parameters to execute the DeleteStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteStreamingDistributionAsync

Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
                                              AsyncHandler<DeleteStreamingDistributionRequest,Void> asyncHandler)
                                              throws AmazonServiceException,
                                                     AmazonClientException

Delete a streaming distribution.

Parameters:
deleteStreamingDistributionRequest - Container for the necessary parameters to execute the DeleteStreamingDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createCloudFrontOriginAccessIdentityAsync

Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Create a new origin access identity.

Parameters:
createCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createCloudFrontOriginAccessIdentityAsync

Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest,
                                                                                             AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Create a new origin access identity.

Parameters:
createCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listStreamingDistributionsAsync

Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

List streaming distributions.

Parameters:
listStreamingDistributionsRequest - Container for the necessary parameters to execute the ListStreamingDistributions operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListStreamingDistributions service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

listStreamingDistributionsAsync

Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest,
                                                                         AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

List streaming distributions.

Parameters:
listStreamingDistributionsRequest - Container for the necessary parameters to execute the ListStreamingDistributions operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListStreamingDistributions service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteCloudFrontOriginAccessIdentityAsync

Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Delete an origin access identity.

Parameters:
deleteCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

deleteCloudFrontOriginAccessIdentityAsync

Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest,
                                                       AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,Void> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Delete an origin access identity.

Parameters:
deleteCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateStreamingDistributionAsync

Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Update a streaming distribution.

Parameters:
updateStreamingDistributionRequest - Container for the necessary parameters to execute the UpdateStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

updateStreamingDistributionAsync

Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest,
                                                                           AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Update a streaming distribution.

Parameters:
updateStreamingDistributionRequest - Container for the necessary parameters to execute the UpdateStreamingDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getInvalidationAsync

Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Get the information about an invalidation.

Parameters:
getInvalidationRequest - Container for the necessary parameters to execute the GetInvalidation operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetInvalidation service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getInvalidationAsync

Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest,
                                                   AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Get the information about an invalidation.

Parameters:
getInvalidationRequest - Container for the necessary parameters to execute the GetInvalidation operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetInvalidation service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createStreamingDistributionAsync

Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Create a new streaming distribution.

Parameters:
createStreamingDistributionRequest - Container for the necessary parameters to execute the CreateStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

createStreamingDistributionAsync

Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest,
                                                                           AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Create a new streaming distribution.

Parameters:
createStreamingDistributionRequest - Container for the necessary parameters to execute the CreateStreamingDistribution operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getCloudFrontOriginAccessIdentityAsync

Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
                                                                                       throws AmazonServiceException,
                                                                                              AmazonClientException

Get the information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.

getCloudFrontOriginAccessIdentityAsync

Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest,
                                                                                       AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler)
                                                                                       throws AmazonServiceException,
                                                                                              AmazonClientException

Get the information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.