Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15
Class AmazonCloudFrontAsyncClient

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

Deprecated. The Amazon CloudFront client in this namespace uses an older API version. This client is available to help customers as they migrate to the new API version.

@Deprecated
public class AmazonCloudFrontAsyncClient
extends AmazonCloudFrontClient
implements AmazonCloudFrontAsync

Client for accessing AmazonCloudFront. All calls made using this client are non-blocking and will immediately return a Java Future. Callers must use the Future object to determine when the service call has actually completed.


Constructor Summary
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
          Deprecated. Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials.
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Deprecated. 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)
          Deprecated. Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and executor service.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Deprecated. Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider.
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Deprecated. 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)
          Deprecated. Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and executor service.
 
Method Summary
 Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Create a new origin access identity.
 Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest)
          Deprecated.  Create a new distribution.
 Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest)
          Deprecated.  Create a new invalidation.
 Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest)
          Deprecated.  Create a new streaming distribution.
 Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Delete an origin access identity.
 Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest)
          Deprecated.  Delete a distribution.
 Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
          Deprecated.  Delete a streaming distribution.
 Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Get the information about an origin access identity.
 Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
          Deprecated.  Get the configuration information about an origin access identity.
 Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest)
          Deprecated.  Get the information about a distribution.
 Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest)
          Deprecated.  Get the configuration information about a distribution.
 ExecutorService getExecutorService()
          Deprecated. Returns the executor service used by this async client to execute requests.
 Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest)
          Deprecated.  Get the information about an invalidation.
 Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest)
          Deprecated.  Get the information about a streaming distribution.
 Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
          Deprecated.  Get the configuration information about a streaming distribution.
 Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
          Deprecated.  List origin access identities.
 Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest)
          Deprecated.  List distributions.
 Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest)
          Deprecated.  List invalidation batches.
 Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
          Deprecated.  List streaming distributions.
 void shutdown()
          Deprecated. Shuts down the client, releasing all managed resources.
 Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Update an origin access identity.
 Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest)
          Deprecated.  Update a distribution.
 Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
          Deprecated.  Update a streaming distribution.
 
Methods inherited from class com.amazonaws.services.cloudfront_2012_03_15.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_2012_03_15.AmazonCloudFront
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listInvalidations, listStreamingDistributions, setEndpoint, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
 

Constructor Detail

AmazonCloudFrontAsyncClient

public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Deprecated. 
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)
Deprecated. 
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)
Deprecated. 
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)
Deprecated. 
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)
Deprecated. 
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,
                                   ExecutorService executorService)
Deprecated. 
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()
Deprecated. 
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()
Deprecated. 
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

deleteCloudFrontOriginAccessIdentityAsync

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

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.

getStreamingDistributionConfigAsync

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

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.

getInvalidationAsync

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

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.

deleteStreamingDistributionAsync

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

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.

createStreamingDistributionAsync

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

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.

createDistributionAsync

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

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.

deleteDistributionAsync

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

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.

updateDistributionAsync

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

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.

updateStreamingDistributionAsync

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

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.

createCloudFrontOriginAccessIdentityAsync

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

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.

getDistributionAsync

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

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.

getCloudFrontOriginAccessIdentityConfigAsync

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

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.

getStreamingDistributionAsync

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

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.

listDistributionsAsync

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

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.

updateCloudFrontOriginAccessIdentityAsync

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

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.

getDistributionConfigAsync

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

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.

getCloudFrontOriginAccessIdentityAsync

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

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.

createInvalidationAsync

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

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.

listCloudFrontOriginAccessIdentitiesAsync

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

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.

listStreamingDistributionsAsync

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

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.

listInvalidationsAsync

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

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.


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