Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.cloudfront;
  
  
Interface for accessing AmazonCloudFront asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler.
  
  public interface AmazonCloudFrontAsync extends AmazonCloudFront {
    

Delete a distribution.

Parameters:
deleteDistributionRequest Container for the necessary parameters to execute the DeleteDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
  
      public Future<VoiddeleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest
              throws AmazonServiceExceptionAmazonClientException;

    

Delete a distribution.

Parameters:
deleteDistributionRequest Container for the necessary parameters to execute the DeleteDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
  
      public Future<VoiddeleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest,
              AsyncHandler<DeleteDistributionRequestVoidasyncHandler)
                      throws AmazonServiceExceptionAmazonClientException;

    

Update a distribution.

Parameters:
updateDistributionRequest Container for the necessary parameters to execute the UpdateDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Update a distribution.

Parameters:
updateDistributionRequest Container for the necessary parameters to execute the UpdateDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<UpdateDistributionRequestUpdateDistributionResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

List invalidation batches.

Parameters:
listInvalidationsRequest Container for the necessary parameters to execute the ListInvalidations operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListInvalidations service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<ListInvalidationsResultlistInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest
             throws AmazonServiceExceptionAmazonClientException;

    

List invalidation batches.

Parameters:
listInvalidationsRequest Container for the necessary parameters to execute the ListInvalidations operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListInvalidations service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<ListInvalidationsRequestListInvalidationsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Update a streaming distribution.

Parameters:
updateStreamingDistributionRequest Container for the necessary parameters to execute the UpdateStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Update a streaming distribution.

Parameters:
updateStreamingDistributionRequest Container for the necessary parameters to execute the UpdateStreamingDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the information about a streaming distribution.

Parameters:
getStreamingDistributionRequest Container for the necessary parameters to execute the GetStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Get the information about a streaming distribution.

Parameters:
getStreamingDistributionRequest Container for the necessary parameters to execute the GetStreamingDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Delete a streaming distribution.

Parameters:
deleteStreamingDistributionRequest Container for the necessary parameters to execute the DeleteStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Delete a streaming distribution.

Parameters:
deleteStreamingDistributionRequest Container for the necessary parameters to execute the DeleteStreamingDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
             AsyncHandler<DeleteStreamingDistributionRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Get the information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Create a new origin access identity.

Parameters:
createCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Create a new origin access identity.

Parameters:
createCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about a distribution.

Parameters:
getDistributionConfigRequest Container for the necessary parameters to execute the GetDistributionConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about a distribution.

Parameters:
getDistributionConfigRequest Container for the necessary parameters to execute the GetDistributionConfig operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Update an origin access identity.

Parameters:
updateCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Update an origin access identity.

Parameters:
updateCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Create a new distribution.

Parameters:
createDistributionRequest Container for the necessary parameters to execute the CreateDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Create a new distribution.

Parameters:
createDistributionRequest Container for the necessary parameters to execute the CreateDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<CreateDistributionRequestCreateDistributionResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

List origin access identities.

Parameters:
listCloudFrontOriginAccessIdentitiesRequest Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListCloudFrontOriginAccessIdentities service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

List origin access identities.

Parameters:
listCloudFrontOriginAccessIdentitiesRequest Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListCloudFrontOriginAccessIdentities service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about a streaming distribution.

Parameters:
getStreamingDistributionConfigRequest Container for the necessary parameters to execute the GetStreamingDistributionConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetStreamingDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about a streaming distribution.

Parameters:
getStreamingDistributionConfigRequest Container for the necessary parameters to execute the GetStreamingDistributionConfig operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetStreamingDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityConfigRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Get the configuration information about an origin access identity.

Parameters:
getCloudFrontOriginAccessIdentityConfigRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
                     throws AmazonServiceExceptionAmazonClientException;

    

Create a new invalidation.

Parameters:
createInvalidationRequest Container for the necessary parameters to execute the CreateInvalidation operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateInvalidation service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Create a new invalidation.

Parameters:
createInvalidationRequest Container for the necessary parameters to execute the CreateInvalidation operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateInvalidation service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<CreateInvalidationRequestCreateInvalidationResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Delete an origin access identity.

Parameters:
deleteCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Delete an origin access identity.

Parameters:
deleteCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest,
             AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

List distributions.

Parameters:
listDistributionsRequest Container for the necessary parameters to execute the ListDistributions operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListDistributions service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<ListDistributionsResultlistDistributionsAsync(ListDistributionsRequest listDistributionsRequest
             throws AmazonServiceExceptionAmazonClientException;

    

List distributions.

Parameters:
listDistributionsRequest Container for the necessary parameters to execute the ListDistributions operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListDistributions service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<ListDistributionsRequestListDistributionsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Get the information about an invalidation.

Parameters:
getInvalidationRequest Container for the necessary parameters to execute the GetInvalidation operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetInvalidation service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<GetInvalidationResultgetInvalidationAsync(GetInvalidationRequest getInvalidationRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Get the information about an invalidation.

Parameters:
getInvalidationRequest Container for the necessary parameters to execute the GetInvalidation operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetInvalidation service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
 
     public Future<GetInvalidationResultgetInvalidationAsync(GetInvalidationRequest getInvalidationRequest,
             AsyncHandler<GetInvalidationRequestGetInvalidationResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

List streaming distributions.

Parameters:
listStreamingDistributionsRequest Container for the necessary parameters to execute the ListStreamingDistributions operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the ListStreamingDistributions service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

List streaming distributions.

Parameters:
listStreamingDistributionsRequest Container for the necessary parameters to execute the ListStreamingDistributions operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListStreamingDistributions service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Get the information about a distribution.

Parameters:
getDistributionRequest Container for the necessary parameters to execute the GetDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the GetDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Get the information about a distribution.

Parameters:
getDistributionRequest Container for the necessary parameters to execute the GetDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<GetDistributionRequestGetDistributionResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Create a new streaming distribution.

Parameters:
createStreamingDistributionRequest Container for the necessary parameters to execute the CreateStreamingDistribution operation on AmazonCloudFront.
Returns:
A Java Future object containing the response from the CreateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Create a new streaming distribution.

Parameters:
createStreamingDistributionRequest Container for the necessary parameters to execute the CreateStreamingDistribution operation on AmazonCloudFront.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonCloudFront indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;
}
        
New to GrepCode? Check out our FAQ X