@ThreadSafe public class AmazonCloudFrontAsyncClient extends AmazonCloudFrontClient implements AmazonCloudFrontAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.configFactory, exceptionUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonCloudFrontAsyncClient()
Constructs a new asynchronous client to invoke service methods on
CloudFront.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials, executor service,
and client configuration options.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials and executor
service.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials provider.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the provided AWS account credentials provider and client
configuration options.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials provider, executor
service, and client configuration options.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
CloudFront using the specified AWS account credentials provider and
executor service.
|
AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
CloudFront.
|
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listDistributionsByWebACLId, listInvalidations, listStreamingDistributions, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listDistributionsByWebACLId, listInvalidations, listStreamingDistributions, setEndpoint, setRegion, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution
public AmazonCloudFrontAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to CloudFront (ex: proxy settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
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.public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
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.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
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).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
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.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
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.public ExecutorService getExecutorService()
public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsync
createCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new origin access identity.public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsync
createCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new origin access identity.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.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request)
AmazonCloudFrontAsync
createDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new distribution.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
AmazonCloudFrontAsync
createDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new distribution.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.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest request)
AmazonCloudFrontAsync
createInvalidationAsync
in interface AmazonCloudFrontAsync
request
- The request to create an invalidation.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest request, AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler)
AmazonCloudFrontAsync
createInvalidationAsync
in interface AmazonCloudFrontAsync
request
- The request to create an invalidation.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.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest request)
AmazonCloudFrontAsync
createStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new streaming distribution.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest request, AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsync
createStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to create a new streaming distribution.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.public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsync
deleteCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a origin access identity.public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request, AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,Void> asyncHandler)
AmazonCloudFrontAsync
deleteCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a origin access identity.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.public Future<Void> deleteDistributionAsync(DeleteDistributionRequest request)
AmazonCloudFrontAsync
deleteDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a distribution.public Future<Void> deleteDistributionAsync(DeleteDistributionRequest request, AsyncHandler<DeleteDistributionRequest,Void> asyncHandler)
AmazonCloudFrontAsync
deleteDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a distribution.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.public Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request)
AmazonCloudFrontAsync
deleteStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a streaming distribution.public Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request, AsyncHandler<DeleteStreamingDistributionRequest,Void> asyncHandler)
AmazonCloudFrontAsync
deleteStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to delete a streaming distribution.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.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to get an origin access identity's information.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to get an origin access identity's information.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.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request)
AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityConfigAsync
in interface AmazonCloudFrontAsync
request
- The request to get an origin access identity's configuration.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler)
AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityConfigAsync
in interface AmazonCloudFrontAsync
request
- The request to get an origin access identity's configuration.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.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest request)
AmazonCloudFrontAsync
getDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to get a distribution's information.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest request, AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler)
AmazonCloudFrontAsync
getDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to get a distribution's information.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.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest request)
AmazonCloudFrontAsync
getDistributionConfigAsync
in interface AmazonCloudFrontAsync
request
- The request to get a distribution configuration.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest request, AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsync
getDistributionConfigAsync
in interface AmazonCloudFrontAsync
request
- The request to get a distribution configuration.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.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest request)
AmazonCloudFrontAsync
getInvalidationAsync
in interface AmazonCloudFrontAsync
request
- The request to get an invalidation's information.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest request, AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler)
AmazonCloudFrontAsync
getInvalidationAsync
in interface AmazonCloudFrontAsync
request
- The request to get an invalidation's information.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.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest request)
AmazonCloudFrontAsync
getStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to get a streaming distribution's information.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest request, AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsync
getStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to get a streaming distribution's information.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.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request)
AmazonCloudFrontAsync
getStreamingDistributionConfigAsync
in interface AmazonCloudFrontAsync
request
- To request to get a streaming distribution configuration.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request, AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsync
getStreamingDistributionConfigAsync
in interface AmazonCloudFrontAsync
request
- To request to get a streaming distribution configuration.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.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request)
AmazonCloudFrontAsync
listCloudFrontOriginAccessIdentitiesAsync
in interface AmazonCloudFrontAsync
request
- The request to list origin access identities.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request, AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler)
AmazonCloudFrontAsync
listCloudFrontOriginAccessIdentitiesAsync
in interface AmazonCloudFrontAsync
request
- The request to list origin access identities.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.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest request)
AmazonCloudFrontAsync
listDistributionsAsync
in interface AmazonCloudFrontAsync
request
- The request to list your distributions.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest request, AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler)
AmazonCloudFrontAsync
listDistributionsAsync
in interface AmazonCloudFrontAsync
request
- The request to list your distributions.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.public Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request)
AmazonCloudFrontAsync
listDistributionsByWebACLIdAsync
in interface AmazonCloudFrontAsync
request
- The request to list distributions that are associated with a
specified AWS WAF web ACL.public Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request, AsyncHandler<ListDistributionsByWebACLIdRequest,ListDistributionsByWebACLIdResult> asyncHandler)
AmazonCloudFrontAsync
listDistributionsByWebACLIdAsync
in interface AmazonCloudFrontAsync
request
- The request to list distributions that are associated with a
specified AWS WAF web ACL.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.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest request)
AmazonCloudFrontAsync
listInvalidationsAsync
in interface AmazonCloudFrontAsync
request
- The request to list invalidations.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest request, AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler)
AmazonCloudFrontAsync
listInvalidationsAsync
in interface AmazonCloudFrontAsync
request
- The request to list invalidations.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.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest request)
AmazonCloudFrontAsync
listStreamingDistributionsAsync
in interface AmazonCloudFrontAsync
request
- The request to list your streaming distributions.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest request, AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler)
AmazonCloudFrontAsync
listStreamingDistributionsAsync
in interface AmazonCloudFrontAsync
request
- The request to list your streaming distributions.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.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsync
updateCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to update an origin access identity.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsync
updateCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
request
- The request to update an origin access identity.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.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request)
AmazonCloudFrontAsync
updateDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to update a distribution.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
AmazonCloudFrontAsync
updateDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to update a distribution.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.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest request)
AmazonCloudFrontAsync
updateStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to update a streaming distribution.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest request, AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsync
updateStreamingDistributionAsync
in interface AmazonCloudFrontAsync
request
- The request to update a streaming distribution.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.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonCloudFront
shutdown
in class AmazonWebServiceClient
Copyright © 2016. All rights reserved.