Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront
Class AmazonCloudFrontAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.cloudfront.AmazonCloudFrontClient
          extended by com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient
All Implemented Interfaces:
AmazonCloudFront, AmazonCloudFrontAsync

public class AmazonCloudFrontAsyncClient
extends AmazonCloudFrontClient
implements AmazonCloudFrontAsync

Asynchronous client for accessing AmazonCloudFront. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread.


Constructor Summary
AmazonCloudFrontAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront.
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials.
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials, executor service, and client configuration options.
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and executor service.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and client configuration options.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider, executor service, and client configuration options.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and executor service.
AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonCloudFront.
 
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.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 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.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 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 class com.amazonaws.services.cloudfront.AmazonCloudFrontClient
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listInvalidations, listStreamingDistributions, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
 

Constructor Detail

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonCloudFront (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
                                   ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
                                   ClientConfiguration clientConfiguration,
                                   ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                   ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                   ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                   ClientConfiguration clientConfiguration,
                                   ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AmazonCloudFront
Overrides:
shutdown in class AmazonWebServiceClient

createInvalidationAsync

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

Create a new invalidation.

Specified by:
createInvalidationAsync in interface AmazonCloudFrontAsync
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

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

Create a new invalidation.

Specified by:
createInvalidationAsync in interface AmazonCloudFrontAsync
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

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

List origin access identities.

Specified by:
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsync
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

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

List origin access identities.

Specified by:
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsync
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

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

Update an origin access identity.

Specified by:
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Update an origin access identity.

Specified by:
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Get the information about a streaming distribution.

Specified by:
getStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the information about a streaming distribution.

Specified by:
getStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Delete a distribution.

Specified by:
deleteDistributionAsync in interface AmazonCloudFrontAsync
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

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

Delete a distribution.

Specified by:
deleteDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about a distribution.

Specified by:
getDistributionConfigAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about a distribution.

Specified by:
getDistributionConfigAsync in interface AmazonCloudFrontAsync
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

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

Update a distribution.

Specified by:
updateDistributionAsync in interface AmazonCloudFrontAsync
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

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

Update a distribution.

Specified by:
updateDistributionAsync in interface AmazonCloudFrontAsync
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

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

Create a new distribution.

Specified by:
createDistributionAsync in interface AmazonCloudFrontAsync
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

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

Create a new distribution.

Specified by:
createDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsync
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

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

List invalidation batches.

Specified by:
listInvalidationsAsync in interface AmazonCloudFrontAsync
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

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

List invalidation batches.

Specified by:
listInvalidationsAsync in interface AmazonCloudFrontAsync
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

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

List distributions.

Specified by:
listDistributionsAsync in interface AmazonCloudFrontAsync
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

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

List distributions.

Specified by:
listDistributionsAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about a streaming distribution.

Specified by:
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsync
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

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

Get the configuration information about a streaming distribution.

Specified by:
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsync
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

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

Get the information about a distribution.

Specified by:
getDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the information about a distribution.

Specified by:
getDistributionAsync in interface AmazonCloudFrontAsync
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

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

Delete a streaming distribution.

Specified by:
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Delete a streaming distribution.

Specified by:
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Create a new origin access identity.

Specified by:
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Create a new origin access identity.

Specified by:
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

List streaming distributions.

Specified by:
listStreamingDistributionsAsync in interface AmazonCloudFrontAsync
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

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

List streaming distributions.

Specified by:
listStreamingDistributionsAsync in interface AmazonCloudFrontAsync
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

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

Delete an origin access identity.

Specified by:
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Delete an origin access identity.

Specified by:
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Update a streaming distribution.

Specified by:
updateStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Update a streaming distribution.

Specified by:
updateStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the information about an invalidation.

Specified by:
getInvalidationAsync in interface AmazonCloudFrontAsync
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

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

Get the information about an invalidation.

Specified by:
getInvalidationAsync in interface AmazonCloudFrontAsync
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

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

Create a new streaming distribution.

Specified by:
createStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Create a new streaming distribution.

Specified by:
createStreamingDistributionAsync in interface AmazonCloudFrontAsync
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

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

Get the information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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

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

Get the information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsync
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.