
com.amazonaws.services.cloudfront.AmazonCloudFrontAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-osgi Show documentation
Show all versions of aws-java-sdk-osgi Show documentation
The AWS SDK for Java with support for OSGi. The AWS SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.cloudfront;
import com.amazonaws.services.cloudfront.model.*;
/**
* Interface for accessing CloudFront asynchronously. Each asynchronous method
* will return a Java Future object representing the asynchronous operation;
* overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*/
public interface AmazonCloudFrontAsync extends AmazonCloudFront {
/**
* Create a new origin access identity.
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity.
* @return A Java Future containing the result of the
* CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest);
/**
* Create a new origin access identity.
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Create a new distribution.
*
* @param createDistributionRequest
* The request to create a new distribution.
* @return A Java Future containing the result of the CreateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateDistribution
*/
java.util.concurrent.Future createDistributionAsync(
CreateDistributionRequest createDistributionRequest);
/**
* Create a new distribution.
*
* @param createDistributionRequest
* The request to create a new distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateDistribution
*/
java.util.concurrent.Future createDistributionAsync(
CreateDistributionRequest createDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Create a new invalidation.
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @return A Java Future containing the result of the CreateInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateInvalidation
*/
java.util.concurrent.Future createInvalidationAsync(
CreateInvalidationRequest createInvalidationRequest);
/**
* Create a new invalidation.
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateInvalidation
*/
java.util.concurrent.Future createInvalidationAsync(
CreateInvalidationRequest createInvalidationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Create a new streaming distribution.
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @return A Java Future containing the result of the
* CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateStreamingDistribution
*/
java.util.concurrent.Future createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest);
/**
* Create a new streaming distribution.
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateStreamingDistribution
*/
java.util.concurrent.Future createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Delete an origin access identity.
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* The request to delete a origin access identity.
* @return A Java Future containing the result of the
* DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.DeleteCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest);
/**
* Delete an origin access identity.
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* The request to delete a origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.DeleteCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Delete a distribution.
*
* @param deleteDistributionRequest
* The request to delete a distribution.
* @return A Java Future containing the result of the DeleteDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteDistribution
*/
java.util.concurrent.Future deleteDistributionAsync(
DeleteDistributionRequest deleteDistributionRequest);
/**
* Delete a distribution.
*
* @param deleteDistributionRequest
* The request to delete a distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteDistribution
*/
java.util.concurrent.Future deleteDistributionAsync(
DeleteDistributionRequest deleteDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Delete a streaming distribution.
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @return A Java Future containing the result of the
* DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteStreamingDistribution
*/
java.util.concurrent.Future deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest);
/**
* Delete a streaming distribution.
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteStreamingDistribution
*/
java.util.concurrent.Future deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest);
/**
* Get the information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the configuration information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The request to get an origin access identity's configuration.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentityConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentityConfig
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest);
/**
* Get the configuration information about an origin access identity.
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The request to get an origin access identity's configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetCloudFrontOriginAccessIdentityConfig operation returned by the
* service.
* @sample
* AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentityConfig
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the information about a distribution.
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @return A Java Future containing the result of the GetDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistribution
*/
java.util.concurrent.Future getDistributionAsync(
GetDistributionRequest getDistributionRequest);
/**
* Get the information about a distribution.
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistribution
*/
java.util.concurrent.Future getDistributionAsync(
GetDistributionRequest getDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the configuration information about a distribution.
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @return A Java Future containing the result of the GetDistributionConfig
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistributionConfig
*/
java.util.concurrent.Future getDistributionConfigAsync(
GetDistributionConfigRequest getDistributionConfigRequest);
/**
* Get the configuration information about a distribution.
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetDistributionConfig
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistributionConfig
*/
java.util.concurrent.Future getDistributionConfigAsync(
GetDistributionConfigRequest getDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the information about an invalidation.
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @return A Java Future containing the result of the GetInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsync.GetInvalidation
*/
java.util.concurrent.Future getInvalidationAsync(
GetInvalidationRequest getInvalidationRequest);
/**
* Get the information about an invalidation.
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetInvalidation
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetInvalidation
*/
java.util.concurrent.Future getInvalidationAsync(
GetInvalidationRequest getInvalidationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the information about a streaming distribution.
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @return A Java Future containing the result of the
* GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.GetStreamingDistribution
*/
java.util.concurrent.Future getStreamingDistributionAsync(
GetStreamingDistributionRequest getStreamingDistributionRequest);
/**
* Get the information about a streaming distribution.
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistribution
*/
java.util.concurrent.Future getStreamingDistributionAsync(
GetStreamingDistributionRequest getStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Get the configuration information about a streaming distribution.
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @return A Java Future containing the result of the
* GetStreamingDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsync.GetStreamingDistributionConfig
*/
java.util.concurrent.Future getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest);
/**
* Get the configuration information about a streaming distribution.
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* GetStreamingDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistributionConfig
*/
java.util.concurrent.Future getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* List origin access identities.
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @return A Java Future containing the result of the
* ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsync.ListCloudFrontOriginAccessIdentities
*/
java.util.concurrent.Future listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest);
/**
* List origin access identities.
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.ListCloudFrontOriginAccessIdentities
*/
java.util.concurrent.Future listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* List distributions.
*
* @param listDistributionsRequest
* The request to list your distributions.
* @return A Java Future containing the result of the ListDistributions
* operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributions
*/
java.util.concurrent.Future listDistributionsAsync(
ListDistributionsRequest listDistributionsRequest);
/**
* List distributions.
*
* @param listDistributionsRequest
* The request to list your distributions.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListDistributions
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributions
*/
java.util.concurrent.Future listDistributionsAsync(
ListDistributionsRequest listDistributionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* List the distributions that are associated with a specified AWS WAF web
* ACL.
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a
* specified AWS WAF web ACL.
* @return A Java Future containing the result of the
* ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributionsByWebACLId
*/
java.util.concurrent.Future listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest);
/**
* List the distributions that are associated with a specified AWS WAF web
* ACL.
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a
* specified AWS WAF web ACL.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributionsByWebACLId
*/
java.util.concurrent.Future listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* List invalidation batches.
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @return A Java Future containing the result of the ListInvalidations
* operation returned by the service.
* @sample AmazonCloudFrontAsync.ListInvalidations
*/
java.util.concurrent.Future listInvalidationsAsync(
ListInvalidationsRequest listInvalidationsRequest);
/**
* List invalidation batches.
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListInvalidations
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListInvalidations
*/
java.util.concurrent.Future listInvalidationsAsync(
ListInvalidationsRequest listInvalidationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* List streaming distributions.
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @return A Java Future containing the result of the
* ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsync.ListStreamingDistributions
*/
java.util.concurrent.Future listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest);
/**
* List streaming distributions.
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListStreamingDistributions
*/
java.util.concurrent.Future listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Update an origin access identity.
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @return A Java Future containing the result of the
* UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.UpdateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest);
/**
* Update an origin access identity.
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.UpdateCloudFrontOriginAccessIdentity
*/
java.util.concurrent.Future updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Update a distribution.
*
* @param updateDistributionRequest
* The request to update a distribution.
* @return A Java Future containing the result of the UpdateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateDistribution
*/
java.util.concurrent.Future updateDistributionAsync(
UpdateDistributionRequest updateDistributionRequest);
/**
* Update a distribution.
*
* @param updateDistributionRequest
* The request to update a distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateDistribution
* operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateDistribution
*/
java.util.concurrent.Future updateDistributionAsync(
UpdateDistributionRequest updateDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Update a streaming distribution.
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @return A Java Future containing the result of the
* UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateStreamingDistribution
*/
java.util.concurrent.Future updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest);
/**
* Update a streaming distribution.
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the
* request. Users can provide an implementation of the callback
* methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the
* UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateStreamingDistribution
*/
java.util.concurrent.Future updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy