@Deprecated public class AmazonCloudFrontAsyncClient extends AmazonCloudFrontClient implements AmazonCloudFrontAsync
LOGGING_AWS_REQUEST_METRIC| Constructor and Description |
|---|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Deprecated.
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials.
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Deprecated.
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)
Deprecated.
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials
and executor service.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials provider.
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Deprecated.
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)
Deprecated.
Constructs a new asynchronous client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials provider
and executor service.
|
| Modifier and Type | Method and Description |
|---|---|
Future<CreateCloudFrontOriginAccessIdentityResult> |
createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
Deprecated.
Create a new origin access identity.
|
Future<CreateDistributionResult> |
createDistributionAsync(CreateDistributionRequest createDistributionRequest)
Deprecated.
Create a new distribution.
|
Future<CreateInvalidationResult> |
createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest)
Deprecated.
Create a new invalidation.
|
Future<CreateStreamingDistributionResult> |
createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest)
Deprecated.
Create a new streaming distribution.
|
Future<Void> |
deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
Deprecated.
Delete an origin access identity.
|
Future<Void> |
deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest)
Deprecated.
Delete a distribution.
|
Future<Void> |
deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
Deprecated.
Delete a streaming distribution.
|
Future<GetCloudFrontOriginAccessIdentityResult> |
getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
Deprecated.
Get the information about an origin access identity.
|
Future<GetCloudFrontOriginAccessIdentityConfigResult> |
getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
Deprecated.
Get the configuration information about an origin access identity.
|
Future<GetDistributionResult> |
getDistributionAsync(GetDistributionRequest getDistributionRequest)
Deprecated.
Get the information about a distribution.
|
Future<GetDistributionConfigResult> |
getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest)
Deprecated.
Get the configuration information about a distribution.
|
ExecutorService |
getExecutorService()
Deprecated.
Returns the executor service used by this async client to execute
requests.
|
Future<GetInvalidationResult> |
getInvalidationAsync(GetInvalidationRequest getInvalidationRequest)
Deprecated.
Get the information about an invalidation.
|
Future<GetStreamingDistributionResult> |
getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest)
Deprecated.
Get the information about a streaming distribution.
|
Future<GetStreamingDistributionConfigResult> |
getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
Deprecated.
Get the configuration information about a streaming distribution.
|
Future<ListCloudFrontOriginAccessIdentitiesResult> |
listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
Deprecated.
List origin access identities.
|
Future<ListDistributionsResult> |
listDistributionsAsync(ListDistributionsRequest listDistributionsRequest)
Deprecated.
List distributions.
|
Future<ListInvalidationsResult> |
listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest)
Deprecated.
List invalidation batches.
|
Future<ListStreamingDistributionsResult> |
listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
Deprecated.
List streaming distributions.
|
void |
shutdown()
Deprecated.
Shuts down the client, releasing all managed resources.
|
Future<UpdateCloudFrontOriginAccessIdentityResult> |
updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
Deprecated.
Update an origin access identity.
|
Future<UpdateDistributionResult> |
updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest)
Deprecated.
Update a distribution.
|
Future<UpdateStreamingDistributionResult> |
updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
Deprecated.
Update a streaming distribution.
|
createCloudFrontOriginAccessIdentity, createDistribution, createInvalidation, createStreamingDistribution, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getSignerByURI, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listInvalidations, listStreamingDistributions, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistributionaddRequestHandler, addRequestHandler, configureRegion, getRequestMetricsCollector, getServiceName, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, 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, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistributionpublic 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, 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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.