@ThreadSafe public class AmazonCloudFrontAsyncClient extends AmazonCloudFrontClient implements AmazonCloudFrontAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.configFactory, exceptionUnmarshallersclient, 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, updateStreamingDistributionaddRequestHandler, 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, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listDistributionsByWebACLId, listInvalidations, listStreamingDistributions, setEndpoint, setRegion, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistributionpublic 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)
AmazonCloudFrontAsynccreateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new origin access identity.public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsynccreateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynccreateDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new distribution.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
AmazonCloudFrontAsynccreateDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynccreateInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to create an invalidation.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest request, AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler)
AmazonCloudFrontAsynccreateInvalidationAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynccreateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new streaming distribution.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest request, AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsynccreateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncdeleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to delete a origin access identity.public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request, AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,Void> asyncHandler)
AmazonCloudFrontAsyncdeleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncdeleteDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to delete a distribution.public Future<Void> deleteDistributionAsync(DeleteDistributionRequest request, AsyncHandler<DeleteDistributionRequest,Void> asyncHandler)
AmazonCloudFrontAsyncdeleteDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncdeleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to delete a streaming distribution.public Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request, AsyncHandler<DeleteStreamingDistributionRequest,Void> asyncHandler)
AmazonCloudFrontAsyncdeleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to get an origin access identity's information.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncrequest - The request to get an origin access identity's configuration.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler)
AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution's information.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest request, AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler)
AmazonCloudFrontAsyncgetDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution configuration.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest request, AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsyncgetDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to get an invalidation's information.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest request, AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler)
AmazonCloudFrontAsyncgetInvalidationAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a streaming distribution's information.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest request, AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncgetStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncgetStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - To request to get a streaming distribution configuration.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request, AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsyncgetStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsyncrequest - The request to list origin access identities.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request, AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler)
AmazonCloudFrontAsynclistCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your distributions.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest request, AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler)
AmazonCloudFrontAsynclistDistributionsAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistDistributionsByWebACLIdAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistDistributionsByWebACLIdAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistInvalidationsAsync in interface AmazonCloudFrontAsyncrequest - The request to list invalidations.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest request, AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler)
AmazonCloudFrontAsynclistInvalidationsAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsynclistStreamingDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your streaming distributions.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest request, AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler)
AmazonCloudFrontAsynclistStreamingDistributionsAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncupdateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to update an origin access identity.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncupdateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncupdateDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a distribution.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
AmazonCloudFrontAsyncupdateDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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)
AmazonCloudFrontAsyncupdateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a streaming distribution.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest request, AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncupdateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - 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 AmazonCloudFrontshutdown in class AmazonWebServiceClientCopyright © 2017. All rights reserved.