|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.cloudfront_2012_03_15.AmazonCloudFrontClient
com.amazonaws.services.cloudfront_2012_03_15.AmazonCloudFrontAsyncClient
@Deprecated public class AmazonCloudFrontAsyncClient
Client for accessing AmazonCloudFront. All calls made using this client are non-blocking and will immediately return a Java Future. Callers must use the Future object to determine when the service call has actually completed.
Constructor Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceClient |
---|
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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.Method Detail |
---|
public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonCloudFront
shutdown
in class AmazonWebServiceClient
public Future<Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
deleteCloudFrontOriginAccessIdentityRequest
- 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 AmazonCloudFrontAsync
getStreamingDistributionConfigRequest
- 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 AmazonCloudFrontAsync
getInvalidationRequest
- 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 AmazonCloudFrontAsync
deleteStreamingDistributionRequest
- 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 AmazonCloudFrontAsync
createStreamingDistributionRequest
- 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 AmazonCloudFrontAsync
createDistributionRequest
- 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 AmazonCloudFrontAsync
deleteDistributionRequest
- 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 AmazonCloudFrontAsync
updateDistributionRequest
- 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 AmazonCloudFrontAsync
updateStreamingDistributionRequest
- 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 AmazonCloudFrontAsync
createCloudFrontOriginAccessIdentityRequest
- 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 AmazonCloudFrontAsync
getDistributionRequest
- 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 AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityConfigRequest
- 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 AmazonCloudFrontAsync
getStreamingDistributionRequest
- 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 AmazonCloudFrontAsync
listDistributionsRequest
- 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 AmazonCloudFrontAsync
updateCloudFrontOriginAccessIdentityRequest
- 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 AmazonCloudFrontAsync
getDistributionConfigRequest
- 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 AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityRequest
- 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 AmazonCloudFrontAsync
createInvalidationRequest
- 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 AmazonCloudFrontAsync
listCloudFrontOriginAccessIdentitiesRequest
- 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 AmazonCloudFrontAsync
listStreamingDistributionsRequest
- 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 AmazonCloudFrontAsync
listInvalidationsRequest
- 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.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |