public class AmazonCloudFrontAsyncClient extends AmazonCloudFrontClient implements AmazonCloudFrontAsync
exceptionUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AmazonCloudFrontAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials
and executor service.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials provider.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified 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
AmazonCloudFront 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
AmazonCloudFront using the specified AWS account credentials provider
and executor service.
|
AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront.
|
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, 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, 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, listInvalidations, listStreamingDistributions, setEndpoint, setRegion, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistributionpublic AmazonCloudFrontAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonCloudFrontAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonCloudFront
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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).public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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 void shutdown()
shutdown in interface AmazonCloudFrontshutdown in class AmazonWebServiceClientpublic Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a streaming distribution.
getStreamingDistributionAsync in interface AmazonCloudFrontAsyncgetStreamingDistributionRequest - Container for the necessary
parameters to execute the GetStreamingDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest, AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the information about a streaming distribution.
getStreamingDistributionAsync in interface AmazonCloudFrontAsyncgetStreamingDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new streaming distribution.
createStreamingDistributionAsync in interface AmazonCloudFrontAsynccreateStreamingDistributionRequest - Container for the necessary
parameters to execute the CreateStreamingDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest, AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Create a new streaming distribution.
createStreamingDistributionAsync in interface AmazonCloudFrontAsynccreateStreamingDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsynccreateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest, AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsynccreateCloudFrontOriginAccessIdentityRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncgetStreamingDistributionConfigRequest - Container for the
necessary parameters to execute the GetStreamingDistributionConfig
operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest, AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncgetStreamingDistributionConfigRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a distribution.
getDistributionAsync in interface AmazonCloudFrontAsyncgetDistributionRequest - Container for the necessary parameters
to execute the GetDistribution operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest, AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the information about a distribution.
getDistributionAsync in interface AmazonCloudFrontAsyncgetDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a distribution.
updateDistributionAsync in interface AmazonCloudFrontAsyncupdateDistributionRequest - Container for the necessary
parameters to execute the UpdateDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Update a distribution.
updateDistributionAsync in interface AmazonCloudFrontAsyncupdateDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest) throws AmazonServiceException, AmazonClientException
List streaming distributions.
listStreamingDistributionsAsync in interface AmazonCloudFrontAsynclistStreamingDistributionsRequest - Container for the necessary
parameters to execute the ListStreamingDistributions operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest, AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
List streaming distributions.
listStreamingDistributionsAsync in interface AmazonCloudFrontAsynclistStreamingDistributionsRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest) throws AmazonServiceException, AmazonClientException
Get the information about an invalidation.
getInvalidationAsync in interface AmazonCloudFrontAsyncgetInvalidationRequest - Container for the necessary parameters
to execute the GetInvalidation operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest, AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the information about an invalidation.
getInvalidationAsync in interface AmazonCloudFrontAsyncgetInvalidationRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the GetCloudFrontOriginAccessIdentity
operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest, AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a distribution.
getDistributionConfigAsync in interface AmazonCloudFrontAsyncgetDistributionConfigRequest - Container for the necessary
parameters to execute the GetDistributionConfig operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest, AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the configuration information about a distribution.
getDistributionConfigAsync in interface AmazonCloudFrontAsyncgetDistributionConfigRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a streaming distribution.
updateStreamingDistributionAsync in interface AmazonCloudFrontAsyncupdateStreamingDistributionRequest - Container for the necessary
parameters to execute the UpdateStreamingDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest, AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Update a streaming distribution.
updateStreamingDistributionAsync in interface AmazonCloudFrontAsyncupdateStreamingDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new distribution.
createDistributionAsync in interface AmazonCloudFrontAsynccreateDistributionRequest - Container for the necessary
parameters to execute the CreateDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Create a new distribution.
createDistributionAsync in interface AmazonCloudFrontAsynccreateDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest) throws AmazonServiceException, AmazonClientException
List invalidation batches.
listInvalidationsAsync in interface AmazonCloudFrontAsynclistInvalidationsRequest - Container for the necessary parameters
to execute the ListInvalidations operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest, AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
List invalidation batches.
listInvalidationsAsync in interface AmazonCloudFrontAsynclistInvalidationsRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest) throws AmazonServiceException, AmazonClientException
Create a new invalidation.
createInvalidationAsync in interface AmazonCloudFrontAsynccreateInvalidationRequest - Container for the necessary
parameters to execute the CreateInvalidation operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest, AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Create a new invalidation.
createInvalidationAsync in interface AmazonCloudFrontAsynccreateInvalidationRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest) throws AmazonServiceException, AmazonClientException
List distributions.
listDistributionsAsync in interface AmazonCloudFrontAsynclistDistributionsRequest - Container for the necessary parameters
to execute the ListDistributions operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest, AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
List distributions.
listDistributionsAsync in interface AmazonCloudFrontAsynclistDistributionsRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncupdateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest, AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncupdateCloudFrontOriginAccessIdentityRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncdeleteCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest, AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncdeleteCloudFrontOriginAccessIdentityRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a distribution.
deleteDistributionAsync in interface AmazonCloudFrontAsyncdeleteDistributionRequest - Container for the necessary
parameters to execute the DeleteDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest, AsyncHandler<DeleteDistributionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Delete a distribution.
deleteDistributionAsync in interface AmazonCloudFrontAsyncdeleteDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityConfigRequest - Container for
the necessary parameters to execute the
GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest, AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncgetCloudFrontOriginAccessIdentityConfigRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a streaming distribution.
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncdeleteStreamingDistributionRequest - Container for the necessary
parameters to execute the DeleteStreamingDistribution operation on
AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest, AsyncHandler<DeleteStreamingDistributionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Delete a streaming distribution.
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncdeleteStreamingDistributionRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest) throws AmazonServiceException, AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsynclistCloudFrontOriginAccessIdentitiesRequest - Container for the
necessary parameters to execute the
ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest, AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsynclistCloudFrontOriginAccessIdentitiesRequest - 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.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.